Package net.minecraft.block
Class AbstractRedstoneGateBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizotalFacingBlock
net.minecraft.block.AbstractRedstoneGateBlock
- Direct Known Subclasses:
ComparatorBlock,RepeaterBlock
- Mappings:
Namespace Name official amtintermediary net/minecraft/class_1449named net/minecraft/block/AbstractRedstoneGateBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsFields inherited from class net.minecraft.block.HorizotalFacingBlock
DIRECTIONFields 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 TypeMethodDescriptionbooleancanBePlacedAtPos(World world, BlockPos pos) Returns whether the current block can be placed at a certainBlockPosgetCollisionBox(BlockState state, BlockView view, BlockPos pos) Returns the appropriate RenderLayer for a block.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idbooleanReturns whether the current block and another block are equalbooleanisFullBoundsCubeForCulling(BlockState blockState) booleanmethod_11562(BlockState state) booleanmethod_11566(BlockState state) protected booleanmethod_11601(BlockState blockState) static booleanmethod_11602(BlockState blockState) booleanmethod_11603(BlockState blockState) intmethod_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) booleanmethod_8654(BlockState state, BlockView view, BlockPos pos, Direction direction) intmethod_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) protected intmethod_8721(BlockView blockView, BlockPos blockPos, BlockState blockState) booleanmethod_8722(BlockView blockView, BlockPos blockPos, BlockState blockState) protected intmethod_8723(BlockView blockView, BlockPos blockPos, BlockState blockState) protected intmethod_8724(BlockView blockView, BlockPos blockPos, Direction direction) protected abstract intmethod_8725(BlockState blockState) booleanmethod_8726(World world, BlockPos blockPos) protected booleanmethod_8727(World world, BlockPos blockPos, BlockState blockState) protected abstract BlockStatemethod_8728(BlockState blockState) protected intmethod_8729(World world, BlockPos blockPos, BlockState blockState) protected voidmethod_8730(World world, BlockPos blockPos, BlockState blockState) protected voidmethod_8731(World world, BlockPos blockPos, BlockState blockState) booleanmethod_8732(World world, BlockPos blockPos, BlockState blockState) protected abstract BlockStatemethod_8733(BlockState blockState) protected booleanmethod_8734(BlockState blockState) protected intmethod_8735(BlockState blockState) voidvoidonBreakByPlayer(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 updatedvoidscheduledTick(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, appendCollisionBoxes, appendProperties, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getComparatorOutput, getData, getDefaultState, getDropCount, getDropItem, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getMeta, getOffsetType, getOpacity, getPistonBehavior, getSoundGroup, getStateFromRawId, getStateManager, getTickRate, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasCollision, hasStats, isFire, isFullBlock, isTransluscent, method_11557, method_11559, method_11563, method_11564, method_11565, 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_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreaking, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onSteppedOn, rainTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, toString, use, useNeighbourLight, withMirror, withRotation
-
Field Details
-
field_12644
- Mappings:
Namespace Name Mixin selector official cLamt;c:Lbdt;intermediary field_12644Lnet/minecraft/class_1449;field_12644:Lnet/minecraft/class_231;named field_12644Lnet/minecraft/block/AbstractRedstoneGateBlock;field_12644:Lnet/minecraft/util/math/Box;
-
locked
protected final boolean locked- Mappings:
Namespace Name Mixin selector official dLamt;d:Zintermediary field_5539Lnet/minecraft/class_1449;field_5539:Znamed lockedLnet/minecraft/block/AbstractRedstoneGateBlock;locked:Z
-
-
Constructor Details
-
AbstractRedstoneGateBlock
protected AbstractRedstoneGateBlock(boolean locked) - Mappings:
Namespace Name Mixin selector official <init>Lamt;<init>(Z)Vintermediary <init>Lnet/minecraft/class_1449;<init>(Z)Vnamed <init>Lnet/minecraft/block/AbstractRedstoneGateBlock;<init>(Z)V
-
-
Method Details
-
getCollisionBox
- Overrides:
getCollisionBoxin classBlock- Mappings:
Namespace Name Mixin selector official bLalu;b(Latl;Lajw;Lco;)Lbdt;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;named getCollisionBoxLnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official cLalu;c(Latl;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)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 aLalu;a(Lajs;Lco;)Zintermediary method_8673Lnet/minecraft/class_197;method_8673(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed canBePlacedAtPosLnet/minecraft/block/Block;canBePlacedAtPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_8726
- Mappings:
Namespace Name Mixin selector official bLamt;b(Lajs;Lco;)Zintermediary method_8726Lnet/minecraft/class_1449;method_8726(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed method_8726Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8726(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 aLalu;a(Lajs;Lco;Latl;Ljava/util/Random;)Vintermediary method_8643Lnet/minecraft/class_197;method_8643(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;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 bLalu;b(Lajs;Lco;Latl;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_8654
@Environment(CLIENT) public boolean method_8654(BlockState state, BlockView view, BlockPos pos, Direction direction) - Overrides:
method_8654in classBlock- Mappings:
Namespace Name Mixin selector official aLalu;a(Latl;Lajw;Lco;Lcv;)Zintermediary method_8654Lnet/minecraft/class_197;method_8654(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Znamed method_8654Lnet/minecraft/block/Block;method_8654(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
method_8734
- Mappings:
Namespace Name Mixin selector official BLamt;B(Latl;)Zintermediary method_8734Lnet/minecraft/class_1449;method_8734(Lnet/minecraft/class_2232;)Znamed method_8734Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8734(Lnet/minecraft/block/BlockState;)Z
-
method_8664
public int method_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) - Overrides:
method_8664in classBlock- Mappings:
Namespace Name Mixin selector official cLalu;c(Latl;Lajw;Lco;Lcv;)Iintermediary method_8664Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Inamed method_8664Lnet/minecraft/block/Block;method_8664(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
method_8653
public int method_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) - Overrides:
method_8653in classBlock- Mappings:
Namespace Name Mixin selector official bLalu;b(Latl;Lajw;Lco;Lcv;)Iintermediary method_8653Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Inamed method_8653Lnet/minecraft/block/Block;method_8653(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLalu;a(Latl;Lajs;Lco;Lalu;Lco;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
method_8730
- Mappings:
Namespace Name Mixin selector official gLamt;g(Lajs;Lco;Latl;)Vintermediary method_8730Lnet/minecraft/class_1449;method_8730(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8730Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8730(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_8722
- Mappings:
Namespace Name Mixin selector official bLamt;b(Lajw;Lco;Latl;)Zintermediary method_8722Lnet/minecraft/class_1449;method_8722(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Znamed method_8722Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8722(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
method_8727
- Mappings:
Namespace Name Mixin selector official eLamt;e(Lajs;Lco;Latl;)Zintermediary method_8727Lnet/minecraft/class_1449;method_8727(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Znamed method_8727Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8727(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
method_8729
- Mappings:
Namespace Name Mixin selector official fLamt;f(Lajs;Lco;Latl;)Iintermediary method_8729Lnet/minecraft/class_1449;method_8729(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Inamed method_8729Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8729(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
-
method_8723
- Mappings:
Namespace Name Mixin selector official cLamt;c(Lajw;Lco;Latl;)Iintermediary method_8723Lnet/minecraft/class_1449;method_8723(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Inamed method_8723Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8723(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
-
method_8724
- Mappings:
Namespace Name Mixin selector official bLamt;b(Lajw;Lco;Lcv;)Iintermediary method_8724Lnet/minecraft/class_1449;method_8724(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Inamed method_8724Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8724(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
method_11566
- Overrides:
method_11566in classBlock- Mappings:
Namespace Name Mixin selector official gLalu;g(Latl;)Zintermediary method_11566Lnet/minecraft/class_197;method_11566(Lnet/minecraft/class_2232;)Znamed method_11566Lnet/minecraft/block/Block;method_11566(Lnet/minecraft/block/BlockState;)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 aLalu;a(Lajs;Lco;Lcv;FFFILsw;)Latl;intermediary method_8645Lnet/minecraft/class_197;method_8645(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;FFFILnet/minecraft/class_1699;)Lnet/minecraft/class_2232;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 aLalu;a(Lajs;Lco;Latl;Lsw;Lafj;)Vintermediary method_419Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)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 cLalu;c(Lajs;Lco;Latl;)Vintermediary method_8668Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed onCreationLnet/minecraft/block/Block;onCreation(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_8731
- Mappings:
Namespace Name Mixin selector official hLamt;h(Lajs;Lco;Latl;)Vintermediary method_8731Lnet/minecraft/class_1449;method_8731(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8731Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8731(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 dLalu;d(Lajs;Lco;Latl;)Vintermediary method_8674Lnet/minecraft/class_197;method_8674(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed onBreakByPlayerLnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
isFullBoundsCubeForCulling
- Overrides:
isFullBoundsCubeForCullingin classBlock- Mappings:
Namespace Name Mixin selector official bLalu;b(Latl;)Zintermediary method_11560Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Znamed isFullBoundsCubeForCullingLnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
-
method_11601
- Mappings:
Namespace Name Mixin selector official CLamt;C(Latl;)Zintermediary method_11601Lnet/minecraft/class_1449;method_11601(Lnet/minecraft/class_2232;)Znamed method_11601Lnet/minecraft/block/AbstractRedstoneGateBlock;method_11601(Lnet/minecraft/block/BlockState;)Z
-
method_8721
- Mappings:
Namespace Name Mixin selector official aLamt;a(Lajw;Lco;Latl;)Iintermediary method_8721Lnet/minecraft/class_1449;method_8721(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Inamed method_8721Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8721(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
-
method_11602
- Mappings:
Namespace Name Mixin selector official DLamt;D(Latl;)Zintermediary method_11602Lnet/minecraft/class_1449;method_11602(Lnet/minecraft/class_2232;)Znamed method_11602Lnet/minecraft/block/AbstractRedstoneGateBlock;method_11602(Lnet/minecraft/block/BlockState;)Z
-
method_11603
- Mappings:
Namespace Name Mixin selector official ELamt;E(Latl;)Zintermediary method_11603Lnet/minecraft/class_1449;method_11603(Lnet/minecraft/class_2232;)Znamed method_11603Lnet/minecraft/block/AbstractRedstoneGateBlock;method_11603(Lnet/minecraft/block/BlockState;)Z
-
method_8732
- Mappings:
Namespace Name Mixin selector official iLamt;i(Lajs;Lco;Latl;)Zintermediary method_8732Lnet/minecraft/class_1449;method_8732(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Znamed method_8732Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8732(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
method_8735
- Mappings:
Namespace Name Mixin selector official FLamt;F(Latl;)Iintermediary method_8735Lnet/minecraft/class_1449;method_8735(Lnet/minecraft/class_2232;)Inamed method_8735Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8735(Lnet/minecraft/block/BlockState;)I
-
method_8725
- Mappings:
Namespace Name Mixin selector official iLamt;i(Latl;)Iintermediary method_8725Lnet/minecraft/class_1449;method_8725(Lnet/minecraft/class_2232;)Inamed method_8725Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8725(Lnet/minecraft/block/BlockState;)I
-
method_8728
- Mappings:
Namespace Name Mixin selector official zLamt;z(Latl;)Latl;intermediary method_8728Lnet/minecraft/class_1449;method_8728(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2232;named method_8728Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8728(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
method_8733
- Mappings:
Namespace Name Mixin selector official ALamt;A(Latl;)Latl;intermediary method_8733Lnet/minecraft/class_1449;method_8733(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2232;named method_8733Lnet/minecraft/block/AbstractRedstoneGateBlock;method_8733(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 bLalu;b(Lalu;)Zintermediary method_6447Lnet/minecraft/class_197;method_6447(Lnet/minecraft/class_197;)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 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;
-