net.minecraft.world.level.block

public class ObserverBlock

extends DirectionalBlock

All mapped superinterfaces:

ItemLike

cil
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 BooleanProperty
b
POWERED
field_11322
POWERED
f_55082_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected void
a(cow$a<cdq, cov> 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(cov arg0, cjm 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(cov arg0, chz 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(cov arg0, adw arg1, gj arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_55097_, C_12_ p_55098_, C_4675_ p_55099_, Random arg3)
public BlockState
a(cov arg0, go arg1, cov arg2, caw arg3, gj arg4, gj 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(caw arg0, gj 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(cav arg0, gj arg1, cov 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_(cov arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public int
b(cov arg0, cab arg1, gj arg2, go 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(cov arg0, cab arg1, gj arg2, go 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(cov arg0, cav arg1, gj arg2, cov 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(cov arg0, cav arg1, gj arg2, cov 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(bww arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)