类 UpdateDifficultyC2SPacket

    • 字段详细资料

      • difficulty

        private final Difficulty difficulty
        Mappings:
        Namespace Name Mixin selector
        official a Ltk;a:Lard;
        intermediary field_18805 Lnet/minecraft/class_4210;field_18805:Lnet/minecraft/class_1267;
        named difficulty Lnet/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;)V
        intermediary <init> Lnet/minecraft/class_4210;<init>(Lnet/minecraft/class_1267;)V
        named <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;)V
        intermediary <init> Lnet/minecraft/class_4210;<init>(Lnet/minecraft/class_2540;)V
        named <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 a Ltk;a(Lth;)V
        intermediary method_19477 Lnet/minecraft/class_4210;method_19477(Lnet/minecraft/class_2792;)V
        named apply Lnet/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 a Lpf;a(Lob;)V
        intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
        named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
      • getDifficulty

        public Difficulty getDifficulty()
        Mappings:
        Namespace Name Mixin selector
        official b Ltk;b()Lard;
        intermediary method_19478 Lnet/minecraft/class_4210;method_19478()Lnet/minecraft/class_1267;
        named getDifficulty Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;getDifficulty()Lnet/minecraft/world/Difficulty;