类 PlayerRespawnS2CPacket
- java.lang.Object
-
- net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
-
- 所有已实现的接口:
Packet<ClientPlayPacketListener>
public class PlayerRespawnS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rpintermediary net/minecraft/class_2724named net/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleandebugWorldprivate RegistryKey<World>dimensionprivate DimensionTypedimensionTypeprivate booleanflatWorldprivate GameModegameModeprivate booleankeepPlayerAttributesprivate @Nullable GameModepreviousGameModeprivate longsha256Seed
-
构造器概要
构造器 构造器 说明 PlayerRespawnS2CPacket(PacketByteBuf buf)PlayerRespawnS2CPacket(DimensionType dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ClientPlayPacketListener clientPlayPacketListener)RegistryKey<World>getDimension()DimensionTypegetDimensionType()GameModegetGameMode()@Nullable GameModegetPreviousGameMode()longgetSha256Seed()booleanisDebugWorld()booleanisFlatWorld()booleanshouldKeepPlayerAttributes()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
dimensionType
private final DimensionType dimensionType
- Mappings:
Namespace Name Mixin selector official aLrp;a:Lcmt;intermediary field_25322Lnet/minecraft/class_2724;field_25322:Lnet/minecraft/class_2874;named dimensionTypeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;dimensionType:Lnet/minecraft/world/dimension/DimensionType;
-
dimension
private final RegistryKey<World> dimension
- Mappings:
Namespace Name Mixin selector official bLrp;b:Lwo;intermediary field_12431Lnet/minecraft/class_2724;field_12431:Lnet/minecraft/class_5321;named dimensionLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;dimension:Lnet/minecraft/util/registry/RegistryKey;
-
sha256Seed
private final long sha256Seed
- Mappings:
Namespace Name Mixin selector official cLrp;c:Jintermediary field_20667Lnet/minecraft/class_2724;field_20667:Jnamed sha256SeedLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;sha256Seed:J
-
gameMode
private final GameMode gameMode
- Mappings:
Namespace Name Mixin selector official dLrp;d:Lbvo;intermediary field_12434Lnet/minecraft/class_2724;field_12434:Lnet/minecraft/class_1934;named gameModeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;gameMode:Lnet/minecraft/world/GameMode;
-
previousGameMode
@Nullable private final @Nullable GameMode previousGameMode
- Mappings:
Namespace Name Mixin selector official eLrp;e:Lbvo;intermediary field_25714Lnet/minecraft/class_2724;field_25714:Lnet/minecraft/class_1934;named previousGameModeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;previousGameMode:Lnet/minecraft/world/GameMode;
-
debugWorld
private final boolean debugWorld
- Mappings:
Namespace Name Mixin selector official fLrp;f:Zintermediary field_24620Lnet/minecraft/class_2724;field_24620:Znamed debugWorldLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;debugWorld:Z
-
flatWorld
private final boolean flatWorld
- Mappings:
Namespace Name Mixin selector official gLrp;g:Zintermediary field_24621Lnet/minecraft/class_2724;field_24621:Znamed flatWorldLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;flatWorld:Z
-
keepPlayerAttributes
private final boolean keepPlayerAttributes
- Mappings:
Namespace Name Mixin selector official hLrp;h:Zintermediary field_24451Lnet/minecraft/class_2724;field_24451:Znamed keepPlayerAttributesLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;keepPlayerAttributes:Z
-
-
构造器详细资料
-
PlayerRespawnS2CPacket
public PlayerRespawnS2CPacket(DimensionType dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes)
- Mappings:
Namespace Name Mixin selector official <init>Lrp;<init>(Lcmt;Lwo;JLbvo;Lbvo;ZZZ)Vintermediary <init>Lnet/minecraft/class_2724;<init>(Lnet/minecraft/class_2874;Lnet/minecraft/class_5321;JLnet/minecraft/class_1934;Lnet/minecraft/class_1934;ZZZ)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/util/registry/RegistryKey;JLnet/minecraft/world/GameMode;Lnet/minecraft/world/GameMode;ZZZ)V
-
PlayerRespawnS2CPacket
public PlayerRespawnS2CPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lrp;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_2724;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
方法详细资料
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpf;a(Lob;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
public void apply(ClientPlayPacketListener clientPlayPacketListener)
- 指定者:
apply在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLrp;a(Lpi;)Vintermediary method_11782Lnet/minecraft/class_2724;method_11782(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getDimensionType
public DimensionType getDimensionType()
- Mappings:
Namespace Name Mixin selector official bLrp;b()Lcmt;intermediary method_29445Lnet/minecraft/class_2724;method_29445()Lnet/minecraft/class_2874;named getDimensionTypeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDimensionType()Lnet/minecraft/world/dimension/DimensionType;
-
getDimension
public RegistryKey<World> getDimension()
- Mappings:
Namespace Name Mixin selector official cLrp;c()Lwo;intermediary method_11779Lnet/minecraft/class_2724;method_11779()Lnet/minecraft/class_5321;named getDimensionLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDimension()Lnet/minecraft/util/registry/RegistryKey;
-
getSha256Seed
public long getSha256Seed()
- Mappings:
Namespace Name Mixin selector official dLrp;d()Jintermediary method_22425Lnet/minecraft/class_2724;method_22425()Jnamed getSha256SeedLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getSha256Seed()J
-
getGameMode
public GameMode getGameMode()
- Mappings:
Namespace Name Mixin selector official eLrp;e()Lbvo;intermediary method_11780Lnet/minecraft/class_2724;method_11780()Lnet/minecraft/class_1934;named getGameModeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getGameMode()Lnet/minecraft/world/GameMode;
-
getPreviousGameMode
@Nullable public @Nullable GameMode getPreviousGameMode()
- Mappings:
Namespace Name Mixin selector official fLrp;f()Lbvo;intermediary method_30117Lnet/minecraft/class_2724;method_30117()Lnet/minecraft/class_1934;named getPreviousGameModeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getPreviousGameMode()Lnet/minecraft/world/GameMode;
-
isDebugWorld
public boolean isDebugWorld()
- Mappings:
Namespace Name Mixin selector official gLrp;g()Zintermediary method_28120Lnet/minecraft/class_2724;method_28120()Znamed isDebugWorldLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isDebugWorld()Z
-
isFlatWorld
public boolean isFlatWorld()
- Mappings:
Namespace Name Mixin selector official hLrp;h()Zintermediary method_28121Lnet/minecraft/class_2724;method_28121()Znamed isFlatWorldLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isFlatWorld()Z
-
shouldKeepPlayerAttributes
public boolean shouldKeepPlayerAttributes()
- Mappings:
Namespace Name Mixin selector official iLrp;i()Zintermediary method_27904Lnet/minecraft/class_2724;method_27904()Znamed shouldKeepPlayerAttributesLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;shouldKeepPlayerAttributes()Z
-
-