net.minecraft.world.level.block

public class RespawnAnchorBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dqx
net.minecraft.world.level.block.RespawnAnchorBlock
net.minecraft.class_4969
net.minecraft.unmapped.C_vokhdpnl
net.minecraft.block.RespawnAnchorBlock
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
f_isgiafee
CODEC
CODEC
f_302996_
public static final int
b
MIN_CHARGES
field_31231
f_oysgtfxp
NO_CHARGES
NO_CHARGES
f_154330_
public static final int
c
MAX_CHARGES
field_31232
f_qwzftmbg
MAX_CHARGES
MAX_CHARGES
f_154331_
public static final IntegerProperty
d
CHARGE
field_23153
f_ssrcsind
CHARGES
CHARGES
f_55833_
private static final com.google.common.collect.ImmutableList<Vec3i>
e
RESPAWN_HORIZONTAL_OFFSETS
field_26442
f_uuqntrbn
VALID_HORIZONTAL_SPAWN_OFFSETS
VALID_HORIZONTAL_SPAWN_OFFSETS
f_55834_
private static final com.google.common.collect.ImmutableList<Vec3i>
f
RESPAWN_OFFSETS
field_26443
f_gbhhqldn
VALID_SPAWN_OFFSETS
VALID_SPAWN_OFFSETS
f_55835_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<RespawnAnchorBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected InteractionResult
a(cxp arg0, dxv arg1, dhi arg2, jh arg3, cpx arg4, bti arg5, fbu arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
m_jzhgkbwu(C_sddaxwyk arg0, C_txtbiemp arg1, C_cdctfzbn arg2, C_hynzadkk arg3, C_jzrpycqo arg4, C_laxmzoqs arg5, C_jdakttms arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
onInteract(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_333892_, C_2064_ p_327960_, C_1596_ p_330278_, C_4675_ p_331169_, C_1141_ p_328336_, C_470_ p_333705_, C_3041_ arg6)
protected InteractionResult
a(dxv arg0, dhi arg1, jh arg2, cpx arg3, fbu arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_333411_, C_1596_ p_329077_, C_4675_ p_334041_, C_1141_ p_328905_, C_3041_ arg4)
private static boolean
a(cxp arg0)
isRespawnFuel(ItemStack arg0)
method_29289(class_1799 arg0)
m_wlyncxcb(C_sddaxwyk arg0)
isChargeItem(ItemStack stack)
isChargeItem(ItemStack stack)
m_55848_(C_1391_ p_55849_)
private static boolean
o(dxv arg0)
canBeCharged(BlockState arg0)
method_29290(class_2680 arg0)
m_ctpynrpo(C_txtbiemp arg0)
canCharge(BlockState state)
canCharge(BlockState state)
m_55894_(C_2064_ p_55895_)
private static boolean
a(jh arg0, dhi arg1)
isWaterThatWouldFlow(BlockPos arg0, Level arg1)
method_29560(class_2338 arg0, class_1937 arg1)
m_iqfgpnwk(C_hynzadkk arg0, C_cdctfzbn arg1)
hasStillWater(BlockPos pos, World world)
hasStillWater(BlockPos pos, World world)
m_55887_(C_4675_ p_55888_, C_1596_ p_55889_)
private void
e(dxv arg0, dhi arg1, jh arg2)
explode(BlockState arg0, Level arg1, BlockPos arg2)
method_29561(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_enejqhex(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
explode(BlockState state, World world, BlockPos explodedPos)
explode(BlockState state, World world, BlockPos explodedPos)
m_55890_(C_2064_ p_55892_, C_1596_ p_55893_, C_4675_ arg2)
public static boolean
a(dhi arg0)
canSetSpawn(Level arg0)
method_27353(class_1937 arg0)
m_eocpbcbk(C_cdctfzbn arg0)
isNether(World world)
isNether(World world)
m_55850_(C_1596_ p_55851_)
public static void
a(bvk arg0, dhi arg1, jh arg2, dxv arg3)
charge(Entity arg0, Level arg1, BlockPos arg2, BlockState arg3)
method_26382(class_1297 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3)
m_ajpgpnor(C_astfners arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3)
charge(Entity charger, World world, BlockPos pos, BlockState state)
charge(Entity entity, 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(dxv arg0, dhi arg1, jh arg2, bam arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_221970_, C_1596_ p_221971_, C_4675_ p_221972_, C_212974_ arg3)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected boolean
c_(dxv arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public static int
a(dxv arg0, int arg1)
getScaledChargeLevel(BlockState arg0, int arg1)
method_26157(class_2680 arg0, int arg1)
m_hvaxdcxz(C_txtbiemp arg0, int arg1)
getLightLevel(BlockState state, int maxLevel)
getLightLevel(BlockState state, int maxLevel)
m_55861_(C_2064_ p_55862_, int p_55863_)
protected int
a(dxv arg0, dhi arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos 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(bvr<?> arg0, dgr arg1, jh arg2)
findStandUpPosition(EntityType<?> arg0, CollisionGetter arg1, BlockPos arg2)
method_26156(class_1299<?> arg0, class_1941 arg1, class_2338 arg2)
m_hmhyrgxt(C_ogavsvbr<?> arg0, C_vxzrjtdu arg1, C_hynzadkk arg2)
findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos)
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(bvr<?> arg0, dgr arg1, jh 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)
m_txupvrmd(C_ogavsvbr<?> arg0, C_vxzrjtdu arg1, C_hynzadkk arg2, boolean arg3)
findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos)
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_)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
m_rwctfady(C_txtbiemp arg0, C_kjwlgpfr arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_55868_, C_2754_ arg1)