net.minecraft.world.level.block

public class ComparatorBlock

extends DiodeBlock implements EntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bvj
net.minecraft.world.level.block.ComparatorBlock
net.minecraft.class_2286
net.minecraft.unmapped.C_qrhvqyam
net.minecraft.block.ComparatorBlock
net.minecraft.block.ComparatorBlock
net.minecraft.server.v1_16_R3.BlockRedstoneComparator

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected int
g(ceh arg0)
getDelay(BlockState arg0)
method_9992(class_2680 arg0)
m_ivykfrsh(C_txtbiemp arg0)
getUpdateDelayInternal(BlockState arg0)
func_196346_i(BlockState arg0)
protected int
b(brc arg0, fx arg1, ceh arg2)
getOutputSignal(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9993(class_1922 arg0, class_2338 arg1, class_2680 arg2)
m_axktpyln(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getOutputLevel(BlockView arg0, BlockPos arg1, BlockState arg2)
func_176408_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
private int
e(brx arg0, fx arg1, ceh arg2)
calculateOutputSignal(Level arg0, BlockPos arg1, BlockState arg2)
method_9773(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_flfmkilz(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
calculateOutputSignal(World world, BlockPos pos, BlockState state)
func_176460_j(World arg0, BlockPos arg1, BlockState arg2)
protected boolean
a(brx arg0, fx arg1, ceh arg2)
shouldTurnOn(Level arg0, BlockPos arg1, BlockState arg2)
method_9990(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_qmwftzms(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
hasPower(World arg0, BlockPos arg1, BlockState arg2)
func_176404_e(World arg0, BlockPos arg1, BlockState arg2)
protected int
b(brx arg0, fx arg1, ceh arg2)
getInputSignal(Level arg0, BlockPos arg1, BlockState arg2)
method_9991(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_gxskdeps(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getPower(World arg0, BlockPos arg1, BlockState arg2)
func_176397_f(World arg0, BlockPos arg1, BlockState arg2)
private ItemFrame
a(brx arg0, gc arg1, fx arg2)
getItemFrame(Level arg0, Direction arg1, BlockPos arg2)
method_9774(class_1937 arg0, class_2350 arg1, class_2338 arg2)
m_bnexegqc(C_cdctfzbn arg0, C_xpuuihxf arg1, C_hynzadkk arg2)
getAttachedItemFrame(World world, Direction facing, BlockPos pos)
func_176461_a(World arg0, Direction arg1, BlockPos arg2)
public InteractionResult
a(ceh arg0, brx arg1, fx arg2, bfw arg3, aot arg4, dcj 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)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms 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(brx arg0, fx arg1, ceh arg2)
checkTickOnNeighbor(Level arg0, BlockPos arg1, BlockState arg2)
method_9998(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_ncapgwkk(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
updatePowered(World arg0, BlockPos arg1, BlockState arg2)
func_176398_g(World arg0, BlockPos arg1, BlockState arg2)
private void
f(brx arg0, fx arg1, ceh arg2)
refreshOutputState(Level arg0, BlockPos arg1, BlockState arg2)
method_9775(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_gnmmcvoj(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
update(World world, BlockPos pos, BlockState state)
func_176462_k(World arg0, BlockPos arg1, BlockState arg2)
public void
a(ceh arg0, aag arg1, fx 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)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk 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(ceh arg0, brx arg1, fx 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)
m_pyvradtj(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk 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(brc arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
m_zupvpdxk(C_peaveboq arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
protected void
a(cei$a<buo, ceh> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)