类 UpdateCommandBlockC2SPacket

    • 字段详细资料

      • TRACK_OUTPUT_MASK

        private static final int TRACK_OUTPUT_MASK
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Luq;a:I
        intermediary field_33365 Lnet/minecraft/class_2870;field_33365:I
        named TRACK_OUTPUT_MASK Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;TRACK_OUTPUT_MASK:I
      • CONDITIONAL_MASK

        private static final int CONDITIONAL_MASK
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Luq;b:I
        intermediary field_33366 Lnet/minecraft/class_2870;field_33366:I
        named CONDITIONAL_MASK Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;CONDITIONAL_MASK:I
      • ALWAYS_ACTIVE_MASK

        private static final int ALWAYS_ACTIVE_MASK
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Luq;c:I
        intermediary field_33367 Lnet/minecraft/class_2870;field_33367:I
        named ALWAYS_ACTIVE_MASK Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;ALWAYS_ACTIVE_MASK:I
      • pos

        private final BlockPos pos
        Mappings:
        Namespace Name Mixin selector
        official d Luq;d:Lgb;
        intermediary field_13065 Lnet/minecraft/class_2870;field_13065:Lnet/minecraft/class_2338;
        named pos Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
      • command

        private final String command
        Mappings:
        Namespace Name Mixin selector
        official e Luq;e:Ljava/lang/String;
        intermediary field_13064 Lnet/minecraft/class_2870;field_13064:Ljava/lang/String;
        named command Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;command:Ljava/lang/String;
      • trackOutput

        private final boolean trackOutput
        Mappings:
        Namespace Name Mixin selector
        official f Luq;f:Z
        intermediary field_13063 Lnet/minecraft/class_2870;field_13063:Z
        named trackOutput Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;trackOutput:Z
      • conditional

        private final boolean conditional
        Mappings:
        Namespace Name Mixin selector
        official g Luq;g:Z
        intermediary field_13062 Lnet/minecraft/class_2870;field_13062:Z
        named conditional Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;conditional:Z
      • alwaysActive

        private final boolean alwaysActive
        Mappings:
        Namespace Name Mixin selector
        official h Luq;h:Z
        intermediary field_13061 Lnet/minecraft/class_2870;field_13061:Z
        named alwaysActive Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;alwaysActive:Z
      • type

        private final CommandBlockBlockEntity.Type type
        Mappings:
        Namespace Name Mixin selector
        official i Luq;i:Lchw$a;
        intermediary field_13060 Lnet/minecraft/class_2870;field_13060:Lnet/minecraft/class_2593$class_2594;
        named type Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;type:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
    • 构造器详细资料

      • UpdateCommandBlockC2SPacket

        public UpdateCommandBlockC2SPacket​(BlockPos pos,
                                           String command,
                                           CommandBlockBlockEntity.Type type,
                                           boolean trackOutput,
                                           boolean conditional,
                                           boolean alwaysActive)
        Mappings:
        Namespace Name Mixin selector
        official <init> Luq;<init>(Lgb;Ljava/lang/String;Lchw$a;ZZZ)V
        intermediary <init> Lnet/minecraft/class_2870;<init>(Lnet/minecraft/class_2338;Ljava/lang/String;Lnet/minecraft/class_2593$class_2594;ZZZ)V
        named <init> Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;<init>(Lnet/minecraft/util/math/BlockPos;Ljava/lang/String;Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;ZZZ)V
      • UpdateCommandBlockC2SPacket

        public UpdateCommandBlockC2SPacket​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official <init> Luq;<init>(Lob;)V
        intermediary <init> Lnet/minecraft/class_2870;<init>(Lnet/minecraft/class_2540;)V
        named <init> Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)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
      • apply

        public void apply​(ServerPlayPacketListener serverPlayPacketListener)
        指定者:
        apply 在接口中 Packet<ServerPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Luq;a(Lth;)V
        intermediary method_12469 Lnet/minecraft/class_2870;method_12469(Lnet/minecraft/class_2792;)V
        named apply Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      • getBlockPos

        public BlockPos getBlockPos()
        Mappings:
        Namespace Name Mixin selector
        official b Luq;b()Lgb;
        intermediary method_12473 Lnet/minecraft/class_2870;method_12473()Lnet/minecraft/class_2338;
        named getBlockPos Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getBlockPos()Lnet/minecraft/util/math/BlockPos;
      • getCommand

        public String getCommand()
        Mappings:
        Namespace Name Mixin selector
        official c Luq;c()Ljava/lang/String;
        intermediary method_12470 Lnet/minecraft/class_2870;method_12470()Ljava/lang/String;
        named getCommand Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getCommand()Ljava/lang/String;
      • shouldTrackOutput

        public boolean shouldTrackOutput()
        Mappings:
        Namespace Name Mixin selector
        official d Luq;d()Z
        intermediary method_12472 Lnet/minecraft/class_2870;method_12472()Z
        named shouldTrackOutput Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;shouldTrackOutput()Z
      • isConditional

        public boolean isConditional()
        Mappings:
        Namespace Name Mixin selector
        official e Luq;e()Z
        intermediary method_12471 Lnet/minecraft/class_2870;method_12471()Z
        named isConditional Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isConditional()Z
      • isAlwaysActive

        public boolean isAlwaysActive()
        Mappings:
        Namespace Name Mixin selector
        official f Luq;f()Z
        intermediary method_12474 Lnet/minecraft/class_2870;method_12474()Z
        named isAlwaysActive Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isAlwaysActive()Z
      • getType

        public CommandBlockBlockEntity.Type getType()
        Mappings:
        Namespace Name Mixin selector
        official g Luq;g()Lchw$a;
        intermediary method_12468 Lnet/minecraft/class_2870;method_12468()Lnet/minecraft/class_2593$class_2594;
        named getType Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getType()Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;