net.minecraft.world.level.portal

public record TeleportTransition

exo
net.minecraft.world.level.portal.TeleportTransition
net.minecraft.class_5454
net.minecraft.unmapped.C_sqhjwpkh
net.minecraft.world.TeleportTarget
net.minecraft.world.entity.TeleportTarget

Field summary

Modifier and TypeField
private final ServerLevel
d
newLevel
comp_2820
f_luhevstl
world
newWorld
private final Vec3
e
position
comp_2821
f_ddvvhzbu
position
position
private final Vec3
f
deltaMovement
comp_2822
f_woyghjmg
velocity
deltaMovement
private final float
g
yRot
comp_2823
f_abqyyxsi
yaw
yaw
private final float
h
xRot
comp_2824
f_bpwmamga
pitch
pitch
private final boolean
i
missingRespawnBlock
comp_2825
f_admssrkx
missingRespawnBlock
missingRespawnBlock
private final boolean
j
asPassenger
comp_3285
f_kgdbaeww
asPassenger
asPassenger
private final Set<Relative>
k
relatives
comp_3183
f_dyevlmkp
relatives
relatives
private final TeleportTransition$PostTeleportTransition
l
postTeleportTransition
comp_2864
f_bggxbpxt
postTeleportTransition
postTeleportTransition
public static final TeleportTransition$PostTeleportTransition
a
DO_NOTHING
field_52245
f_ywlkuzgh
NO_OP
NO_OP
public static final TeleportTransition$PostTeleportTransition
b
PLAY_PORTAL_SOUND
field_52246
f_uxkbpkwm
SEND_TRAVEL_THROUGH_PORTAL_PACKET
SEND_PORTAL_TRAVEL_PACKET
public static final TeleportTransition$PostTeleportTransition
c
PLACE_PORTAL_TICKET
field_52247
f_jibestwn
ADD_PORTAL_CHUNK_TICKET
ADD_PORTAL_CHUNK_TICKET

Constructor summary

ModifierConstructor
public (ServerLevel world, Vec3 pos, Vec3 velocity, float yaw, float pitch, TeleportTransition$PostTeleportTransition postDimensionTransition)
public (ServerLevel world, Vec3 pos, Vec3 velocity, float yaw, float pitch, Set<Relative> flags, TeleportTransition$PostTeleportTransition postDimensionTransition)
public (ServerLevel world, Entity entity, TeleportTransition$PostTeleportTransition postDimensionTransition)
public (ServerLevel world, Vec3 position, Vec3 deltaMovement, float yaw, float pitch, boolean missingRespawnBlock, boolean asPassenger, Set<Relative> relatives, TeleportTransition$PostTeleportTransition postTeleportTransition)

Method summary

Modifier and TypeMethod
private static void
a(bwf arg0)
playPortalSound(Entity arg0)
method_61024(class_1297 arg0)
m_odkcduqq(C_astfners arg0)
sendTravelThroughPortalPacket(Entity entity)
sendPortalTravelPacket(Entity entity)
private static void
b(bwf arg0)
placePortalTicket(Entity arg0)
method_61025(class_1297 arg0)
m_xxnedpaa(C_astfners arg0)
addPortalChunkTicket(Entity entity)
addPortalTicket(Entity entity)
public static TeleportTransition
a(arq arg0, bwf arg1, exo$a arg2)
missingRespawnBlock(ServerLevel arg0, Entity arg1, TeleportTransition$PostTeleportTransition arg2)
method_60635(class_3218 arg0, class_1297 arg1, class_5454$class_9823 arg2)
m_fuvyjqul(C_bdwnwhiu arg0, C_astfners arg1, C_sqhjwpkh$C_saosxlyx arg2)
missingSpawnBlock(ServerWorld world, Entity entity, TeleportTarget$PostDimensionTransition postDimensionTransition)
create(ServerWorld world, Entity entity, TeleportTarget$PostTeleportTransition postTeleportTransition)
private static Vec3
a(arq arg0, bwf arg1)
findAdjustedSharedSpawnPos(ServerLevel arg0, Entity arg1)
method_61023(class_3218 arg0, class_1297 arg1)
m_llmyhuae(C_bdwnwhiu arg0, C_astfners arg1)
getWorldSpawnPos(ServerWorld world, Entity entity)
getAdjustedSpawnLocation(ServerWorld world, Entity entity)
public TeleportTransition
a(float arg0, float arg1)
withRotation(float arg0, float arg1)
method_61823(float arg0, float arg1)
m_arzblblk(float arg0, float arg1)
withRotation(float yaw, float pitch)
withRotation(float yaw, float pitch)
public TeleportTransition
a(feq arg0)
withPosition(Vec3 arg0)
method_64829(class_243 arg0)
m_dtmjdcdu(C_vgpupfxx arg0)
withPosition(Vec3d position)
withPosition(Vec3d position)
public TeleportTransition
a()
transitionAsPassenger()
method_64828()
m_wgzbwrry()
asPassenger()
copy()
public ServerLevel
b()
newLevel()
comp_2820()
m_dksqrdjp()
world()
newWorld()
public Vec3
c()
position()
comp_2821()
m_domsmybp()
position()
position()
public Vec3
d()
deltaMovement()
comp_2822()
m_ixdmtivj()
velocity()
deltaMovement()
public float
e()
yRot()
comp_2823()
m_ntxguczd()
yaw()
yaw()
public float
f()
xRot()
comp_2824()
m_bgwfddyy()
pitch()
pitch()
public boolean
g()
missingRespawnBlock()
comp_2825()
m_bcfqgxma()
missingRespawnBlock()
missingRespawnBlock()
public boolean
h()
asPassenger()
comp_3285()
m_fetbjurw()
asPassenger()
asPassenger()
public Set<Relative>
i()
relatives()
comp_3183()
m_rlfmguck()
relatives()
relatives()
public TeleportTransition$PostTeleportTransition
j()
postTeleportTransition()
comp_2864()
m_rtwtxggv()
postTeleportTransition()
postTeleportTransition()