net.minecraft.world.level.block

public class ComparatorBlock

extends DiodeBlock implements EntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bpy
net.minecraft.world.level.block.ComparatorBlock
net.minecraft.class_2286
net.minecraft.block.ComparatorBlock
net.minecraft.block.ComparatorBlock
net.minecraft.server.v1_15_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 (Block$Properties settings)

Method summary

Modifier and TypeMethod
protected int
h(byg arg0)
getDelay(BlockState arg0)
method_9992(class_2680 arg0)
getUpdateDelayInternal(BlockState arg0)
func_196346_i(BlockState arg0)
protected int
b(bjd arg0, fk arg1, byg 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(bjt arg0, fk arg1, byg 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(bjt arg0, fk arg1, byg 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(bjt arg0, fk arg1, byg 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(bjt arg0, fp arg1, fk 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(byg arg0, bjt arg1, fk arg2, ayg arg3, ajh arg4, cvd 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(bjt arg0, fk arg1, byg 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(bjt arg0, fk arg1, byg 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(byg arg0, xd arg1, fk 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)
tick(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public boolean
a(byg arg0, bjt arg1, fk 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)
onBlockAction(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(bjd arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
protected void
a(byh$a<bpe, byg> 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)