net.minecraft.world.level.block

public class RespawnAnchorBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

eez
net.minecraft.world.level.block.RespawnAnchorBlock
net.minecraft.class_4969
net.minecraft.block.RespawnAnchorBlock

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(dkm arg0, emz arg1, dvg arg2, is arg3, dcm arg4, ccz arg5, fsa 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(emz arg0, dvg arg1, is arg2, dcm arg3, fsa 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(dkm arg0)
isRespawnFuel(ItemStack arg0)
method_29289(class_1799 arg0)
isChargeItem(ItemStack stack)
private static boolean
p(emz arg0)
canBeCharged(BlockState arg0)
method_29290(class_2680 arg0)
canCharge(BlockState state)
private static boolean
a(is arg0, dvg arg1)
isWaterThatWouldFlow(BlockPos arg0, Level arg1)
method_29560(class_2338 arg0, class_1937 arg1)
hasStillWater(BlockPos pos, World world)
private void
a(emz arg0, axf arg1, is arg2)
explode(BlockState arg0, ServerLevel arg1, BlockPos arg2)
method_29561(class_2680 arg0, class_3218 arg1, class_2338 arg2)
explode(BlockState state, ServerWorld world, BlockPos explodedPos)
public static boolean
a(axf arg0, is arg1)
canSetSpawn(ServerLevel arg0, BlockPos arg1)
method_27353(class_3218 arg0, class_2338 arg1)
isUsable(ServerWorld world, BlockPos pos)
public static void
a(cgi arg0, dvg arg1, is arg2, emz 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(emz arg0, dvg arg1, is arg2, bgq 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(ena$a<dyi, emz> 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_(emz arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
public static int
a(emz arg0, int arg1)
getScaledChargeLevel(BlockState arg0, int arg1)
method_26157(class_2680 arg0, int arg1)
getLightLevel(BlockState state, int maxLevel)
protected int
a(emz arg0, dvg arg1, is arg2, iz arg3)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2, Direction arg3)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2350 arg3)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2, Direction arg3)
public static Optional<Vec3>
a(cgs<?> arg0, dup arg1, is 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(cgs<?> arg0, dup arg1, is 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(emz arg0, fki arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)