Class BossBarS2CPacket.UpdateStyleAction

java.lang.Object
net.minecraft.network.packet.s2c.play.BossBarS2CPacket.UpdateStyleAction
All Implemented Interfaces:
BossBarS2CPacket.Action
Enclosing class:
BossBarS2CPacket

private static class BossBarS2CPacket.UpdateStyleAction extends Object implements BossBarS2CPacket.Action
Mappings:
Namespace Name
official xg$h
intermediary net/minecraft/class_2629$class_5887
named net/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateStyleAction
  • Field Details

    • color

      private final BossBar.Color color
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$h;a:Lbgo$a;
      intermediary field_29120 Lnet/minecraft/class_2629$class_5887;field_29120:Lnet/minecraft/class_1259$class_1260;
      named color Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateStyleAction;color:Lnet/minecraft/entity/boss/BossBar$Color;
    • style

      private final BossBar.Style style
      Mappings:
      Namespace Name Mixin selector
      official b Lxg$h;b:Lbgo$b;
      intermediary field_29121 Lnet/minecraft/class_2629$class_5887;field_29121:Lnet/minecraft/class_1259$class_1261;
      named style Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateStyleAction;style:Lnet/minecraft/entity/boss/BossBar$Style;
  • Constructor Details

    • UpdateStyleAction

      UpdateStyleAction(BossBar.Color color, BossBar.Style style)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxg$h;<init>(Lbgo$a;Lbgo$b;)V
      intermediary <init> Lnet/minecraft/class_2629$class_5887;<init>(Lnet/minecraft/class_1259$class_1260;Lnet/minecraft/class_1259$class_1261;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateStyleAction;<init>(Lnet/minecraft/entity/boss/BossBar$Color;Lnet/minecraft/entity/boss/BossBar$Style;)V
    • UpdateStyleAction

      private UpdateStyleAction(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxg$h;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2629$class_5887;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$UpdateStyleAction;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • getType

      public BossBarS2CPacket.Type getType()
      Specified by:
      getType in interface BossBarS2CPacket.Action
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$c;a()Lxg$d;
      intermediary method_34105 Lnet/minecraft/class_2629$class_5882;method_34105()Lnet/minecraft/class_2629$class_5883;
      named getType Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;getType()Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • accept

      public void accept(UUID uuid, BossBarS2CPacket.Consumer consumer)
      Specified by:
      accept in interface BossBarS2CPacket.Action
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$c;a(Ljava/util/UUID;Lxg$b;)V
      intermediary method_34106 Lnet/minecraft/class_2629$class_5882;method_34106(Ljava/util/UUID;Lnet/minecraft/class_2629$class_5881;)V
      named accept Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;accept(Ljava/util/UUID;Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Consumer;)V
    • toPacket

      public void toPacket(PacketByteBuf buf)
      Specified by:
      toPacket in interface BossBarS2CPacket.Action
      Mappings:
      Namespace Name Mixin selector
      official a Lxg$c;a(Lso;)V
      intermediary method_34107 Lnet/minecraft/class_2629$class_5882;method_34107(Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Action;toPacket(Lnet/minecraft/network/PacketByteBuf;)V