net.minecraft.world.level.block

public class DaylightDetectorBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

cok
net.minecraft.world.level.block.DaylightDetectorBlock
net.minecraft.class_2309
net.minecraft.block.DaylightDetectorBlock
net.minecraft.src.C_1755_
net.minecraft.world.level.block.BlockDaylightDetector

Field summary

Modifier and TypeField
public static final IntegerProperty
a
POWER
field_10897
POWER
f_52377_
public static final BooleanProperty
b
INVERTED
field_10899
INVERTED
f_52378_
protected static final VoxelShape
c
SHAPE
field_10898
SHAPE
f_52379_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(cyt arg0, cjc arg1, gp arg2, eaj 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)
m_5940_(C_2064_ p_52403_, C_1559_ p_52404_, C_4675_ p_52405_, C_3051_ arg3)
public boolean
g_(cyt arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public int
a(cyt arg0, cjc arg1, gp arg2, gv 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_52387_, C_1559_ p_52388_, C_4675_ p_52389_, C_4687_ arg3)
private static void
d(cyt arg0, cjw arg1, gp arg2)
updateSignalStrength(BlockState arg0, Level arg1, BlockPos arg2)
method_9983(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateState(BlockState state, World world, BlockPos pos)
m_52410_(C_2064_ p_52411_, C_1596_ p_52412_, C_4675_ p_52413_)
public InteractionResult
a(cyt arg0, cjw arg1, gp arg2, bwp arg3, bcl arg4, eaa arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_52392_, C_1596_ p_52393_, C_4675_ p_52394_, C_1141_ p_52395_, C_470_ p_52396_, C_3041_ arg5)
public RenderShape
b_(cyt arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public boolean
f_(cyt arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public BlockEntity
a(gp arg0, cyt arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153119_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(cjw arg0, cyt arg1, cwn<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_153110_, C_2064_ p_153111_, C_1992_<T> arg2)
private static void
a(cjw arg0, gp arg1, cyt arg2, cwx arg3)
tickEntity(Level arg0, BlockPos arg1, BlockState arg2, DaylightDetectorBlockEntity arg3)
method_31642(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2603 arg3)
tick(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity)
m_153112_(C_1596_ p_153113_, C_4675_ p_153114_, C_2064_ p_153115_, C_2003_ p_153116_)
protected void
a(cyu$a<cmt, cyt> 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)