net.minecraft.world.level.portal

public record DimensionTransition

eqc
net.minecraft.world.level.portal.DimensionTransition
net.minecraft.class_5454
net.minecraft.world.TeleportTarget
net.minecraft.src.C_336494_
net.minecraft.world.level.portal.DimensionTransition

Field summary

Modifier and TypeField
private final ServerLevel
d
newLevel
comp_2820
world
f_336737_
private final Vec3
e
pos
comp_2821
pos
f_337495_
private final Vec3
f
speed
comp_2822
velocity
f_337067_
private final float
g
yRot
comp_2823
yaw
f_337667_
private final float
h
xRot
comp_2824
pitch
f_337294_
private final boolean
i
missingRespawnBlock
comp_2825
missingRespawnBlock
f_336743_
private final DimensionTransition$PostDimensionTransition
j
postDimensionTransition
comp_2864
postDimensionTransition
f_337240_
public static final DimensionTransition$PostDimensionTransition
a
DO_NOTHING
field_52245
NO_OP
f_337581_
public static final DimensionTransition$PostDimensionTransition
b
PLAY_PORTAL_SOUND
field_52246
SEND_TRAVEL_THROUGH_PORTAL_PACKET
f_337401_
public static final DimensionTransition$PostDimensionTransition
c
PLACE_PORTAL_TICKET
field_52247
ADD_PORTAL_CHUNK_TICKET
f_336890_

Constructor summary

ModifierConstructor
public (ServerLevel world, Vec3 pos, Vec3 velocity, float yaw, float pitch, DimensionTransition$PostDimensionTransition postDimensionTransition)
public (ServerLevel world, Entity entity, DimensionTransition$PostDimensionTransition postDimensionTransition)
public (ServerLevel pos, Vec3 speed, Vec3 yRot, float xRot, float missingRespawnBlock, boolean postDimensionTransition, DimensionTransition$PostDimensionTransition arg6)

Method summary

Modifier and TypeMethod
private static void
a(bsr arg0)
playPortalSound(Entity arg0)
method_61024(class_1297 arg0)
sendTravelThroughPortalPacket(Entity entity)
m_339082_(C_507_ p_342599_)
private static void
b(bsr arg0)
placePortalTicket(Entity arg0)
method_61025(class_1297 arg0)
addPortalChunkTicket(Entity entity)
m_339655_(C_507_ p_344820_)
public static DimensionTransition
a(aqu arg0, bsr arg1, eqc$a arg2)
missingRespawnBlock(ServerLevel arg0, Entity arg1, DimensionTransition$PostDimensionTransition arg2)
method_60635(class_3218 arg0, class_1297 arg1, class_5454$class_9823 arg2)
missingSpawnBlock(ServerWorld world, Entity entity, TeleportTarget$PostDimensionTransition postDimensionTransition)
m_339282_(C_12_ p_344639_, C_507_ p_345092_, C_336494_$C_336509_ p_342728_)
private static Vec3
a(aqu arg0, bsr arg1)
findAdjustedSharedSpawnPos(ServerLevel arg0, Entity arg1)
method_61023(class_3218 arg0, class_1297 arg1)
getWorldSpawnPos(ServerWorld world, Entity entity)
m_339756_(C_12_ p_345512_, C_507_ p_344855_)
public ServerLevel
a()
newLevel()
comp_2820()
world()
f_336737_()
public Vec3
b()
pos()
comp_2821()
pos()
f_337495_()
public Vec3
c()
speed()
comp_2822()
velocity()
f_337067_()
public float
d()
yRot()
comp_2823()
yaw()
f_337667_()
public float
e()
xRot()
comp_2824()
pitch()
f_337294_()
public boolean
f()
missingRespawnBlock()
comp_2825()
missingRespawnBlock()
f_336743_()
public DimensionTransition$PostDimensionTransition
g()
postDimensionTransition()
comp_2864()
postDimensionTransition()
f_337240_()