Package net.minecraft.block
Class SlimeBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TransparentBlock
net.minecraft.block.SlimeBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official bhmintermediary net/minecraft/class_2213named net/minecraft/block/SlimeBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
Fields 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 TypeMethodDescriptionintgetLightSubtracted(BlockState state, BlockView world, BlockPos pos) Returns the appropriate RenderLayer for a block.voidmethod_8650(BlockView blockView, Entity entity) voidonLandedUpon(World world, BlockPos pos, Entity entity, float distance) Runs when an entity falls on the block.voidonSteppedOn(World world, BlockPos pos, Entity entity) Runs every time an entity steps on the Block.Methods inherited from class net.minecraft.block.TransparentBlock
method_16573Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, appendProperties, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getOutlineShape, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11562, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14307, method_14308, method_14309, method_16563, method_16564, method_16565, method_16566, method_16568, method_16569, method_16570, method_16572, method_16575, 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_410, method_414, method_416, method_420, method_421, method_435, method_8640, method_8651, method_8653, method_8659, method_8661, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onPlaced, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString, withMirror, withRotation
-
Constructor Details
-
SlimeBlock
- 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
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
onLandedUpon
Runs when an entity falls on the block.- Overrides:
onLandedUponin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionentity- The entity who fell on the blockdistance- The relative height from which the entity fell- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Laer;F)Vintermediary method_8647Lnet/minecraft/class_197;method_8647(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;F)Vnamed onLandedUponLnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
-
method_8650
- Overrides:
method_8650in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Laer;)Vintermediary method_8650Lnet/minecraft/class_197;method_8650(Lnet/minecraft/class_1158;Lnet/minecraft/class_864;)Vnamed method_8650Lnet/minecraft/block/Block;method_8650(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;)V
-
onSteppedOn
Runs every time an entity steps on the Block. Used by redstone ore to change it's state.- Overrides:
onSteppedOnin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionentity- The entity who stepped on the block- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Laer;)Vintermediary method_437Lnet/minecraft/class_197;method_437(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)Vnamed onSteppedOnLnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
-
getLightSubtracted
- Overrides:
getLightSubtractedin classBlock- Mappings:
Namespace Name Mixin selector official jLbcs;j(Lblc;Laxk;Lel;)Iintermediary method_16597Lnet/minecraft/class_197;method_16597(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Inamed getLightSubtractedLnet/minecraft/block/Block;getLightSubtracted(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
-