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.block.RespawnAnchorBlock
net.minecraft.world.level.block.BlockRespawnAnchor

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<RespawnAnchorBlock>
a()
codec()
method_53969()
getCodec()
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)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult 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)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
private static boolean
a(cxp arg0)
isRespawnFuel(ItemStack arg0)
method_29289(class_1799 arg0)
isChargeItem(ItemStack stack)
private static boolean
o(dxv arg0)
canBeCharged(BlockState arg0)
method_29290(class_2680 arg0)
canCharge(BlockState state)
private static boolean
a(jh arg0, dhi arg1)
isWaterThatWouldFlow(BlockPos arg0, Level arg1)
method_29560(class_2338 arg0, class_1937 arg1)
hasStillWater(BlockPos pos, World world)
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)
explode(BlockState state, World world, BlockPos explodedPos)
public static boolean
a(dhi arg0)
canSetSpawn(Level arg0)
method_27353(class_1937 arg0)
isNether(World world)
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)
charge(Entity charger, World world, BlockPos pos, BlockState state)
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)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random 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)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected boolean
c_(dxv arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
public static int
a(dxv arg0, int arg1)
getScaledChargeLevel(BlockState arg0, int arg1)
method_26157(class_2680 arg0, int arg1)
getLightLevel(BlockState state, int maxLevel)
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)
getComparatorOutput(BlockState arg0, World arg1, BlockPos 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)
findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos)
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)
findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)