net.minecraft.world.level.block

public class ComparatorBlock

extends DiodeBlock implements EntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bwm
net.minecraft.world.level.block.ComparatorBlock
net.minecraft.class_2286
net.minecraft.block.ComparatorBlock
net.minecraft.block.ComparatorBlock
net.minecraft.server.v1_16_R1.BlockRedstoneComparator

Field summary

Modifier and TypeField
public static final EnumProperty<ComparatorMode>
a
MODE
field_10789
MODE
field_176463_b
MODE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected int
g(cfj arg0)
getDelay(BlockState arg0)
method_9992(class_2680 arg0)
getUpdateDelayInternal(BlockState arg0)
func_196346_i(BlockState arg0)
protected int
b(bpg arg0, fu arg1, cfj arg2)
getOutputSignal(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9993(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getOutputLevel(BlockView arg0, BlockPos arg1, BlockState arg2)
func_176408_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
private int
e(bqb arg0, fu arg1, cfj arg2)
calculateOutputSignal(Level arg0, BlockPos arg1, BlockState arg2)
method_9773(class_1937 arg0, class_2338 arg1, class_2680 arg2)
calculateOutputSignal(World world, BlockPos pos, BlockState state)
func_176460_j(World arg0, BlockPos arg1, BlockState arg2)
protected boolean
a(bqb arg0, fu arg1, cfj arg2)
shouldTurnOn(Level arg0, BlockPos arg1, BlockState arg2)
method_9990(class_1937 arg0, class_2338 arg1, class_2680 arg2)
hasPower(World arg0, BlockPos arg1, BlockState arg2)
func_176404_e(World arg0, BlockPos arg1, BlockState arg2)
protected int
b(bqb arg0, fu arg1, cfj arg2)
getInputSignal(Level arg0, BlockPos arg1, BlockState arg2)
method_9991(class_1937 arg0, class_2338 arg1, class_2680 arg2)
getPower(World arg0, BlockPos arg1, BlockState arg2)
func_176397_f(World arg0, BlockPos arg1, BlockState arg2)
private ItemFrame
a(bqb arg0, fz arg1, fu arg2)
getItemFrame(Level arg0, Direction arg1, BlockPos arg2)
method_9774(class_1937 arg0, class_2350 arg1, class_2338 arg2)
getAttachedItemFrame(World world, Direction facing, BlockPos pos)
func_176461_a(World arg0, Direction arg1, BlockPos arg2)
public InteractionResult
a(cfj arg0, bqb arg1, fu arg2, bec arg3, anf arg4, deh arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
protected void
c(bqb arg0, fu arg1, cfj arg2)
checkTickOnNeighbor(Level arg0, BlockPos arg1, BlockState arg2)
method_9998(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updatePowered(World arg0, BlockPos arg1, BlockState arg2)
func_176398_g(World arg0, BlockPos arg1, BlockState arg2)
private void
f(bqb arg0, fu arg1, cfj arg2)
refreshOutputState(Level arg0, BlockPos arg1, BlockState arg2)
method_9775(class_1937 arg0, class_2338 arg1, class_2680 arg2)
update(World world, BlockPos pos, BlockState state)
func_176462_k(World arg0, BlockPos arg1, BlockState arg2)
public void
a(cfj arg0, zd arg1, fu arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public boolean
a(cfj arg0, bqb arg1, fu arg2, int arg3, int arg4)
triggerEvent(BlockState arg0, Level arg1, BlockPos arg2, int arg3, int arg4)
method_9592(class_2680 arg0, class_1937 arg1, class_2338 arg2, int arg3, int arg4)
onSyncedBlockEvent(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
func_189539_a(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
public BlockEntity
a(bpg arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
protected void
a(cfk$a<bvr, cfj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)