mirror of https://github.com/FabricMC/yarn.git
Some End fight and BossBar mappings (#409)
Not 100% on where to put the `BossBarManager` and `CommandBossBar` or what a better name for `CommandBossBar` would be that isn't potentially confused with `BossBarCommand`
This commit is contained in:
parent
06e2c1f559
commit
90b84803e4
|
@ -0,0 +1,10 @@
|
||||||
|
CLASS qv net/minecraft/entity/boss/BossBarManager
|
||||||
|
FIELD a server Lnet/minecraft/server/MinecraftServer;
|
||||||
|
FIELD b bossBars Ljava/util/Map;
|
||||||
|
METHOD a getIds ()Ljava/util/Collection;
|
||||||
|
METHOD a fromTag (Lhq;)V
|
||||||
|
METHOD a get (Lqc;)Lqu;
|
||||||
|
METHOD a add (Lqc;Ljb;)Lqu;
|
||||||
|
METHOD a remove (Lqu;)V
|
||||||
|
METHOD b getAll ()Ljava/util/Collection;
|
||||||
|
METHOD c toTag ()Lhq;
|
|
@ -0,0 +1,19 @@
|
||||||
|
CLASS qu net/minecraft/entity/boss/CommandBossBar
|
||||||
|
FIELD h id Lqc;
|
||||||
|
FIELD i playerUuids Ljava/util/Set;
|
||||||
|
FIELD j value I
|
||||||
|
FIELD k maxValue I
|
||||||
|
METHOD a getId ()Lqc;
|
||||||
|
METHOD a setValue (I)V
|
||||||
|
METHOD a fromTag (Lhq;Lqc;)Lqu;
|
||||||
|
METHOD a addPlayers (Ljava/util/Collection;)Z
|
||||||
|
METHOD a addPlayer (Ljava/util/UUID;)V
|
||||||
|
METHOD a addPlayer (Lut;)V
|
||||||
|
METHOD b clearPlayers ()V
|
||||||
|
METHOD b setMaxValue (I)V
|
||||||
|
METHOD b removePlayer (Lut;)V
|
||||||
|
METHOD c getValue ()I
|
||||||
|
METHOD d getMaxValue ()I
|
||||||
|
METHOD e getTextComponent ()Ljb;
|
||||||
|
METHOD f toTag ()Lhq;
|
||||||
|
ARG 1 tag
|
|
@ -1,11 +1,21 @@
|
||||||
CLASS up net/minecraft/entity/boss/ServerBossBar
|
CLASS up net/minecraft/entity/boss/ServerBossBar
|
||||||
|
FIELD h players Ljava/util/Set;
|
||||||
FIELD j visible Z
|
FIELD j visible Z
|
||||||
|
METHOD <init> (Ljb;Lafn$a;Lafn$b;)V
|
||||||
|
ARG 1 name
|
||||||
|
ARG 2 color
|
||||||
METHOD a setPercent (F)V
|
METHOD a setPercent (F)V
|
||||||
METHOD a setColor (Lafn$a;)V
|
METHOD a setColor (Lafn$a;)V
|
||||||
METHOD a setOverlay (Lafn$b;)V
|
METHOD a setOverlay (Lafn$b;)V
|
||||||
METHOD a setName (Ljb;)V
|
METHOD a setName (Ljb;)V
|
||||||
|
METHOD a sendPacket (Lkf$a;)V
|
||||||
|
METHOD a addPlayer (Lut;)V
|
||||||
METHOD a setDarkenSky (Z)Lafn;
|
METHOD a setDarkenSky (Z)Lafn;
|
||||||
|
METHOD b clearPlayers ()V
|
||||||
|
METHOD b removePlayer (Lut;)V
|
||||||
METHOD b setDragonMusic (Z)Lafn;
|
METHOD b setDragonMusic (Z)Lafn;
|
||||||
METHOD c setThickenFog (Z)Lafn;
|
METHOD c setThickenFog (Z)Lafn;
|
||||||
METHOD d setVisible (Z)V
|
METHOD d setVisible (Z)V
|
||||||
ARG 1 visible
|
ARG 1 visible
|
||||||
|
METHOD g isVisible ()Z
|
||||||
|
METHOD h getPlayers ()Ljava/util/Collection;
|
||||||
|
|
|
@ -1,24 +1,52 @@
|
||||||
CLASS btg net/minecraft/entity/boss/dragon/EnderDragonFight
|
CLASS btg net/minecraft/entity/boss/dragon/EnderDragonFight
|
||||||
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
|
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
|
||||||
|
FIELD b VALID_ENTITY Ljava/util/function/Predicate;
|
||||||
FIELD c bossBar Lup;
|
FIELD c bossBar Lup;
|
||||||
FIELD d world Lur;
|
FIELD d world Lur;
|
||||||
FIELD e gateways Ljava/util/List;
|
FIELD e gateways Ljava/util/List;
|
||||||
|
FIELD f endPortalPattern Lbqn;
|
||||||
|
FIELD g dragonSeenTimer I
|
||||||
|
FIELD h endCrystalsAlive I
|
||||||
|
FIELD i crystalCountTimer I
|
||||||
|
FIELD j playerUpdateTimer I
|
||||||
FIELD k dragonKilled Z
|
FIELD k dragonKilled Z
|
||||||
FIELD l previouslyKilled Z
|
FIELD l previouslyKilled Z
|
||||||
FIELD m dragonUuid Ljava/util/UUID;
|
FIELD m dragonUuid Ljava/util/UUID;
|
||||||
|
FIELD n doLegacyCheck Z
|
||||||
FIELD o exitPortalLocation Let;
|
FIELD o exitPortalLocation Let;
|
||||||
|
FIELD p dragonSpawnState Lbtf;
|
||||||
|
FIELD q spawnStateTimer I
|
||||||
FIELD r crystals Ljava/util/List;
|
FIELD r crystals Ljava/util/List;
|
||||||
METHOD <init> (Lur;Lhq;)V
|
METHOD <init> (Lur;Lhq;)V
|
||||||
ARG 1 world
|
ARG 1 world
|
||||||
ARG 2 tag
|
|
||||||
METHOD a toTag ()Lhq;
|
METHOD a toTag ()Lhq;
|
||||||
METHOD a crystalDestroyed (Lanw;Lagl;)V
|
METHOD a crystalDestroyed (Lanw;Lagl;)V
|
||||||
ARG 1 enderCrystal
|
ARG 1 enderCrystal
|
||||||
ARG 2 source
|
ARG 2 source
|
||||||
METHOD a dragonKilled (Lanx;)V
|
METHOD a dragonKilled (Lanx;)V
|
||||||
ARG 1 dragon
|
ARG 1 dragon
|
||||||
|
METHOD a setSpawnState (Lbtf;)V
|
||||||
|
METHOD a generateEndGateway (Let;)V
|
||||||
|
METHOD a respawnDragon (Ljava/util/List;)V
|
||||||
|
METHOD a generateEndPortal (Z)V
|
||||||
|
ARG 1 previouslyKilled
|
||||||
|
METHOD b tick ()V
|
||||||
|
ARG 1 chunksLoaded
|
||||||
METHOD b updateFight (Lanx;)V
|
METHOD b updateFight (Lanx;)V
|
||||||
ARG 1 dragon
|
ARG 1 dragon
|
||||||
|
METHOD c getAliveEndCrystals ()I
|
||||||
|
METHOD d hasPreviouslyKilled ()Z
|
||||||
|
METHOD e respawnDragon ()V
|
||||||
|
METHOD f resetEndCrystals ()V
|
||||||
METHOD g convertFromLegacy ()V
|
METHOD g convertFromLegacy ()V
|
||||||
|
ARG 1 containsPortal
|
||||||
|
METHOD h checkDragonSeen ()V
|
||||||
METHOD i worldContainsEndPortal ()Z
|
METHOD i worldContainsEndPortal ()Z
|
||||||
|
METHOD j findEndPortal ()Lbqn$b;
|
||||||
|
METHOD k loadChunks ()Z
|
||||||
|
METHOD l updatePlayers ()V
|
||||||
|
ARG 1 validPlayers
|
||||||
|
ARG 2 invalidPlayers
|
||||||
|
METHOD m countAliveCrystals ()V
|
||||||
|
METHOD n generateNewEndGateway ()V
|
||||||
METHOD o createDragon ()Lanx;
|
METHOD o createDragon ()Lanx;
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
CLASS btf net/minecraft/entity/boss/dragon/EnderDragonSpawnState
|
||||||
|
CLASS btf$1
|
||||||
|
METHOD a run (Lur;Lbtg;Ljava/util/List;ILet;)V
|
||||||
|
CLASS btf$2
|
||||||
|
METHOD a run (Lur;Lbtg;Ljava/util/List;ILet;)V
|
||||||
|
CLASS btf$3
|
||||||
|
METHOD a run (Lur;Lbtg;Ljava/util/List;ILet;)V
|
||||||
|
CLASS btf$4
|
||||||
|
METHOD a run (Lur;Lbtg;Ljava/util/List;ILet;)V
|
||||||
|
CLASS btf$5
|
||||||
|
METHOD a run (Lur;Lbtg;Ljava/util/List;ILet;)V
|
||||||
|
FIELD a START Lbtf;
|
||||||
|
FIELD b PREPARE_CREATE_SPIKES Lbtf;
|
||||||
|
FIELD c CREATE_SPIKES Lbtf;
|
||||||
|
FIELD d SPAWN_DRAGON Lbtf;
|
||||||
|
FIELD e END Lbtf;
|
||||||
|
METHOD a run (Lur;Lbtg;Ljava/util/List;ILet;)V
|
|
@ -31,6 +31,7 @@ CLASS net/minecraft/server/MinecraftServer
|
||||||
FIELD ag recipeManager Lazn;
|
FIELD ag recipeManager Lazn;
|
||||||
FIELD ah tagManager Lyl;
|
FIELD ah tagManager Lyl;
|
||||||
FIELD ai scoreboard Lqr;
|
FIELD ai scoreboard Lqr;
|
||||||
|
FIELD aj bossBarManager Lqv;
|
||||||
FIELD ak lootManager Lcjt;
|
FIELD ak lootManager Lcjt;
|
||||||
FIELD al advancementManager Lqo;
|
FIELD al advancementManager Lqo;
|
||||||
FIELD am commandFunctionManager Lqp;
|
FIELD am commandFunctionManager Lqp;
|
||||||
|
@ -120,6 +121,7 @@ CLASS net/minecraft/server/MinecraftServer
|
||||||
METHOD aM getScoreboard ()Lqr;
|
METHOD aM getScoreboard ()Lqr;
|
||||||
METHOD aN getLootManager ()Lcjt;
|
METHOD aN getLootManager ()Lcjt;
|
||||||
METHOD aO getGameRules ()Lbce;
|
METHOD aO getGameRules ()Lbce;
|
||||||
|
METHOD aP getBossBarManager ()Lqv;
|
||||||
METHOD aR getTickTime ()F
|
METHOD aR getTickTime ()F
|
||||||
METHOD aS getMetricsData ()Lyt;
|
METHOD aS getMetricsData ()Lyt;
|
||||||
METHOD aT getProfiler ()Laex;
|
METHOD aT getProfiler ()Laex;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
CLASS rb net/minecraft/server/command/BossBarCommand
|
CLASS rb net/minecraft/server/command/BossBarCommand
|
||||||
|
FIELD a suggestionProvider Lcom/mojang/brigadier/suggestion/SuggestionProvider;
|
||||||
FIELD b CREATE_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
|
FIELD b CREATE_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
|
||||||
FIELD c UNKNOWN_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
|
FIELD c UNKNOWN_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
|
||||||
FIELD d SET_PLAYERS_UNCHANGED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
FIELD d SET_PLAYERS_UNCHANGED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
||||||
|
@ -9,4 +10,19 @@ CLASS rb net/minecraft/server/command/BossBarCommand
|
||||||
FIELD i SETMAX_UNCHANGED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
FIELD i SETMAX_UNCHANGED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
||||||
FIELD j SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
FIELD j SET_VISIBILITY_UNCHANGED_HIDDEN_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
||||||
FIELD k SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
FIELD k SET_VISIBILITY_UNCHANGED_VISIBLE_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
||||||
|
METHOD a listBossBars (Lca;)I
|
||||||
|
METHOD a addBossBar (Lca;Lqc;Ljb;)I
|
||||||
|
METHOD a getValue (Lca;Lqu;)I
|
||||||
|
METHOD a setValue (Lca;Lqu;I)I
|
||||||
|
METHOD a setColor (Lca;Lqu;Lafn$a;)I
|
||||||
|
METHOD a setOverlay (Lca;Lqu;Lafn$b;)I
|
||||||
|
METHOD a setPlayers (Lca;Lqu;Ljava/util/Collection;)I
|
||||||
|
METHOD a setName (Lca;Lqu;Ljb;)I
|
||||||
|
METHOD a setVisible (Lca;Lqu;Z)I
|
||||||
METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V
|
METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V
|
||||||
|
METHOD a createBossBar (Lcom/mojang/brigadier/context/CommandContext;)Lqu;
|
||||||
|
METHOD b getMaxValue (Lca;Lqu;)I
|
||||||
|
METHOD b setMaxValue (Lca;Lqu;I)I
|
||||||
|
METHOD c isVisible (Lca;Lqu;)I
|
||||||
|
METHOD d getPlayers (Lca;Lqu;)I
|
||||||
|
METHOD e removeBossBar (Lca;Lqu;)I
|
||||||
|
|
Loading…
Reference in New Issue