Package net.minecraft.block
Class SlimeBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TransparentBlock
net.minecraft.block.SlimeBlock
- Mappings:
Namespace Name official aqqintermediary net/minecraft/class_2213named net/minecraft/block/SlimeBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
Fields 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 TypeMethodDescriptionReturns the appropriate RenderLayer for a block.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.voidsetEntityVelocity(World world, Entity entity) Sets the speed of an entity moving on the blockMethods inherited from class net.minecraft.block.TransparentBlock
isFullBoundsCubeForCulling, method_8654Methods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendCollisionBoxes, appendProperties, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canBePlacedAtPos, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getCollisionBox, getComparatorOutput, getData, 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_11562, 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_8640, method_8651, method_8653, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreak, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onPlaced, onUpdateTick, rainTick, randomDropAsItem, requiresSilkTouch, scheduledTick, setBlockSoundGroup, setDefaultState, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, toString, use, useNeighbourLight, withMirror, withRotation
-
Constructor Details
-
SlimeBlock
public SlimeBlock()
-
-
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 fLalu;f()Lajk;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 aLalu;a(Lajs;Lco;Lsn;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
-
setEntityVelocity
Sets the speed of an entity moving on the block- Overrides:
setEntityVelocityin classBlock- Parameters:
world- The world that the block is placed inentity- The entity that the speed must be changed for- Mappings:
Namespace Name Mixin selector official aLalu;a(Lajs;Lsn;)Vintermediary method_8650Lnet/minecraft/class_197;method_8650(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;)Vnamed setEntityVelocityLnet/minecraft/block/Block;setEntityVelocity(Lnet/minecraft/world/World;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 aLalu;a(Lajs;Lco;Lsn;)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
-