mirror of https://github.com/FabricMC/yarn.git
Rename several methods to be suffixed (#222)
* Rename several methods to be suffixed * Remove "Server" from various ServerCommandSource methods
This commit is contained in:
parent
07ea2e1ebb
commit
9104e89be3
|
@ -1,4 +1,4 @@
|
|||
CLASS dbp net/minecraft/client/hotbar/HotbarEntry
|
||||
FIELD a delegate Lfh;
|
||||
METHOD a toTagList ()Lhv;
|
||||
METHOD a fromTagList (Lhv;)V
|
||||
METHOD a toListTag ()Lhv;
|
||||
METHOD a fromListTag (Lhv;)V
|
||||
|
|
|
@ -11,4 +11,4 @@ CLASS kb net/minecraft/client/network/packet/BlockEntityUpdateClientPacket
|
|||
METHOD b getPos ()Let;
|
||||
METHOD b write (Liq;)V
|
||||
METHOD c getActionId ()I
|
||||
METHOD d getTagCompound ()Lhp;
|
||||
METHOD d getCompoundTag ()Lhp;
|
||||
|
|
|
@ -138,8 +138,8 @@ CLASS agi net/minecraft/entity/Entity
|
|||
METHOD a playSoundAtEntity (Lxf;FF)V
|
||||
ARG 1 sound
|
||||
ARG 2 volume
|
||||
METHOD a toTagList ([D)Lhv;
|
||||
METHOD a toTagList ([F)Lhv;
|
||||
METHOD a toListTag ([D)Lhv;
|
||||
METHOD a toListTag ([F)Lhv;
|
||||
METHOD aA getLightmapCoordinates ()I
|
||||
METHOD aD doesCollide ()Z
|
||||
METHOD aF shouldSetPositionOnLoad ()Z
|
||||
|
|
|
@ -67,7 +67,7 @@ CLASS avs net/minecraft/item/ItemStack
|
|||
METHOD a fromTag (Lhp;)Lavs;
|
||||
ARG 0 tag
|
||||
METHOD a setDisplayName (Lja;)Lavs;
|
||||
METHOD a getOrCreateSubTagCompound (Ljava/lang/String;)Lhp;
|
||||
METHOD a getOrCreateSubCompoundTag (Ljava/lang/String;)Lhp;
|
||||
METHOD a addAttributeModifier (Ljava/lang/String;Lahh;Lagn;)V
|
||||
ARG 1 attributeName
|
||||
ARG 2 modifier
|
||||
|
@ -82,7 +82,7 @@ CLASS avs net/minecraft/item/ItemStack
|
|||
ARG 1 b
|
||||
METHOD b isEffectiveOn (Lboj;)Z
|
||||
METHOD b serialize (Lhp;)Lhp;
|
||||
METHOD b getSubTagCompound (Ljava/lang/String;)Lhp;
|
||||
METHOD b getSubCompoundTag (Ljava/lang/String;)Lhp;
|
||||
METHOD b getCustomCanPlace (Lxz;Lbon;)Z
|
||||
METHOD c getMaxAmount ()I
|
||||
METHOD c setRepairCost (I)V
|
||||
|
|
|
@ -24,8 +24,8 @@ CLASS hv net/minecraft/nbt/ListTag
|
|||
METHOD c set (ILig;)Lig;
|
||||
ARG 1 index
|
||||
METHOD d get (I)Lig;
|
||||
METHOD e getTagCompound (I)Lhp;
|
||||
METHOD f getTagList (I)Lhv;
|
||||
METHOD e getCompoundTag (I)Lhp;
|
||||
METHOD f getListTag (I)Lhv;
|
||||
METHOD g getShort (I)S
|
||||
METHOD h getInt (I)I
|
||||
METHOD i getIntArray (I)[I
|
||||
|
|
|
@ -3,7 +3,7 @@ CLASS ca net/minecraft/server/command/ServerCommandSource
|
|||
FIELD b REQUIRES_ENTITY_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
|
||||
FIELD c output Lbz;
|
||||
FIELD d position Lckp;
|
||||
FIELD e worldServer Luj;
|
||||
FIELD e world Luj;
|
||||
FIELD g name Ljava/lang/String;
|
||||
FIELD h textComponent Lja;
|
||||
FIELD i minecraftServer Lnet/minecraft/server/MinecraftServer;
|
||||
|
@ -13,13 +13,13 @@ CLASS ca net/minecraft/server/command/ServerCommandSource
|
|||
METHOD a withPosition (Lckp;)Lca;
|
||||
METHOD a withConsumer (Lcom/mojang/brigadier/ResultConsumer;)Lca;
|
||||
METHOD a sendFeedback (Lja;)V
|
||||
METHOD a withWorldServer (Luj;)Lca;
|
||||
METHOD a withWorld (Luj;)Lca;
|
||||
METHOD c getName ()Ljava/lang/String;
|
||||
METHOD d getPosition ()Lckp;
|
||||
METHOD e getWorldServer ()Luj;
|
||||
METHOD e getWorld ()Luj;
|
||||
METHOD f getEntity ()Lagi;
|
||||
METHOD g getEntityOrThrow ()Lagi;
|
||||
METHOD h getPlayerServer ()Lul;
|
||||
METHOD h getPlayer ()Lul;
|
||||
METHOD j getMinecraftServer ()Lnet/minecraft/server/MinecraftServer;
|
||||
METHOD m getTeamNames ()Ljava/util/Collection;
|
||||
METHOD n getSoundIds ()Ljava/util/Collection;
|
||||
|
|
|
@ -13,7 +13,7 @@ CLASS ih net/minecraft/sortme/JsonLikeTagParser
|
|||
FIELD l SHORT_PATTERN Ljava/util/regex/Pattern;
|
||||
FIELD m INT_PATTERN Ljava/util/regex/Pattern;
|
||||
FIELD n reader Lcom/mojang/brigadier/StringReader;
|
||||
METHOD a readTagCompound ()Lhp;
|
||||
METHOD a readCompoundTag ()Lhp;
|
||||
METHOD a expect (C)V
|
||||
METHOD a parse (Ljava/lang/String;)Lhp;
|
||||
ARG 0 string
|
||||
|
@ -22,6 +22,6 @@ CLASS ih net/minecraft/sortme/JsonLikeTagParser
|
|||
METHOD c parseTagPrimitive ()Lig;
|
||||
METHOD d parseTag ()Lig;
|
||||
METHOD e parseTagArray ()Lig;
|
||||
METHOD f parseTagCompound ()Lhp;
|
||||
METHOD g parseTagList ()Lig;
|
||||
METHOD f parseCompoundTag ()Lhp;
|
||||
METHOD g parseListTag ()Lig;
|
||||
METHOD h parseTagPrimitiveArray ()Lig;
|
||||
|
|
|
@ -4,7 +4,7 @@ CLASS iq net/minecraft/util/PacketByteBuf
|
|||
METHOD a getVarIntSizeBytes (I)I
|
||||
METHOD a writeItemStack (Lavs;)Liq;
|
||||
METHOD a writeBlockPos (Let;)Liq;
|
||||
METHOD a writeTagCompound (Lhp;)Liq;
|
||||
METHOD a writeCompoundTag (Lhp;)Liq;
|
||||
METHOD a writeTextComponent (Lja;)Liq;
|
||||
METHOD a readEnumConstant (Ljava/lang/Class;)Ljava/lang/Enum;
|
||||
METHOD a writeEnumConstant (Ljava/lang/Enum;)Liq;
|
||||
|
@ -30,7 +30,7 @@ CLASS iq net/minecraft/util/PacketByteBuf
|
|||
METHOD g readVarInt ()I
|
||||
METHOD h readVarLong ()J
|
||||
METHOD i readUuid ()Ljava/util/UUID;
|
||||
METHOD j readTagCompound ()Lhp;
|
||||
METHOD j readCompoundTag ()Lhp;
|
||||
METHOD k readItemStack ()Lavs;
|
||||
METHOD l readIdentifier ()Lpy;
|
||||
METHOD m readDate ()Ljava/util/Date;
|
||||
|
|
Loading…
Reference in New Issue