net.minecraft.world.level.block

public class ComparatorBlock

extends DiodeBlock implements EntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bnp
net.minecraft.world.level.block.ComparatorBlock
net.minecraft.class_2286
net.minecraft.block.ComparatorBlock
net.minecraft.block.ComparatorBlock
net.minecraft.server.v1_14_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
j(bvt arg0)
getDelay(BlockState arg0)
method_9992(class_2680 arg0)
getUpdateDelayInternal(BlockState arg0)
func_196346_i(BlockState arg0)
protected int
b(bhb arg0, ew arg1, bvt 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(bhr arg0, ew arg1, bvt 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(bhr arg0, ew arg1, bvt 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(bhr arg0, ew arg1, bvt 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(bhr arg0, fb arg1, ew 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 boolean
a(bvt arg0, bhr arg1, ew arg2, awg arg3, ahi arg4, csd 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)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_220051_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(bhr arg0, ew arg1, bvt 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(bhr arg0, ew arg1, bvt 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
b(bvt arg0, bhr arg1, ew arg2, Random arg3)
tick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onScheduledTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, World arg1, BlockPosition arg2, Random arg3)
public boolean
a(bvt arg0, bhr arg1, ew 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(bhb arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
protected void
a(bvu$a<bmv, bvt> 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)