net.minecraft.world.level.block

public class RespawnAnchorBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dlj
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_()
protected ItemInteractionResult
a(cur arg0, dse arg1, dca arg2, iz arg3, cmz arg4, bqv arg5, evp 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)
onUseWithItem(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(dse arg0, dca arg1, iz arg2, cmz arg3, evp 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)
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(cur arg0)
isRespawnFuel(ItemStack arg0)
method_29289(class_1799 arg0)
isChargeItem(ItemStack stack)
m_55848_(C_1391_ p_55849_)
private static boolean
m(dse arg0)
canBeCharged(BlockState arg0)
method_29290(class_2680 arg0)
canCharge(BlockState state)
m_55894_(C_2064_ p_55895_)
private static boolean
a(iz arg0, dca 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(dse arg0, dca arg1, iz 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(dca arg0)
canSetSpawn(Level arg0)
method_27353(class_1937 arg0)
isNether(World world)
m_55850_(C_1596_ p_55851_)
public static void
a(bsw arg0, dca arg1, iz arg2, dse 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(dse arg0, dca arg1, iz arg2, azh 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(dsf$a<dfb, dse> 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)
protected boolean
c_(dse arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public static int
a(dse 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_)
protected int
a(dse arg0, dca arg1, iz 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(btc<?> arg0, dbk arg1, iz 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(btc<?> arg0, dbk arg1, iz 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_)
protected boolean
a(dse arg0, eom arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_55868_, C_2754_ arg1)