net.minecraft.world.level.block

public class ObserverBlock

extends DirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dca
net.minecraft.world.level.block.ObserverBlock
net.minecraft.class_2426
net.minecraft.block.ObserverBlock
net.minecraft.src.C_1850_
net.minecraft.world.level.block.BlockObserver

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ObserverBlock>
b
CODEC
field_46407
CODEC
f_302196_
public static final BooleanProperty
c
POWERED
field_11322
POWERED
f_55082_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ObserverBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected void
a(dji$a<cwq, djh> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockState
a(djh arg0, ddc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_55116_, C_1886_ arg1)
public BlockState
a(djh arg0, dbm arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_55113_, C_1838_ arg1)
public void
a(djh arg0, and arg1, hx arg2, auv 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)
m_213897_(C_2064_ p_221841_, C_12_ p_221842_, C_4675_ p_221843_, C_212974_ arg3)
public BlockState
a(djh arg0, ic arg1, djh arg2, ctq arg3, hx arg4, hx arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_55119_, C_4687_ p_55120_, C_2064_ p_55121_, C_1598_ p_55122_, C_4675_ p_55123_, C_4675_ arg5)
private void
a(ctq arg0, hx arg1)
startSignal(LevelAccessor arg0, BlockPos arg1)
method_10366(class_1936 arg0, class_2338 arg1)
scheduleTick(WorldAccess world, BlockPos pos)
m_55092_(C_1598_ p_55094_, C_4675_ arg1)
protected void
a(ctp arg0, hx arg1, djh arg2)
updateNeighborsInFront(Level arg0, BlockPos arg1, BlockState arg2)
method_10365(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateNeighbors(World world, BlockPos pos, BlockState state)
m_55088_(C_1596_ p_55090_, C_4675_ p_55091_, C_2064_ arg2)
public boolean
f_(djh arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public int
b(djh arg0, csv arg1, hx arg2, ic 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)
m_6376_(C_2064_ p_55128_, C_1559_ p_55129_, C_4675_ p_55130_, C_4687_ arg3)
public int
a(djh arg0, csv arg1, hx arg2, ic 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)
m_6378_(C_2064_ p_55102_, C_1559_ p_55103_, C_4675_ p_55104_, C_4687_ arg3)
public void
b(djh arg0, ctp arg1, hx arg2, djh 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)
m_6807_(C_2064_ p_55133_, C_1596_ p_55134_, C_4675_ p_55135_, C_2064_ p_55136_, boolean arg4)
public void
a(djh arg0, ctp arg1, hx arg2, djh 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)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_55107_, C_1596_ p_55108_, C_4675_ p_55109_, C_2064_ p_55110_, boolean arg4)
public BlockState
a(cph arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)