Package net.minecraft.block
Class IceBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TransparentBlock
net.minecraft.block.IceBlock
- Direct Known Subclasses:
FrostedIceBlock
- Mappings:
Namespace Name official amiintermediary net/minecraft/class_148named net/minecraft/block/IceBlock
-
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 TypeMethodDescriptionintgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.getPistonBehavior(BlockState state) Returns the appropriate RenderLayer for a block.protected voidmethod_11617(World world, BlockPos blockPos) voidmethod_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidscheduledTick(World world, BlockPos pos, BlockState state, Random rand) Runs when the block is updated as per a scheduleMethods inherited from class net.minecraft.block.TransparentBlock
isFullBoundsCubeForCulling, method_8654Methods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendCollisionBoxes, appendItemStacks, appendProperties, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canBePlacedAtPos, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getCollisionBox, getCollisionBox, getComparatorOutput, getData, getDefaultState, getDropItem, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getMeta, getOffsetType, getOpacity, getSoundGroup, getStateFromData, getStateFromRawId, getStateManager, getTickRate, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isLeafBlock, isTransluscent, method_11557, method_11559, method_11562, method_11563, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_414, method_421, method_435, method_8638, method_8640, method_8641, method_8653, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, rainTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, toString, useNeighbourLight, withMirror, withRotation
-
Constructor Details
-
IceBlock
public IceBlock()
-
-
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 fLajt;f()Lahm;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
method_8651
public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, @Nullable ItemStack stack) - Overrides:
method_8651in classBlock- Mappings:
Namespace Name Mixin selector official aLajt;a(Laht;Lzj;Lcl;Lard;Lapv;Ladq;)Vintermediary method_8651Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)Vnamed method_8651Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLajt;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
scheduledTick
Runs when the block is updated as per a schedule- Overrides:
scheduledTickin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStaterand- Random object- Mappings:
Namespace Name Mixin selector official bLajt;b(Laht;Lcl;Lard;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
-
method_11617
- Mappings:
Namespace Name Mixin selector official bLami;b(Laht;Lcl;)Vintermediary method_11617Lnet/minecraft/class_148;method_11617(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_11617Lnet/minecraft/block/IceBlock;method_11617(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
getPistonBehavior
- Overrides:
getPistonBehaviorin classBlock- Mappings:
Namespace Name Mixin selector official hLajt;h(Lard;)Laxh;intermediary method_11567Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;named getPistonBehaviorLnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
-