Package net.minecraft.block
Class LeavesBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.class_307
net.minecraft.block.LeavesBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_299glue class_32server arclient bknamed net/minecraft/block/LeavesBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.class_307
field_1192Fields inherited from class net.minecraft.block.Block
BED, BEDROCK, BLOCKS, BLOCKS_ALLOW_VISION, BLOCKS_IGNORE_META_UPDATE, BLOCKS_LIGHT_LUMINANCE, BLOCKS_LIGHT_OPACITY, BLOCKS_OPAQUE, BLOCKS_RANDOM_TICK, BLOCKS_WITH_ENTITY, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, constructed, CRAFTING_TABLE, DANDELION, DEAD_BUSH, DEFAULT_SOUND_GROUP, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DIRT_SOUND_GROUP, DISPENSER, DOOR, DOUBLE_SLAB, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FURNACE, GLASS, GLASS_SOUND_GROUP, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_BLOCK, GRAVEL, GRAVEL_SOUND_GROUP, hardness, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVES, LEVER, LIT_FURNACE, LIT_REDSTONE_ORE, LIT_REDSTONE_TORCH, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUND_GROUP, minX, minY, minZ, MOSSY_COBBLESTONE, MOVING_PISTON, NETHER_PORTAL, NETHERRACK, NOTE_BLOCK, OBSIDIAN, particleFallSpeedModifier, PISTON, PISTON_HEAD, PLANKS, POWERED_RAIL, POWERED_REPEATER, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REPEATER, resistance, ROSE, SAND, SAND_SOUND_GROUP, SANDSTONE, SAPLING, shouldTrackStatistics, SIGN, SLAB, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, soundGroup, SPAWNER, SPONGE, STICKY_PISTON, STONE, STONE_PRESSURE_PLATE, STONE_SOUND_GROUP, SUGAR_CANE, textureId, TNT, TORCH, TRAPDOOR, WALL_SIGN, WATER, WHEAT, WOOD_SOUND_GROUP, WOODEN_PRESSURE_PLATE, WOODEN_STAIRS, WOOL, WOOL_SOUND_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterBreak(World world, PlayerEntity playerEntity, int x, int y, int z, int meta) intgetColor(int meta) intgetColorMultiplier(BlockView blockView, int x, int y, int z) intgetDroppedItemCount(Random random) intgetDroppedItemId(int blockMeta, Random random) protected intgetDroppedItemMeta(int blockMeta) intgetTexture(int side, int meta) booleanisOpaque()private voidmethod_990(World world, int x, int y, int z) voidmethod_991(boolean bool) voidvoidonSteppedOn(World world, int x, int y, int z, Entity entity) voidCalled at a frequency based on the return value ofBlock.getTickRate().Methods inherited from class net.minecraft.class_307
isSideVisibleMethods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, applyVelocity, canEmitRedstonePower, canGrow, canPlaceAt, canPlaceAt, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getCollisionShape, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getRenderType, getTexture, getTextureId, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePowerInDirection, isFullCube, isSolidBlock, isTrackingStatistics, neighborUpdate, onBlockAction, onBlockBreakStart, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onPlaced, onPlaced, onUse, randomDisplayTick, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox, updateBoundingBox
-
Field Details
-
field_1172
private int field_1172- Mappings:
Namespace Name Mixin selector intermediary field_1172Lnet/minecraft/class_299;field_1172:Iglue field_35Lclass_32;field_35:Iserver cLar;c:Iclient cLbk;c:Inamed field_1172Lnet/minecraft/block/LeavesBlock;field_1172:I
-
field_1171
int[] field_1171- Mappings:
Namespace Name Mixin selector intermediary field_1171Lnet/minecraft/class_299;field_1171:[Iglue field_34Lclass_32;field_34:[Iserver aLar;a:[Iclient aLbk;a:[Inamed field_1171Lnet/minecraft/block/LeavesBlock;field_1171:[I
-
-
Constructor Details
-
LeavesBlock
protected LeavesBlock(int id, int textureId) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_299;<init>(II)Vglue <init>Lclass_32;<init>(II)Vserver <init>Lar;<init>(II)Vclient <init>Lbk;<init>(II)Vnamed <init>Lnet/minecraft/block/LeavesBlock;<init>(II)V
-
-
Method Details
-
getColor
-
getColorMultiplier
- Overrides:
getColorMultiplierin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1600Lnet/minecraft/class_17;method_1600(Lnet/minecraft/class_14;III)Iglue method_184Lclass_507;method_184(Lclass_584;III)Iserver method_1600Lna;method_1600(Lpb;III)Iclient bLuu;b(Lxp;III)Inamed getColorMultiplierLnet/minecraft/block/Block;getColorMultiplier(Lnet/minecraft/world/BlockView;III)I
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1630Lnet/minecraft/class_17;method_1630(Lnet/minecraft/class_18;III)Vglue method_99Lclass_507;method_99(Lclass_129;III)Vserver bLna;b(Ldj;III)Vclient bLuu;b(Lfd;III)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;III)V
-
onTick
Called at a frequency based on the return value ofBlock.getTickRate(). This method will be called approximatelyBlock.getTickRate()times per second.- Overrides:
onTickin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1602Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_20Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)Vserver aLna;a(Ldj;IIILjava/util/Random;)Vclient aLuu;a(Lfd;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_990
- Mappings:
Namespace Name Mixin selector intermediary method_990Lnet/minecraft/class_299;method_990(Lnet/minecraft/class_18;III)Vglue method_101Lclass_32;method_101(Lclass_129;III)Vserver gLar;g(Ldj;III)Vclient hLbk;h(Lfd;III)Vnamed method_990Lnet/minecraft/block/LeavesBlock;method_990(Lnet/minecraft/world/World;III)V
-
getDroppedItemCount
- Overrides:
getDroppedItemCountin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1603Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)Iglue method_21Lclass_507;method_21(Ljava/util/Random;)Iserver aLna;a(Ljava/util/Random;)Iclient aLuu;a(Ljava/util/Random;)Inamed getDroppedItemCountLnet/minecraft/block/Block;getDroppedItemCount(Ljava/util/Random;)I
-
getDroppedItemId
- Overrides:
getDroppedItemIdin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1601Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)Iglue method_19Lclass_507;method_19(ILjava/util/Random;)Iserver aLna;a(ILjava/util/Random;)Iclient aLuu;a(ILjava/util/Random;)Inamed getDroppedItemIdLnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
-
afterBreak
- Overrides:
afterBreakin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1628Lnet/minecraft/class_17;method_1628(Lnet/minecraft/class_18;Lnet/minecraft/class_54;IIII)Vglue method_97Lclass_507;method_97(Lclass_129;Lclass_172;IIII)Vserver aLna;a(Ldj;Lem;IIII)Vclient aLuu;a(Lfd;Lgs;IIII)Vnamed afterBreakLnet/minecraft/block/Block;afterBreak(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;IIII)V
-
getDroppedItemMeta
protected int getDroppedItemMeta(int blockMeta) - Overrides:
getDroppedItemMetain classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1629Lnet/minecraft/class_17;method_1629(I)Iglue method_98Lclass_507;method_98(I)Iserver a_Lna;a_(I)Iclient b_Luu;b_(I)Inamed getDroppedItemMetaLnet/minecraft/block/Block;getDroppedItemMeta(I)I
-
isOpaque
public boolean isOpaque() -
getTexture
public int getTexture(int side, int meta) - Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1627Lnet/minecraft/class_17;method_1627(II)Iglue method_96Lclass_507;method_96(II)Iserver aLna;a(II)Iclient aLuu;a(II)Inamed getTextureLnet/minecraft/block/Block;getTexture(II)I
-
method_991
- Mappings:
Namespace Name Mixin selector intermediary method_991Lnet/minecraft/class_299;method_991(Z)Vglue method_182Lclass_32;method_182(Z)Vserver method_991Lar;method_991(Z)Vclient aLbk;a(Z)Vnamed method_991Lnet/minecraft/block/LeavesBlock;method_991(Z)V
-
onSteppedOn
- Overrides:
onSteppedOnin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1560Lnet/minecraft/class_17;method_1560(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;)Vglue method_100Lclass_507;method_100(Lclass_129;IIILclass_450;)Vserver bLna;b(Ldj;IIILlq;)Vclient bLuu;b(Lfd;IIILsn;)Vnamed onSteppedOnLnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
-