类 DifficultyS2CPacket

    • 字段详细资料

      • difficulty

        private final Difficulty difficulty
        Mappings:
        Namespace Name Mixin selector
        official a Lpx;a:Lard;
        intermediary field_12090 Lnet/minecraft/class_2632;field_12090:Lnet/minecraft/class_1267;
        named difficulty Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;difficulty:Lnet/minecraft/world/Difficulty;
      • difficultyLocked

        private final boolean difficultyLocked
        Mappings:
        Namespace Name Mixin selector
        official b Lpx;b:Z
        intermediary field_12091 Lnet/minecraft/class_2632;field_12091:Z
        named difficultyLocked Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;difficultyLocked:Z
    • 构造器详细资料

      • DifficultyS2CPacket

        public DifficultyS2CPacket​(Difficulty difficulty,
                                   boolean difficultyLocked)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lpx;<init>(Lard;Z)V
        intermediary <init> Lnet/minecraft/class_2632;<init>(Lnet/minecraft/class_1267;Z)V
        named <init> Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;<init>(Lnet/minecraft/world/Difficulty;Z)V
      • DifficultyS2CPacket

        public DifficultyS2CPacket​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lpx;<init>(Lob;)V
        intermediary <init> Lnet/minecraft/class_2632;<init>(Lnet/minecraft/class_2540;)V
        named <init> Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
    • 方法详细资料

      • write

        public void write​(PacketByteBuf buf)
        指定者:
        write 在接口中 Packet<ClientPlayPacketListener>
        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
      • apply

        public void apply​(ClientPlayPacketListener clientPlayPacketListener)
        指定者:
        apply 在接口中 Packet<ClientPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Lpx;a(Lpi;)V
        intermediary method_11341 Lnet/minecraft/class_2632;method_11341(Lnet/minecraft/class_2602;)V
        named apply Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      • isDifficultyLocked

        public boolean isDifficultyLocked()
        Mappings:
        Namespace Name Mixin selector
        official b Lpx;b()Z
        intermediary method_11340 Lnet/minecraft/class_2632;method_11340()Z
        named isDifficultyLocked Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;isDifficultyLocked()Z
      • getDifficulty

        public Difficulty getDifficulty()
        Mappings:
        Namespace Name Mixin selector
        official c Lpx;c()Lard;
        intermediary method_11342 Lnet/minecraft/class_2632;method_11342()Lnet/minecraft/class_1267;
        named getDifficulty Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;getDifficulty()Lnet/minecraft/world/Difficulty;