mirror of https://github.com/FabricMC/yarn.git
Finish the stuff (mostly)
This commit is contained in:
parent
d5c92618e8
commit
e8c1d181b9
|
@ -222,7 +222,7 @@ CLASS net/minecraft/class_4970 net/minecraft/block/AbstractBlock
|
|||
FIELD field_23154 dynamicBounds Z
|
||||
COMMENT Whether this block's collision shape can change.
|
||||
COMMENT
|
||||
COMMENT @see #hasDynamicBounds
|
||||
COMMENT @see Block#hasDynamicBounds
|
||||
FIELD field_23155 settings Lnet/minecraft/class_4970$class_2251;
|
||||
COMMENT The {@link AbstractBlock.Settings} to apply to this block.
|
||||
FIELD field_23156 lootTableId Lnet/minecraft/class_2960;
|
||||
|
|
|
@ -59,7 +59,7 @@ CLASS net/minecraft/class_5620 net/minecraft/block/cauldron/CauldronBehavior
|
|||
FIELD field_27781 CLEAN_BANNER Lnet/minecraft/class_5620;
|
||||
COMMENT A behavior that cleans banners with patterns.
|
||||
FIELD field_27782 CLEAN_DYEABLE_ITEM Lnet/minecraft/class_5620;
|
||||
COMMENT A behavior that cleans {@linkplain net.minecraft.item.DyeableItem dyeable items}.
|
||||
COMMENT A behavior that cleans dyeable items.
|
||||
FIELD field_28011 POWDER_SNOW_CAULDRON_BEHAVIOR Lnet/minecraft/class_5620$class_8821;
|
||||
COMMENT The cauldron behaviors for powder snow cauldrons.
|
||||
COMMENT
|
||||
|
|
|
@ -84,7 +84,7 @@ CLASS net/minecraft/class_7530 net/minecraft/client/gui/EditBox
|
|||
METHOD method_44420 replaceSelection (Ljava/lang/String;)V
|
||||
COMMENT Replaces the current selection with {@code string}. If there is no
|
||||
COMMENT selection, this inserts the string at the cursor position. This removes
|
||||
COMMENT {@linkplain net.minecraft.SharedConstants#isValidChar invalid characters} and truncates
|
||||
COMMENT {@linkplain net.minecraft.util.StringHelper#isValidChar invalid characters} and truncates
|
||||
COMMENT the passed string if necessary.
|
||||
ARG 1 string
|
||||
METHOD method_44421 getText ()Ljava/lang/String;
|
||||
|
|
|
@ -54,6 +54,14 @@ CLASS net/minecraft/class_370 net/minecraft/client/toast/SystemToast
|
|||
ARG 0 manager
|
||||
ARG 1 type
|
||||
METHOD method_55508 hide ()V
|
||||
METHOD method_57723 addLowDiskSpace (Lnet/minecraft/class_310;)V
|
||||
ARG 0 client
|
||||
METHOD method_57724 addChunkLoadFailure (Lnet/minecraft/class_310;Lnet/minecraft/class_1923;)V
|
||||
ARG 0 client
|
||||
ARG 1 pos
|
||||
METHOD method_57725 addChunkSaveFailure (Lnet/minecraft/class_310;Lnet/minecraft/class_1923;)V
|
||||
ARG 0 client
|
||||
ARG 1 pos
|
||||
CLASS class_9037 Type
|
||||
FIELD field_47583 NARRATOR_TOGGLE Lnet/minecraft/class_370$class_9037;
|
||||
FIELD field_47584 WORLD_BACKUP Lnet/minecraft/class_370$class_9037;
|
||||
|
@ -63,5 +71,8 @@ CLASS net/minecraft/class_370 net/minecraft/client/toast/SystemToast
|
|||
FIELD field_47588 PERIODIC_NOTIFICATION Lnet/minecraft/class_370$class_9037;
|
||||
FIELD field_47589 UNSECURE_SERVER_WARNING Lnet/minecraft/class_370$class_9037;
|
||||
FIELD field_47590 displayDuration J
|
||||
FIELD field_49487 LOW_DISK_SPACE Lnet/minecraft/class_370$class_9037;
|
||||
FIELD field_49488 CHUNK_LOAD_FAILURE Lnet/minecraft/class_370$class_9037;
|
||||
FIELD field_49489 CHUNK_SAVE_FAILURE Lnet/minecraft/class_370$class_9037;
|
||||
METHOD <init> (J)V
|
||||
ARG 1 displayDuration
|
||||
|
|
|
@ -20,7 +20,7 @@ CLASS net/minecraft/class_1890 net/minecraft/enchantment/EnchantmentHelper
|
|||
ARG 0 entity
|
||||
METHOD method_49189 hasSilkTouch (Lnet/minecraft/class_1799;)Z
|
||||
ARG 0 stack
|
||||
METHOD method_57529 hasEnchamtments (Lnet/minecraft/class_1799;)Z
|
||||
METHOD method_57529 hasEnchantments (Lnet/minecraft/class_1799;)Z
|
||||
ARG 0 stack
|
||||
METHOD method_57530 set (Lnet/minecraft/class_1799;Lnet/minecraft/class_9304;)V
|
||||
ARG 0 stack
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
CLASS net/minecraft/class_9315 net/minecraft/entity/ai/pathing/PathNodeTypeCache
|
||||
FIELD field_49419 positions [J
|
||||
FIELD field_49420 cache [Lnet/minecraft/class_7;
|
||||
METHOD method_57616 get (IJ)Lnet/minecraft/class_7;
|
||||
ARG 1 index
|
||||
ARG 2 pos
|
||||
METHOD method_57617 hash (J)I
|
||||
ARG 0 pos
|
||||
METHOD method_57618 add (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_7;
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
METHOD method_57619 compute (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;IJ)Lnet/minecraft/class_7;
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
ARG 3 index
|
||||
ARG 4 longPos
|
||||
METHOD method_57620 invalidate (Lnet/minecraft/class_2338;)V
|
||||
ARG 1 pos
|
|
@ -21,11 +21,11 @@ CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories
|
|||
COMMENT Writes the inventory to {@code nbt}. This method will always write to the NBT,
|
||||
COMMENT even if {@code stacks} only contains empty stacks.
|
||||
COMMENT
|
||||
COMMENT <p>See {@link #writeNbt(NbtCompound, DefaultedList, boolean)} for the serialization
|
||||
COMMENT format.
|
||||
COMMENT <p>See {@link #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)}
|
||||
COMMENT for the serialization format.
|
||||
COMMENT
|
||||
COMMENT @see #readNbt(NbtCompound, DefaultedList)
|
||||
COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean)
|
||||
COMMENT @see #readNbt(NbtCompound, DefaultedList, RegistryWrapper.WrapperLookup)
|
||||
COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)
|
||||
COMMENT @return the passed {@code nbt}
|
||||
ARG 0 nbt
|
||||
ARG 1 stacks
|
||||
|
@ -42,7 +42,7 @@ CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories
|
|||
COMMENT then {@code nbt} will not be modified at all. Otherwise, the {@code Items} entry
|
||||
COMMENT will always be present.
|
||||
COMMENT
|
||||
COMMENT @see #readNbt(NbtCompound, DefaultedList)
|
||||
COMMENT @see #readNbt(NbtCompound, DefaultedList, RegistryWrapper.WrapperLookup)
|
||||
COMMENT @return the passed {@code nbt}
|
||||
ARG 0 nbt
|
||||
ARG 1 stacks
|
||||
|
@ -62,11 +62,11 @@ CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories
|
|||
METHOD method_5429 readNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;Lnet/minecraft/class_7225$class_7874;)V
|
||||
COMMENT Reads {@code nbt} and sets the elements of {@code stacks} accordingly.
|
||||
COMMENT
|
||||
COMMENT <p>See {@link #writeNbt(NbtCompound, DefaultedList, boolean)} for the serialization
|
||||
COMMENT format. If the slot is out of bounds, it is ignored.
|
||||
COMMENT <p>See {@link #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)}
|
||||
COMMENT for the serialization format. If the slot is out of bounds, it is ignored.
|
||||
COMMENT
|
||||
COMMENT @see #writeNbt(NbtCompound, DefaultedList)
|
||||
COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean)
|
||||
COMMENT @see #writeNbt(NbtCompound, DefaultedList, RegistryWrapper.WrapperLookup)
|
||||
COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)
|
||||
ARG 0 nbt
|
||||
ARG 1 stacks
|
||||
ARG 2 registries
|
||||
|
|
|
@ -71,9 +71,9 @@ CLASS net/minecraft/class_1277 net/minecraft/inventory/SimpleInventory
|
|||
ARG 1 list
|
||||
ARG 2 registries
|
||||
METHOD method_7660 toNbtList (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2499;
|
||||
COMMENT {@return an NBT list of non-empty {@linkplain ItemStack#writeNbt item stacks}}
|
||||
COMMENT {@return an NBT list of non-empty {@linkplain ItemStack#encode(RegistryWrapper.WrapperLookup) item stacks}}
|
||||
COMMENT
|
||||
COMMENT <p>Unlike {@link Inventories#writeNbt(NbtCompound, DefaultedList, boolean)},
|
||||
COMMENT <p>Unlike {@link Inventories#writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)},
|
||||
COMMENT this does not serialize the slots.
|
||||
COMMENT
|
||||
COMMENT @see #readNbtList
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
||||
COMMENT Represents a stack of items. This is a data container that holds the item count
|
||||
COMMENT and the stack's NBT. Logics for items (such as the action for using it) are delegated
|
||||
COMMENT and the stack's components. Logics for items (such as the action for using it) are delegated
|
||||
COMMENT to the stack's logic container, {@link Item}. Instances can be created using one of
|
||||
COMMENT the constructors and are usually stored in an {@link net.minecraft.inventory.Inventory}.
|
||||
COMMENT
|
||||
|
@ -19,7 +19,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT
|
||||
COMMENT <h3>NBT serialization</h3>
|
||||
COMMENT
|
||||
COMMENT An Item Stack can be serialized with {@link #writeNbt(NbtCompound)}, and deserialized with {@link #fromNbt(NbtCompound)}.
|
||||
COMMENT An Item Stack can be serialized with {@link #encode(RegistryWrapper.WrapperLookup)}, and deserialized with {@link #fromNbt(RegistryWrapper.WrapperLookup, NbtCompound)}.
|
||||
COMMENT
|
||||
COMMENT <div class="fabric">
|
||||
COMMENT <table border=1>
|
||||
|
@ -31,52 +31,10 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT <td>{@code id}</td><td>{@link net.minecraft.nbt.NbtString}</td><td>The identifier of the item.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>{@code Count}</td><td>{@link net.minecraft.nbt.NbtByte}</td><td>The count of items in the stack.</td>
|
||||
COMMENT <td>{@code count}</td><td>{@link net.minecraft.nbt.NbtInt}</td><td>The count of items in the stack.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>{@code tag}</td><td>{@link NbtCompound}</td><td>The item stack's custom NBT.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT </table>
|
||||
COMMENT </div>
|
||||
COMMENT
|
||||
COMMENT <h3>Custom NBT</h3>
|
||||
COMMENT
|
||||
COMMENT The item stack's custom NBT may be used to store extra information,
|
||||
COMMENT like the block entity data for shulker boxes,
|
||||
COMMENT or the damage of a damageable item, etc.
|
||||
COMMENT <p>
|
||||
COMMENT Various methods are available to interact with the custom NBT, some methods might refer to a "sub NBT",
|
||||
COMMENT a sub NBT is a child element of the custom NBT.
|
||||
COMMENT
|
||||
COMMENT <div class="fabric">
|
||||
COMMENT <table border=1>
|
||||
COMMENT <caption>Custom NBT operations</caption>
|
||||
COMMENT <tr>
|
||||
COMMENT <th>Category</th><th>Method</th><th>Summary</th>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Custom NBT</td><td>{@link #hasNbt()}</td><td>Returns whether the item stack has custom NBT.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Custom NBT</td><td>{@link #getNbt()}</td><td>Returns the custom NBT of the item stack.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Custom NBT</td><td>{@link #getOrCreateNbt()}</td><td>Returns the custom NBT of the item stack, or creates one if absent, mutating the stack.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Custom NBT</td><td>{@link #setNbt(NbtCompound)}</td><td>Sets the custom NBT of the item stack.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Sub Custom NBT</td><td>{@link #getSubNbt(String)}</td><td>Returns the sub NBT compound at the specified key.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Sub Custom NBT</td><td>{@link #getOrCreateSubNbt(String)}</td><td>Returns the sub NBT compound at the specified key, or create one if absent, mutating the stack.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Sub Custom NBT</td><td>{@link #removeSubNbt(String)}</td><td>Removes the sub NBT element at the specified key.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>Sub Custom NBT</td><td>{@link #setSubNbt(String, NbtElement)}</td><td>Sets the sub NBT element at the specified key.</td>
|
||||
COMMENT <td>{@code components}</td><td>{@link ComponentChanges}</td><td>The item stack's components.</td>
|
||||
COMMENT </tr>
|
||||
COMMENT </table>
|
||||
COMMENT </div>
|
||||
|
@ -248,6 +206,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
ARG 2 attributeModifierConsumer
|
||||
METHOD method_57355 hashCode (Lnet/minecraft/class_1799;)I
|
||||
ARG 0 stack
|
||||
METHOD method_57356 (Lnet/minecraft/class_1887;ILnet/minecraft/class_9304$class_9305;)V
|
||||
ARG 2 builder
|
||||
METHOD method_57357 canPlaceOn (Lnet/minecraft/class_2694;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_57358 encode (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2520;
|
||||
|
@ -340,9 +300,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
METHOD method_7919 getDamage ()I
|
||||
COMMENT {@return the damage (lost durability) of the item stack}
|
||||
COMMENT
|
||||
COMMENT <p>The damage is stored in NBT under {@value #DAMAGE_KEY} key. Note that this method
|
||||
COMMENT does not check if the item is {@linkplain #isDamageable damageable}, unlike {@link
|
||||
COMMENT #isDamaged}.
|
||||
COMMENT <p>Note that this method does not check if the item is {@linkplain #isDamageable
|
||||
COMMENT damageable}, unlike {@link #isDamaged}.
|
||||
COMMENT
|
||||
COMMENT @see #isDamageable
|
||||
COMMENT @see #isDamaged
|
||||
|
@ -381,9 +340,10 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT {@return whether the item stack has any enchantments}
|
||||
COMMENT
|
||||
COMMENT <p>This will return {@code false} for enchanted books, as the book itself is not
|
||||
COMMENT enchanted and therefore does not store enchantments under {@value #ENCHANTMENTS_KEY} key.
|
||||
COMMENT enchanted and therefore does not store enchantments under {@link
|
||||
COMMENT net.minecraft.component.DataComponentTypes#ENCHANTMENTS}.
|
||||
COMMENT
|
||||
COMMENT @see #getEnchantments
|
||||
COMMENT @see net.minecraft.enchantment.EnchantmentHelper#getEnchantments
|
||||
METHOD method_7945 getFrame ()Lnet/minecraft/class_1533;
|
||||
COMMENT {@return the item frame that holds the stack, or {@code null} if inapplicable}
|
||||
COMMENT
|
||||
|
@ -451,13 +411,12 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
METHOD method_7963 isDamageable ()Z
|
||||
COMMENT {@return whether the item can be damaged (lose durability)}
|
||||
COMMENT
|
||||
COMMENT <p>Items with {@linkplain Item#getMaxDamage 0 max damage} or item stacks with {@value
|
||||
COMMENT #UNBREAKABLE_KEY} NBT set to {@code 1b} cannot be damaged.
|
||||
COMMENT <p>Items with {@linkplain Item#getMaxDamage 0 max damage} or item stacks with {@link
|
||||
COMMENT net.minecraft.component.DataComponentTypes#UNBREAKABLE} component cannot be damaged.
|
||||
COMMENT
|
||||
COMMENT @see Item#getMaxDamage
|
||||
COMMENT @see #isDamaged
|
||||
COMMENT @see #getDamage
|
||||
COMMENT @see #isUnbreakable
|
||||
METHOD method_7964 getName ()Lnet/minecraft/class_2561;
|
||||
COMMENT {@return the custom name of the stack if it exists, or the item's name}
|
||||
METHOD method_7965 getBobbingAnimationTime ()I
|
||||
|
@ -531,7 +490,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT Enchants this item with the given enchantment and level.
|
||||
COMMENT
|
||||
COMMENT <p>This should not be used with enchanted books, as the book itself is not
|
||||
COMMENT enchanted and therefore does not store enchantments under {@value #ENCHANTMENTS_KEY} key.
|
||||
COMMENT enchanted and therefore does not store enchantments under {@link
|
||||
COMMENT net.minecraft.component.DataComponentTypes#ENCHANTMENTS}.
|
||||
COMMENT
|
||||
COMMENT @see net.minecraft.enchantment.EnchantmentHelper
|
||||
ARG 1 enchantment
|
||||
|
|
|
@ -72,15 +72,6 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf
|
|||
COMMENT <td>{@link UUID}</td><td>{@link #readUuid()}</td><td>{@link #writeUuid(UUID)}</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>{@index GameProfile}</td><td>{@link #readGameProfile()}</td><td>{@link #writeGameProfile(GameProfile)}</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>{@index Property}</td><td>{@link #readProperty()}</td><td>{@link #writeProperty(Property)}</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>{@index PropertyMap}</td><td>{@link #readPropertyMap()}</td><td>{@link #writePropertyMap(PropertyMap)}</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>{@link NbtCompound}</td><td>{@link #readNbt()}</td><td>{@link #writeNbt(NbtCompound)}</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
|
@ -116,9 +107,6 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf
|
|||
COMMENT <tr>
|
||||
COMMENT <td>Nullable value</td><td>{@link #readNullable(PacketByteBuf.PacketReader)}</td><td>{@link #writeNullable(Object, PacketByteBuf.PacketWriter)}</td>
|
||||
COMMENT </tr>
|
||||
COMMENT <tr>
|
||||
COMMENT <td>{@index Either}</td><td>{@link #readEither(PacketByteBuf.PacketReader, PacketByteBuf.PacketReader)}</td><td>{@link #writeEither(Either, PacketByteBuf.PacketWriter, PacketByteBuf.PacketWriter)}</td>
|
||||
COMMENT </tr>
|
||||
COMMENT </table></div>
|
||||
COMMENT
|
||||
COMMENT <p>All {@code read} and {@code write} methods throw {@link
|
||||
|
|
|
@ -6,7 +6,7 @@ CLASS net/minecraft/class_2797 net/minecraft/network/packet/c2s/play/ChatMessage
|
|||
COMMENT 256 characters, it will reject the message and disconnect the client.
|
||||
COMMENT
|
||||
COMMENT <p>If the message contains an invalid character (see {@link
|
||||
COMMENT net.minecraft.SharedConstants#isValidChar}) or if the server
|
||||
COMMENT net.minecraft.util.StringHelper#isValidChar}) or if the server
|
||||
COMMENT receives the messages in improper order. the server will
|
||||
COMMENT reject the message and disconnect the client.
|
||||
COMMENT
|
||||
|
|
|
@ -6,7 +6,7 @@ CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExec
|
|||
COMMENT it will reject the message and disconnect the client.
|
||||
COMMENT
|
||||
COMMENT <p>If the command contains an invalid character (see {@link
|
||||
COMMENT net.minecraft.SharedConstants#isValidChar}) or if the server receives
|
||||
COMMENT net.minecraft.util.StringHelper#isValidChar}) or if the server receives
|
||||
COMMENT the commands in improper order, the server will reject the command and disconnect
|
||||
COMMENT the client.
|
||||
COMMENT
|
||||
|
|
|
@ -34,6 +34,8 @@ CLASS net/minecraft/class_6903 net/minecraft/registry/RegistryOps
|
|||
METHOD method_56622 withRegistry (Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_7225$class_7874;)Lcom/mojang/serialization/Dynamic;
|
||||
ARG 0 dynamic
|
||||
ARG 1 registryLookup
|
||||
METHOD method_57110 withDelegate (Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903;
|
||||
ARG 1 delegate
|
||||
CLASS 1
|
||||
FIELD field_40854 registryRefToInfo Ljava/util/Map;
|
||||
CLASS 2
|
||||
|
|
|
@ -25,3 +25,9 @@ CLASS net/minecraft/class_3091 net/minecraft/server/command/PlaySoundCommand
|
|||
ARG 7 minVolume
|
||||
METHOD method_13505 (Lnet/minecraft/class_3419;Lcom/mojang/brigadier/context/CommandContext;)I
|
||||
ARG 1 context
|
||||
METHOD method_57111 toList (Lnet/minecraft/class_3222;)Ljava/util/Collection;
|
||||
ARG 0 player
|
||||
METHOD method_57112 (Lcom/mojang/brigadier/context/CommandContext;)I
|
||||
ARG 0 context
|
||||
METHOD method_57113 (Lnet/minecraft/class_3419;Lcom/mojang/brigadier/context/CommandContext;)I
|
||||
ARG 1 context
|
||||
|
|
|
@ -16,3 +16,7 @@ CLASS net/minecraft/class_6608 net/minecraft/server/command/ResetChunksCommand
|
|||
ARG 0 context
|
||||
METHOD method_39500 (Lcom/mojang/brigadier/context/CommandContext;)I
|
||||
ARG 0 context
|
||||
METHOD method_57114 (Lnet/minecraft/class_2806;Lnet/minecraft/class_2791;)Lcom/mojang/datafixers/util/Unit;
|
||||
ARG 1 chunk
|
||||
METHOD method_57115 (Lnet/minecraft/class_2806;Lnet/minecraft/class_9312;Lnet/minecraft/class_3846;Ljava/util/List;Lcom/mojang/datafixers/util/Unit;)Ljava/util/concurrent/CompletionStage;
|
||||
ARG 4 unit
|
||||
|
|
|
@ -136,6 +136,10 @@ CLASS net/minecraft/class_4527 net/minecraft/server/command/TestCommand
|
|||
ARG 1 pos
|
||||
METHOD method_57106 (Lnet/minecraft/class_1297;)V
|
||||
ARG 0 entity
|
||||
METHOD method_57963 (Lcom/mojang/brigadier/context/CommandContext;)I
|
||||
ARG 0 context
|
||||
METHOD method_57964 (Lcom/mojang/brigadier/context/CommandContext;)I
|
||||
ARG 0 context
|
||||
CLASS class_4528 Listener
|
||||
FIELD comp_2216 world Lnet/minecraft/class_3218;
|
||||
FIELD comp_2217 tests Lnet/minecraft/class_4524;
|
||||
|
|
|
@ -14,8 +14,14 @@ CLASS net/minecraft/class_9123 net/minecraft/server/command/TestFinder
|
|||
METHOD method_56306 createRunner ()Ljava/lang/Object;
|
||||
CLASS class_9124 Runners
|
||||
FIELD field_48513 runnerFactory Ljava/util/function/Function;
|
||||
FIELD field_49663 testFunctionsSupplierMapper Ljava/util/function/UnaryOperator;
|
||||
FIELD field_49664 structurePosSupplierMapper Ljava/util/function/UnaryOperator;
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
ARG 1 runnerFactory
|
||||
METHOD <init> (Ljava/util/function/Function;Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)V
|
||||
ARG 1 runnerFactory
|
||||
ARG 2 testFunctionsSupplierMapper
|
||||
ARG 3 structurePosSupplierMapper
|
||||
METHOD method_56309 nearest (Lcom/mojang/brigadier/context/CommandContext;)Ljava/lang/Object;
|
||||
ARG 1 context
|
||||
METHOD method_56310 surface (Lcom/mojang/brigadier/context/CommandContext;I)Ljava/lang/Object;
|
||||
|
@ -40,3 +46,17 @@ CLASS net/minecraft/class_9123 net/minecraft/server/command/TestFinder
|
|||
ARG 1 context
|
||||
METHOD method_56324 failed (Lcom/mojang/brigadier/context/CommandContext;)Ljava/lang/Object;
|
||||
ARG 1 context
|
||||
METHOD method_57965 repeat (I)Lnet/minecraft/class_9123$class_9124;
|
||||
ARG 1 count
|
||||
METHOD method_57966 (ILjava/util/function/Supplier;)Ljava/util/function/Supplier;
|
||||
ARG 1 supplier
|
||||
METHOD method_57967 createRunner (Lnet/minecraft/class_2168;Lnet/minecraft/class_9125;Lnet/minecraft/class_9119;)Ljava/lang/Object;
|
||||
ARG 1 source
|
||||
ARG 2 testFunctionFinder
|
||||
ARG 3 structureBlockFinder
|
||||
METHOD method_57968 (Ljava/util/function/Supplier;)Ljava/util/function/Supplier;
|
||||
ARG 0 structurePosSupplier
|
||||
METHOD method_57970 repeating (I)Ljava/util/function/UnaryOperator;
|
||||
ARG 0 count
|
||||
METHOD method_57971 (Ljava/util/function/Supplier;)Ljava/util/function/Supplier;
|
||||
ARG 0 testFunctionsSupplier
|
||||
|
|
|
@ -22,3 +22,4 @@ CLASS net/minecraft/class_1132 net/minecraft/server/integrated/IntegratedServer
|
|||
ARG 1 keyPair
|
||||
METHOD method_4817 setLocalPlayerUuid (Ljava/util/UUID;)V
|
||||
ARG 1 localPlayerUuid
|
||||
METHOD method_57823 checkLowDiskSpaceWarning ()V
|
||||
|
|
|
@ -60,6 +60,57 @@ CLASS net/minecraft/class_7196 net/minecraft/server/integrated/IntegratedServerL
|
|||
METHOD method_55510 applyWorldPack (Lnet/minecraft/class_1066;Lnet/minecraft/class_32$class_5143;)Ljava/util/concurrent/CompletableFuture;
|
||||
ARG 1 loader
|
||||
ARG 2 session
|
||||
METHOD method_57773 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;)V
|
||||
ARG 1 session
|
||||
ARG 2 saveLoader
|
||||
ARG 3 dataPackManager
|
||||
METHOD method_57774 (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Lnet/minecraft/class_1066;Ljava/lang/Runnable;Z)V
|
||||
ARG 6 confirmed
|
||||
METHOD method_57775 checkBackupAndStart (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V
|
||||
ARG 1 session
|
||||
ARG 2 saveLoader
|
||||
ARG 3 dataPackManager
|
||||
ARG 4 onCancel
|
||||
METHOD method_57776 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_1066;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V
|
||||
ARG 1 session
|
||||
ARG 2 saveLoader
|
||||
ARG 3 resourcePackLoader
|
||||
ARG 4 dataPackManager
|
||||
ARG 5 onCancel
|
||||
METHOD method_57777 (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_1066;Lnet/minecraft/class_3283;Ljava/lang/Runnable;Ljava/lang/Boolean;)V
|
||||
ARG 6 successful
|
||||
METHOD method_57779 (Lnet/minecraft/class_32$class_5143;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;ZZ)V
|
||||
ARG 4 backup
|
||||
ARG 5 eraseCache
|
||||
METHOD method_57780 start (Lnet/minecraft/class_32$class_5143;Lcom/mojang/serialization/Dynamic;ZLjava/lang/Runnable;)V
|
||||
ARG 1 session
|
||||
ARG 2 levelProperties
|
||||
ARG 3 safeMode
|
||||
ARG 4 onCancel
|
||||
METHOD method_57781 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_34;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V
|
||||
ARG 1 session
|
||||
ARG 2 summary
|
||||
ARG 3 levelProperties
|
||||
ARG 4 onCancel
|
||||
METHOD method_57782 start (Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;)V
|
||||
ARG 1 session
|
||||
ARG 2 onCancel
|
||||
METHOD method_57783 (Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;Z)V
|
||||
ARG 3 confirmed
|
||||
METHOD method_57784 start (Ljava/lang/String;Ljava/lang/Runnable;)V
|
||||
ARG 1 name
|
||||
ARG 2 onCancel
|
||||
METHOD method_57785 (Ljava/lang/Throwable;)Ljava/lang/Void;
|
||||
ARG 1 throwable
|
||||
METHOD method_57786 (Ljava/lang/Void;)Ljava/lang/Boolean;
|
||||
ARG 0 v
|
||||
METHOD method_57787 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V
|
||||
ARG 1 session
|
||||
ARG 2 saveLoader
|
||||
ARG 3 dataPackManager
|
||||
ARG 4 onCancel
|
||||
METHOD method_57789 (Ljava/lang/Throwable;)Ljava/util/concurrent/CompletionStage;
|
||||
ARG 1 throwable
|
||||
CLASS class_7750 CurrentSettings
|
||||
FIELD comp_1031 levelInfo Lnet/minecraft/class_1940;
|
||||
FIELD comp_1033 existingDimensionRegistry Lnet/minecraft/class_2378;
|
||||
|
|
|
@ -98,6 +98,7 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
|
|||
METHOD method_31277 filterText (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
|
||||
ARG 1 text
|
||||
METHOD method_31278 updateBookContent (Ljava/util/List;I)V
|
||||
ARG 1 pages
|
||||
ARG 2 slotId
|
||||
METHOD method_31279 filterTexts (Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
|
||||
ARG 1 texts
|
||||
|
@ -110,6 +111,8 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
|
|||
ARG 1 filtered
|
||||
METHOD method_31285 (Lnet/minecraft/class_2877;Ljava/util/List;)V
|
||||
ARG 2 texts
|
||||
METHOD method_33799 (Lnet/minecraft/class_5837;)Lnet/minecraft/class_9262;
|
||||
ARG 1 page
|
||||
METHOD method_34882 clampHorizontal (D)D
|
||||
ARG 0 d
|
||||
METHOD method_34883 clampVertical (D)D
|
||||
|
@ -169,6 +172,8 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
|
|||
METHOD method_52415 cleanUp ()V
|
||||
METHOD method_56922 getMaxAllowedFloatingTicks (Lnet/minecraft/class_1297;)I
|
||||
ARG 1 vehicle
|
||||
METHOD method_57142 toRawFilteredPair (Lnet/minecraft/class_5837;)Lnet/minecraft/class_9262;
|
||||
ARG 1 message
|
||||
CLASS 1
|
||||
METHOD method_33897 processInteract (Lnet/minecraft/class_1268;Lnet/minecraft/class_3244$class_5860;)V
|
||||
ARG 1 hand
|
||||
|
|
|
@ -107,6 +107,9 @@ CLASS net/minecraft/class_3193 net/minecraft/server/world/ChunkHolder
|
|||
ARG 1 postProcessingFuture
|
||||
METHOD method_53681 getPostProcessingFuture ()Ljava/util/concurrent/CompletableFuture;
|
||||
METHOD method_53682 getPostProcessedChunk ()Lnet/minecraft/class_2818;
|
||||
METHOD method_57116 (Lnet/minecraft/class_2791;Lnet/minecraft/class_9259;)Lnet/minecraft/class_2791;
|
||||
ARG 0 chunk
|
||||
ARG 1 otherChunk
|
||||
CLASS class_3896 LevelUpdateListener
|
||||
METHOD method_17209 updateLevel (Lnet/minecraft/class_1923;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)V
|
||||
ARG 1 pos
|
||||
|
|
|
@ -75,6 +75,8 @@ CLASS net/minecraft/class_3204 net/minecraft/server/world/ChunkTicketManager
|
|||
ARG 2 pos
|
||||
ARG 3 radius
|
||||
ARG 4 argument
|
||||
METHOD method_17642 (JLnet/minecraft/class_9259;)V
|
||||
ARG 3 optionalChunk
|
||||
METHOD method_17645 removeTicket (JLnet/minecraft/class_3228;)V
|
||||
ARG 1 pos
|
||||
ARG 3 ticket
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
CLASS net/minecraft/class_9259 net/minecraft/server/world/OptionalChunk
|
||||
METHOD method_57122 isPresent ()Z
|
||||
METHOD method_57123 orElse (Lnet/minecraft/class_9259;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
ARG 0 optionalChunk
|
||||
ARG 1 other
|
||||
METHOD method_57124 of (Ljava/lang/Object;)Lnet/minecraft/class_9259;
|
||||
ARG 0 chunk
|
||||
METHOD method_57125 of (Ljava/lang/String;)Lnet/minecraft/class_9259;
|
||||
ARG 0 error
|
||||
METHOD method_57126 ifPresent (Ljava/util/function/Consumer;)Lnet/minecraft/class_9259;
|
||||
ARG 1 callback
|
||||
METHOD method_57127 map (Ljava/util/function/Function;)Lnet/minecraft/class_9259;
|
||||
ARG 1 mapper
|
||||
METHOD method_57128 of (Ljava/util/function/Supplier;)Lnet/minecraft/class_9259;
|
||||
ARG 0 error
|
||||
METHOD method_57129 getError ()Ljava/lang/String;
|
||||
METHOD method_57130 orElse (Ljava/lang/Object;)Ljava/lang/Object;
|
||||
ARG 1 other
|
||||
METHOD method_57132 orElseThrow (Ljava/util/function/Supplier;)Ljava/lang/Object;
|
||||
ARG 1 exceptionSupplier
|
||||
CLASS class_9260 LoadFailure
|
||||
CLASS class_9261 ActualChunk
|
|
@ -36,6 +36,7 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
|
|||
FIELD field_41751 THUNDER_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017;
|
||||
FIELD field_44857 randomSequences Lnet/minecraft/class_8565;
|
||||
FIELD field_48271 spawnChunkRadius I
|
||||
FIELD field_49172 pathNodeTypeCache Lnet/minecraft/class_9315;
|
||||
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5268;Lnet/minecraft/class_5321;Lnet/minecraft/class_5363;Lnet/minecraft/class_3949;ZJLjava/util/List;ZLnet/minecraft/class_8565;)V
|
||||
ARG 1 server
|
||||
ARG 2 workerExecutor
|
||||
|
@ -389,6 +390,7 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
|
|||
METHOD method_52168 getRandomSequences ()Lnet/minecraft/class_8565;
|
||||
METHOD method_52370 tickIceAndSnow (Lnet/minecraft/class_2338;)V
|
||||
ARG 1 pos
|
||||
METHOD method_57133 getPathNodeTypeCache ()Lnet/minecraft/class_9315;
|
||||
METHOD method_8448 updateSleepingPlayers ()V
|
||||
METHOD method_8487 locateStructure (Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
|
||||
COMMENT Tries to find the closest structure of a given type near a given block.
|
||||
|
|
|
@ -134,7 +134,7 @@ CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage
|
|||
METHOD method_54547 levelDatExists ()Z
|
||||
METHOD method_54548 tryRestoreBackup ()Z
|
||||
METHOD method_57628 getUsableSpace ()J
|
||||
METHOD method_57629 shouldShowUsableSpaceWarning ()Z
|
||||
METHOD method_57629 shouldShowLowDiskSpaceWarning ()Z
|
||||
CLASS 1
|
||||
METHOD postVisitDirectory (Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
|
||||
ARG 1 path
|
||||
|
|
Loading…
Reference in New Issue