Package net.minecraft
Class class_3010
java.lang.Object
net.minecraft.block.Block
net.minecraft.class_3010
- Mappings:
Namespace Name official arwintermediary net/minecraft/class_3010named net/minecraft/class_3010
-
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 TypeMethodDescriptiongetMaterialColor(BlockState state, BlockView view, BlockPos pos) intmethod_11564(BlockState state, BlockView view, BlockPos pos) booleanmethod_13315(BlockState blockState, Entity entity) voidonSteppedOn(World world, BlockPos pos, Entity entity) Runs every time an entity steps on the Block.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.Block
addStacksForDisplay, 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, getMeta, getOffsetType, getOpacity, getPistonBehavior, getRenderLayerType, getSoundGroup, getStateFromData, getStateFromRawId, getStateManager, getTickRate, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isFullBoundsCubeForCulling, isTransluscent, method_11557, method_11559, method_11562, method_11563, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13702, method_13703, method_13704, method_14306, method_14307, method_14308, method_14309, method_414, method_435, method_8638, method_8640, method_8640, method_8651, method_8653, method_8654, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreak, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onUpdateTick, rainTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, toString, use, useNeighbourLight, withMirror, withRotation
-
Constructor Details
-
class_3010
public class_3010()
-
-
Method Details
-
getMaterialColor
- Overrides:
getMaterialColorin classBlock- Mappings:
Namespace Name Mixin selector official cLaow;c(Lawt;Lamy;Let;)Lbda;intermediary method_8680Lnet/minecraft/class_197;method_8680(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_65;named getMaterialColorLnet/minecraft/block/Block;getMaterialColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/MaterialColor;
-
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 aLaow;a(Lamu;Let;Lvg;)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
-
method_11564
- Overrides:
method_11564in classBlock- Mappings:
Namespace Name Mixin selector official eLaow;e(Lawt;Lamy;Let;)Iintermediary method_11564Lnet/minecraft/class_197;method_11564(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Inamed method_11564Lnet/minecraft/block/Block;method_11564(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)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 bLaow;b(Lamu;Let;Lawt;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_13315
- Overrides:
method_13315in classBlock- Mappings:
Namespace Name Mixin selector official aLaow;a(Lawt;Lvg;)Zintermediary method_13315Lnet/minecraft/class_197;method_13315(Lnet/minecraft/class_2232;Lnet/minecraft/class_864;)Znamed method_13315Lnet/minecraft/block/Block;method_13315(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)Z
-