Package net.minecraft.block
Class LeavesBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BaseLeavesBlock
net.minecraft.block.LeavesBlock
- Direct Known Subclasses:
Leaves1Block,Leaves2Block
- Mappings:
Namespace Name official akeintermediary net/minecraft/class_150named net/minecraft/block/LeavesBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.BaseLeavesBlock
fancyGraphicsFields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()intgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.abstract TexturegetTexture(int side, int blockData) booleanvoidmethod_325(boolean bool) private voidmethod_326(World world, int int2, int int3, int int4) method_398(int int2, Random random, int int3) voidmethod_410(World world, int int2, int int3, int int4, int int5, float float2, int int6) voidmethod_411(World world, int int2, int int3, int int4, Block block, int int5) voidmethod_415(World world, int int2, int int3, int int4, Random random) voidmethod_424(World world, PlayerEntity playerEntity, int int2, int int3, int int4, int int5) intmethod_431(int int2) intmethod_438(BlockView blockView, int int2, int int3, int int4) protected ItemStackmethod_448(int int2) intmethod_459(int int2) protected intmethod_6491(int int2) protected voidmethod_6492(World world, int int2, int int3, int int4, int int5, int int6) abstract String[]voidMethods inherited from class net.minecraft.block.BaseLeavesBlock
shouldRenderSideMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getCollisionBox, getHardness, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, method_407, method_412, method_413, method_414, method_417, method_418, method_4185, method_4186, method_420, method_422, method_425, method_428, method_435, method_437, method_446, method_452, method_454, method_455, method_457, method_461, method_463, method_464, method_468, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, onNeighborUpdate, registerTextures, renderAsNormalBlock, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_287
int[] field_287- Mappings:
Namespace Name Mixin selector official aLake;a:[Iintermediary field_287Lnet/minecraft/class_150;field_287:[Inamed field_287Lnet/minecraft/block/LeavesBlock;field_287:[I
-
field_7461
- Mappings:
Namespace Name Mixin selector official bLake;b:Iintermediary field_7461Lnet/minecraft/class_150;field_7461:Inamed field_7461Lnet/minecraft/block/LeavesBlock;field_7461:I
-
field_7460
- Mappings:
Namespace Name Mixin selector official MLake;M:[[Lpr;intermediary field_7460Lnet/minecraft/class_150;field_7460:[[Lnet/minecraft/class_1557;named field_7460Lnet/minecraft/block/LeavesBlock;field_7460:[[Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
LeavesBlock
public LeavesBlock()
-
-
Method Details
-
getColor
-
method_459
- Overrides:
method_459in classBlock- Mappings:
Namespace Name Mixin selector official iLaht;i(I)Iintermediary method_459Lnet/minecraft/class_197;method_459(I)Inamed method_459Lnet/minecraft/block/Block;method_459(I)I
-
method_438
- Overrides:
method_438in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafw;III)Iintermediary method_438Lnet/minecraft/class_197;method_438(Lnet/minecraft/class_1158;III)Inamed method_438Lnet/minecraft/block/Block;method_438(Lnet/minecraft/world/BlockView;III)I
-
method_411
- Overrides:
method_411in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;I)Vintermediary method_411Lnet/minecraft/class_197;method_411(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;I)Vnamed method_411Lnet/minecraft/block/Block;method_411(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;I)V
-
onTick
- Overrides:
onTickin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILjava/util/Random;)Vintermediary method_436Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_415
@Environment(CLIENT) public void method_415(World world, int int2, int int3, int int4, Random random) - Overrides:
method_415in classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;IIILjava/util/Random;)Vintermediary method_415Lnet/minecraft/class_197;method_415(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed method_415Lnet/minecraft/block/Block;method_415(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_326
- Mappings:
Namespace Name Mixin selector official eLake;e(Lafm;III)Vintermediary method_326Lnet/minecraft/class_150;method_326(Lnet/minecraft/class_1150;III)Vnamed method_326Lnet/minecraft/block/LeavesBlock;method_326(Lnet/minecraft/world/World;III)V
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLaht;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
method_398
- Overrides:
method_398in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;I)Labm;intermediary method_398Lnet/minecraft/class_197;method_398(ILjava/util/Random;I)Lnet/minecraft/class_1069;named method_398Lnet/minecraft/block/Block;method_398(ILjava/util/Random;I)Lnet/minecraft/item/Item;
-
method_410
- Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIIFI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;IIIIFI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/world/World;IIIIFI)V
-
method_6492
- Mappings:
Namespace Name Mixin selector official cLake;c(Lafm;IIIII)Vintermediary method_6492Lnet/minecraft/class_150;method_6492(Lnet/minecraft/class_1150;IIIII)Vnamed method_6492Lnet/minecraft/block/LeavesBlock;method_6492(Lnet/minecraft/world/World;IIIII)V
-
method_6491
protected int method_6491(int int2) - Mappings:
Namespace Name Mixin selector official bLake;b(I)Iintermediary method_6491Lnet/minecraft/class_150;method_6491(I)Inamed method_6491Lnet/minecraft/block/LeavesBlock;method_6491(I)I
-
method_424
public void method_424(World world, PlayerEntity playerEntity, int int2, int int3, int int4, int int5) - Overrides:
method_424in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;Lxk;IIII)Vintermediary method_424Lnet/minecraft/class_197;method_424(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;IIII)Vnamed method_424Lnet/minecraft/block/Block;method_424(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;IIII)V
-
method_431
public int method_431(int int2) - Overrides:
method_431in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(I)Iintermediary method_431Lnet/minecraft/class_197;method_431(I)Inamed method_431Lnet/minecraft/block/Block;method_431(I)I
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBaseLeavesBlock- Mappings:
Namespace Name Mixin selector official cLaht;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
getTexture
- Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(II)Lpr;intermediary method_395Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;named getTextureLnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
-
method_325
- Mappings:
Namespace Name Mixin selector official bLake;b(Z)Vintermediary method_325Lnet/minecraft/class_150;method_325(Z)Vnamed method_325Lnet/minecraft/block/LeavesBlock;method_325(Z)V
-
method_448
- Overrides:
method_448in classBlock- Mappings:
Namespace Name Mixin selector official jLaht;j(I)Labo;intermediary method_448Lnet/minecraft/class_197;method_448(I)Lnet/minecraft/class_1071;named method_448Lnet/minecraft/block/Block;method_448(I)Lnet/minecraft/item/ItemStack;
-
method_6493
- Mappings:
Namespace Name Mixin selector official eLake;e()[Ljava/lang/String;intermediary method_6493Lnet/minecraft/class_150;method_6493()[Ljava/lang/String;named method_6493Lnet/minecraft/block/LeavesBlock;method_6493()[Ljava/lang/String;
-