Package net.minecraft.block
Class RedstoneComponentBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizontalFacingBlock
net.minecraft.block.RedstoneComponentBlock
- Direct Known Subclasses:
ComparatorBlock,RepeaterBlock
public abstract class RedstoneComponentBlock extends HorizontalFacingBlock
- Mappings:
Namespace Name official agdintermediary net/minecraft/class_187named net/minecraft/block/RedstoneComponentBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType, Block.Sound -
Field Summary
Fields Modifier and Type Field Description protected booleanfield_851Fields inherited from class net.minecraft.block.HorizontalFacingBlock
FACINGFields inherited from class net.minecraft.block.Block
ANVIL, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, CLOTH, fullBlock, GLASS, GRASS, GRAVEL, LADDER, lightLevel, material, materialColor, opacity, ORE, particleGravity, RAIL, randomTicks, REGISTRY, resistance, SAND, SLIME, slipperiness, SNOW, sound, stateManager, stats, STONE, strength, transluscent, useNeighbourLight, WOOD -
Constructor Summary
Constructors Modifier Constructor Description protectedRedstoneComponentBlock(boolean bool) -
Method Summary
Modifier and Type Method Description booleancanBePlacedAtPos(World world, BlockPos pos)Returns whether the current block can be placed at a certainBlockPosbooleanemitsRedstonePower()Returns whether the current block emits a redstone signal.RenderLayergetRenderLayerType()Returns the appropriate RenderLayer for a block.BlockStategetStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity)Returns a BlockState from an idintgetStrongRedstonePower(WorldView view, BlockPos pos, BlockState state, Direction facing)Returns the block's strong redstone power.intgetWeakRedstonePower(WorldView view, BlockPos pos, BlockState state, Direction facing)Returns the block's weak redstone power.booleanhasTransperancy()booleanisEqualTo(Block block)Returns whether the current block and another block are equalbooleanisSideInvisible(WorldView view, BlockPos pos, Direction facing)Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.protected intmethod_788(WorldView worldView, BlockPos blockPos, BlockState blockState)booleanmethod_789(WorldView worldView, BlockPos blockPos, BlockState blockState)protected intmethod_790(WorldView worldView, BlockPos blockPos, BlockState blockState)protected intmethod_791(WorldView worldView, BlockPos blockPos, Direction direction)protected booleanmethod_792(Block block)static booleanmethod_793(Block block)protected abstract intmethod_794(BlockState blockState)booleanmethod_795(World world, BlockPos blockPos)protected booleanmethod_796(World world, BlockPos blockPos, BlockState blockState)booleanmethod_797(Block block)protected abstract BlockStatemethod_798(BlockState blockState)protected intmethod_799(World world, BlockPos blockPos, BlockState blockState)protected voidmethod_800(World world, BlockPos blockPos, BlockState blockState)protected voidmethod_801(World world, BlockPos blockPos, BlockState blockState)booleanmethod_802(World world, BlockPos blockPos, BlockState blockState)protected abstract BlockStatemethod_803(BlockState blockState)protected booleanmethod_804(BlockState blockState)protected intmethod_805(BlockState blockState)voidneighborUpdate(World world, BlockPos pos, BlockState state, Block block)Runs when its adjacent blocks are updated.voidonBreakByPlayer(World world, BlockPos pos, BlockState state)Runs when the block is broken by the playervoidonCreation(World world, BlockPos pos, BlockState state)Runs when the block is placed (by a player or enderman).voidonPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)Runs when the block is placed by an entityvoidonUpdateTick(World world, BlockPos pos, BlockState state, Random rand)Runs when the block is updatedbooleanrenderAsNormalBlock()Returns whether the block can be rendered as a normal blockvoidscheduledTick(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
appendCollisionBoxes, appendItemStacks, appendProperties, areBlocksEqual, blocksMovement, calcBlockBreakingData, canBePlacedAdjacent, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlendColor, getBlockColor, getBlockFromItem, getBlockState, getBlockType, getBonusDrops, getBrightness, getByBlockState, getById, getCollisionBox, getColor, getColor, getComparatorOutput, getData, getDefaultState, getDropCount, getDropItem, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaterialColor, getMaxX, getMaxY, getMaxZ, getMeta, getMeta, getMinX, getMinY, getMinZ, getOffsetType, getOpacity, getPickItem, getPistonInteractionType, getSelectionBox, getStateFromRawId, getStateManager, getStrength, getTickRate, getTranslatedName, getTranslationKey, harvest, hasBlockEntity, hasCollision, hasCollision, hasComparatorOutput, hasStats, isFire, isFlowerPot, isFullBlock, isFullCube, isLeafBlock, isNormalBlock, isReplaceable, isTransluscent, method_655, method_696, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreaking, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onEvent, onLandedUpon, onSteppedOn, onUse, rainTick, randomDisplayTick, randomDropAsItem, requiresSilkTouch, setBlockItemBounds, setBoundingBox, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setSound, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, toString, usesNeighbourLight
-
Field Details
-
field_851
protected final boolean field_851- Mappings:
Namespace Name Mixin selector official NLagd;N:Zintermediary field_851Lnet/minecraft/class_187;field_851:Znamed field_851Lnet/minecraft/block/RedstoneComponentBlock;field_851:Z
-
-
Constructor Details
-
RedstoneComponentBlock
protected RedstoneComponentBlock(boolean bool)
-
-
Method Details
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Returns whether the block can be rendered as a normal block- Overrides:
renderAsNormalBlockin classBlock- Returns:
- Whether the block can be rendered as a normal block
- Mappings:
Namespace Name Mixin selector official dLafh;d()Zintermediary method_709Lnet/minecraft/class_160;method_709()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
canBePlacedAtPos
Returns whether the current block can be placed at a certainBlockPos- Overrides:
canBePlacedAtPosin classBlock- Returns:
- Whether the current block can be placed at a BlockPos
- Mappings:
Namespace Name Mixin selector official dLafh;d(Ladm;Lcj;)Zintermediary method_711Lnet/minecraft/class_160;method_711(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Znamed canBePlacedAtPosLnet/minecraft/block/Block;canBePlacedAtPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_795
- Mappings:
Namespace Name Mixin selector official eLagd;e(Ladm;Lcj;)Zintermediary method_795Lnet/minecraft/class_187;method_795(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Znamed method_795Lnet/minecraft/block/RedstoneComponentBlock;method_795(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
onUpdateTick
Runs when the block is updated- Overrides:
onUpdateTickin 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 aLafh;a(Ladm;Lcj;Lalz;Ljava/util/Random;)Vintermediary method_650Lnet/minecraft/class_160;method_650(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Ljava/util/Random;)Vnamed onUpdateTickLnet/minecraft/block/Block;onUpdateTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
-
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 bLafh;b(Ladm;Lcj;Lalz;Ljava/util/Random;)Vintermediary method_690Lnet/minecraft/class_160;method_690(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;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
-
isSideInvisible
@Environment(CLIENT) public boolean isSideInvisible(WorldView view, BlockPos pos, Direction facing)Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks. Used by glass to prevent the white dots from appearing everywhere through adjacent glass blocks.- Overrides:
isSideInvisiblein classBlock- Parameters:
view- WorldView instancepos- The current block's positionfacing- The direction the block is facing- Returns:
- Whether the current block has connected sides
- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladq;Lcj;Lcq;)Zintermediary method_668Lnet/minecraft/class_160;method_668(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Znamed isSideInvisibleLnet/minecraft/block/Block;isSideInvisible(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
method_804
- Mappings:
Namespace Name Mixin selector official lLagd;l(Lalz;)Zintermediary method_804Lnet/minecraft/class_187;method_804(Lnet/minecraft/class_376;)Znamed method_804Lnet/minecraft/block/RedstoneComponentBlock;method_804(Lnet/minecraft/block/BlockState;)Z
-
getStrongRedstonePower
public int getStrongRedstonePower(WorldView view, BlockPos pos, BlockState state, Direction facing)Returns the block's strong redstone power.- Overrides:
getStrongRedstonePowerin classBlock- Parameters:
view- WorldView instancepos- The block's positionstate- The block's BlockStatefacing- The block's direction- Returns:
- The Block's strong redstone power
- Mappings:
Namespace Name Mixin selector official bLafh;b(Ladq;Lcj;Lalz;Lcq;)Iintermediary method_693Lnet/minecraft/class_160;method_693(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Lnet/minecraft/class_1383;)Inamed getStrongRedstonePowerLnet/minecraft/block/Block;getStrongRedstonePower(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)I
-
getWeakRedstonePower
Returns the block's weak redstone power.- Overrides:
getWeakRedstonePowerin classBlock- Parameters:
view- WorldView instancepos- The block's positionstate- The block's BlockStatefacing- The block's direction- Returns:
- Block's weak redstone power
- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladq;Lcj;Lalz;Lcq;)Iintermediary method_667Lnet/minecraft/class_160;method_667(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Lnet/minecraft/class_1383;)Inamed getWeakRedstonePowerLnet/minecraft/block/Block;getWeakRedstonePower(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)I
-
neighborUpdate
Runs when its adjacent blocks are updated. It will also run when the block is placed or removed as Air is being updated.- Overrides:
neighborUpdatein classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateblock- The adjacent Block that updated the current block- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladm;Lcj;Lalz;Lafh;)Vintermediary method_648Lnet/minecraft/class_160;method_648(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Lnet/minecraft/class_160;)Vnamed neighborUpdateLnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/Block;)V
-
method_800
- Mappings:
Namespace Name Mixin selector official gLagd;g(Ladm;Lcj;Lalz;)Vintermediary method_800Lnet/minecraft/class_187;method_800(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Vnamed method_800Lnet/minecraft/block/RedstoneComponentBlock;method_800(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_789
- Mappings:
Namespace Name Mixin selector official bLagd;b(Ladq;Lcj;Lalz;)Zintermediary method_789Lnet/minecraft/class_187;method_789(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Znamed method_789Lnet/minecraft/block/RedstoneComponentBlock;method_789(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
method_796
- Mappings:
Namespace Name Mixin selector official eLagd;e(Ladm;Lcj;Lalz;)Zintermediary method_796Lnet/minecraft/class_187;method_796(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Znamed method_796Lnet/minecraft/block/RedstoneComponentBlock;method_796(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
method_799
- Mappings:
Namespace Name Mixin selector official fLagd;f(Ladm;Lcj;Lalz;)Iintermediary method_799Lnet/minecraft/class_187;method_799(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Inamed method_799Lnet/minecraft/block/RedstoneComponentBlock;method_799(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
-
method_790
- Mappings:
Namespace Name Mixin selector official cLagd;c(Ladq;Lcj;Lalz;)Iintermediary method_790Lnet/minecraft/class_187;method_790(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Inamed method_790Lnet/minecraft/block/RedstoneComponentBlock;method_790(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
-
method_791
- Mappings:
Namespace Name Mixin selector official cLagd;c(Ladq;Lcj;Lcq;)Iintermediary method_791Lnet/minecraft/class_187;method_791(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Inamed method_791Lnet/minecraft/block/RedstoneComponentBlock;method_791(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
emitsRedstonePower
public boolean emitsRedstonePower()Returns whether the current block emits a redstone signal. Used by comparators, Redstone Blocks, etc.- Overrides:
emitsRedstonePowerin classBlock- Returns:
- Whether the current block emits a redstone signal
- Mappings:
Namespace Name Mixin selector official iLafh;i()Zintermediary method_723Lnet/minecraft/class_160;method_723()Znamed emitsRedstonePowerLnet/minecraft/block/Block;emitsRedstonePower()Z
-
getStateFromData
public BlockState getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity)Returns a BlockState from an id- Overrides:
getStateFromDatain classBlock- Parameters:
world- The world that the block is placed inpos- The block's positiondir- The block's direction- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladm;Lcj;Lcq;FFFILpr;)Lalz;intermediary method_656Lnet/minecraft/class_160;method_656(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;FFFILnet/minecraft/class_1752;)Lnet/minecraft/class_376;named getStateFromDataLnet/minecraft/block/Block;getStateFromData(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFFILnet/minecraft/entity/LivingEntity;)Lnet/minecraft/block/BlockState;
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)Runs when the block is placed by an entity- Overrides:
onPlacedin classBlock- Parameters:
world- The world that the block is inpos- The block's positionstate- The block's BlockStateplacer- The entity who placed the blockitemStack- ItemStack instance- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladm;Lcj;Lalz;Lpr;Lzx;)Vintermediary method_652Lnet/minecraft/class_160;method_652(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Lnet/minecraft/class_1752;Lnet/minecraft/class_2056;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
onCreation
Runs when the block is placed (by a player or enderman).- Overrides:
onCreationin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockState- Mappings:
Namespace Name Mixin selector official cLafh;c(Ladm;Lcj;Lalz;)Vintermediary method_703Lnet/minecraft/class_160;method_703(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Vnamed onCreationLnet/minecraft/block/Block;onCreation(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_801
- Mappings:
Namespace Name Mixin selector official hLagd;h(Ladm;Lcj;Lalz;)Vintermediary method_801Lnet/minecraft/class_187;method_801(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Vnamed method_801Lnet/minecraft/block/RedstoneComponentBlock;method_801(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
onBreakByPlayer
Runs when the block is broken by the player- Overrides:
onBreakByPlayerin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockState- Mappings:
Namespace Name Mixin selector official dLafh;d(Ladm;Lcj;Lalz;)Vintermediary method_712Lnet/minecraft/class_160;method_712(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Vnamed onBreakByPlayerLnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLafh;c()Zintermediary method_699Lnet/minecraft/class_160;method_699()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
method_792
- Mappings:
Namespace Name Mixin selector official cLagd;c(Lafh;)Zintermediary method_792Lnet/minecraft/class_187;method_792(Lnet/minecraft/class_160;)Znamed method_792Lnet/minecraft/block/RedstoneComponentBlock;method_792(Lnet/minecraft/block/Block;)Z
-
method_788
- Mappings:
Namespace Name Mixin selector official aLagd;a(Ladq;Lcj;Lalz;)Iintermediary method_788Lnet/minecraft/class_187;method_788(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Inamed method_788Lnet/minecraft/block/RedstoneComponentBlock;method_788(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
-
method_793
- Mappings:
Namespace Name Mixin selector official dLagd;d(Lafh;)Zintermediary method_793Lnet/minecraft/class_187;method_793(Lnet/minecraft/class_160;)Znamed method_793Lnet/minecraft/block/RedstoneComponentBlock;method_793(Lnet/minecraft/block/Block;)Z
-
method_797
- Mappings:
Namespace Name Mixin selector official eLagd;e(Lafh;)Zintermediary method_797Lnet/minecraft/class_187;method_797(Lnet/minecraft/class_160;)Znamed method_797Lnet/minecraft/block/RedstoneComponentBlock;method_797(Lnet/minecraft/block/Block;)Z
-
method_802
- Mappings:
Namespace Name Mixin selector official iLagd;i(Ladm;Lcj;Lalz;)Zintermediary method_802Lnet/minecraft/class_187;method_802(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Znamed method_802Lnet/minecraft/block/RedstoneComponentBlock;method_802(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
method_805
- Mappings:
Namespace Name Mixin selector official mLagd;m(Lalz;)Iintermediary method_805Lnet/minecraft/class_187;method_805(Lnet/minecraft/class_376;)Inamed method_805Lnet/minecraft/block/RedstoneComponentBlock;method_805(Lnet/minecraft/block/BlockState;)I
-
method_794
- Mappings:
Namespace Name Mixin selector official dLagd;d(Lalz;)Iintermediary method_794Lnet/minecraft/class_187;method_794(Lnet/minecraft/class_376;)Inamed method_794Lnet/minecraft/block/RedstoneComponentBlock;method_794(Lnet/minecraft/block/BlockState;)I
-
method_798
- Mappings:
Namespace Name Mixin selector official eLagd;e(Lalz;)Lalz;intermediary method_798Lnet/minecraft/class_187;method_798(Lnet/minecraft/class_376;)Lnet/minecraft/class_376;named method_798Lnet/minecraft/block/RedstoneComponentBlock;method_798(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
method_803
- Mappings:
Namespace Name Mixin selector official kLagd;k(Lalz;)Lalz;intermediary method_803Lnet/minecraft/class_187;method_803(Lnet/minecraft/class_376;)Lnet/minecraft/class_376;named method_803Lnet/minecraft/block/RedstoneComponentBlock;method_803(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
isEqualTo
Returns whether the current block and another block are equal- Overrides:
isEqualToin classBlock- Parameters:
block- The other block- Returns:
- Whether the current block and the other block are equal
- Mappings:
Namespace Name Mixin selector official bLafh;b(Lafh;)Zintermediary method_695Lnet/minecraft/class_160;method_695(Lnet/minecraft/class_160;)Znamed isEqualToLnet/minecraft/block/Block;isEqualTo(Lnet/minecraft/block/Block;)Z
-
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 mLafh;m()Ladf;intermediary method_731Lnet/minecraft/class_160;method_731()Lnet/minecraft/class_91;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/RenderLayer;
-