net.minecraft.entity.boss.BossStatus Java Examples
The following examples show how to use
net.minecraft.entity.boss.BossStatus.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BossbarGui.java From Hyperium with GNU Lesser General Public License v3.0 | 5 votes |
@Override public void initGui() { buttonList.clear(); previousBossName = BossStatus.bossName; BossStatus.bossName = "Sk1er LLC"; previousStatusBarTime = BossStatus.statusBarTime; BossStatus.statusBarTime = Integer.MAX_VALUE; previousHealthScale = BossStatus.healthScale; BossStatus.healthScale = 1F; buttonList.add(new GuiButton(0, width / 2 - 155 / 2, calculateHeight(0), 155, 20, I18n.format("gui.settings.bossbarmod.resetbossbar"))); }
Example #2
Source File: BossbarGui.java From Hyperium with GNU Lesser General Public License v3.0 | 5 votes |
@Override public void onGuiClosed() { BossStatus.bossName = previousBossName; BossStatus.statusBarTime = previousStatusBarTime; BossStatus.healthScale = previousHealthScale; Hyperium.CONFIG.save(); super.onGuiClosed(); }