net.minecraft.world

public record TeleportTarget

fbl
net.minecraft.world.level.portal.TeleportTransition
net.minecraft.class_5454
net.minecraft.world.TeleportTarget
net.minecraft.unmapped.C_sqhjwpkh
net.minecraft.world.entity.TeleportTarget
net.minecraft.src.C_345918_

Field summary

Modifier and TypeField
private final ServerWorld
d
newLevel
comp_2820
world
f_luhevstl
newWorld
f_346643_
private final Vec3d
e
position
comp_2821
position
f_ddvvhzbu
position
f_348215_
private final Vec3d
f
deltaMovement
comp_2822
velocity
f_woyghjmg
deltaMovement
f_347322_
private final float
g
yRot
comp_2823
yaw
f_abqyyxsi
yaw
f_348219_
private final float
h
xRot
comp_2824
pitch
f_bpwmamga
pitch
f_348816_
private final boolean
i
missingRespawnBlock
comp_2825
missingRespawnBlock
f_admssrkx
missingRespawnBlock
f_347516_
private final boolean
j
asPassenger
comp_3285
asPassenger
f_kgdbaeww
asPassenger
f_348805_
private final Set<PositionFlag>
k
relatives
comp_3183
relatives
f_dyevlmkp
relatives
f_346979_
private final TeleportTarget$PostDimensionTransition
l
postTeleportTransition
comp_2864
postTeleportTransition
f_bggxbpxt
postTeleportTransition
f_346758_
public static final TeleportTarget$PostDimensionTransition
a
DO_NOTHING
field_52245
NO_OP
f_ywlkuzgh
NO_OP
f_346945_
public static final TeleportTarget$PostDimensionTransition
b
PLAY_PORTAL_SOUND
field_52246
SEND_TRAVEL_THROUGH_PORTAL_PACKET
f_uxkbpkwm
SEND_PORTAL_TRAVEL_PACKET
f_348544_
public static final TeleportTarget$PostDimensionTransition
c
PLACE_PORTAL_TICKET
field_52247
ADD_PORTAL_CHUNK_TICKET
f_jibestwn
ADD_PORTAL_CHUNK_TICKET
f_347400_

Constructor summary

ModifierConstructor
public (ServerWorld world, Vec3d pos, Vec3d velocity, float yaw, float pitch, TeleportTarget$PostDimensionTransition postDimensionTransition)
public (ServerWorld world, Vec3d pos, Vec3d velocity, float yaw, float pitch, Set<PositionFlag> flags, TeleportTarget$PostDimensionTransition postDimensionTransition)
public (ServerWorld world, Entity entity, TeleportTarget$PostDimensionTransition postDimensionTransition)
public (ServerWorld world, Vec3d position, Vec3d deltaMovement, float yaw, float pitch, boolean missingRespawnBlock, boolean asPassenger, Set<PositionFlag> relatives, TeleportTarget$PostDimensionTransition postTeleportTransition)

Method summary

Modifier and TypeMethod
private static void
a(bzm o)
playPortalSound(Entity arg0)
method_61024(class_1297 arg0)
sendTravelThroughPortalPacket(Entity entity)
m_odkcduqq(C_astfners arg0)
sendPortalTravelPacket(Entity entity)
m_352684_(C_507_ p_361275_)
private static void
b(bzm o)
placePortalTicket(Entity arg0)
method_61025(class_1297 arg0)
addPortalChunkTicket(Entity entity)
m_xxnedpaa(C_astfners arg0)
addPortalTicket(Entity entity)
m_352355_(C_507_ p_369312_)
public static TeleportTarget
a(aub o, bzm o, fbl$a o)
missingRespawnBlock(ServerLevel arg0, Entity arg1, TeleportTransition$PostTeleportTransition arg2)
method_60635(class_3218 arg0, class_1297 arg1, class_5454$class_9823 arg2)
missingSpawnBlock(ServerWorld world, Entity entity, TeleportTarget$PostDimensionTransition postDimensionTransition)
m_fuvyjqul(C_bdwnwhiu arg0, C_astfners arg1, C_sqhjwpkh$C_saosxlyx arg2)
create(ServerWorld world, Entity entity, TeleportTarget$PostTeleportTransition postTeleportTransition)
m_355944_(C_12_ p_369648_, C_507_ p_361289_, C_345918_$C_345802_ p_360765_)
private static Vec3d
a(aub o, bzm o)
findAdjustedSharedSpawnPos(ServerLevel arg0, Entity arg1)
method_61023(class_3218 arg0, class_1297 arg1)
getWorldSpawnPos(ServerWorld world, Entity entity)
m_llmyhuae(C_bdwnwhiu arg0, C_astfners arg1)
getAdjustedSpawnLocation(ServerWorld world, Entity entity)
m_352582_(C_12_ p_369125_, C_507_ p_366828_)
public TeleportTarget
a(float o, float arg1)
withRotation(float arg0, float arg1)
method_61823(float arg0, float arg1)
withRotation(float yaw, float pitch)
m_arzblblk(float arg0, float arg1)
withRotation(float yaw, float pitch)
m_352746_(float p_364460_, float arg1)
public TeleportTarget
a(fis arg0)
withPosition(Vec3 arg0)
method_64829(class_243 arg0)
withPosition(Vec3d position)
m_dtmjdcdu(C_vgpupfxx arg0)
withPosition(Vec3d position)
m_354252_(C_3046_ arg0)
public TeleportTarget
a()
transitionAsPassenger()
method_64828()
asPassenger()
m_wgzbwrry()
copy()
m_354166_()
public ServerWorld
b()
newLevel()
comp_2820()
world()
m_dksqrdjp()
newWorld()
f_346643_()
public Vec3d
c()
position()
comp_2821()
position()
m_domsmybp()
position()
f_348215_()
public Vec3d
d()
deltaMovement()
comp_2822()
velocity()
m_ixdmtivj()
deltaMovement()
f_347322_()
public float
e()
yRot()
comp_2823()
yaw()
m_ntxguczd()
yaw()
f_348219_()
public float
f()
xRot()
comp_2824()
pitch()
m_bgwfddyy()
pitch()
f_348816_()
public boolean
g()
missingRespawnBlock()
comp_2825()
missingRespawnBlock()
m_bcfqgxma()
missingRespawnBlock()
f_347516_()
public boolean
h()
asPassenger()
comp_3285()
asPassenger()
m_fetbjurw()
asPassenger()
f_348805_()
public Set<PositionFlag>
i()
relatives()
comp_3183()
relatives()
m_rlfmguck()
relatives()
f_346979_()
public TeleportTarget$PostDimensionTransition
j()
postTeleportTransition()
comp_2864()
postTeleportTransition()
m_rtwtxggv()
postTeleportTransition()
f_346758_()