net.minecraft.world.level.portal

public record TeleportTransition

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

Field summary

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

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(bvk arg0)
playPortalSound(Entity arg0)
method_61024(class_1297 arg0)
m_odkcduqq(C_astfners arg0)
sendTravelThroughPortalPacket(Entity entity)
sendPortalTravelPacket(Entity entity)
m_352684_(C_507_ p_361275_)
private static void
b(bvk arg0)
placePortalTicket(Entity arg0)
method_61025(class_1297 arg0)
m_xxnedpaa(C_astfners arg0)
addPortalChunkTicket(Entity entity)
addPortalTicket(Entity entity)
m_352355_(C_507_ p_369312_)
public static TeleportTransition
a(ash arg0, bvk arg1, eux$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)
m_355944_(C_12_ p_369648_, C_507_ p_361289_, C_345918_$C_345802_ p_360765_)
private static Vec3
a(ash arg0, bvk 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)
m_352582_(C_12_ p_369125_, C_507_ p_366828_)
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)
m_352746_(float p_364460_, float arg1)
public TeleportTransition
a(fby arg0)
withPosition(Vec3 arg0)
method_64829(class_243 arg0)
m_dtmjdcdu(C_vgpupfxx arg0)
withPosition(Vec3d position)
withPosition(Vec3d position)
m_354252_(C_3046_ arg0)
public TeleportTransition
a()
transitionAsPassenger()
method_64828()
m_wgzbwrry()
asPassenger()
copy()
m_354166_()
public ServerLevel
b()
newLevel()
comp_2820()
m_dksqrdjp()
world()
newWorld()
f_346643_()
public Vec3
c()
position()
comp_2821()
m_domsmybp()
position()
position()
f_348215_()
public Vec3
d()
deltaMovement()
comp_2822()
m_ixdmtivj()
velocity()
deltaMovement()
f_347322_()
public float
e()
yRot()
comp_2823()
m_ntxguczd()
yaw()
yaw()
f_348219_()
public float
f()
xRot()
comp_2824()
m_bgwfddyy()
pitch()
pitch()
f_348816_()
public boolean
g()
missingRespawnBlock()
comp_2825()
m_bcfqgxma()
missingRespawnBlock()
missingRespawnBlock()
f_347516_()
public boolean
h()
asPassenger()
comp_3285()
m_fetbjurw()
asPassenger()
asPassenger()
f_348805_()
public Set<Relative>
i()
relatives()
comp_3183()
m_rlfmguck()
relatives()
relatives()
f_346979_()
public TeleportTransition$PostTeleportTransition
j()
postTeleportTransition()
comp_2864()
m_rtwtxggv()
postTeleportTransition()
postTeleportTransition()
f_346758_()