net.minecraft.world.level.block

public abstract class DiodeBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

ItemLike

bod
net.minecraft.world.level.block.DiodeBlock
net.minecraft.class_2312
net.minecraft.block.AbstractRedstoneGateBlock
net.minecraft.block.RedstoneDiodeBlock
net.minecraft.server.v1_14_R1.BlockDiodeAbstract

Field summary

Modifier and TypeField
protected static final VoxelShape
b
SHAPE
field_10912
SHAPE
field_196347_b
public static final BooleanProperty
c
POWERED
field_10911
POWERED
field_196348_c

Constructor summary

ModifierConstructor
protected (Block$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
a(bvt arg0, bhb arg1, ew arg2, csn 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(bvt arg0, bhu arg1, ew arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_1941 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, CollisionView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
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
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)
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 void
a(bvt arg0, bhr arg1, ew arg2, bmv arg3, ew 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)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
protected void
c(bhr arg0, ew arg1, bvt 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)
func_176398_g(World arg0, BlockPos arg1, BlockState arg2)
public boolean
a(bhu arg0, ew arg1, bvt arg2)
isLocked(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9996(class_1941 arg0, class_2338 arg1, class_2680 arg2)
isLocked(CollisionView world, BlockPos pos, BlockState state)
func_176405_b(IWorldReader arg0, BlockPos arg1, BlockState arg2)
protected boolean
a(bhr arg0, ew arg1, bvt 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)
func_176404_e(World arg0, BlockPos arg1, BlockState arg2)
protected int
b(bhr arg0, ew arg1, bvt 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)
func_176397_f(World arg0, BlockPos arg1, BlockState arg2)
protected int
b(bhu arg0, ew arg1, bvt arg2)
getAlternateSignal(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_10000(class_1941 arg0, class_2338 arg1, class_2680 arg2)
getMaxInputLevelSides(CollisionView view, BlockPos pos, BlockState state)
func_176407_c(IWorldReader arg0, BlockPos arg1, BlockState arg2)
protected int
b(bhu arg0, ew arg1, fb arg2)
getAlternateSignalAt(LevelReader arg0, BlockPos arg1, Direction arg2)
method_9995(class_1941 arg0, class_2338 arg1, class_2350 arg2)
getInputLevel(CollisionView view, BlockPos pos, Direction dir)
func_176401_c(IWorldReader arg0, BlockPos arg1, Direction arg2)
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 BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public void
a(bhr arg0, ew arg1, bvt arg2, aix arg3, bcj 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)
func_180633_a(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
postPlace(World arg0, BlockPosition arg1, IBlockData arg2, EntityLiving arg3, ItemStack arg4)
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 void
a(bvt arg0, bhr arg1, ew arg2, bvt 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)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
protected void
d(bhr arg0, ew arg1, bvt 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)
func_176400_h(World arg0, BlockPos arg1, BlockState arg2)
protected boolean
q(bvt arg0)
isAlternateInput(BlockState arg0)
method_9989(class_2680 arg0)
isValidInput(BlockState state)
func_185545_A(BlockState arg0)
protected int
b(bhb arg0, ew arg1, bvt arg2)
getOutputSignal(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9993(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getOutputLevel(BlockView view, BlockPos pos, BlockState state)
func_176408_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
public static boolean
r(bvt arg0)
isDiode(BlockState arg0)
method_9999(class_2680 arg0)
isRedstoneGate(BlockState state)
func_185546_B(BlockState arg0)
isDiode(IBlockData arg0)
public boolean
c(bhb arg0, ew arg1, bvt 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)
func_176402_i(IBlockReader arg0, BlockPos arg1, BlockState arg2)
protected abstract int
j(bvt arg0)
getDelay(BlockState arg0)
method_9992(class_2680 arg0)
getUpdateDelayInternal(BlockState state)
func_196346_i(BlockState arg0)
public BlockLayer
c()
getRenderLayer()
method_9551()
getRenderLayer()
func_180664_k()
public boolean
f(bvt arg0)
canOcclude(BlockState arg0)
method_9601(class_2680 arg0)
isOpaque(BlockState arg0)
func_200124_e(BlockState arg0)