类的使用
net.minecraft.entity.boss.CommandBossBar
-
使用CommandBossBar的程序包 程序包 说明 net.minecraft.entity.boss net.minecraft.server.command -
-
net.minecraft.entity.boss中CommandBossBar的使用
类型参数类型为CommandBossBar的net.minecraft.entity.boss中的字段 修饰符和类型 字段 说明 private Map<Identifier,CommandBossBar>BossBarManager. commandBossBars返回CommandBossBar的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 CommandBossBarBossBarManager. add(Identifier id, Text displayName)static CommandBossBarCommandBossBar. fromNbt(CompoundTag nbt, Identifier id)@Nullable CommandBossBarBossBarManager. get(Identifier id)返回变量类型为CommandBossBar的类型的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 Collection<CommandBossBar>BossBarManager. getAll()参数类型为CommandBossBar的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 voidBossBarManager. remove(CommandBossBar bossBar) -
net.minecraft.server.command中CommandBossBar的使用
返回CommandBossBar的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 static CommandBossBarBossBarCommand. getBossBar(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)参数类型为CommandBossBar的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private static ServerCommandSourceExecuteCommand. executeStoreBossbar(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult)private static intBossBarCommand. getMaxValue(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand. getPlayers(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand. getValue(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand. isVisible(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand. removeBossBar(ServerCommandSource source, CommandBossBar bossBar)private static intBossBarCommand. setColor(ServerCommandSource source, CommandBossBar bossBar, BossBar.Color color)private static intBossBarCommand. setMaxValue(ServerCommandSource source, CommandBossBar bossBar, int value)private static intBossBarCommand. setName(ServerCommandSource source, CommandBossBar bossBar, Text name)private static intBossBarCommand. setPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players)private static intBossBarCommand. setStyle(ServerCommandSource source, CommandBossBar bossBar, BossBar.Style style)private static intBossBarCommand. setValue(ServerCommandSource source, CommandBossBar bossBar, int value)private static intBossBarCommand. setVisible(ServerCommandSource source, CommandBossBar bossBar, boolean visible)
-