mirror of https://github.com/FabricMC/yarn.git
parent
5a1333dcbe
commit
4853f9e9cf
|
@ -64,6 +64,8 @@ CLASS net/minecraft/class_2244 net/minecraft/block/BedBlock
|
||||||
ARG 0 type
|
ARG 0 type
|
||||||
ARG 1 world
|
ARG 1 world
|
||||||
ARG 2 pos
|
ARG 2 pos
|
||||||
|
ARG 3 bedDirection
|
||||||
|
ARG 4 spawnAngle
|
||||||
METHOD method_9487 getColor ()Lnet/minecraft/class_1767;
|
METHOD method_9487 getColor ()Lnet/minecraft/class_1767;
|
||||||
METHOD method_9488 getDirectionTowardsOtherPart (Lnet/minecraft/class_2742;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350;
|
METHOD method_9488 getDirectionTowardsOtherPart (Lnet/minecraft/class_2742;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350;
|
||||||
ARG 0 part
|
ARG 0 part
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
CLASS net/minecraft/class_7714 net/minecraft/block/ChiseledBookshelfBlock
|
CLASS net/minecraft/class_7714 net/minecraft/block/ChiseledBookshelfBlock
|
||||||
|
FIELD field_41307 BOOK_HEIGHT I
|
||||||
FIELD field_41308 SLOT_OCCUPIED_PROPERTIES Ljava/util/List;
|
FIELD field_41308 SLOT_OCCUPIED_PROPERTIES Ljava/util/List;
|
||||||
|
FIELD field_41309 MAX_BOOK_COUNT I
|
||||||
METHOD method_45457 tryRemoveBook (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_7716;I)Lnet/minecraft/class_1269;
|
METHOD method_45457 tryRemoveBook (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_7716;I)Lnet/minecraft/class_1269;
|
||||||
ARG 0 world
|
ARG 0 world
|
||||||
ARG 1 pos
|
ARG 1 pos
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
CLASS net/minecraft/class_2484 net/minecraft/block/SkullBlock
|
CLASS net/minecraft/class_2484 net/minecraft/block/SkullBlock
|
||||||
FIELD field_11505 ROTATION Lnet/minecraft/class_2758;
|
FIELD field_11505 ROTATION Lnet/minecraft/class_2758;
|
||||||
FIELD field_11506 SHAPE Lnet/minecraft/class_265;
|
FIELD field_11506 SHAPE Lnet/minecraft/class_265;
|
||||||
|
FIELD field_31244 MAX_ROTATION_INDEX I
|
||||||
|
FIELD field_31245 MAX_ROTATIONS I
|
||||||
|
FIELD field_41312 PIGLIN_SHAPE Lnet/minecraft/class_265;
|
||||||
CLASS class_2485 SkullType
|
CLASS class_2485 SkullType
|
||||||
CLASS class_2486 Type
|
CLASS class_2486 Type
|
||||||
|
|
|
@ -14,6 +14,7 @@ CLASS net/minecraft/class_2300 net/minecraft/command/EntitySelector
|
||||||
FIELD field_10832 entityFilter Lnet/minecraft/class_5575;
|
FIELD field_10832 entityFilter Lnet/minecraft/class_5575;
|
||||||
FIELD field_27774 PASSTHROUGH_FILTER Lnet/minecraft/class_5575;
|
FIELD field_27774 PASSTHROUGH_FILTER Lnet/minecraft/class_5575;
|
||||||
FIELD field_33068 MAX_VALUE I
|
FIELD field_33068 MAX_VALUE I
|
||||||
|
FIELD field_41524 ARBITRARY Ljava/util/function/BiConsumer;
|
||||||
METHOD <init> (IZZLjava/util/function/Predicate;Lnet/minecraft/class_2096$class_2099;Ljava/util/function/Function;Lnet/minecraft/class_238;Ljava/util/function/BiConsumer;ZLjava/lang/String;Ljava/util/UUID;Lnet/minecraft/class_1299;Z)V
|
METHOD <init> (IZZLjava/util/function/Predicate;Lnet/minecraft/class_2096$class_2099;Ljava/util/function/Function;Lnet/minecraft/class_238;Ljava/util/function/BiConsumer;ZLjava/lang/String;Ljava/util/UUID;Lnet/minecraft/class_1299;Z)V
|
||||||
ARG 1 count
|
ARG 1 count
|
||||||
ARG 2 includesNonPlayers
|
ARG 2 includesNonPlayers
|
||||||
|
@ -33,6 +34,10 @@ CLASS net/minecraft/class_2300 net/minecraft/command/EntitySelector
|
||||||
ARG 1 entity
|
ARG 1 entity
|
||||||
METHOD method_45915 getUnfilteredEntities (Lnet/minecraft/class_2168;)Ljava/util/List;
|
METHOD method_45915 getUnfilteredEntities (Lnet/minecraft/class_2168;)Ljava/util/List;
|
||||||
ARG 1 source
|
ARG 1 source
|
||||||
|
METHOD method_47802 (Lnet/minecraft/class_243;Ljava/util/List;)V
|
||||||
|
ARG 0 pos
|
||||||
|
ARG 1 entities
|
||||||
|
METHOD method_47803 getAppendLimit ()I
|
||||||
METHOD method_9809 getEntity (Lnet/minecraft/class_2168;)Lnet/minecraft/class_1297;
|
METHOD method_9809 getEntity (Lnet/minecraft/class_2168;)Lnet/minecraft/class_1297;
|
||||||
ARG 1 source
|
ARG 1 source
|
||||||
METHOD method_9810 (Lnet/minecraft/class_238;Lnet/minecraft/class_1297;)Z
|
METHOD method_9810 (Lnet/minecraft/class_238;Lnet/minecraft/class_1297;)Z
|
||||||
|
@ -59,5 +64,7 @@ CLASS net/minecraft/class_2300 net/minecraft/command/EntitySelector
|
||||||
METHOD method_9822 getNames (Ljava/util/List;)Lnet/minecraft/class_2561;
|
METHOD method_9822 getNames (Ljava/util/List;)Lnet/minecraft/class_2561;
|
||||||
ARG 0 entities
|
ARG 0 entities
|
||||||
METHOD method_9823 appendEntitiesFromWorld (Ljava/util/List;Lnet/minecraft/class_3218;Lnet/minecraft/class_243;Ljava/util/function/Predicate;)V
|
METHOD method_9823 appendEntitiesFromWorld (Ljava/util/List;Lnet/minecraft/class_3218;Lnet/minecraft/class_243;Ljava/util/function/Predicate;)V
|
||||||
|
ARG 1 entities
|
||||||
|
ARG 2 world
|
||||||
ARG 3 pos
|
ARG 3 pos
|
||||||
ARG 4 predicate
|
ARG 4 predicate
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
CLASS net/minecraft/class_1189 net/minecraft/datafixer/fix/ItemInstanceSpawnEggFix
|
CLASS net/minecraft/class_1189 net/minecraft/datafixer/fix/ItemInstanceSpawnEggFix
|
||||||
|
FIELD field_41287 spawnEggId Ljava/lang/String;
|
||||||
FIELD field_5685 ENTITY_SPAWN_EGGS Ljava/util/Map;
|
FIELD field_5685 ENTITY_SPAWN_EGGS Ljava/util/Map;
|
||||||
|
METHOD <init> (Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;)V
|
||||||
|
ARG 1 schema
|
||||||
|
ARG 2 changesType
|
||||||
|
ARG 3 spawnEggId
|
||||||
|
METHOD method_5046 (Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
|
||||||
|
ARG 5 stack
|
||||||
METHOD method_5047 (Ljava/util/HashMap;)V
|
METHOD method_5047 (Ljava/util/HashMap;)V
|
||||||
ARG 0 map
|
ARG 0 map
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
CLASS net/minecraft/class_7683 net/minecraft/datafixer/fix/OptionsProgrammerArtFix
|
CLASS net/minecraft/class_7683 net/minecraft/datafixer/fix/OptionsProgrammerArtFix
|
||||||
METHOD <init> (Lcom/mojang/datafixers/schemas/Schema;)V
|
METHOD <init> (Lcom/mojang/datafixers/schemas/Schema;)V
|
||||||
ARG 1 schema
|
ARG 1 schema
|
||||||
|
METHOD method_45313 (Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
|
||||||
|
ARG 1 typed
|
||||||
METHOD method_45314 replaceTypo (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
|
METHOD method_45314 replaceTypo (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
|
||||||
|
ARG 1 option
|
||||||
|
METHOD method_45315 (Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
|
||||||
|
ARG 1 value
|
||||||
|
METHOD method_45316 (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
|
||||||
|
ARG 1 options
|
||||||
|
|
|
@ -3,7 +3,7 @@ CLASS net/minecraft/class_7907 net/minecraft/entity/ai/brain/MemoryQuery
|
||||||
COMMENT value. If a query fails, the task does not run.
|
COMMENT value. If a query fails, the task does not run.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see MemoryQueryResult
|
COMMENT @see MemoryQueryResult
|
||||||
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.Context
|
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext
|
||||||
METHOD method_47253 toQueryResult (Lnet/minecraft/class_4095;Ljava/util/Optional;)Lnet/minecraft/class_7906;
|
METHOD method_47253 toQueryResult (Lnet/minecraft/class_4095;Ljava/util/Optional;)Lnet/minecraft/class_7906;
|
||||||
ARG 1 brain
|
ARG 1 brain
|
||||||
ARG 2 value
|
ARG 2 value
|
||||||
|
@ -12,13 +12,13 @@ CLASS net/minecraft/class_7907 net/minecraft/entity/ai/brain/MemoryQuery
|
||||||
COMMENT A query that succeeds if a value is <strong>not</strong> present in the memory. The
|
COMMENT A query that succeeds if a value is <strong>not</strong> present in the memory. The
|
||||||
COMMENT query result is always {@code Unit.INSTANCE}.
|
COMMENT query result is always {@code Unit.INSTANCE}.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.Context#queryMemoryAbsent
|
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext#queryMemoryAbsent
|
||||||
CLASS class_7909 Value
|
CLASS class_7909 Value
|
||||||
COMMENT A query that succeeds if a value is present in the memory. The result is the queried value.
|
COMMENT A query that succeeds if a value is present in the memory. The result is the queried value.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.Context#queryMemoryValue
|
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext#queryMemoryValue
|
||||||
CLASS class_7910 Optional
|
CLASS class_7910 Optional
|
||||||
COMMENT A query that always succeeds. The value is an optional that contains the value if it
|
COMMENT A query that always succeeds. The value is an optional that contains the value if it
|
||||||
COMMENT is present in the memory.
|
COMMENT is present in the memory.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.Context#queryMemoryOptional
|
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext#queryMemoryOptional
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
CLASS net/minecraft/class_7906 net/minecraft/entity/ai/brain/MemoryQueryResult
|
CLASS net/minecraft/class_7906 net/minecraft/entity/ai/brain/MemoryQueryResult
|
||||||
COMMENT The result of a {@link MemoryQuery}. This is passed as a lambda argument to
|
COMMENT The result of a {@link MemoryQuery}. This is passed as a lambda argument to
|
||||||
COMMENT {@link net.minecraft.entity.ai.brain.task.TaskTriggerer#task}. Use
|
COMMENT {@link net.minecraft.entity.ai.brain.task.TaskTriggerer#task}. Use
|
||||||
COMMENT {@link net.minecraft.entity.ai.brain.task.TaskTriggerer.Context#getValue} to
|
COMMENT {@link net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext#getValue} to
|
||||||
COMMENT get the value.
|
COMMENT get the value.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>It is also possible to set or forget the stored memory value using methods in
|
COMMENT <p>It is also possible to set or forget the stored memory value using methods in
|
||||||
COMMENT this class.
|
COMMENT this class.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.Context#getValue
|
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext#getValue
|
||||||
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.Context#getOptionalValue
|
COMMENT @see net.minecraft.entity.ai.brain.task.TaskTriggerer.TaskContext#getOptionalValue
|
||||||
FIELD field_41025 brain Lnet/minecraft/class_4095;
|
FIELD field_41025 brain Lnet/minecraft/class_4095;
|
||||||
FIELD field_41026 memory Lnet/minecraft/class_4140;
|
FIELD field_41026 memory Lnet/minecraft/class_4140;
|
||||||
FIELD field_41027 value Lcom/mojang/datafixers/kinds/App;
|
FIELD field_41027 value Lcom/mojang/datafixers/kinds/App;
|
||||||
|
|
|
@ -9,8 +9,8 @@ CLASS net/minecraft/class_7898 net/minecraft/entity/ai/brain/task/TaskTriggerer
|
||||||
COMMENT <li>Return the result of {@link #task}. This method creates a new {@link SingleTickTask}.</li>
|
COMMENT <li>Return the result of {@link #task}. This method creates a new {@link SingleTickTask}.</li>
|
||||||
COMMENT </ol>
|
COMMENT </ol>
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>A lambda is passed to the {@code task} method. This takes a {@link TaskTriggerer.Context}.
|
COMMENT <p>A lambda is passed to the {@code task} method. This takes a {@link TaskTriggerer.TaskContext}.
|
||||||
COMMENT You can either call {@link TaskTriggerer.Context#point} to set the actual task function,
|
COMMENT You can either call {@link TaskTriggerer.TaskContext#point} to set the actual task function,
|
||||||
COMMENT or declare a dependency on memory queries. The task function is a function that takes
|
COMMENT or declare a dependency on memory queries. The task function is a function that takes
|
||||||
COMMENT the server world, entity, and the current time, and returns a boolean indicating whether
|
COMMENT the server world, entity, and the current time, and returns a boolean indicating whether
|
||||||
COMMENT a task successfully ran.
|
COMMENT a task successfully ran.
|
||||||
|
@ -27,23 +27,23 @@ CLASS net/minecraft/class_7898 net/minecraft/entity/ai/brain/task/TaskTriggerer
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <h2>Memory-dependent task</h2>
|
COMMENT <h2>Memory-dependent task</h2>
|
||||||
COMMENT <p>Memory-dependent tasks (i.e. one that queries, remembers, or forgets a memory) first
|
COMMENT <p>Memory-dependent tasks (i.e. one that queries, remembers, or forgets a memory) first
|
||||||
COMMENT should call {@code Context.group} with results of {@code Context.queryMemory} methods
|
COMMENT should call {@code TaskContext.group} with results of {@code Context.queryMemory} methods
|
||||||
COMMENT for all the dependent memories. Then, call {@code apply} with {@code context} and a
|
COMMENT for all the dependent memories. Then, call {@code apply} with {@code context} and a
|
||||||
COMMENT lambda function taking the results of the query. This function returns the task function
|
COMMENT lambda function taking the results of the query. This function returns the task function
|
||||||
COMMENT seen earlier.
|
COMMENT seen earlier.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>If any of the query is not successful (e.g. because a value was not present), the task will
|
COMMENT <p>If any of the query is not successful (e.g. because a value was not present), the task will
|
||||||
COMMENT not run. If all succeed, then the task runs, and the query result can be obtained via
|
COMMENT not run. If all succeed, then the task runs, and the query result can be obtained via
|
||||||
COMMENT {@link TaskTriggerer.Context#getValue}.
|
COMMENT {@link TaskTriggerer.TaskContext#getValue}.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>There are three query types:
|
COMMENT <p>There are three query types:
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <ul>
|
COMMENT <ul>
|
||||||
COMMENT <li>{@link TaskTriggerer.Context#queryMemoryAbsent} that succeeds if a value is
|
COMMENT <li>{@link TaskTriggerer.TaskContext#queryMemoryAbsent} that succeeds if a value is
|
||||||
COMMENT <strong>not</strong> present in the memory.</li>
|
COMMENT <strong>not</strong> present in the memory.</li>
|
||||||
COMMENT <li>{@link TaskTriggerer.Context#queryMemoryValue} that succeeds if a value is
|
COMMENT <li>{@link TaskTriggerer.TaskContext#queryMemoryValue} that succeeds if a value is
|
||||||
COMMENT present in the memory. The result is the queried value.</li>
|
COMMENT present in the memory. The result is the queried value.</li>
|
||||||
COMMENT <li>{@link TaskTriggerer.Context#queryMemoryOptional} that always succeeds. The value
|
COMMENT <li>{@link TaskTriggerer.TaskContext#queryMemoryOptional} that always succeeds. The value
|
||||||
COMMENT is an optional that contains the value if it is present in the memory.</li>
|
COMMENT is an optional that contains the value if it is present in the memory.</li>
|
||||||
COMMENT </ul>
|
COMMENT </ul>
|
||||||
COMMENT
|
COMMENT
|
||||||
|
|
|
@ -724,6 +724,8 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf
|
||||||
COMMENT @see #writeIntArray(int[])
|
COMMENT @see #writeIntArray(int[])
|
||||||
ARG 1 list
|
ARG 1 list
|
||||||
COMMENT the list to write
|
COMMENT the list to write
|
||||||
|
METHOD method_34061 (Ljava/lang/Object;Ljava/lang/String;)Lio/netty/handler/codec/EncoderException;
|
||||||
|
ARG 1 error
|
||||||
METHOD method_34062 writeCollection (Ljava/util/Collection;Lnet/minecraft/class_2540$class_7462;)V
|
METHOD method_34062 writeCollection (Ljava/util/Collection;Lnet/minecraft/class_2540$class_7462;)V
|
||||||
COMMENT Writes a collection to this buf. The collection is stored as a leading
|
COMMENT Writes a collection to this buf. The collection is stored as a leading
|
||||||
COMMENT {@linkplain #readVarInt() var int} size followed by the entries
|
COMMENT {@linkplain #readVarInt() var int} size followed by the entries
|
||||||
|
@ -801,6 +803,8 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf
|
||||||
COMMENT a factory that creates a map with a given size
|
COMMENT a factory that creates a map with a given size
|
||||||
ARG 2 keyReader
|
ARG 2 keyReader
|
||||||
ARG 3 valueReader
|
ARG 3 valueReader
|
||||||
|
METHOD method_34070 (Lnet/minecraft/class_2487;Ljava/lang/String;)Lio/netty/handler/codec/DecoderException;
|
||||||
|
ARG 1 error
|
||||||
METHOD method_36129 getVarLongLength (J)I
|
METHOD method_36129 getVarLongLength (J)I
|
||||||
COMMENT Returns the number of bytes needed to encode {@code value} as a
|
COMMENT Returns the number of bytes needed to encode {@code value} as a
|
||||||
COMMENT {@linkplain #writeVarLong(int) var long}. Guaranteed to be between {@code
|
COMMENT {@linkplain #writeVarLong(int) var long}. Guaranteed to be between {@code
|
||||||
|
|
|
@ -14,6 +14,20 @@ CLASS net/minecraft/class_7924 net/minecraft/registry/RegistryKeys
|
||||||
FIELD field_41231 STRUCTURE_TYPE Lnet/minecraft/class_5321;
|
FIELD field_41231 STRUCTURE_TYPE Lnet/minecraft/class_5321;
|
||||||
FIELD field_41232 TREE_DECORATOR_TYPE Lnet/minecraft/class_5321;
|
FIELD field_41232 TREE_DECORATOR_TYPE Lnet/minecraft/class_5321;
|
||||||
FIELD field_41233 TRUNK_PLACER_TYPE Lnet/minecraft/class_5321;
|
FIELD field_41233 TRUNK_PLACER_TYPE Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41236 BIOME Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41237 MESSAGE_TYPE Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41238 CONFIGURED_CARVER Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41239 CONFIGURED_FEATURE Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41240 DENSITY_FUNCTION Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41242 FLAT_LEVEL_GENERATOR_PRESET Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41243 CHUNK_GENERATOR_SETTINGS Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41244 NOISE_PARAMETERS Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41245 PLACED_FEATURE Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41246 STRUCTURE Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41247 PROCESSOR_LIST Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41248 STRUCTURE_SET Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41249 TEMPLATE_POOL Lnet/minecraft/class_5321;
|
||||||
|
FIELD field_41250 WORLD_PRESET Lnet/minecraft/class_5321;
|
||||||
FIELD field_41253 BIOME_SOURCE Lnet/minecraft/class_5321;
|
FIELD field_41253 BIOME_SOURCE Lnet/minecraft/class_5321;
|
||||||
FIELD field_41257 BLOCK_STATE_PROVIDER_TYPE Lnet/minecraft/class_5321;
|
FIELD field_41257 BLOCK_STATE_PROVIDER_TYPE Lnet/minecraft/class_5321;
|
||||||
FIELD field_41258 CARVER Lnet/minecraft/class_5321;
|
FIELD field_41258 CARVER Lnet/minecraft/class_5321;
|
||||||
|
|
|
@ -352,6 +352,25 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
|
||||||
ARG 3 radius
|
ARG 3 radius
|
||||||
ARG 4 horizontalBlockCheckInterval
|
ARG 4 horizontalBlockCheckInterval
|
||||||
ARG 5 verticalBlockCheckInterval
|
ARG 5 verticalBlockCheckInterval
|
||||||
|
METHOD method_47538 collectEntitiesByType (Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;)V
|
||||||
|
ARG 1 filter
|
||||||
|
ARG 2 predicate
|
||||||
|
ARG 3 result
|
||||||
|
METHOD method_47539 collectEntitiesByType (Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;I)V
|
||||||
|
COMMENT Collects entities of the given type, up to {@code limit}. Using this can improve
|
||||||
|
COMMENT performance, especially if {@code limit} is small.
|
||||||
|
COMMENT
|
||||||
|
COMMENT @see #getEntitiesByType
|
||||||
|
ARG 1 filter
|
||||||
|
ARG 2 predicate
|
||||||
|
ARG 3 result
|
||||||
|
ARG 4 limit
|
||||||
|
METHOD method_47540 getPlayers (Ljava/util/function/Predicate;I)Ljava/util/List;
|
||||||
|
COMMENT {@return the list of players filtered using {@code predicate}, up to {@code limit}}
|
||||||
|
ARG 1 predicate
|
||||||
|
ARG 2 limit
|
||||||
|
METHOD method_47541 (Ljava/util/function/Predicate;Ljava/util/List;ILnet/minecraft/class_1297;)Lnet/minecraft/class_7927$class_7928;
|
||||||
|
ARG 3 entity
|
||||||
METHOD method_8448 updateSleepingPlayers ()V
|
METHOD method_8448 updateSleepingPlayers ()V
|
||||||
METHOD method_8487 locateStructure (Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
|
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.
|
COMMENT Tries to find the closest structure of a given type near a given block.
|
||||||
|
|
|
@ -340,3 +340,12 @@ CLASS net/minecraft/class_4516 net/minecraft/test/TestContext
|
||||||
METHOD method_46228 createMockSurvivalPlayer ()Lnet/minecraft/class_1657;
|
METHOD method_46228 createMockSurvivalPlayer ()Lnet/minecraft/class_1657;
|
||||||
METHOD method_46229 useBlock (Lnet/minecraft/class_2338;)V
|
METHOD method_46229 useBlock (Lnet/minecraft/class_2338;)V
|
||||||
ARG 1 pos
|
ARG 1 pos
|
||||||
|
METHOD method_47816 useStackOnBlock (Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
|
||||||
|
ARG 1 player
|
||||||
|
ARG 2 stack
|
||||||
|
ARG 3 pos
|
||||||
|
ARG 4 direction
|
||||||
|
METHOD method_47817 useBlock (Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_3965;)V
|
||||||
|
ARG 1 pos
|
||||||
|
ARG 2 player
|
||||||
|
ARG 3 result
|
||||||
|
|
|
@ -310,6 +310,12 @@ CLASS net/minecraft/class_156 net/minecraft/util/Util
|
||||||
COMMENT returns a map for storing the indices of the values
|
COMMENT returns a map for storing the indices of the values
|
||||||
METHOD method_44893 getFormattedCurrentTime ()Ljava/lang/String;
|
METHOD method_44893 getFormattedCurrentTime ()Ljava/lang/String;
|
||||||
COMMENT {@return the current time formatted using {@link #DATE_TIME_FORMATTER}}
|
COMMENT {@return the current time formatted using {@link #DATE_TIME_FORMATTER}}
|
||||||
|
METHOD method_47526 getResult (Lcom/mojang/serialization/DataResult;Ljava/util/function/Function;)Ljava/lang/Object;
|
||||||
|
COMMENT {@return the result wrapped in {@code result}}
|
||||||
|
COMMENT
|
||||||
|
COMMENT @throws Exception if {@code result} has an error
|
||||||
|
ARG 0 result
|
||||||
|
ARG 1 exceptionGetter
|
||||||
METHOD method_645 previous (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
|
METHOD method_645 previous (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
|
||||||
COMMENT {@return the item preceding {@code object} in {@code iterable}}
|
COMMENT {@return the item preceding {@code object} in {@code iterable}}
|
||||||
COMMENT
|
COMMENT
|
||||||
|
|
|
@ -3,6 +3,7 @@ CLASS net/minecraft/class_4844 net/minecraft/util/Uuids
|
||||||
FIELD field_38907 OFFLINE_PLAYER_UUID_PREFIX Ljava/lang/String;
|
FIELD field_38907 OFFLINE_PLAYER_UUID_PREFIX Ljava/lang/String;
|
||||||
FIELD field_39211 BYTE_ARRAY_SIZE I
|
FIELD field_39211 BYTE_ARRAY_SIZE I
|
||||||
FIELD field_40825 CODEC Lcom/mojang/serialization/Codec;
|
FIELD field_40825 CODEC Lcom/mojang/serialization/Codec;
|
||||||
|
FIELD field_41525 STRING_CODEC Lcom/mojang/serialization/Codec;
|
||||||
METHOD method_26274 toIntArray (JJ)[I
|
METHOD method_26274 toIntArray (JJ)[I
|
||||||
ARG 0 uuidMost
|
ARG 0 uuidMost
|
||||||
ARG 2 uuidLeast
|
ARG 2 uuidLeast
|
||||||
|
@ -30,3 +31,5 @@ CLASS net/minecraft/class_4844 net/minecraft/util/Uuids
|
||||||
ARG 0 uuid
|
ARG 0 uuid
|
||||||
METHOD method_46562 (Ljava/util/UUID;)Ljava/util/UUID;
|
METHOD method_46562 (Ljava/util/UUID;)Ljava/util/UUID;
|
||||||
ARG 0 uuid
|
ARG 0 uuid
|
||||||
|
METHOD method_47804 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
|
||||||
|
ARG 0 string
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
CLASS net/minecraft/class_7927 net/minecraft/util/function/LazyIterationConsumer
|
||||||
|
COMMENT A consumer used in an iteration that can be aborted early.
|
||||||
|
METHOD accept (Ljava/lang/Object;)Lnet/minecraft/class_7927$class_7928;
|
||||||
|
ARG 1 value
|
||||||
|
METHOD forConsumer (Ljava/util/function/Consumer;)Lnet/minecraft/class_7927;
|
||||||
|
ARG 0 consumer
|
||||||
|
METHOD method_47542 (Ljava/util/function/Consumer;Ljava/lang/Object;)Lnet/minecraft/class_7927$class_7928;
|
||||||
|
ARG 1 value
|
||||||
|
CLASS class_7928 NextIteration
|
||||||
|
COMMENT Indicates whether to perform the next iteration.
|
||||||
|
METHOD method_47543 shouldAbort ()Z
|
|
@ -200,6 +200,23 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
|
||||||
ARG 13 particles
|
ARG 13 particles
|
||||||
METHOD method_46669 getDestructionType (Lnet/minecraft/class_1928$class_4313;)Lnet/minecraft/class_1927$class_4179;
|
METHOD method_46669 getDestructionType (Lnet/minecraft/class_1928$class_4313;)Lnet/minecraft/class_1927$class_4179;
|
||||||
ARG 1 gameRuleKey
|
ARG 1 gameRuleKey
|
||||||
|
METHOD method_47574 collectEntitiesByType (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;Ljava/util/List;)V
|
||||||
|
ARG 1 filter
|
||||||
|
ARG 2 box
|
||||||
|
ARG 3 predicate
|
||||||
|
ARG 4 result
|
||||||
|
METHOD method_47575 collectEntitiesByType (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;Ljava/util/List;I)V
|
||||||
|
COMMENT Collects entities of the given type in {@code box}, up to {@code limit}. Using this can
|
||||||
|
COMMENT improve performance, especially if {@code limit} is small.
|
||||||
|
COMMENT
|
||||||
|
COMMENT @see #getEntitiesByType
|
||||||
|
ARG 1 filter
|
||||||
|
ARG 2 box
|
||||||
|
ARG 3 predicate
|
||||||
|
ARG 4 result
|
||||||
|
ARG 5 limit
|
||||||
|
METHOD method_47576 (Ljava/util/function/Predicate;Ljava/util/List;ILnet/minecraft/class_5575;Lnet/minecraft/class_1297;)Lnet/minecraft/class_7927$class_7928;
|
||||||
|
ARG 4 entity
|
||||||
METHOD method_8413 updateListeners (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)V
|
METHOD method_8413 updateListeners (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)V
|
||||||
ARG 1 pos
|
ARG 1 pos
|
||||||
ARG 2 oldState
|
ARG 2 oldState
|
||||||
|
|
|
@ -10,6 +10,7 @@ CLASS net/minecraft/class_5570 net/minecraft/world/entity/EntityIndex
|
||||||
ARG 1 entity
|
ARG 1 entity
|
||||||
METHOD method_31754 forEach (Lnet/minecraft/class_5575;Lnet/minecraft/class_7927;)V
|
METHOD method_31754 forEach (Lnet/minecraft/class_5575;Lnet/minecraft/class_7927;)V
|
||||||
ARG 1 filter
|
ARG 1 filter
|
||||||
|
ARG 2 consumer
|
||||||
METHOD method_31755 get (Ljava/util/UUID;)Lnet/minecraft/class_5568;
|
METHOD method_31755 get (Ljava/util/UUID;)Lnet/minecraft/class_5568;
|
||||||
ARG 1 uuid
|
ARG 1 uuid
|
||||||
METHOD method_31756 size ()I
|
METHOD method_31756 size ()I
|
||||||
|
|
|
@ -12,6 +12,7 @@ CLASS net/minecraft/class_5577 net/minecraft/world/entity/EntityLookup
|
||||||
METHOD method_31805 forEachIntersects (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
METHOD method_31805 forEachIntersects (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
||||||
ARG 1 filter
|
ARG 1 filter
|
||||||
ARG 2 box
|
ARG 2 box
|
||||||
|
ARG 3 consumer
|
||||||
METHOD method_31806 forEach (Lnet/minecraft/class_5575;Lnet/minecraft/class_7927;)V
|
METHOD method_31806 forEach (Lnet/minecraft/class_5575;Lnet/minecraft/class_7927;)V
|
||||||
COMMENT Performs an {@code action} on each entity of type {@code U} within this
|
COMMENT Performs an {@code action} on each entity of type {@code U} within this
|
||||||
COMMENT lookup.
|
COMMENT lookup.
|
||||||
|
@ -19,6 +20,8 @@ CLASS net/minecraft/class_5577 net/minecraft/world/entity/EntityLookup
|
||||||
COMMENT @param <U> the type of entity to perform action on
|
COMMENT @param <U> the type of entity to perform action on
|
||||||
ARG 1 filter
|
ARG 1 filter
|
||||||
COMMENT specifies the desired type of entity
|
COMMENT specifies the desired type of entity
|
||||||
|
ARG 2 consumer
|
||||||
|
COMMENT the consumer, additionally checking whether to perform the next iteration or to stop early
|
||||||
METHOD method_31807 forEachIntersects (Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V
|
METHOD method_31807 forEachIntersects (Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V
|
||||||
ARG 1 box
|
ARG 1 box
|
||||||
ARG 2 action
|
ARG 2 action
|
||||||
|
|
|
@ -10,12 +10,14 @@ CLASS net/minecraft/class_5572 net/minecraft/world/entity/EntityTrackingSection
|
||||||
METHOD method_31762 forEach (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)Lnet/minecraft/class_7927$class_7928;
|
METHOD method_31762 forEach (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)Lnet/minecraft/class_7927$class_7928;
|
||||||
ARG 1 type
|
ARG 1 type
|
||||||
ARG 2 box
|
ARG 2 box
|
||||||
|
ARG 3 consumer
|
||||||
METHOD method_31763 swapStatus (Lnet/minecraft/class_5584;)Lnet/minecraft/class_5584;
|
METHOD method_31763 swapStatus (Lnet/minecraft/class_5584;)Lnet/minecraft/class_5584;
|
||||||
ARG 1 status
|
ARG 1 status
|
||||||
METHOD method_31764 add (Lnet/minecraft/class_5568;)V
|
METHOD method_31764 add (Lnet/minecraft/class_5568;)V
|
||||||
ARG 1 entity
|
ARG 1 entity
|
||||||
METHOD method_31765 forEach (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)Lnet/minecraft/class_7927$class_7928;
|
METHOD method_31765 forEach (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)Lnet/minecraft/class_7927$class_7928;
|
||||||
ARG 1 box
|
ARG 1 box
|
||||||
|
ARG 2 consumer
|
||||||
METHOD method_31766 stream ()Ljava/util/stream/Stream;
|
METHOD method_31766 stream ()Ljava/util/stream/Stream;
|
||||||
METHOD method_31767 remove (Lnet/minecraft/class_5568;)Z
|
METHOD method_31767 remove (Lnet/minecraft/class_5568;)Z
|
||||||
ARG 1 entity
|
ARG 1 entity
|
||||||
|
|
|
@ -18,18 +18,22 @@ CLASS net/minecraft/class_5573 net/minecraft/world/entity/SectionedEntityCache
|
||||||
METHOD method_31773 forEachIntersects (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
METHOD method_31773 forEachIntersects (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
||||||
ARG 1 filter
|
ARG 1 filter
|
||||||
ARG 2 box
|
ARG 2 box
|
||||||
|
ARG 3 consumer
|
||||||
METHOD method_31777 forEachInBox (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
METHOD method_31777 forEachInBox (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
||||||
COMMENT Runs the given action on each collection of entities in the chunk sections within the given box.
|
COMMENT Runs the given action on each collection of entities in the chunk sections within the given box.
|
||||||
ARG 1 box
|
ARG 1 box
|
||||||
|
ARG 2 consumer
|
||||||
METHOD method_31778 (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;Lnet/minecraft/class_5572;)Lnet/minecraft/class_7927$class_7928;
|
METHOD method_31778 (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;Lnet/minecraft/class_5572;)Lnet/minecraft/class_7927$class_7928;
|
||||||
ARG 3 section
|
ARG 3 section
|
||||||
METHOD method_31780 (Lit/unimi/dsi/fastutil/longs/LongSet;J)V
|
METHOD method_31780 (Lit/unimi/dsi/fastutil/longs/LongSet;J)V
|
||||||
|
ARG 0 trackingSection
|
||||||
ARG 1 sectionPos
|
ARG 1 sectionPos
|
||||||
METHOD method_31781 sectionCount ()I
|
METHOD method_31781 sectionCount ()I
|
||||||
METHOD method_31782 getTrackingSections (J)Ljava/util/stream/Stream;
|
METHOD method_31782 getTrackingSections (J)Ljava/util/stream/Stream;
|
||||||
ARG 1 chunkPos
|
ARG 1 chunkPos
|
||||||
METHOD method_31783 forEachIntersects (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
METHOD method_31783 forEachIntersects (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
||||||
ARG 1 box
|
ARG 1 box
|
||||||
|
ARG 2 consumer
|
||||||
METHOD method_31784 getTrackingSection (J)Lnet/minecraft/class_5572;
|
METHOD method_31784 getTrackingSection (J)Lnet/minecraft/class_5572;
|
||||||
ARG 1 sectionPos
|
ARG 1 sectionPos
|
||||||
METHOD method_31785 findTrackingSection (J)Lnet/minecraft/class_5572;
|
METHOD method_31785 findTrackingSection (J)Lnet/minecraft/class_5572;
|
||||||
|
|
|
@ -15,6 +15,7 @@ CLASS net/minecraft/class_5285 net/minecraft/world/gen/GeneratorOptions
|
||||||
ARG 4 bonusChest
|
ARG 4 bonusChest
|
||||||
ARG 5 legacyCustomOptions
|
ARG 5 legacyCustomOptions
|
||||||
METHOD method_28024 withSeed (Ljava/util/OptionalLong;)Lnet/minecraft/class_5285;
|
METHOD method_28024 withSeed (Ljava/util/OptionalLong;)Lnet/minecraft/class_5285;
|
||||||
|
ARG 1 seed
|
||||||
METHOD method_28028 getSeed ()J
|
METHOD method_28028 getSeed ()J
|
||||||
METHOD method_28029 shouldGenerateStructures ()Z
|
METHOD method_28029 shouldGenerateStructures ()Z
|
||||||
METHOD method_28030 hasBonusChest ()Z
|
METHOD method_28030 hasBonusChest ()Z
|
||||||
|
|
Loading…
Reference in New Issue