Package net.minecraft.block
Class BeetrootsBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.CropBlock
net.minecraft.block.BeetrootsBlock
- All Implemented Interfaces:
Growable
- Mappings:
Namespace Name official ajsintermediary net/minecraft/class_2718named net/minecraft/block/BeetrootsBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsFields inherited from class net.minecraft.block.CropBlock
field_9349Fields inherited from class net.minecraft.block.PlantBlock
field_12594Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, blockSoundGroup, collisionBox, EMPTY_BOX, fullBlock, hardness, lightLevel, material, materialColor, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StateManagerReturns a new state manager with a property array.getCollisionBox(BlockState state, BlockView view, BlockPos pos) protected intmethod_11593(World world) protected IntPropertyintprotected Itemprotected ItemvoidscheduledTick(World world, BlockPos pos, BlockState state, Random rand) Runs when the block is updated as per a scheduleMethods inherited from class net.minecraft.block.CropBlock
canBeFertilized, canBePlacedOn, canGrow, getData, getDropItem, grow, method_11595, method_11597, method_11598, method_11599, method_8640, method_8691, method_8714, randomDropAsItem, stateFromDataMethods inherited from class net.minecraft.block.PlantBlock
canBePlacedAtPos, getCollisionBox, getRenderLayerType, isFullBoundsCubeForCulling, method_11562, method_8641, method_8690Methods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendCollisionBoxes, appendItemStacks, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getComparatorOutput, getDefaultState, getDropCount, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getMeta, getOffsetType, getOpacity, getPistonBehavior, getSoundGroup, getStateFromData, getStateFromRawId, getStateManager, getTickRate, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isLeafBlock, isTransluscent, method_11557, method_11559, method_11563, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_414, method_421, method_435, method_8638, method_8651, method_8653, method_8654, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, rainTick, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, useNeighbourLight, withMirror, withRotation
-
Field Details
-
field_12569
- Mappings:
Namespace Name Mixin selector official aLajs;a:Larr;intermediary field_12569Lnet/minecraft/class_2718;field_12569:Lnet/minecraft/class_2246;named field_12569Lnet/minecraft/block/BeetrootsBlock;field_12569:Lnet/minecraft/state/property/IntProperty;
-
field_12570
- Mappings:
Namespace Name Mixin selector official dLajs;d:[Lbbf;intermediary field_12570Lnet/minecraft/class_2718;field_12570:[Lnet/minecraft/class_231;named field_12570Lnet/minecraft/block/BeetrootsBlock;field_12570:[Lnet/minecraft/util/math/Box;
-
-
Constructor Details
-
BeetrootsBlock
public BeetrootsBlock()
-
-
Method Details
-
method_11594
- Overrides:
method_11594in classCropBlock- Mappings:
Namespace Name Mixin selector official eLakn;e()Larr;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()- Overrides:
method_11596in classCropBlock- Mappings:
Namespace Name Mixin selector official gLakn;g()Iintermediary method_11596Lnet/minecraft/class_122;method_11596()Inamed method_11596Lnet/minecraft/block/CropBlock;method_11596()I
-
method_6469
- Overrides:
method_6469in classCropBlock- Mappings:
Namespace Name Mixin selector official hLakn;h()Lado;intermediary method_6469Lnet/minecraft/class_122;method_6469()Lnet/minecraft/class_1069;named method_6469Lnet/minecraft/block/CropBlock;method_6469()Lnet/minecraft/item/Item;
-
method_6468
- Overrides:
method_6468in classCropBlock- Mappings:
Namespace Name Mixin selector official iLakn;i()Lado;intermediary method_6468Lnet/minecraft/class_122;method_6468()Lnet/minecraft/class_1069;named method_6468Lnet/minecraft/block/CropBlock;method_6468()Lnet/minecraft/item/Item;
-
scheduledTick
Runs when the block is updated as per a schedule- Overrides:
scheduledTickin classCropBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStaterand- Random object- Mappings:
Namespace Name Mixin selector official bLajt;b(Laht;Lcl;Lard;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
-
method_11593
- Overrides:
method_11593in classCropBlock- Mappings:
Namespace Name Mixin selector official bLakn;b(Laht;)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
-
appendProperties
Returns a new state manager with a property array.- Overrides:
appendPropertiesin classCropBlock- Returns:
- New state manager
- Mappings:
Namespace Name Mixin selector official bLajt;b()Lare;intermediary method_8676Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;named appendPropertiesLnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
-
getCollisionBox
- Overrides:
getCollisionBoxin classCropBlock- Mappings:
Namespace Name Mixin selector official aLajt;a(Lard;Lahx;Lcl;)Lbbf;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;named getCollisionBoxLnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
-