Skip to content

Commit

Permalink
Assorted mappings for commands (FabricMC#229)
Browse files Browse the repository at this point in the history
* Mappings for command argument types

* A couple of responses to feedback
  • Loading branch information
SquidDev authored and asiekierka committed Dec 1, 2018
1 parent 2c068a1 commit 0a42dd3
Show file tree
Hide file tree
Showing 50 changed files with 340 additions and 14 deletions.
4 changes: 0 additions & 4 deletions mappings/eo.mapping

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
CLASS czi net/minecraft/client/sortme/ClientCommandSource
FIELD a networkHandler Lczh;
FIELD b client Lcnv;
FIELD c completionId I
FIELD d pendingCompletion Ljava/util/concurrent/CompletableFuture;
METHOD <init> (Lczh;Lcnv;)V
ARG 1 client
METHOD a formatDouble (D)Ljava/lang/String;
METHOD a formatInt (I)Ljava/lang/String;
METHOD a getCompletions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
METHOD c hasPermissionLevel (I)Z
ARG 1 level
METHOD l getPlayerNames ()Ljava/util/Collection;
METHOD m getTeamNames ()Ljava/util/Collection;
METHOD n getSoundIds ()Ljava/util/Collection;
METHOD o getRecipeIds ()Ljava/util/Collection;
METHOD p ()Ljava/util/Collection;
22 changes: 22 additions & 0 deletions mappings/net/minecraft/command/EntitySelector.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
CLASS dz net/minecraft/command/EntitySelector
FIELD a limit I
FIELD b includesEntities Z
FIELD d basePredicate Ljava/util/function/Predicate;
FIELD e distance Lbf$c;
FIELD f positionOffset Ljava/util/function/Function;
FIELD g box Lckl;
FIELD h sorter Ljava/util/function/BiConsumer;
FIELD j playerName Ljava/lang/String;
FIELD k entityId Ljava/util/UUID;
FIELD l type Ljava/lang/Class;
FIELD m checkPermissions Z
METHOD a getLimit ()I
METHOD a getEntity (Lca;)Lagi;
METHOD a getPositionPredicate (Lckp;)Ljava/util/function/Predicate;
METHOD a getEntities (Lckp;Ljava/util/List;)Ljava/util/List;
METHOD a getNames (Ljava/util/List;)Lja;
METHOD b includesEntities ()Z
METHOD b getEntities (Lca;)Ljava/util/List;
METHOD c getPlayer (Lca;)Lul;
METHOD d getPlayers (Lca;)Ljava/util/List;
METHOD e check (Lca;)V
26 changes: 26 additions & 0 deletions mappings/net/minecraft/command/EntitySelectorOptions.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
CLASS eb net/minecraft/command/EntitySelectorOptions
CLASS eb$a SelectorHandler
METHOD handle (Lea;)V
CLASS eb$b SelectorOption
FIELD a handler Leb$a;
FIELD b applicable Ljava/util/function/Predicate;
FIELD c description Lja;
FIELD a UNKNOWN_OPTION_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b INAPPLICABLE_OPTION_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD c NEGATIVE_DISTANCE_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD d NEGATIVE_LEVEL_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD e TOO_SMALL_LEVEL_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD f IRREVERSIBLE_SORT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD g INVALID_MODE_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD h INVALID_TYPE_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD i options Ljava/util/Map;
METHOD a suggestOptions (Lea;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V
METHOD a getHandler (Lea;Ljava/lang/String;I)Leb$a;
ARG 0 reader
ARG 1 option
ARG 2 restoreCursor
METHOD a putOption (Ljava/lang/String;Leb$a;Ljava/util/function/Predicate;Lja;)V
ARG 0 name
ARG 1 handler
ARG 2 predicate
ARG 3 description
39 changes: 39 additions & 0 deletions mappings/net/minecraft/command/EntitySelectorReader.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
CLASS ea net/minecraft/command/EntitySelectorReader
FIELD A predicate Ljava/util/function/Predicate;
FIELD B sorter Ljava/util/function/BiConsumer;
FIELD G suggestions Ljava/util/function/BiFunction;
FIELD P type Ljava/lang/Class;
FIELD a INVALID_ENTITY_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD b UNKNOWN_SELECTOR_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD c NOT_ALLOWED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD d MISSING_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD e UNTERMINATED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD f VALUELESS_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD g UNSORTED Ljava/util/function/BiConsumer;
FIELD h NEAREST_FIRST Ljava/util/function/BiConsumer;
FIELD i FURTHEST_FIRST Ljava/util/function/BiConsumer;
FIELD j RANDOM Ljava/util/function/BiConsumer;
FIELD l reader Lcom/mojang/brigadier/StringReader;
FIELD r experience Lbf$d;
FIELD y pitchRange Lbt;
FIELD z yawRange Lbt;
METHOD F hasEntityType ()Z
METHOD J buildPredicate ()V
METHOD a build ()Ldz;
METHOD a setPitchRange (Lbt;)V
METHOD a rotationPredicate (Lbt;Ljava/util/function/ToDoubleFunction;)Ljava/util/function/Predicate;
METHOD a suggestSelector (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V
METHOD a listSuggestions (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
METHOD a setEntityType (Ljava/lang/Class;)V
METHOD a setOrdering (Ljava/util/function/BiConsumer;)V
METHOD a setSuggestionProvider (Ljava/util/function/BiFunction;)V
METHOD a setPredicate (Ljava/util/function/Predicate;)V
METHOD b setYawRange (Lbt;)V
METHOD e suggestOpen (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
METHOD f suggestOptionOrEnd (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
METHOD g getReader ()Lcom/mojang/brigadier/StringReader;
METHOD g suggestOption (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
METHOD h suggestEndNext (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
METHOD k getPitchRange ()Lbt;
METHOD l getYawRange ()Lbt;
METHOD t read ()Ldz;
18 changes: 18 additions & 0 deletions mappings/net/minecraft/command/FloatRange.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
CLASS bt net/minecraft/command/FloatRange
FIELD a ANY Lbt;
FIELD b ONLY_INTS_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD c min Ljava/lang/Float;
FIELD d max Ljava/lang/Float;
METHOD a getMin ()Ljava/lang/Float;
METHOD a parse (Lcom/mojang/brigadier/StringReader;ZLjava/util/function/Function;)Lbt;
ARG 0 reader
ARG 1 allowFloats
ARG 2 transform
METHOD a mapFloat (Ljava/lang/Float;Ljava/util/function/Function;)Ljava/lang/Float;
METHOD b getMax ()Ljava/lang/Float;
METHOD b parseFloat (Lcom/mojang/brigadier/StringReader;Z)Ljava/lang/Float;
ARG 0 reader
ARG 1 allowFloats
METHOD c peekDigit (Lcom/mojang/brigadier/StringReader;Z)Z
ARG 0 reader
ARG 1 allowFloats
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CLASS eh net/minecraft/command/arguments/ArgumentTypes
FIELD c idMap Ljava/util/Map;
METHOD a register ()V
METHOD a toJson (Lcom/google/gson/JsonObject;Lcom/mojang/brigadier/arguments/ArgumentType;)V
METHOD a toJson (Lcom/mojang/brigadier/CommandDispatcher;Lcom/mojang/brigadier/tree/CommandNode;)Lcom/google/gson/JsonObject;
METHOD a byClass (Lcom/mojang/brigadier/arguments/ArgumentType;)Leh$a;
METHOD a fromPacket (Liq;)Lcom/mojang/brigadier/arguments/ArgumentType;
METHOD a toPacket (Liq;Lcom/mojang/brigadier/arguments/ArgumentType;)V
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
CLASS dg net/minecraft/command/arguments/BlockPosArgumentType
FIELD a UNLOADED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD b OUT_OF_WORLD_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD c EXAMPLES Ljava/util/Collection;
METHOD a create ()Ldg;
METHOD a getValidPosArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Let;
METHOD b getPosArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Let;
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
CLASS dc net/minecraft/command/arguments/BlockPredicateArgumentType
CLASS dc$a BlockStatePredicate
FIELD a state Lboj;
FIELD b properties Ljava/util/Set;
FIELD c compound Lhp;
CLASS dc$b BlockPredicateFactory
METHOD create (Lxz;)Ljava/util/function/Predicate;
CLASS dc$c TagPredicate
FIELD a tag Lxx;
FIELD b compound Lhp;
FIELD c properties Ljava/util/Map;
FIELD a EXAMPLES Ljava/util/Collection;
FIELD b UNKNOWN_TAG_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
METHOD a create ()Ldc;
METHOD a getPredicateArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS cd net/minecraft/command/arguments/ColorArgumentType
FIELD a INVALID_COLOR_EXCPETION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcd;
METHOD a getColorArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)La;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS ce net/minecraft/command/arguments/ComponentArgumentType
FIELD a INVALID_COMPONENT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lce;
METHOD a getComponentArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lja;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS cg net/minecraft/command/arguments/DimensionArgumentType
FIELD a INVALID_DIMENSION_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcg;
METHOD a getDimensionArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lbrc;
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
CLASS ch net/minecraft/command/arguments/EntityAnchorArgumentType
CLASS ch$a EntityAnchor
FIELD c anchors Ljava/util/Map;
FIELD d id Ljava/lang/String;
FIELD e offset Ljava/util/function/BiFunction;
METHOD a positionAt (Lagi;)Lckp;
METHOD a positionAt (Lca;)Lckp;
METHOD a fromId (Ljava/lang/String;)Lch$a;
FIELD a EXAMPLES Ljava/util/Collection;
FIELD b INVALID_ANCHOR_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
METHOD a create ()Lch;
METHOD a getAnchorArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lch$a;
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
CLASS ci net/minecraft/command/arguments/EntityArgumentType
CLASS ci$a
CLASS ci$a Serializer
METHOD a toJson (Lcom/mojang/brigadier/arguments/ArgumentType;Lcom/google/gson/JsonObject;)V
METHOD a toPacket (Lcom/mojang/brigadier/arguments/ArgumentType;Liq;)V
METHOD b fromPacket (Liq;)Lcom/mojang/brigadier/arguments/ArgumentType;
FIELD a TOO_MANY_ENTITIES_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD b TOO_MANY_PLAYERS_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD c PLAYER_SELECTOR_HAS_ENTITIES_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD d ENTITY_NOT_FOUND_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD e PLAYER_NOT_FOUND_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD f NOT_ALLOWED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD g EXAMPLES Ljava/util/Collection;
METHOD a create ()Lci;
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
CLASS cj net/minecraft/command/arguments/EntitySummonArgumentType
FIELD a NOTFOUND_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcj;
METHOD a (Lcom/mojang/brigadier/StringReader;)Lpy;
METHOD a getSummonArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lpy;
METHOD a validate (Lpy;)Lpy;
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
CLASS ck net/minecraft/command/arguments/GameProfileArgumentType
CLASS ck$a ProfileSupplier
METHOD getNames (Lca;)Ljava/util/Collection;
CLASS ck$b
METHOD getNames (Lca;)Ljava/util/Collection;
FIELD a UNKNOWN_PLAYER_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lck;
METHOD a getProfilesArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
CLASS dw net/minecraft/command/arguments/ItemPredicateArgumentType
CLASS dw$a ItemPredicate
FIELD a item Lavn;
FIELD b compound Lhp;
CLASS dw$b ItemPredicateFactory
METHOD create (Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/function/Predicate;
CLASS dw$c TagPredicate
FIELD a tag Lxx;
FIELD b compound Lhp;
FIELD a EXAMPLES Ljava/util/Collection;
FIELD b UNKNOWN_TAG_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
METHOD a create ()Ldw;
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
CLASS cy net/minecraft/command/arguments/ItemSlotArgumentType
FIELD a EXAMPLES Ljava/util/Collection;
FIELD b UNKNOWN_SLOT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD c slotNames Ljava/util/Map;
METHOD a create ()Lcy;
METHOD a getSlotArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)I
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
CLASS cm net/minecraft/command/arguments/MessageArgumentType
CLASS cm$a MessageFormat
FIELD a contents Ljava/lang/String;
FIELD b selectors [Lcm$b;
METHOD a format (Lca;Z)Lja;
METHOD a parse (Lcom/mojang/brigadier/StringReader;Z)Lcm$a;
CLASS cm$b MessageSelector
FIELD a start I
FIELD b end I
FIELD c selector Ldz;
METHOD a getStart ()I
METHOD a format (Lca;)Lja;
METHOD b getEnd ()I
FIELD a EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcm;
METHOD a getMessageArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lja;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS cn net/minecraft/command/arguments/MobEffectArgumentType
FIELD a INVALID_EFFECT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcn;
METHOD a getEffectArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Laga;
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CLASS cf net/minecraft/command/arguments/NbtCompoundTagArgumentType
FIELD a EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcf;
METHOD a getCompoundArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lhp;
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CLASS co net/minecraft/command/arguments/NbtPathArgumentType
CLASS co$g
FIELD c EXAMPLES Ljava/util/Collection;
METHOD a create ()Lco;
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CLASS cp net/minecraft/command/arguments/NbtTagArgumentType
FIELD a EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcp;
METHOD a getNbtTagArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lig;
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
CLASS cu net/minecraft/command/arguments/NumberRangeArgumentType
CLASS cu$a FloatRangeArgumentType
CLASS cu$a$a
CLASS cu$a$a Serializer
METHOD b fromPacket (Liq;)Lcom/mojang/brigadier/arguments/ArgumentType;
FIELD a EXAMPLES Ljava/util/Collection;
CLASS cu$b IntRangeArgumentType
CLASS cu$b$a
CLASS cu$b$a Serializer
METHOD b fromPacket (Liq;)Lcom/mojang/brigadier/arguments/ArgumentType;
FIELD a EXAMPLES Ljava/util/Collection;
CLASS cu$c
CLASS cu$c NumberSerializer
METHOD a toJson (Lcom/mojang/brigadier/arguments/ArgumentType;Lcom/google/gson/JsonObject;)V
METHOD a toPacket (Lcom/mojang/brigadier/arguments/ArgumentType;Liq;)V
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
CLASS cq net/minecraft/command/arguments/ObjectiveArgumentType
FIELD a LONG_NAME_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
FIELD c UNKNOWN_OBJECTIVE_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD d READONLY_OBJECTIVE_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
METHOD a create ()Lcq;
METHOD a getObjectiveArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lclm;
METHOD b getWritableObjectiveArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lclm;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS cr net/minecraft/command/arguments/ObjectiveCriteriaArgumentType
FIELD a INVALID_CRITERIA_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcr;
METHOD a getCriteriaArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcls;
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
CLASS cs net/minecraft/command/arguments/OperationArgumentType
CLASS cs$a Operator
CLASS cs$b IntOperator
FIELD a EXAMPLES Ljava/util/Collection;
FIELD b INVALID_OPERATION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD c DIVISION_ZERO_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
METHOD a create ()Lcs;
METHOD a getOperatorArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcs$a;
METHOD a getOperator (Ljava/lang/String;)Lcs$a;
METHOD b getIntOperator (Ljava/lang/String;)Lcs$b;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS ct net/minecraft/command/arguments/ParticleArgumentType
FIELD a UNKNOWN_PARTICLE_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lct;
METHOD a getParticleArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lft;
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
CLASS cv net/minecraft/command/arguments/ResourceLocationArgumentType
FIELD a UNKNOWN_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b UNKNOWN_ADVANCEMENT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD c UNKNOWN_RECIPE_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD d EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcv;
METHOD a getAdvancementArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ln;
METHOD b getRecipeArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Laxy;
METHOD c getIdentifierArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lpy;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS dk net/minecraft/command/arguments/RotationArgumentType
FIELD a INCOMPLETE_ROTATION_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Ldk;
METHOD a getRotationArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldi;
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
CLASS cw net/minecraft/command/arguments/ScoreHolderArgumentType
CLASS cw$c
CLASS cw$a ScoreHolder
METHOD getNames (Lca;Ljava/util/function/Supplier;)Ljava/util/Collection;
CLASS cw$b SelectorScoreHolder
FIELD a selector Ldz;
METHOD getNames (Lca;Ljava/util/function/Supplier;)Ljava/util/Collection;
CLASS cw$c Serializer
METHOD a toJson (Lcom/mojang/brigadier/arguments/ArgumentType;Lcom/google/gson/JsonObject;)V
METHOD a toPacket (Lcom/mojang/brigadier/arguments/ArgumentType;Liq;)V
METHOD b fromPacket (Liq;)Lcom/mojang/brigadier/arguments/ArgumentType;
FIELD a SUGGESTION_PROVIDER Lcom/mojang/brigadier/suggestion/SuggestionProvider;
FIELD b EXAMPLES Ljava/util/Collection;
FIELD c EMPTY_SCORE_HOLDER_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD d multiple Z
METHOD a getHolderArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/lang/String;
METHOD a getHoldersArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Ljava/util/function/Supplier;)Ljava/util/Collection;
METHOD b (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS cx net/minecraft/command/arguments/ScoreboardSlotArgumentType
FIELD a INVALID_SLOT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD b EXAMPLES Ljava/util/Collection;
METHOD a create ()Lcx;
METHOD a getScorebordSlotArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)I
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS dl net/minecraft/command/arguments/SwizzleArgumentType
FIELD a EXAMPLES Ljava/util/Collection;
FIELD b INVALID_SWIZZLE_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
METHOD a create ()Ldl;
METHOD a getSwizzleArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/EnumSet;
Loading

0 comments on commit 0a42dd3

Please sign in to comment.