net.minecraft.world.level.block

public class RespawnAnchorBlock

extends Block

All mapped superinterfaces:

ItemLike

cjh
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 int
a
MIN_CHARGES
field_31231
NO_CHARGES
f_154330_
public static final int
b
MAX_CHARGES
field_31232
MAX_CHARGES
f_154331_
public static final IntegerProperty
c
CHARGE
field_23153
CHARGES
f_55833_
private static final com.google.common.collect.ImmutableList<Vec3i>
d
RESPAWN_HORIZONTAL_OFFSETS
field_26442
VALID_HORIZONTAL_SPAWN_OFFSETS
f_55834_
private static final com.google.common.collect.ImmutableList<Vec3i>
e
RESPAWN_OFFSETS
field_26443
VALID_SPAWN_OFFSETS
f_55835_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cov arg0, cav arg1, gj arg2, boj arg3, awg arg4, dpk 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(buw arg0)
isRespawnFuel(ItemStack arg0)
method_29289(class_1799 arg0)
isChargeItem(ItemStack stack)
m_55848_(C_1391_ p_55849_)
private static boolean
h(cov arg0)
canBeCharged(BlockState arg0)
method_29290(class_2680 arg0)
canCharge(BlockState state)
m_55894_(C_2064_ p_55895_)
private static boolean
a(gj arg0, cav 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(cov arg0, cav arg1, gj 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(cav arg0)
canSetSpawn(Level arg0)
method_27353(class_1937 arg0)
isNether(World world)
m_55850_(C_1596_ p_55851_)
public static void
a(cav arg0, gj arg1, cov arg2)
charge(Level arg0, BlockPos arg1, BlockState arg2)
method_26382(class_1937 arg0, class_2338 arg1, class_2680 arg2)
charge(World world, BlockPos pos, BlockState state)
m_55855_(C_1596_ p_55856_, C_4675_ p_55857_, C_2064_ p_55858_)
public void
a(cov arg0, cav arg1, gj arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_7100_(C_2064_ p_55882_, C_1596_ p_55883_, C_4675_ p_55884_, Random arg3)
protected void
a(cow$a<cdq, cov> 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_(cov arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public static int
a(cov 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(cov arg0, cav arg1, gj 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(axo<?> arg0, caf arg1, gj 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(axo<?> arg0, caf arg1, gj 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(cov arg0, cab arg1, gj arg2, djo 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)