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
public class PotatoesBlock extends CropBlock
- Mappings:
Namespace Name official aiqintermediary net/minecraft/class_270named net/minecraft/block/PotatoesBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType, Block.Sound -
Field Summary
Fields inherited from class net.minecraft.block.Block
ANVIL, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, CLOTH, fullBlock, GLASS, GRASS, GRAVEL, LADDER, lightLevel, material, materialColor, opacity, ORE, particleGravity, RAIL, randomTicks, REGISTRY, resistance, SAND, SLIME, slipperiness, SNOW, sound, stateManager, stats, STONE, strength, transluscent, useNeighbourLight, WOOD -
Constructor Summary
Constructors Constructor Description PotatoesBlock() -
Method Summary
Modifier and Type Method Description protected Itemmethod_780()protected Itemmethod_781()voidrandomDropAsItem(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, canGrow, canPlantOnTop, getData, getDropItem, getPickItem, grow, method_755, method_778, method_779, scheduledTick, stateFromDataMethods inherited from class net.minecraft.block.PlantBlock
canBePlacedAtPos, getCollisionBox, getRenderLayerType, hasTransperancy, method_754, neighborUpdate, renderAsNormalBlockMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendItemStacks, areBlocksEqual, blocksMovement, calcBlockBreakingData, canBePlacedAdjacent, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlendColor, getBlockColor, getBlockFromItem, getBlockState, getBlockType, getBonusDrops, getBrightness, getByBlockState, getById, getColor, getColor, getComparatorOutput, getDefaultState, getDropCount, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaterialColor, getMaxX, getMaxY, getMaxZ, getMeta, getMeta, getMinX, getMinY, getMinZ, getOffsetType, getOpacity, getPistonInteractionType, getSelectionBox, getStateFromData, getStateFromRawId, getStateManager, getStrength, getStrongRedstonePower, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, harvest, hasBlockEntity, hasCollision, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isLeafBlock, isNormalBlock, isReplaceable, isSideInvisible, isTransluscent, method_655, method_696, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onEvent, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, onUse, rainTick, randomDisplayTick, requiresSilkTouch, setBlockItemBounds, setBoundingBox, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setSound, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, usesNeighbourLight
-
Constructor Details
-
PotatoesBlock
public PotatoesBlock()
-
-
Method Details
-
method_780
- Overrides:
method_780in classCropBlock- Mappings:
Namespace Name Mixin selector official lLafz;l()Lzw;intermediary method_780Lnet/minecraft/class_182;method_780()Lnet/minecraft/class_2054;named method_780Lnet/minecraft/block/CropBlock;method_780()Lnet/minecraft/item/Item;
-
method_781
- Overrides:
method_781in classCropBlock- Mappings:
Namespace Name Mixin selector official nLafz;n()Lzw;intermediary method_781Lnet/minecraft/class_182;method_781()Lnet/minecraft/class_2054;named method_781Lnet/minecraft/block/CropBlock;method_781()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 aLafh;a(Ladm;Lcj;Lalz;FI)Vintermediary method_646Lnet/minecraft/class_160;method_646(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;FI)Vnamed randomDropAsItemLnet/minecraft/block/Block;randomDropAsItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;FI)V
-