Class ServerBossEventMixin
java.lang.Object
net.minecraft.world.BossEvent
net.kyori.adventure.platform.fabric.impl.mixin.ServerBossEventMixin
- All Implemented Interfaces:
ServerBossEventBridge
public abstract class ServerBossEventMixin
extends net.minecraft.world.BossEvent
implements ServerBossEventBridge
-
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 inherited from class net.minecraft.world.BossEvent
color, createWorldFog, darkenScreen, name, overlay, playBossMusic, progress -
Constructor Summary
ConstructorsConstructorDescriptionServerBossEventMixin(UUID uuid, net.minecraft.network.chat.Component name, net.minecraft.world.BossEvent.BossBarColor color, net.minecraft.world.BossEvent.BossBarOverlay style) -
Method Summary
Modifier and TypeMethodDescriptionvoidadventure$addAll(Collection<net.minecraft.server.level.ServerPlayer> players) voidadventure$removeAll(Collection<net.minecraft.server.level.ServerPlayer> players) voidadventure$replaceSubscriber(net.minecraft.server.level.ServerPlayer oldSub, net.minecraft.server.level.ServerPlayer newSub) abstract booleanMethods inherited from class net.minecraft.world.BossEvent
getColor, getId, getName, getOverlay, getProgress, setColor, setCreateWorldFog, setDarkenScreen, setName, setOverlay, setPlayBossMusic, setProgress, shouldCreateWorldFog, shouldDarkenScreen, shouldPlayBossMusic
-
Constructor Details
-
ServerBossEventMixin
public ServerBossEventMixin(UUID uuid, net.minecraft.network.chat.Component name, net.minecraft.world.BossEvent.BossBarColor color, net.minecraft.world.BossEvent.BossBarOverlay style)
-
-
Method Details
-
shadow$isVisible
public abstract boolean shadow$isVisible() -
adventure$addAll
- Specified by:
adventure$addAllin interfaceServerBossEventBridge
-
adventure$removeAll
- Specified by:
adventure$removeAllin interfaceServerBossEventBridge
-
adventure$replaceSubscriber
public void adventure$replaceSubscriber(net.minecraft.server.level.ServerPlayer oldSub, net.minecraft.server.level.ServerPlayer newSub) - Specified by:
adventure$replaceSubscriberin interfaceServerBossEventBridge
-