Class RaidBossBarEvent

java.lang.Object
net.minecraft.world.BossEvent
net.minecraft.server.level.ServerBossEvent
nokunami.floral_warfare.common.gardenOps.RaidBossBarEvent

public class RaidBossBarEvent extends net.minecraft.server.level.ServerBossEvent
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.BossEvent

    net.minecraft.world.BossEvent.BossBarColor, net.minecraft.world.BossEvent.BossBarOverlay
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected float
     
    protected int
     
    protected float
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     

    Fields inherited from class net.minecraft.world.BossEvent

    color, createWorldFog, darkenScreen, name, overlay, playBossMusic, progress
  • Constructor Summary

    Constructors
    Constructor
    Description
    RaidBossBarEvent(net.minecraft.network.chat.Component component)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPlayer(@NotNull net.minecraft.server.level.ServerPlayer player)
     
    float
     
    int
     
    float
     
    int
     
    int
     
    int
     
    int
     
    int
     
    void
    removePlayer(@NotNull net.minecraft.server.level.ServerPlayer player)
     
    void
    setBeaconHealth(float health)
     
    void
    setTime(int i)
     
    void
    setTimerPercent(float time)
     
    void
    setTotalTime(int i)
     
    void
     
    void
     
    void
    setWave(int i)
     
    void
    setZombies(int i)
     
    void
     

    Methods inherited from class net.minecraft.server.level.ServerBossEvent

    getPlayers, isVisible, removeAllPlayers, setColor, setCreateWorldFog, setDarkenScreen, setName, setOverlay, setPlayBossMusic, setProgress, setVisible

    Methods inherited from class net.minecraft.world.BossEvent

    getColor, getId, getName, getOverlay, getProgress, shouldCreateWorldFog, shouldDarkenScreen, shouldPlayBossMusic

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • beaconHealth

      protected float beaconHealth
    • timerPercent

      protected float timerPercent
    • time

      protected int time
    • totalTime

      protected int totalTime
    • wave

      protected int wave
    • totalWaves

      protected int totalWaves
    • zombies

      protected int zombies
    • totalZombies

      protected int totalZombies
  • Constructor Details

    • RaidBossBarEvent

      public RaidBossBarEvent(net.minecraft.network.chat.Component component)
  • Method Details

    • update

      public void update()
    • getBeaconHealth

      public float getBeaconHealth()
    • setBeaconHealth

      public void setBeaconHealth(float health)
    • getTimerPercent

      public float getTimerPercent()
    • setTimerPercent

      public void setTimerPercent(float time)
    • getTime

      public int getTime()
    • setTime

      public void setTime(int i)
    • getTotalTime

      public int getTotalTime()
    • setTotalTime

      public void setTotalTime(int i)
    • getWave

      public int getWave()
    • setWave

      public void setWave(int i)
    • getTotalWaves

      public int getTotalWaves()
    • setTotalWaves

      public void setTotalWaves(int i)
    • getZombies

      public int getZombies()
    • setZombies

      public void setZombies(int i)
    • getTotalZombies

      public int getTotalZombies()
    • setTotalZombies

      public void setTotalZombies(int i)
    • addPlayer

      public void addPlayer(@NotNull @NotNull net.minecraft.server.level.ServerPlayer player)
      Overrides:
      addPlayer in class net.minecraft.server.level.ServerBossEvent
    • removePlayer

      public void removePlayer(@NotNull @NotNull net.minecraft.server.level.ServerPlayer player)
      Overrides:
      removePlayer in class net.minecraft.server.level.ServerBossEvent