net.minecraft.world.level.block

public abstract class DiodeBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dmx
net.minecraft.world.level.block.DiodeBlock
net.minecraft.class_2312
net.minecraft.block.AbstractRedstoneGateBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
c
POWERED
field_10911
POWERED
private static final VoxelShape
a
SHAPE
field_10912
SHAPE

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends DiodeBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dym arg0, dgv arg1, jj arg2, fcz arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected boolean
a(dym arg0, dhs arg1, jj arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected boolean
a(dhs arg0, jj arg1, dym arg2)
canSurviveOn(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_53789(class_4538 arg0, class_2338 arg1, class_2680 arg2)
canPlaceAbove(WorldView world, BlockPos pos, BlockState state)
protected void
a(dym arg0, arn arg1, jj arg2, azs arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected int
b(dym arg0, dgv arg1, jj arg2, jo 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)
protected int
a(dym arg0, dgv arg1, jj arg2, jo 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)
protected void
a(dym arg0, dhp arg1, jj arg2, dku arg3, ewb arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
protected void
c(dhp arg0, jj arg1, dym arg2)
checkTickOnNeighbor(Level arg0, BlockPos arg1, BlockState arg2)
method_9998(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updatePowered(World world, BlockPos pos, BlockState state)
public boolean
b(dhs arg0, jj arg1, dym arg2)
isLocked(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9996(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isLocked(WorldView world, BlockPos pos, BlockState state)
protected boolean
a(dhp arg0, jj arg1, dym arg2)
shouldTurnOn(Level arg0, BlockPos arg1, BlockState arg2)
method_9990(class_1937 arg0, class_2338 arg1, class_2680 arg2)
hasPower(World world, BlockPos pos, BlockState state)
protected int
b(dhp arg0, jj arg1, dym arg2)
getInputSignal(Level arg0, BlockPos arg1, BlockState arg2)
method_9991(class_1937 arg0, class_2338 arg1, class_2680 arg2)
getPower(World world, BlockPos pos, BlockState state)
protected int
a(dih arg0, jj arg1, dym arg2)
getAlternateSignal(SignalGetter arg0, BlockPos arg1, BlockState arg2)
method_10000(class_8235 arg0, class_2338 arg1, class_2680 arg2)
getMaxInputLevelSides(RedstoneView world, BlockPos pos, BlockState state)
protected boolean
f_(dym arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
public BlockState
a(dbn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public void
a(dhp arg0, jj arg1, dym arg2, bwr arg3, cxy arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
protected void
a(dym arg0, dhp arg1, jj arg2, dym 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)
protected void
a(dym arg0, arn arg1, jj arg2, boolean arg3)
affectNeighborsAfterRemoval(BlockState arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
protected void
d(dhp arg0, jj arg1, dym arg2)
updateNeighborsInFront(Level arg0, BlockPos arg1, BlockState arg2)
method_9997(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateTarget(World world, BlockPos pos, BlockState state)
protected boolean
b()
sideInputDiodesOnly()
method_49816()
getSideInputFromGatesOnly()
protected int
a(dgv arg0, jj arg1, dym arg2)
getOutputSignal(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9993(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getOutputLevel(BlockView world, BlockPos pos, BlockState state)
public static boolean
n(dym arg0)
isDiode(BlockState arg0)
method_9999(class_2680 arg0)
isRedstoneGate(BlockState state)
public boolean
b(dgv arg0, jj arg1, dym arg2)
shouldPrioritize(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9988(class_1922 arg0, class_2338 arg1, class_2680 arg2)
isTargetNotAligned(BlockView world, BlockPos pos, BlockState state)
protected abstract int
h(dym arg0)
getDelay(BlockState arg0)
method_9992(class_2680 arg0)
getUpdateDelayInternal(BlockState state)