类 UpdateDifficultyC2SPacket
- java.lang.Object
-
- net.minecraft.network.packet.c2s.play.UpdateDifficultyC2SPacket
-
- 所有已实现的接口:
Packet<ServerPlayPacketListener>
public class UpdateDifficultyC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official tkintermediary net/minecraft/class_4210named net/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 private Difficultydifficulty
-
构造器概要
构造器 构造器 说明 UpdateDifficultyC2SPacket(PacketByteBuf buf)UpdateDifficultyC2SPacket(Difficulty difficulty)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ServerPlayPacketListener serverPlayPacketListener)DifficultygetDifficulty()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
difficulty
private final Difficulty difficulty
- Mappings:
Namespace Name Mixin selector official aLtk;a:Lard;intermediary field_18805Lnet/minecraft/class_4210;field_18805:Lnet/minecraft/class_1267;named difficultyLnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;difficulty:Lnet/minecraft/world/Difficulty;
-
-
构造器详细资料
-
UpdateDifficultyC2SPacket
public UpdateDifficultyC2SPacket(Difficulty difficulty)
- Mappings:
Namespace Name Mixin selector official <init>Ltk;<init>(Lard;)Vintermediary <init>Lnet/minecraft/class_4210;<init>(Lnet/minecraft/class_1267;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;<init>(Lnet/minecraft/world/Difficulty;)V
-
UpdateDifficultyC2SPacket
public UpdateDifficultyC2SPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Ltk;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_4210;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
方法详细资料
-
apply
public void apply(ServerPlayPacketListener serverPlayPacketListener)
- 指定者:
apply在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLtk;a(Lth;)Vintermediary method_19477Lnet/minecraft/class_4210;method_19477(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ServerPlayPacketListener>- 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
-
getDifficulty
public Difficulty getDifficulty()
- Mappings:
Namespace Name Mixin selector official bLtk;b()Lard;intermediary method_19478Lnet/minecraft/class_4210;method_19478()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;getDifficulty()Lnet/minecraft/world/Difficulty;
-
-