Class BossInfo

java.lang.Object
net.minecraft.world.BossInfo
Direct Known Subclasses:
ClientBossInfo, ServerBossInfo

public abstract class BossInfo extends Object
  • Field Details

    • id

      private final UUID id
    • name

      protected ITextComponent name
    • percent

      protected float percent
    • color

      protected BossInfo.Color color
    • overlay

      protected BossInfo.Overlay overlay
    • darkenScreen

      protected boolean darkenScreen
    • playBossMusic

      protected boolean playBossMusic
    • createWorldFog

      protected boolean createWorldFog
  • Constructor Details

  • Method Details

    • getId

      public UUID getId()
    • getName

      public ITextComponent getName()
    • setName

      public void setName(ITextComponent p_186739_1_)
    • getPercent

      public float getPercent()
    • setPercent

      public void setPercent(float p_186735_1_)
    • getColor

      public BossInfo.Color getColor()
    • setColor

      public void setColor(BossInfo.Color p_186745_1_)
    • getOverlay

      public BossInfo.Overlay getOverlay()
    • setOverlay

      public void setOverlay(BossInfo.Overlay p_186746_1_)
    • shouldDarkenScreen

      public boolean shouldDarkenScreen()
    • setDarkenScreen

      public BossInfo setDarkenScreen(boolean p_186741_1_)
    • shouldPlayBossMusic

      public boolean shouldPlayBossMusic()
    • setPlayBossMusic

      public BossInfo setPlayBossMusic(boolean p_186742_1_)
    • setCreateWorldFog

      public BossInfo setCreateWorldFog(boolean p_186743_1_)
    • shouldCreateWorldFog

      public boolean shouldCreateWorldFog()