net.minecraft.world.level.block

public class DetectorRailBlock

extends BaseRailBlock

All mapped superinterfaces:

ItemLike

boc
net.minecraft.world.level.block.DetectorRailBlock
net.minecraft.class_2313
net.minecraft.block.DetectorRailBlock
net.minecraft.block.DetectorRailBlock
net.minecraft.server.v1_14_R1.BlockMinecartDetector

Field summary

Modifier and TypeField
public static final EnumProperty<RailShape>
c
SHAPE
field_10914
SHAPE
field_176573_b
SHAPE
public static final BooleanProperty
d
POWERED
field_10913
POWERED
field_176574_M
POWERED

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public int
a(bhu arg0)
getTickDelay(LevelReader arg0)
method_9563(class_1941 arg0)
getTickRate(CollisionView arg0)
func_149738_a(IWorldReader arg0)
public boolean
h(bvt arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
public void
a(bvt arg0, bhr arg1, ew arg2, aio arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
func_196262_a(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
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 int
a(bvt arg0, bhb arg1, ew arg2, fb arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public int
b(bvt arg0, bhb arg1, ew arg2, fb arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
private void
a(bhr arg0, ew arg1, bvt arg2)
checkPressed(Level arg0, BlockPos arg1, BlockState arg2)
method_10002(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updatePoweredStatus(World world, BlockPos pos, BlockState state)
func_176570_e(World arg0, BlockPos arg1, BlockState arg2)
protected void
b(bhr arg0, ew arg1, bvt 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)
updateNearbyRails(World world, BlockPos pos, BlockState state, boolean unpowering)
func_185592_b(World arg0, BlockPos arg1, BlockState arg2, boolean arg3)
public void
b(bvt arg0, bhr arg1, ew arg2, bvt 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)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public Property<RailShape>
e()
getShapeProperty()
method_9474()
getShapeProperty()
func_176560_l()
public boolean
b(bvt arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(bvt arg0, bhr arg1, ew arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
func_180641_l(BlockState arg0, World arg1, BlockPos arg2)
protected <T extends AbstractMinecart> List<T>
a(bhr arg0, ew arg1, Class<T> arg2, Predicate<aio> 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)
getCarts(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate)
func_200878_a(World arg0, BlockPos arg1, Class<T> arg2, Predicate<Entity> arg3)
private AABB
a(ew arg0)
getSearchBB(BlockPos arg0)
method_10004(class_2338 arg0)
getCartDetectionBox(BlockPos pos)
func_176572_a(BlockPos arg0)
public BlockState
a(bvt arg0, brg arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(bvt arg0, bqg arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
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)