net.minecraft.world.level.block.entity

public class TheEndGatewayBlockEntity

extends TheEndPortalBlockEntity

dik
net.minecraft.world.level.block.entity.TheEndGatewayBlockEntity
net.minecraft.class_2643
net.minecraft.block.entity.EndGatewayBlockEntity
net.minecraft.src.C_2032_
net.minecraft.world.level.block.entity.TileEntityEndGateway

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_12133
LOGGER
f_59925_
private static final int
b
SPAWN_TIME
field_31368
field_31368
f_155807_
private static final int
c
COOLDOWN_TIME
field_31369
field_31369
f_155808_
private static final int
d
ATTENTION_INTERVAL
field_31370
field_31370
f_155809_
private static final int
e
EVENT_COOLDOWN
field_31371
field_31371
f_155810_
private static final int
f
GATEWAY_HEIGHT_ABOVE_SURFACE
field_31372
field_31372
f_155811_
private long
g
age
field_12131
age
f_59926_
private int
h
teleportCooldown
field_12130
teleportCooldown
f_59927_
private BlockPos
i
exitPortal
field_12132
exitPortalPos
f_59928_
private boolean
j
exactTeleport
field_12129
exactTeleport
f_59929_

Constructor summary

ModifierConstructor
public (BlockPos p_155814_, BlockState arg1)

Method summary

Modifier and TypeMethod
protected void
b(sn arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(sn arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
public static void
a(ctp arg0, hx arg1, djh arg2, dik arg3)
beamAnimationTick(Level arg0, BlockPos arg1, BlockState arg2, TheEndGatewayBlockEntity arg3)
method_31700(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2643 arg3)
clientTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)
m_155834_(C_1596_ p_155835_, C_4675_ p_155836_, C_2064_ p_155837_, C_2032_ p_155838_)
public static void
b(ctp arg0, hx arg1, djh arg2, dik arg3)
teleportTick(Level arg0, BlockPos arg1, BlockState arg2, TheEndGatewayBlockEntity arg3)
method_31702(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2643 arg3)
serverTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)
m_155844_(C_1596_ p_155845_, C_4675_ p_155846_, C_2064_ p_155847_, C_2032_ p_155848_)
public static boolean
a(blv arg0)
canEntityTeleport(Entity arg0)
method_30276(class_1297 arg0)
canTeleport(Entity entity)
m_59940_(C_507_ p_59941_)
public boolean
c()
isSpawning()
method_11420()
isRecentlyGenerated()
m_59971_()
public boolean
d()
isCoolingDown()
method_11421()
needsCooldownBeforeTeleporting()
m_59972_()
public float
a(float arg0)
getSpawnPercent(float arg0)
method_11417(float arg0)
getRecentlyGeneratedBeamHeight(float tickDelta)
m_59933_(float arg0)
public float
b(float arg0)
getCooldownPercent(float arg0)
method_11412(float arg0)
getCooldownBeamHeight(float tickDelta)
m_59967_(float arg0)
public ClientboundBlockEntityDataPacket
f()
getUpdatePacket()
method_38253()
toUpdatePacket()
m_58483_()
public CompoundTag
ax_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
private static void
c(ctp arg0, hx arg1, djh arg2, dik arg3)
triggerCooldown(Level arg0, BlockPos arg1, BlockState arg2, TheEndGatewayBlockEntity arg3)
method_11411(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2643 arg3)
startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)
m_155849_(C_1596_ p_155850_, C_4675_ p_155851_, C_2064_ p_155852_, C_2032_ p_155853_)
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
m_7531_(int p_59964_, int arg1)
public static void
a(ctp arg0, hx arg1, djh arg2, blv arg3, dik arg4)
teleportEntity(Level arg0, BlockPos arg1, BlockState arg2, Entity arg3, TheEndGatewayBlockEntity arg4)
method_11409(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1297 arg3, class_2643 arg4)
tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity)
m_155828_(C_1596_ p_155829_, C_4675_ p_155830_, C_2064_ p_155831_, C_507_ p_155832_, C_2032_ p_155833_)
private static BlockPos
a(ctp arg0, hx arg1)
findExitPosition(Level arg0, BlockPos arg1)
method_11419(class_1937 arg0, class_2338 arg1)
findBestPortalExitPos(World world, BlockPos pos)
m_155825_(C_1596_ p_155826_, C_4675_ p_155827_)
private static BlockPos
a(and arg0, hx arg1)
findOrCreateValidTeleportPos(ServerLevel arg0, BlockPos arg1)
method_31699(class_3218 arg0, class_2338 arg1)
setupExitPortalLocation(ServerWorld world, BlockPos pos)
m_155818_(C_12_ p_155819_, C_4675_ p_155820_)
private static Vec3
b(and arg0, hx arg1)
findExitPortalXZPosTentative(ServerLevel arg0, BlockPos arg1)
method_31701(class_3218 arg0, class_2338 arg1)
findTeleportLocation(ServerWorld world, BlockPos pos)
m_155841_(C_12_ p_155842_, C_4675_ p_155843_)
private static boolean
a(and arg0, elt arg1)
isChunkEmpty(ServerLevel arg0, Vec3 arg1)
method_31698(class_3218 arg0, class_243 arg1)
isChunkEmpty(ServerWorld world, Vec3d pos)
m_155815_(C_12_ p_155816_, C_3046_ p_155817_)
private static BlockPos
a(csv arg0, hx arg1, int arg2, boolean arg3)
findTallestBlock(BlockGetter arg0, BlockPos arg1, int arg2, boolean arg3)
method_11410(class_1922 arg0, class_2338 arg1, int arg2, boolean arg3)
findExitPortalPos(BlockView world, BlockPos pos, int searchRadius, boolean force)
m_59942_(C_1559_ p_59943_, C_4675_ p_59944_, int p_59945_, boolean p_59946_)
private static LevelChunk
a(ctp arg0, elt arg1)
getChunk(Level arg0, Vec3 arg1)
method_11414(class_1937 arg0, class_243 arg1)
getChunk(World world, Vec3d pos)
m_59947_(C_1596_ p_59948_, C_3046_ p_59949_)
private static BlockPos
a(dlo arg0)
findValidSpawnInChunk(LevelChunk arg0)
method_11413(class_2818 arg0)
findPortalPosition(WorldChunk chunk)
m_59953_(C_2137_ p_59954_)
private static void
a(and arg0, hx arg1, dtx arg2)
spawnGatewayPortal(ServerLevel arg0, BlockPos arg1, EndGatewayConfiguration arg2)
method_11416(class_3218 arg0, class_2338 arg1, class_3018 arg2)
createPortal(ServerWorld world, BlockPos pos, EndGatewayFeatureConfig config)
m_155821_(C_12_ p_155822_, C_4675_ p_155823_, C_2331_ p_155824_)
public boolean
a(ic arg0)
shouldRenderFace(Direction arg0)
method_11400(class_2350 arg0)
shouldDrawSide(Direction arg0)
m_6665_(C_4687_ arg0)
public int
g()
getParticleAmount()
method_11415()
getDrawnSidesCount()
m_59975_()
public void
a(hx arg0, boolean arg1)
setExitPosition(BlockPos arg0, boolean arg1)
method_11418(class_2338 arg0, boolean arg1)
setExitPortalPos(BlockPos pos, boolean exactTeleport)
m_59955_(C_4675_ p_59957_, boolean arg1)