net.minecraft.world.level.portal

public record TeleportTransition

eua
net.minecraft.world.level.portal.TeleportTransition
net.minecraft.class_5454
net.minecraft.world.TeleportTarget
net.minecraft.world.level.portal.TeleportTransition

Field summary

Modifier and TypeField
private final ServerLevel
d
newLevel
comp_2820
world
private final Vec3
e
position
comp_2821
position
private final Vec3
f
deltaMovement
comp_2822
velocity
private final float
g
yRot
comp_2823
yaw
private final float
h
xRot
comp_2824
pitch
private final boolean
i
missingRespawnBlock
comp_2825
missingRespawnBlock
private final boolean
j
asPassenger
comp_3285
asPassenger
private final Set<Relative>
k
relatives
comp_3183
relatives
private final TeleportTransition$PostTeleportTransition
l
postTeleportTransition
comp_2864
postTeleportTransition
public static final TeleportTransition$PostTeleportTransition
a
DO_NOTHING
field_52245
NO_OP
public static final TeleportTransition$PostTeleportTransition
b
PLAY_PORTAL_SOUND
field_52246
SEND_TRAVEL_THROUGH_PORTAL_PACKET
public static final TeleportTransition$PostTeleportTransition
c
PLACE_PORTAL_TICKET
field_52247
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 arg0, Vec3 arg1, Vec3 arg2, float arg3, float arg4, boolean arg5, boolean arg6, Set<Relative> arg7, TeleportTransition$PostTeleportTransition arg8)

Method summary

Modifier and TypeMethod
private static void
a(bum arg0)
playPortalSound(Entity arg0)
method_61024(class_1297 arg0)
sendTravelThroughPortalPacket(Entity entity)
private static void
b(bum arg0)
placePortalTicket(Entity arg0)
method_61025(class_1297 arg0)
addPortalChunkTicket(Entity entity)
public static TeleportTransition
a(ard arg0, bum arg1, eua$a arg2)
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)
private static Vec3
a(ard arg0, bum arg1)
findAdjustedSharedSpawnPos(ServerLevel arg0, Entity arg1)
method_61023(class_3218 arg0, class_1297 arg1)
getWorldSpawnPos(ServerWorld world, Entity entity)
public TeleportTransition
a(float arg0, float arg1)
withRotation(float arg0, float arg1)
method_61823(float arg0, float arg1)
withRotation(float yaw, float pitch)
public TeleportTransition
a(fbb arg0)
withPosition(Vec3 arg0)
method_64829(class_243 arg0)
withPosition(Vec3d position)
public TeleportTransition
a()
transitionAsPassenger()
method_64828()
asPassenger()
public ServerLevel
b()
newLevel()
comp_2820()
world()
public Vec3
c()
position()
comp_2821()
position()
public Vec3
d()
deltaMovement()
comp_2822()
velocity()
public float
e()
yRot()
comp_2823()
yaw()
public float
f()
xRot()
comp_2824()
pitch()
public boolean
g()
missingRespawnBlock()
comp_2825()
missingRespawnBlock()
public boolean
h()
asPassenger()
comp_3285()
asPassenger()
public Set<Relative>
i()
relatives()
comp_3183()
relatives()
public TeleportTransition$PostTeleportTransition
j()
postTeleportTransition()
comp_2864()
postTeleportTransition()