Package net.minecraft.block
Class AbstractRedstoneGateBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizontalFacingBlock
net.minecraft.block.AbstractRedstoneGateBlock
- Direct Known Subclasses:
ComparatorBlock,RepeaterBlock
- Mappings:
Namespace Name official avaintermediary net/minecraft/class_1449named net/minecraft/block/AbstractRedstoneGateBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.HorizontalFacingBlock
FACINGFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_483, field_484, field_486, field_487, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, field_9285, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, soundGroup, 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 certainBlockPosbooleanReturns whether the current block emits a redstone signal.protected booleanemitsRedstonePower(Block block) 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 idintgetStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intgetWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.booleanbooleanisComparator(Block block) booleanReturns whether the current block and another block are equalstatic booleanisRedstoneGate(Block block) booleanisSideInvisible(BlockView 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_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) 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 updatedbooleanReturns 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, 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, 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_414, method_8634, method_8666, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreaking, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onEvent, onLandedUpon, onSteppedOn, onUse, rainTick, randomDisplayTick, randomDropAsItem, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, usesNeighbourLight
-
Field Details
-
locked
protected final boolean locked- Mappings:
Namespace Name Mixin selector official MLava;M: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>Lava;<init>(Z)Vintermediary <init>Lnet/minecraft/class_1449;<init>(Z)Vnamed <init>Lnet/minecraft/block/AbstractRedstoneGateBlock;<init>(Z)V
-
-
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 dLatr;d()Zintermediary method_441Lnet/minecraft/class_197;method_441()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 cLatr;c(Laqu;Ldt;)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 dLava;d(Laqu;Ldt;)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 aLatr;a(Laqu;Ldt;Lbec;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 bLatr;b(Laqu;Ldt;Lbec;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
-
isSideInvisible
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- BlockView 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 aLatr;a(Lard;Ldt;Lej;)Zintermediary method_8654Lnet/minecraft/class_197;method_8654(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Znamed isSideInvisibleLnet/minecraft/block/Block;isSideInvisible(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
method_8734
- Mappings:
Namespace Name Mixin selector official lLava;l(Lbec;)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
-
getStrongRedstonePower
Returns the block's strong redstone power.- Overrides:
getStrongRedstonePowerin classBlock- Parameters:
view- BlockView 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 bLatr;b(Lard;Ldt;Lbec;Lej;)Iintermediary method_8664Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;)Inamed getStrongRedstonePowerLnet/minecraft/block/Block;getStrongRedstonePower(Lnet/minecraft/world/BlockView;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- BlockView 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 aLatr;a(Lard;Ldt;Lbec;Lej;)Iintermediary method_8653Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;)Inamed getWeakRedstonePowerLnet/minecraft/block/Block;getWeakRedstonePower(Lnet/minecraft/world/BlockView;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 aLatr;a(Laqu;Ldt;Lbec;Latr;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_197;)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_8730
- Mappings:
Namespace Name Mixin selector official gLava;g(Laqu;Ldt;Lbec;)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 bLava;b(Lard;Ldt;Lbec;)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 eLava;e(Laqu;Ldt;Lbec;)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 fLava;f(Laqu;Ldt;Lbec;)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 cLava;c(Lard;Ldt;Lbec;)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 cLava;c(Lard;Ldt;Lej;)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
-
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 gLatr;g()Zintermediary method_466Lnet/minecraft/class_197;method_466()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 aLatr;a(Laqu;Ldt;Lej;FFFILxm;)Lbec;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 aLatr;a(Laqu;Ldt;Lbec;Lxm;Lamj;)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 cLatr;c(Laqu;Ldt;Lbec;)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 hLava;h(Laqu;Ldt;Lbec;)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 dLatr;d(Laqu;Ldt;Lbec;)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
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLatr;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
emitsRedstonePower
- Mappings:
Namespace Name Mixin selector official cLava;c(Latr;)Zintermediary method_6470Lnet/minecraft/class_1449;method_6470(Lnet/minecraft/class_197;)Znamed emitsRedstonePowerLnet/minecraft/block/AbstractRedstoneGateBlock;emitsRedstonePower(Lnet/minecraft/block/Block;)Z
-
method_8721
- Mappings:
Namespace Name Mixin selector official aLava;a(Lard;Ldt;Lbec;)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
-
isRedstoneGate
- Mappings:
Namespace Name Mixin selector official dLava;d(Latr;)Zintermediary method_6471Lnet/minecraft/class_1449;method_6471(Lnet/minecraft/class_197;)Znamed isRedstoneGateLnet/minecraft/block/AbstractRedstoneGateBlock;isRedstoneGate(Lnet/minecraft/block/Block;)Z
-
isComparator
- Mappings:
Namespace Name Mixin selector official eLava;e(Latr;)Zintermediary method_6472Lnet/minecraft/class_1449;method_6472(Lnet/minecraft/class_197;)Znamed isComparatorLnet/minecraft/block/AbstractRedstoneGateBlock;isComparator(Lnet/minecraft/block/Block;)Z
-
method_8732
- Mappings:
Namespace Name Mixin selector official iLava;i(Laqu;Ldt;Lbec;)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 mLava;m(Lbec;)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 dLava;d(Lbec;)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 eLava;e(Lbec;)Lbec;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 kLava;k(Lbec;)Lbec;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 bLatr;b(Latr;)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 kLatr;k()Laql;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-