Ignorer la navigation

setBlockLevel

X : int

Y : int

Z : int

Material : str parmi la liste des blocs de type BlockData : Levelled comme par exemple : CAULDRON, COMPOSTER, LAVA, WATER

level : int
 In the case of water and lava blocks the levels have special meanings:  a level of 0 corresponds to a source block, 1-7 regular fluid heights, and 8-15 to "falling" fluids. 
All falling fluids have the same behaviour, but the level corresponds to that of the block above them, equal to this.level - 8 Note that counterintuitively, an adjusted level of 1 is the highest level,  whilst 7 is the lowest.

Exemple Python :

fourneau='CAULDRON'
mc.setBlockLevel(x+5, y, z+1,fourneau,2)