net.minecraft.world.level.block

public class DetectorRailBlock

extends BaseRailBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cep
net.minecraft.world.level.block.DetectorRailBlock
net.minecraft.class_2313
net.minecraft.unmapped.C_zqpbsygh
net.minecraft.block.DetectorRailBlock
net.minecraft.src.C_1757_
net.minecraft.world.level.block.BlockMinecartDetector

Field summary

Modifier and TypeField
public static final EnumProperty<RailShape>
d
SHAPE
field_10914
f_pxzqiwxu
SHAPE
f_52427_
public static final BooleanProperty
e
POWERED
field_10913
f_hvxezrds
POWERED
f_52428_
private static final int
f
PRESSED_CHECK_PERIOD
field_31081
f_quzejqpi
SCHEDULED_TICK_DELAY
f_153121_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public boolean
f_(coc arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public void
a(coc arg0, cad arg1, gh arg2, awt arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
m_lmjnycyw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_astfners arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
m_7892_(C_2064_ p_52459_, C_1596_ p_52460_, C_4675_ p_52461_, C_507_ arg3)
public void
a(coc arg0, adi arg1, gh 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)
m_7458_(C_2064_ p_52445_, C_12_ p_52446_, C_4675_ p_52447_, Random arg3)
public int
a(coc arg0, bzj arg1, gh arg2, gm arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_52450_, C_1559_ p_52451_, C_4675_ p_52452_, C_4687_ arg3)
public int
b(coc arg0, bzj arg1, gh arg2, gm arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6376_(C_2064_ p_52479_, C_1559_ p_52480_, C_4675_ p_52481_, C_4687_ arg3)
private void
a(cad arg0, gh arg1, coc arg2)
checkPressed(Level arg0, BlockPos arg1, BlockState arg2)
method_10002(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_wvmxinfs(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
updatePoweredStatus(World world, BlockPos pos, BlockState state)
m_52432_(C_1596_ p_52434_, C_4675_ p_52435_, C_2064_ arg2)
protected void
b(cad arg0, gh arg1, coc arg2, boolean arg3)
updatePowerToConnected(Level arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_10003(class_1937 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
m_eipmlwqv(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3)
updateNearbyRails(World world, BlockPos pos, BlockState state, boolean unpowering)
m_52472_(C_1596_ p_52474_, C_4675_ p_52475_, C_2064_ p_52476_, boolean arg3)
public void
b(coc arg0, cad arg1, gh arg2, coc arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_52484_, C_1596_ p_52485_, C_4675_ p_52486_, C_2064_ p_52487_, boolean arg4)
public Property<RailShape>
d()
getShapeProperty()
method_9474()
m_hrqcdmdw()
getShapeProperty()
m_7978_()
public boolean
d_(coc arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(coc arg0, cad arg1, gh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_52455_, C_1596_ p_52456_, C_4675_ arg2)
private <T extends AbstractMinecart> List<T>
a(cad arg0, gh arg1, Class<T> arg2, Predicate<awt> arg3)
getInteractingMinecartOfType(Level arg0, BlockPos arg1, Class<T> arg2, Predicate<Entity> arg3)
method_10001(class_1937 arg0, class_2338 arg1, Class<T> arg2, Predicate<class_1297> arg3)
m_hkicmduh(C_cdctfzbn arg0, C_hynzadkk arg1, Class<T> arg2, Predicate<C_astfners> arg3)
getCarts(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate)
m_52436_(C_1596_ p_52438_, C_4675_ p_52439_, Class<T> p_52440_, Predicate<C_507_> arg3)
private AABB
a(gh arg0)
getSearchBB(BlockPos arg0)
method_10004(class_2338 arg0)
m_nhdhwndc(C_hynzadkk arg0)
getCartDetectionBox(BlockPos pos)
m_52470_(C_4675_ arg0)
public BlockState
a(coc arg0, ciu arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_52467_, C_1886_ arg1)
public BlockState
a(coc arg0, chh arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_52464_, C_1838_ arg1)
protected void
a(cod$a<ccy, coc> 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)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)