net.minecraft.world.level.block

public abstract class DiodeBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dia
net.minecraft.world.level.block.DiodeBlock
net.minecraft.class_2312
net.minecraft.unmapped.C_ivhjpfio
net.minecraft.block.AbstractRedstoneGateBlock
net.minecraft.block.RedstoneDiodeBlock
net.minecraft.src.C_1759_
net.minecraft.world.level.block.BlockDiodeAbstract

Field summary

Modifier and TypeField
protected static final VoxelShape
c
SHAPE
field_10912
f_kflbgyvb
SHAPE
SHAPE
f_52495_
public static final BooleanProperty
d
POWERED
field_10911
f_zkbuxycf
POWERED
POWERED
f_52496_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends DiodeBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_52557_, C_1559_ p_52558_, C_4675_ p_52559_, C_3051_ arg3)
protected boolean
a(dtc arg0, dcz arg1, jd arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_52539_, C_1599_ p_52540_, C_4675_ arg2)
protected boolean
b(dcz arg0, jd arg1, dtc arg2)
canSurviveOn(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_53789(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_bgspgxfd(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
canPlaceAbove(WorldView world, BlockPos pos, BlockState state)
canPlaceAbove(WorldView world, BlockPos pos, BlockState state)
m_293251_(C_1599_ p_298116_, C_4675_ p_297597_, C_2064_ arg2)
protected void
a(dtc arg0, aqu arg1, jd arg2, ayw arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_221066_, C_12_ p_221067_, C_4675_ p_221068_, C_212974_ arg3)
protected int
b(dtc arg0, dcc arg1, jd arg2, ji 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)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6376_(C_2064_ p_52562_, C_1559_ p_52563_, C_4675_ p_52564_, C_4687_ arg3)
protected int
a(dtc arg0, dcc arg1, jd arg2, ji 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)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_52521_, C_1559_ p_52522_, C_4675_ p_52523_, C_4687_ arg3)
protected void
a(dtc arg0, dcw arg1, jd arg2, dfy arg3, jd arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_52526_, C_1596_ p_52527_, C_4675_ p_52528_, C_1706_ p_52529_, C_4675_ p_52530_, boolean arg5)
protected void
c(dcw arg0, jd arg1, dtc 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 world, BlockPos pos, BlockState state)
checkOutputLevel(World world, BlockPos pos, BlockState state)
m_7321_(C_1596_ p_52578_, C_4675_ p_52579_, C_2064_ arg2)
public boolean
c(dcz arg0, jd arg1, dtc arg2)
isLocked(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9996(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_znbpmztc(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
isLocked(WorldView world, BlockPos pos, BlockState state)
isLocked(WorldView world, BlockPos pos, BlockState state)
m_7346_(C_1599_ p_52512_, C_4675_ p_52513_, C_2064_ arg2)
protected boolean
a(dcw arg0, jd arg1, dtc 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 world, BlockPos pos, BlockState state)
shouldBePowered(World world, BlockPos pos, BlockState state)
m_7320_(C_1596_ p_52503_, C_4675_ p_52504_, C_2064_ arg2)
protected int
b(dcw arg0, jd arg1, dtc 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 world, BlockPos pos, BlockState state)
getInputLevel(World world, BlockPos pos, BlockState state)
m_7312_(C_1596_ p_52545_, C_4675_ p_52546_, C_2064_ arg2)
protected int
a(ddm arg0, jd arg1, dtc arg2)
getAlternateSignal(SignalGetter arg0, BlockPos arg1, BlockState arg2)
method_10000(class_8235 arg0, class_2338 arg1, class_2680 arg2)
m_awrsqovb(C_gpzjbzcw arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getMaxInputLevelSides(RedstoneView world, BlockPos pos, BlockState state)
getMaxInputLevelSides(RedstonePowerView world, BlockPos pos, BlockState state)
m_276835_(C_276415_ p_277763_, C_4675_ p_277604_, C_2064_ arg2)
protected boolean
e_(dtc arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
isRedstonePowerSource(BlockState arg0)
m_7899_(C_2064_ arg0)
public BlockState
a(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public void
a(dcw arg0, jd arg1, dtc arg2, btn arg3, cuq 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)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_52507_, C_4675_ p_52508_, C_2064_ p_52509_, C_524_ p_52510_, C_1391_ arg4)
protected void
b(dtc arg0, dcw arg1, jd arg2, dtc 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)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_52567_, C_1596_ p_52568_, C_4675_ p_52569_, C_2064_ p_52570_, boolean arg4)
protected void
a(dtc arg0, dcw arg1, jd arg2, dtc arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_52533_, C_1596_ p_52534_, C_4675_ p_52535_, C_2064_ p_52536_, boolean arg4)
protected void
d(dcw arg0, jd arg1, dtc arg2)
updateNeighborsInFront(Level arg0, BlockPos arg1, BlockState arg2)
method_9997(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_celigdor(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
updateTarget(World world, BlockPos pos, BlockState state)
updateTarget(World world, BlockPos pos, BlockState state)
m_52580_(C_1596_ p_52582_, C_4675_ p_52583_, C_2064_ arg2)
protected boolean
b()
sideInputDiodesOnly()
method_49816()
m_wrjkascy()
getSideInputFromGatesOnly()
useStrictSideInput()
m_276978_()
protected int
a(dcc arg0, jd arg1, dtc 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 world, BlockPos pos, BlockState state)
getOutputLevel(BlockView world, BlockPos pos, BlockState state)
m_5968_(C_1559_ p_52542_, C_4675_ p_52543_, C_2064_ arg2)
public static boolean
m(dtc arg0)
isDiode(BlockState arg0)
method_9999(class_2680 arg0)
m_jsbiqhca(C_txtbiemp arg0)
isRedstoneGate(BlockState state)
isDiode(BlockState state)
m_52586_(C_2064_ p_52587_)
public boolean
b(dcc arg0, jd arg1, dtc arg2)
shouldPrioritize(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9988(class_1922 arg0, class_2338 arg1, class_2680 arg2)
m_lgirilub(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
isTargetNotAligned(BlockView world, BlockPos pos, BlockState state)
isTargetNotAligned(BlockView world, BlockPos pos, BlockState state)
m_52573_(C_1559_ p_52575_, C_4675_ p_52576_, C_2064_ arg2)
protected abstract int
g(dtc arg0)
getDelay(BlockState arg0)
method_9992(class_2680 arg0)
m_ivykfrsh(C_txtbiemp arg0)
getUpdateDelayInternal(BlockState state)
getUpdateDelayInternal(BlockState state)
m_6112_(C_2064_ arg0)