Record Class ClientboundBossEventPacket.UpdateNameOperation

java.lang.Object
java.lang.Record
net.minecraft.network.protocol.game.ClientboundBossEventPacket.UpdateNameOperation
All Implemented Interfaces:
ClientboundBossEventPacket.Operation
Enclosing class:
ClientboundBossEventPacket

static record ClientboundBossEventPacket.UpdateNameOperation(Component name) extends Record implements ClientboundBossEventPacket.Operation
  • Field Details

    • name

      private final Component name
      The field for the name record component.
  • Constructor Details

    • UpdateNameOperation

      private UpdateNameOperation(RegistryFriendlyByteBuf p_335508_)
    • UpdateNameOperation

      UpdateNameOperation(Component name)
      Creates an instance of a UpdateNameOperation record class.
      Parameters:
      name - the value for the name record component
  • Method Details