Closed williewillus closed 4 years ago
The name of these is BossEvent
, as shown by the NBT tag CustomBossEvents
.
BossInfo
-> BossEvent
BossInfoClient
-> ClientBossEvent
BossInfoServer
-> ServerBossEvent
The correct name for CustomBossEvent is CustomBossbar, as shown in BossBarCommand:
private static int func_201414_a(CommandSource source, CustomBossEvent p_201414_1_) {
source.sendFeedback(new TextComponentTranslation("commands.bossbar.get.value", p_201414_1_.func_201369_e(), p_201414_1_.getValue()), true);
return p_201414_1_.getValue();
}
"commands.bossbar.get.value": "Custom bossbar %s has a value of %s",
The parent class represents a custom boss bar added through the new /bossbar commands, and thus should have similar naming to its parent class.
Also rename
CustomBossEvents
to be the plural form of whatever we decide here.