Skip to content

Commit

Permalink
Revise some more names
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebear94 committed Oct 12, 2023
1 parent 1375af2 commit 7af25dd
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 40 deletions.
18 changes: 0 additions & 18 deletions mappings/net/minecraft/class_8848.mapping

This file was deleted.

6 changes: 0 additions & 6 deletions mappings/net/minecraft/class_8851.mapping

This file was deleted.

18 changes: 18 additions & 0 deletions mappings/net/minecraft/command/ControlFlowAware.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
CLASS net/minecraft/class_8848 net/minecraft/command/ControlFlowAware
METHOD method_54290 execute (Ljava/lang/Object;Lcom/mojang/brigadier/context/ContextChain;ZLnet/minecraft/class_8855;)V
ARG 1 source
ARG 2 contextChain
ARG 3 forkedMode
ARG 4 control
CLASS class_8849 Command
METHOD run (Lcom/mojang/brigadier/context/CommandContext;)I
ARG 1 context
CLASS class_8850 Helper
METHOD method_54255 sendError (Lcom/mojang/brigadier/exceptions/CommandSyntaxException;Lnet/minecraft/class_8839;Z)V
ARG 2 source
ARG 3 silent
METHOD method_54259 executeInner (Lnet/minecraft/class_8839;Lcom/mojang/brigadier/context/ContextChain;ZLnet/minecraft/class_8855;)V
ARG 1 source
ARG 2 contextChain
ARG 3 forkedMode
ARG 4 control
7 changes: 7 additions & 0 deletions mappings/net/minecraft/command/Forkable.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS net/minecraft/class_8851 net/minecraft/command/Forkable
METHOD method_54270 execute (Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;ZLnet/minecraft/class_8855;)V
ARG 1 sources
ARG 2 contextChain
ARG 3 forkedMode
ARG 4 control
CLASS class_8852 RedirectModifier
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_8838 net/minecraft/command/ResultConsumer
CLASS net/minecraft/class_8838 net/minecraft/command/ResultStorer
METHOD storeResult (Ljava/lang/Object;ZI)V
ARG 1 context
ARG 2 success
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_8858
CLASS net/minecraft/class_8858 net/minecraft/command/SingleCommandAction
FIELD field_46739 FORK_LIMIT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD field_46740 command Ljava/lang/String;
FIELD field_46741 contextChain Lcom/mojang/brigadier/context/ContextChain;
Expand All @@ -13,22 +13,23 @@ CLASS net/minecraft/class_8858
METHOD method_54409 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 count
METHOD method_54410 execute (Ljava/util/List;Lnet/minecraft/class_8854;IZ)V
ARG 1 sources
ARG 1 forks
ARG 2 vm
ARG 3 depth
ARG 4 silent
METHOD method_54411 fixAtDepth (Lnet/minecraft/class_8854;I)Lnet/minecraft/class_8855;
ARG 0 vm
ARG 1 depth
CLASS class_8859
CLASS class_8859 MultiSource
FIELD field_46744 forkedMode Z
FIELD field_46745 sources Ljava/util/List;
METHOD <init> (Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;ZLjava/util/List;)V
ARG 1 command
ARG 3 forkedMode
ARG 4 sources
CLASS class_8860
CLASS class_8860 SingleSource
FIELD field_46746 source Lnet/minecraft/class_8839;
METHOD <init> (Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8839;)V
ARG 1 command
ARG 3 source
CLASS class_8861 Sourced
8 changes: 5 additions & 3 deletions mappings/net/minecraft/command/VirtualMachine.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CLASS net/minecraft/class_8854 net/minecraft/command/VirtualMachine
FIELD field_46729 MAX_COMMAND_QUEUE_LENGTH I
FIELD field_46730 LOGGER Lorg/slf4j/Logger;
FIELD field_46731 commandsExecuted I
FIELD field_46732 forksRemaining I
FIELD field_46732 forkLimit I
FIELD field_46733 profiler Lnet/minecraft/class_3695;
FIELD field_46734 tracer Lnet/minecraft/class_6346;
FIELD field_46735 commandsRemaining I
Expand All @@ -18,15 +18,17 @@ CLASS net/minecraft/class_8854 net/minecraft/command/VirtualMachine
ARG 1 depth
METHOD method_54392 enqueueCommand (Lnet/minecraft/class_8847;)V
ARG 1 entry
METHOD method_54393 (Lnet/minecraft/class_8854;Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8839;)V
METHOD method_54393 enqueueCommand (Lnet/minecraft/class_8854;Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8839;)V
ARG 0 vm
ARG 1 command
ARG 3 source
METHOD method_54394 setTracer (Lnet/minecraft/class_6346;)V
ARG 1 tracer
METHOD method_54395 enqueueProcedureCall (Lnet/minecraft/class_8868;Ljava/lang/Object;)V
ARG 1 procedure
ARG 2 source
METHOD method_54396 getTracer ()Lnet/minecraft/class_6346;
METHOD method_54397 getProfiler ()Lnet/minecraft/class_3695;
METHOD method_54398 getForksRemaining ()I
METHOD method_54398 getForkLimit ()I
METHOD method_54399 decrementCommandQuota ()V
METHOD method_54400 markQueueOverflowed ()V
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CLASS net/minecraft/class_2170 net/minecraft/server/command/CommandManager
ARG 0 registryLookup
METHOD method_54312 throwException (Lcom/mojang/brigadier/ParseResults;)V
ARG 0 parse
METHOD method_54313 (Lnet/minecraft/class_2168;Ljava/util/function/Consumer;)V
METHOD method_54313 callWithVm (Lnet/minecraft/class_2168;Ljava/util/function/Consumer;)V
ARG 0 commandSource
ARG 1 callback
METHOD method_54314 (Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_2168;Lnet/minecraft/class_8854;)V
Expand Down
3 changes: 2 additions & 1 deletion mappings/net/minecraft/server/command/DebugCommand.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CLASS net/minecraft/class_3032 net/minecraft/server/command/DebugCommand
FIELD field_13596 ALREADY_RUNNING_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD field_13597 NOT_RUNNING_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD field_20283 LOGGER Lorg/slf4j/Logger;
FIELD field_46638 NO_RECURSION_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
METHOD method_13154 (Lcom/mojang/brigadier/context/CommandContext;)I
ARG 0 context
METHOD method_13156 register (Lcom/mojang/brigadier/CommandDispatcher;)V
Expand All @@ -26,7 +27,7 @@ CLASS net/minecraft/class_3032 net/minecraft/server/command/DebugCommand
METHOD method_36356 writeIndentWithoutRememberingWidth (I)V
ARG 1 width
METHOD method_36357 writeNewLine ()V
CLASS class_8829
CLASS class_8829 Command
METHOD method_54257 (Ljava/util/Collection;Lnet/minecraft/class_2168;ILjava/lang/String;Lnet/minecraft/class_8854;I)V
ARG 4 vm
ARG 5 depth
6 changes: 3 additions & 3 deletions mappings/net/minecraft/server/command/ExecuteCommand.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ CLASS net/minecraft/class_3050 net/minecraft/server/command/ExecuteCommand
METHOD method_54263 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 function
ARG 1 message
METHOD method_54264 (Ljava/util/List;Ljava/util/function/Function;Ljava/util/function/IntPredicate;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_2487;Lnet/minecraft/class_8855;Lnet/minecraft/class_3050$class_8830;Z)V
METHOD method_54264 enqueueExecutions (Ljava/util/List;Ljava/util/function/Function;Ljava/util/function/IntPredicate;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_2487;Lnet/minecraft/class_8855;Lnet/minecraft/class_3050$class_8830;Z)V
ARG 0 sources
ARG 1 sourceTransformer
ARG 2 resultPredicate
Expand All @@ -273,7 +273,7 @@ CLASS net/minecraft/class_3050 net/minecraft/server/command/ExecuteCommand
METHOD method_54265 createExecutionSource (Ljava/util/function/Function;Ljava/util/function/IntPredicate;Ljava/util/List;Lnet/minecraft/class_8839;Z)Lnet/minecraft/class_8839;
ARG 0 sourceTransformer
ARG 1 resultPredicate
ARG 2 sources
ARG 2 successesOut
ARG 3 currentSource
ARG 4 singleFunction
METHOD method_54266 (Ljava/util/function/IntPredicate;Ljava/util/List;Lnet/minecraft/class_8839;I)V
Expand All @@ -289,7 +289,7 @@ CLASS net/minecraft/class_3050 net/minecraft/server/command/ExecuteCommand
CLASS class_8830
METHOD get (Lcom/mojang/brigadier/context/CommandContext;)Ljava/lang/Object;
ARG 1 context
CLASS class_8831
CLASS class_8831 IfUnlessRedirector
FIELD field_46643 predicate Ljava/util/function/IntPredicate;
METHOD <init> (Z)V
ARG 1 positive
7 changes: 5 additions & 2 deletions mappings/net/minecraft/server/command/FunctionCommand.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,21 @@ CLASS net/minecraft/class_3062 net/minecraft/server/command/FunctionCommand
METHOD method_54274 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 argument
ARG 1 argument2
METHOD method_54275 (Ljava/util/Collection;Lnet/minecraft/class_2487;Lnet/minecraft/class_8839;Lnet/minecraft/class_8839;Lnet/minecraft/class_8855;Lnet/minecraft/class_3062$class_8832;)V
METHOD method_54275 enqueueAction (Ljava/util/Collection;Lnet/minecraft/class_2487;Lnet/minecraft/class_8839;Lnet/minecraft/class_8839;Lnet/minecraft/class_8855;Lnet/minecraft/class_3062$class_8832;)V
ARG 0 commandFunctions
ARG 1 args
ARG 2 source
ARG 3 functionSource
ARG 4 control
ARG 5 resultConsumer
METHOD method_54276 (Lorg/apache/commons/lang3/mutable/MutableInt;Lnet/minecraft/class_3062$class_8832;Lnet/minecraft/class_8839;Lnet/minecraft/class_2960;I)V
ARG 4 result
CLASS class_8832 ResultConsumer
METHOD method_54280 accept (Ljava/lang/Object;Lnet/minecraft/class_2960;I)V
ARG 1 source
ARG 2 id
ARG 3 result
CLASS class_8833
CLASS class_8833 Command
METHOD method_54277 getArguments (Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_2487;
ARG 1 context
METHOD method_54282 (Lcom/mojang/datafixers/util/Either;)Ljava/util/Collection;
Expand Down
3 changes: 2 additions & 1 deletion mappings/net/minecraft/server/command/ReturnCommand.mapping
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
CLASS net/minecraft/class_8503 net/minecraft/server/command/ReturnCommand
METHOD method_51277 register (Lcom/mojang/brigadier/CommandDispatcher;)V
ARG 0 dispatcher
CLASS class_8834
CLASS class_8834 ReturnRunRedirector
METHOD method_54287 (Lnet/minecraft/class_8855;Lnet/minecraft/class_8839;)Lnet/minecraft/class_8839;
ARG 1 source
METHOD method_54288 (Lnet/minecraft/class_8855;Lnet/minecraft/class_8839;ZI)V
ARG 1 source
ARG 2 success
ARG 3 result
CLASS class_8835 Command
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CLASS net/minecraft/class_2991 net/minecraft/server/function/CommandFunctionMana
COMMENT @see #execute(CommandFunction, ServerCommandSource, Tracer, NbtCompound)
ARG 1 function
COMMENT the function
ARG 2 source
METHOD method_12905 getFunction (Lnet/minecraft/class_2960;)Ljava/util/Optional;
ARG 1 id
METHOD method_18699 tick ()V
Expand All @@ -52,3 +53,5 @@ CLASS net/minecraft/class_2991 net/minecraft/server/function/CommandFunctionMana
METHOD method_29464 getFunctionTags ()Ljava/lang/Iterable;
METHOD method_29773 load (Lnet/minecraft/class_5349;)V
ARG 1 loader
METHOD method_54252 (Lnet/minecraft/class_8868;Lnet/minecraft/class_2168;Lnet/minecraft/class_8854;)V
ARG 2 vm

0 comments on commit 7af25dd

Please sign in to comment.