Package net.minecraft.block
Class LeavesBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.LeavesBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official bfrintermediary net/minecraft/class_150named net/minecraft/block/LeavesBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntPropertystatic final BooleanPropertyprotected static booleanFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) intgetLightSubtracted(BlockState state, BlockView world, BlockPos pos) Returns the appropriate RenderLayer for a block.booleanhasRandomTicks(BlockState state) booleanmethod_13703(BlockState state) method_16563(ItemPlacementContext itemPlacementContext) method_16568(BlockState blockState, World world, BlockPos blockPos, int int2) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) voidmethod_16582(BlockState blockState, World world, BlockPos blockPos, Random random) protected voidmethod_16691(World world, BlockPos blockPos, BlockState blockState, int int2) private static BlockStatemethod_16692(BlockState blockState, IWorld iWorld, BlockPos blockPos) protected intmethod_16693(BlockState blockState) private static intmethod_16694(BlockState blockState) static voidmethod_325(boolean bool) intmethod_403(BlockState blockState, Random random) voidmethod_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2) voidmethod_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidmethod_8661(BlockState blockState, World world, BlockPos blockPos, Random random) voidmethod_8669(BlockState blockState, World world, BlockPos blockPos, Random random) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getOutlineShape, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11562, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13704, method_14307, method_14308, method_14309, method_16564, method_16565, method_16566, method_16569, method_16570, method_16572, method_16573, method_16580, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_414, method_416, method_420, method_421, method_435, method_8640, method_8650, method_8653, method_8659, method_8664, method_8668, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString, withMirror, withRotation
-
Field Details
-
field_18388
- Mappings:
Namespace Name Mixin selector official aLbfr;a:Lbmj;intermediary field_18388Lnet/minecraft/class_150;field_18388:Lnet/minecraft/class_2246;named field_18388Lnet/minecraft/block/LeavesBlock;field_18388:Lnet/minecraft/state/property/IntProperty;
-
field_18389
- Mappings:
Namespace Name Mixin selector official bLbfr;b:Lbmb;intermediary field_18389Lnet/minecraft/class_150;field_18389:Lnet/minecraft/class_2243;named field_18389Lnet/minecraft/block/LeavesBlock;field_18389:Lnet/minecraft/state/property/BooleanProperty;
-
field_18390
protected static boolean field_18390- Mappings:
Namespace Name Mixin selector official cLbfr;c:Zintermediary field_18390Lnet/minecraft/class_150;field_18390:Znamed field_18390Lnet/minecraft/block/LeavesBlock;field_18390:Z
-
-
Constructor Details
-
LeavesBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
hasRandomTicks
- Overrides:
hasRandomTicksin classBlock- Mappings:
Namespace Name Mixin selector official sLbcs;s(Lblc;)Zintermediary method_16604Lnet/minecraft/class_197;method_16604(Lnet/minecraft/class_2232;)Znamed hasRandomTicksLnet/minecraft/block/Block;hasRandomTicks(Lnet/minecraft/block/BlockState;)Z
-
method_16582
- Overrides:
method_16582in classBlock- Mappings:
Namespace Name Mixin selector official bLbcs;b(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_16582Lnet/minecraft/class_197;method_16582(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_16582Lnet/minecraft/block/Block;method_16582(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
method_8661
- Overrides:
method_8661in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_8661Lnet/minecraft/block/Block;method_8661(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
getLightSubtracted
- Overrides:
getLightSubtractedin classBlock- Mappings:
Namespace Name Mixin selector official jLbcs;j(Lblc;Laxk;Lel;)Iintermediary method_16597Lnet/minecraft/class_197;method_16597(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Inamed getLightSubtractedLnet/minecraft/block/Block;getLightSubtracted(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;intermediary method_16575Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16575Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
method_16692
- Mappings:
Namespace Name Mixin selector official aLbfr;a(Lblc;Laxz;Lel;)Lblc;intermediary method_16692Lnet/minecraft/class_150;method_16692(Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16692Lnet/minecraft/block/LeavesBlock;method_16692(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
method_16694
- Mappings:
Namespace Name Mixin selector official wLbfr;w(Lblc;)Iintermediary method_16694Lnet/minecraft/class_150;method_16694(Lnet/minecraft/class_2232;)Inamed method_16694Lnet/minecraft/block/LeavesBlock;method_16694(Lnet/minecraft/block/BlockState;)I
-
method_8669
@Environment(CLIENT) public void method_8669(BlockState blockState, World world, BlockPos blockPos, Random random) - Overrides:
method_8669in classBlock- Mappings:
Namespace Name Mixin selector official cLbcs;c(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_8669Lnet/minecraft/class_197;method_8669(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_8669Lnet/minecraft/block/Block;method_8669(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
method_403
- Overrides:
method_403in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Lnet/minecraft/class_2232;Ljava/util/Random;)Inamed method_403Lnet/minecraft/block/Block;method_403(Lnet/minecraft/block/BlockState;Ljava/util/Random;)I
-
method_16568
- Overrides:
method_16568in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;I)Laxx;intermediary method_16568Lnet/minecraft/class_197;method_16568(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Lnet/minecraft/class_3597;named method_16568Lnet/minecraft/block/Block;method_16568(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/item/Itemable;
-
method_410
public void method_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2) - Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;FI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;FI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FI)V
-
method_16691
- Mappings:
Namespace Name Mixin selector official aLbfr;a(Laxy;Lel;Lblc;I)Vintermediary method_16691Lnet/minecraft/class_150;method_16691(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;I)Vnamed method_16691Lnet/minecraft/block/LeavesBlock;method_16691(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)V
-
method_16693
- Mappings:
Namespace Name Mixin selector official kLbfr;k(Lblc;)Iintermediary method_16693Lnet/minecraft/class_150;method_16693(Lnet/minecraft/class_2232;)Inamed method_16693Lnet/minecraft/block/LeavesBlock;method_16693(Lnet/minecraft/block/BlockState;)I
-
method_325
- Mappings:
Namespace Name Mixin selector official aLbfr;a(Z)Vintermediary method_325Lnet/minecraft/class_150;method_325(Z)Vnamed method_325Lnet/minecraft/block/LeavesBlock;method_325(Z)V
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
method_13703
- Overrides:
method_13703in classBlock- Mappings:
Namespace Name Mixin selector official qLbcs;q(Lblc;)Zintermediary method_13703Lnet/minecraft/class_197;method_13703(Lnet/minecraft/class_2232;)Znamed method_13703Lnet/minecraft/block/Block;method_13703(Lnet/minecraft/block/BlockState;)Z
-
method_8651
public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) - Overrides:
method_8651in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Laog;Lel;Lblc;Lbji;Late;)Vintermediary method_8651Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)Vnamed method_8651Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
method_16563
- Overrides:
method_16563in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lark;)Lblc;intermediary method_16563Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;named method_16563Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-