net.minecraft.world.level.block

public class RespawnAnchorBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dcx
net.minecraft.world.level.block.RespawnAnchorBlock
net.minecraft.class_4969
net.minecraft.block.RespawnAnchorBlock
net.minecraft.src.C_1881_
net.minecraft.world.level.block.BlockRespawnAnchor

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<RespawnAnchorBlock>
a
CODEC
field_46427
CODEC
f_302996_
public static final int
b
MIN_CHARGES
field_31231
NO_CHARGES
f_154330_
public static final int
c
MAX_CHARGES
field_31232
MAX_CHARGES
f_154331_
public static final IntegerProperty
d
CHARGE
field_23153
CHARGES
f_55833_
private static final com.google.common.collect.ImmutableList<Vec3i>
e
RESPAWN_HORIZONTAL_OFFSETS
field_26442
VALID_HORIZONTAL_SPAWN_OFFSETS
f_55834_
private static final com.google.common.collect.ImmutableList<Vec3i>
f
RESPAWN_OFFSETS
field_26443
VALID_SPAWN_OFFSETS
f_55835_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<RespawnAnchorBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public InteractionResult
a(djh arg0, ctp arg1, hx arg2, cfi arg3, bka arg4, elp 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_55875_, C_1596_ p_55876_, C_4675_ p_55877_, C_1141_ p_55878_, C_470_ p_55879_, C_3041_ arg5)
private static boolean
a(cmy arg0)
isRespawnFuel(ItemStack arg0)
method_29289(class_1799 arg0)
isChargeItem(ItemStack stack)
m_55848_(C_1391_ p_55849_)
private static boolean
h(djh arg0)
canBeCharged(BlockState arg0)
method_29290(class_2680 arg0)
canCharge(BlockState state)
m_55894_(C_2064_ p_55895_)
private static boolean
a(hx arg0, ctp arg1)
isWaterThatWouldFlow(BlockPos arg0, Level arg1)
method_29560(class_2338 arg0, class_1937 arg1)
hasStillWater(BlockPos pos, World world)
m_55887_(C_4675_ p_55888_, C_1596_ p_55889_)
private void
d(djh arg0, ctp arg1, hx arg2)
explode(BlockState arg0, Level arg1, BlockPos arg2)
method_29561(class_2680 arg0, class_1937 arg1, class_2338 arg2)
explode(BlockState state, World world, BlockPos explodedPos)
m_55890_(C_2064_ p_55892_, C_1596_ p_55893_, C_4675_ arg2)
public static boolean
a(ctp arg0)
canSetSpawn(Level arg0)
method_27353(class_1937 arg0)
isNether(World world)
m_55850_(C_1596_ p_55851_)
public static void
a(blv arg0, ctp arg1, hx arg2, djh arg3)
charge(Entity arg0, Level arg1, BlockPos arg2, BlockState arg3)
method_26382(class_1297 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3)
charge(Entity charger, World world, BlockPos pos, BlockState state)
m_269573_(C_507_ p_270997_, C_1596_ p_270172_, C_4675_ p_270534_, C_2064_ p_270661_)
public void
a(djh arg0, ctp arg1, hx arg2, auv arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_214162_(C_2064_ p_221970_, C_1596_ p_221971_, C_4675_ p_221972_, C_212974_ arg3)
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 boolean
d_(djh arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public static int
a(djh arg0, int arg1)
getScaledChargeLevel(BlockState arg0, int arg1)
method_26157(class_2680 arg0, int arg1)
getLightLevel(BlockState state, int maxLevel)
m_55861_(C_2064_ p_55862_, int p_55863_)
public int
a(djh arg0, ctp arg1, hx arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_55871_, C_1596_ p_55872_, C_4675_ arg2)
public static Optional<Vec3>
a(blz<?> arg0, csz arg1, hx arg2)
findStandUpPosition(EntityType<?> arg0, CollisionGetter arg1, BlockPos arg2)
method_26156(class_1299<?> arg0, class_1941 arg1, class_2338 arg2)
findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos)
m_55839_(C_513_<?> p_55840_, C_1569_ p_55841_, C_4675_ p_55842_)
private static Optional<Vec3>
a(blz<?> arg0, csz arg1, hx arg2, boolean arg3)
findStandUpPosition(EntityType<?> arg0, CollisionGetter arg1, BlockPos arg2, boolean arg3)
method_30842(class_1299<?> arg0, class_1941 arg1, class_2338 arg2, boolean arg3)
findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos)
m_55843_(C_513_<?> p_55844_, C_1569_ p_55845_, C_4675_ p_55846_, boolean p_55847_)
public boolean
a(djh arg0, csv arg1, hx arg2, efh arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_55866_, C_1559_ p_55867_, C_4675_ p_55868_, C_2754_ arg3)