Package net.minecraft.block
Class PotatoesBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.CropBlock
net.minecraft.block.PotatoesBlock
- All Implemented Interfaces:
Growable
- Mappings:
Namespace Name official appintermediary net/minecraft/class_1304named net/minecraft/block/PotatoesBlock
-
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 TypeMethodDescriptiongetCollisionBox(BlockState state, BlockView view, BlockPos pos) protected Itemprotected ItemvoidrandomDropAsItem(World world, BlockPos pos, BlockState state, float chance, int id) Called when the block must be dropped as an item bydropAsItem, but luck is taken into consideration here.Methods inherited from class net.minecraft.block.CropBlock
appendProperties, canBeFertilized, canBePlacedOn, canGrow, getData, getDropItem, grow, method_11593, method_11594, method_11595, method_11596, method_11597, method_11598, method_11599, method_8640, method_8691, method_8714, scheduledTick, stateFromDataMethods inherited from class net.minecraft.block.PlantBlock
canBePlacedAtPos, getRenderLayerType, isFullBoundsCubeForCulling, method_11562, method_8640, method_8690, onBreakMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendCollisionBoxes, areBlocksEqual, blocksMovement, canBePlacedAdjacent, 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, isTransluscent, method_11557, method_11559, method_11563, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13700, method_13701, method_13702, method_13703, method_13704, method_414, 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, use, useNeighbourLight, withMirror, withRotation
-
Field Details
-
field_12720
- Mappings:
Namespace Name Mixin selector official aLapp;a:[Lbdt;intermediary field_12720Lnet/minecraft/class_1304;field_12720:[Lnet/minecraft/class_231;named field_12720Lnet/minecraft/block/PotatoesBlock;field_12720:[Lnet/minecraft/util/math/Box;
-
-
Constructor Details
-
PotatoesBlock
public PotatoesBlock()
-
-
Method Details
-
method_6469
- Overrides:
method_6469in classCropBlock- Mappings:
Namespace Name Mixin selector official hLamp;h()Lafh;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 iLamp;i()Lafh;intermediary method_6468Lnet/minecraft/class_122;method_6468()Lnet/minecraft/class_1069;named method_6468Lnet/minecraft/block/CropBlock;method_6468()Lnet/minecraft/item/Item;
-
randomDropAsItem
Called when the block must be dropped as an item bydropAsItem, but luck is taken into consideration here.- Overrides:
randomDropAsItemin classCropBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStatechance- The chance (luck factor)id- Id- Mappings:
Namespace Name Mixin selector official aLalu;a(Lajs;Lco;Latl;FI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;FI)Vnamed randomDropAsItemLnet/minecraft/block/Block;randomDropAsItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;FI)V
-
getCollisionBox
- Overrides:
getCollisionBoxin classCropBlock- Mappings:
Namespace Name Mixin selector official bLalu;b(Latl;Lajw;Lco;)Lbdt;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;
-