Package net.minecraft.block
Class LilyPadBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.LilyPadBlock
- Mappings:
Namespace Name official arsintermediary net/minecraft/class_210named net/minecraft/block/LilyPadBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidappendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, Entity entity, boolean isActualState) protected booleancanBePlacedOn(BlockState state) getCollisionBox(BlockState state, BlockView view, BlockPos pos) intgetData(BlockState state) Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not workbooleanmethod_8691(World world, BlockPos pos, BlockState state) voidonEntityCollision(World world, BlockPos pos, BlockState state, Entity entity) Runs every time an entity collides with the blockMethods inherited from class net.minecraft.block.PlantBlock
canBePlacedAtPos, getRenderLayerType, isFullBoundsCubeForCulling, method_11562, method_8640, method_8690, onBreak, scheduledTickMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendProperties, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getComparatorOutput, getDefaultState, getDropCount, getDropItem, 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_8640, method_8651, method_8653, method_8654, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, rainTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, toString, use, useNeighbourLight, withMirror, withRotation
-
Field Details
-
SHAPE
- Mappings:
Namespace Name Mixin selector official aLars;a:Lbdt;intermediary field_12836Lnet/minecraft/class_210;field_12836:Lnet/minecraft/class_231;named SHAPELnet/minecraft/block/LilyPadBlock;SHAPE:Lnet/minecraft/util/math/Box;
-
-
Constructor Details
-
LilyPadBlock
protected LilyPadBlock()
-
-
Method Details
-
appendCollisionBoxes
public void appendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, @Nullable Entity entity, boolean isActualState) - Overrides:
appendCollisionBoxesin classBlock- Mappings:
Namespace Name Mixin selector official aLalu;a(Latl;Lajs;Lco;Lbdt;Ljava/util/List;Lsn;Z)Vintermediary method_11553Lnet/minecraft/class_197;method_11553(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_864;Z)Vnamed appendCollisionBoxesLnet/minecraft/block/Block;appendCollisionBoxes(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;Z)V
-
onEntityCollision
Runs every time an entity collides with the block- Overrides:
onEntityCollisionin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateentity- The entity that collided with the block- Mappings:
Namespace Name Mixin selector official aLalu;a(Lajs;Lco;Latl;Lsn;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_864;)Vnamed onEntityCollisionLnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)V
-
getCollisionBox
- Overrides:
getCollisionBoxin classPlantBlock- 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;
-
canBePlacedOn
- Overrides:
canBePlacedOnin classPlantBlock- Mappings:
Namespace Name Mixin selector official iLama;i(Latl;)Zintermediary method_11579Lnet/minecraft/class_1754;method_11579(Lnet/minecraft/class_2232;)Znamed canBePlacedOnLnet/minecraft/block/PlantBlock;canBePlacedOn(Lnet/minecraft/block/BlockState;)Z
-
method_8691
- Overrides:
method_8691in classPlantBlock- Mappings:
Namespace Name Mixin selector official fLama;f(Lajs;Lco;Latl;)Zintermediary method_8691Lnet/minecraft/class_1754;method_8691(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Znamed method_8691Lnet/minecraft/block/PlantBlock;method_8691(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
getData
Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not work- Overrides:
getDatain classBlock- Parameters:
state- The Blockstate- Returns:
- Zero
- Mappings:
Namespace Name Mixin selector official eLalu;e(Latl;)Iintermediary method_8671Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)Inamed getDataLnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
-