Package net.minecraft.block
Class CropBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.CropBlock
- Direct Known Subclasses:
BeetrootsBlock,CarrotsBlock,PotatoesBlock
- Mappings:
Namespace Name official bdvintermediary net/minecraft/class_122named net/minecraft/block/CropBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsFields 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) booleancanBeFertilized(World world, Random random, BlockPos pos, BlockState state) getOutlineShape(BlockState state, BlockView world, BlockPos pos) voidgrow(World world, Random random, BlockPos pos, BlockState state) protected intmethod_11593(World world) method_11595(int int2) intvoidmethod_11597(World world, BlockPos blockPos, BlockState blockState) protected intmethod_11598(BlockState blockState) booleanmethod_11599(BlockState blockState) method_16568(BlockState blockState, World world, BlockPos blockPos, int int2) booleanmethod_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) protected booleanmethod_16634(BlockState blockState, BlockView blockView, BlockPos blockPos) voidmethod_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2) booleanmethod_6460(BlockView blockView, BlockPos blockPos, BlockState blockState, boolean bool) protected Itemableprotected Itemablemethod_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) voidmethod_8661(BlockState blockState, World world, BlockPos blockPos, Random random) protected static floatmethod_8714(Block block, BlockView blockView, BlockPos blockPos) Methods inherited from class net.minecraft.block.PlantBlock
getLightSubtracted, getRenderLayerType, method_11562, method_14307, method_16575Methods 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, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16563, method_16564, method_16565, method_16566, method_16569, method_16572, method_16573, method_16580, method_16582, 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_403, method_414, method_416, method_420, method_421, method_435, method_8650, method_8651, method_8653, method_8659, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString, withMirror, withRotation
-
Field Details
-
field_18264
- Mappings:
Namespace Name Mixin selector official bLbdv;b:Lbmj;intermediary field_18264Lnet/minecraft/class_122;field_18264:Lnet/minecraft/class_2246;named field_18264Lnet/minecraft/block/CropBlock;field_18264:Lnet/minecraft/state/property/IntProperty;
-
field_18263
- Mappings:
Namespace Name Mixin selector official aLbdv;a:[Lcew;intermediary field_18263Lnet/minecraft/class_122;field_18263:[Lnet/minecraft/class_4100;named field_18263Lnet/minecraft/block/CropBlock;field_18263:[Lnet/minecraft/util/shapes/VoxelShape;
-
-
Constructor Details
-
CropBlock
- 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
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_16634
- Overrides:
method_16634in classPlantBlock- Mappings:
Namespace Name Mixin selector official bLbda;b(Lblc;Laxk;Lel;)Zintermediary method_16634Lnet/minecraft/class_1754;method_16634(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Znamed method_16634Lnet/minecraft/block/PlantBlock;method_16634(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
method_11594
- Mappings:
Namespace Name Mixin selector official dLbdv;d()Lbmj;intermediary method_11594Lnet/minecraft/class_122;method_11594()Lnet/minecraft/class_2246;named method_11594Lnet/minecraft/block/CropBlock;method_11594()Lnet/minecraft/state/property/IntProperty;
-
method_11596
public int method_11596()- Mappings:
Namespace Name Mixin selector official eLbdv;e()Iintermediary method_11596Lnet/minecraft/class_122;method_11596()Inamed method_11596Lnet/minecraft/block/CropBlock;method_11596()I
-
method_11598
- Mappings:
Namespace Name Mixin selector official kLbdv;k(Lblc;)Iintermediary method_11598Lnet/minecraft/class_122;method_11598(Lnet/minecraft/class_2232;)Inamed method_11598Lnet/minecraft/block/CropBlock;method_11598(Lnet/minecraft/block/BlockState;)I
-
method_11595
- Mappings:
Namespace Name Mixin selector official bLbdv;b(I)Lblc;intermediary method_11595Lnet/minecraft/class_122;method_11595(I)Lnet/minecraft/class_2232;named method_11595Lnet/minecraft/block/CropBlock;method_11595(I)Lnet/minecraft/block/BlockState;
-
method_11599
- Mappings:
Namespace Name Mixin selector official wLbdv;w(Lblc;)Zintermediary method_11599Lnet/minecraft/class_122;method_11599(Lnet/minecraft/class_2232;)Znamed method_11599Lnet/minecraft/block/CropBlock;method_11599(Lnet/minecraft/block/BlockState;)Z
-
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
-
method_11597
- Mappings:
Namespace Name Mixin selector official aLbdv;a(Laxy;Lel;Lblc;)Vintermediary method_11597Lnet/minecraft/class_122;method_11597(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_11597Lnet/minecraft/block/CropBlock;method_11597(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_11593
- Mappings:
Namespace Name Mixin selector official aLbdv;a(Laxy;)Iintermediary method_11593Lnet/minecraft/class_122;method_11593(Lnet/minecraft/class_1150;)Inamed method_11593Lnet/minecraft/block/CropBlock;method_11593(Lnet/minecraft/world/World;)I
-
method_8714
- Mappings:
Namespace Name Mixin selector official aLbdv;a(Lbcs;Laxk;Lel;)Fintermediary method_8714Lnet/minecraft/class_122;method_8714(Lnet/minecraft/class_197;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Fnamed method_8714Lnet/minecraft/block/CropBlock;method_8714(Lnet/minecraft/block/Block;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
-
method_16570
public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) - Overrides:
method_16570in classPlantBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Layc;Lel;)Zintermediary method_16570Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Znamed method_16570Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
method_6469
- Mappings:
Namespace Name Mixin selector official fLbdv;f()Laxx;intermediary method_6469Lnet/minecraft/class_122;method_6469()Lnet/minecraft/class_3597;named method_6469Lnet/minecraft/block/CropBlock;method_6469()Lnet/minecraft/item/Itemable;
-
method_6468
- Mappings:
Namespace Name Mixin selector official gLbdv;g()Laxx;intermediary method_6468Lnet/minecraft/class_122;method_6468()Lnet/minecraft/class_3597;named method_6468Lnet/minecraft/block/CropBlock;method_6468()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_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_8640
- Overrides:
method_8640in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lel;Lblc;)Late;intermediary method_8640Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;named method_8640Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
method_6460
public boolean method_6460(BlockView blockView, BlockPos blockPos, BlockState blockState, boolean bool) - Specified by:
method_6460in interfaceGrowable- Mappings:
Namespace Name Mixin selector official aLbcv;a(Laxk;Lel;Lblc;Z)Zintermediary method_6460Lnet/minecraft/class_1753;method_6460(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Znamed method_6460Lnet/minecraft/block/Growable;method_6460(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
-
canBeFertilized
- Specified by:
canBeFertilizedin interfaceGrowable- Mappings:
Namespace Name Mixin selector official aLbcv;a(Laxy;Ljava/util/Random;Lel;Lblc;)Zintermediary method_6461Lnet/minecraft/class_1753;method_6461(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Znamed canBeFertilizedLnet/minecraft/block/Growable;canBeFertilized(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
grow
- Specified by:
growin interfaceGrowable- Mappings:
Namespace Name Mixin selector official bLbcv;b(Laxy;Ljava/util/Random;Lel;Lblc;)Vintermediary method_6462Lnet/minecraft/class_1753;method_6462(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed growLnet/minecraft/block/Growable;grow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)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
-