Class BossEvent

java.lang.Object
net.minecraft.world.BossEvent
Direct Known Subclasses:
LerpingBossEvent, ServerBossEvent

public abstract class BossEvent extends Object
  • Field Details

    • id

      private final UUID id
    • name

      protected Component name
    • progress

      protected float progress
    • color

      protected BossEvent.BossBarColor color
    • overlay

      protected BossEvent.BossBarOverlay overlay
    • darkenScreen

      protected boolean darkenScreen
    • playBossMusic

      protected boolean playBossMusic
    • createWorldFog

      protected boolean createWorldFog
  • Constructor Details

  • Method Details

    • getId

      public UUID getId()
    • getName

      public Component getName()
    • setName

      public void setName(Component p_18856_)
    • getProgress

      public float getProgress()
    • setProgress

      public void setProgress(float p_146639_)
    • getColor

      public BossEvent.BossBarColor getColor()
    • setColor

      public void setColor(BossEvent.BossBarColor p_18854_)
    • getOverlay

      public BossEvent.BossBarOverlay getOverlay()
    • setOverlay

      public void setOverlay(BossEvent.BossBarOverlay p_18855_)
    • shouldDarkenScreen

      public boolean shouldDarkenScreen()
    • setDarkenScreen

      public BossEvent setDarkenScreen(boolean p_18857_)
    • shouldPlayBossMusic

      public boolean shouldPlayBossMusic()
    • setPlayBossMusic

      public BossEvent setPlayBossMusic(boolean p_18858_)
    • setCreateWorldFog

      public BossEvent setCreateWorldFog(boolean p_18859_)
    • shouldCreateWorldFog

      public boolean shouldCreateWorldFog()