22w03a stuff (#2971)

* 22w03a stuff

* Fix ExclusiveNbtCollector

* Remove OpenDoorsTask mapping for conflict

* Remove SpreadPlayersCommand mapping for conflict

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Renames, javadoc, etc

* Fix description of shouldCrashOnException

* Update mappings/net/minecraft/entity/FallingBlockEntity.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
apple502j 2022-02-09 20:33:27 +09:00 committed by GitHub
parent 2dc52f1d2e
commit 10fda6dd17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 191 additions and 10 deletions

View File

@ -10,6 +10,7 @@ CLASS net/minecraft/class_5689 net/minecraft/block/PointedDripstoneBlock
FIELD field_28058 BASE_SHAPE Lnet/minecraft/class_265;
FIELD field_33568 MAX_STALACTITE_GROWTH I
FIELD field_33569 STALACTITE_FLOOR_SEARCH_RANGE I
FIELD field_36340 DRIP_COLLISION_SHAPE Lnet/minecraft/class_265;
METHOD method_32767 getDripPos (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
ARG 0 world
ARG 1 pos
@ -139,3 +140,11 @@ CLASS net/minecraft/class_5689 net/minecraft/block/PointedDripstoneBlock
ARG 0 state
ARG 1 world
ARG 2 pos
METHOD method_40016 canDripThrough (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
COMMENT {@return whether it can drip through the block {@code block} at {@code pos}}
COMMENT
COMMENT @apiNote This is used for checking which block can obstruct the stalagmites
COMMENT growing or the cauldrons filling with liquids.
ARG 0 world
ARG 1 pos
ARG 2 state

View File

@ -11,6 +11,8 @@ CLASS net/minecraft/class_377 net/minecraft/client/font/FontStorage
FIELD field_2254 glyphAtlases Ljava/util/List;
FIELD field_2256 blankGlyphRenderer Lnet/minecraft/class_382;
FIELD field_2257 glyphCache Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
FIELD field_36363 ZERO_WIDTH_NON_JOINER Lnet/minecraft/class_379;
FIELD field_36364 ZERO_WIDTH_NON_JOINER_CODE_POINT I
METHOD <init> (Lnet/minecraft/class_1060;Lnet/minecraft/class_2960;)V
ARG 1 textureManager
ARG 2 id
@ -32,3 +34,10 @@ CLASS net/minecraft/class_377 net/minecraft/client/font/FontStorage
METHOD method_24290 closeFonts ()V
METHOD method_27545 (Ljava/util/List;Ljava/util/Set;I)V
ARG 3 codePoint
METHOD method_40038 getEmptyGlyph (I)Lnet/minecraft/class_379;
COMMENT {@return the pre-defined empty glyph for the code point, or
COMMENT {@code null} if it is not defined}
COMMENT
COMMENT @implNote Pre-defined empty glyphs include the space ({@code U+0020})
COMMENT and zero-width non joiner ({@code U+200C}).
ARG 1 codePoint

View File

@ -1,2 +1,7 @@
CLASS net/minecraft/class_434 net/minecraft/client/gui/screen/DownloadingTerrainScreen
FIELD field_26544 TEXT Lnet/minecraft/class_2561;
FIELD field_36365 MIN_LOAD_TIME_MS J
FIELD field_36366 ready Z
FIELD field_36367 closeOnNextTick Z
FIELD field_36368 loadStartTime J
METHOD method_40040 setReady ()V

View File

@ -168,6 +168,8 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
METHOD method_37071 updateNarrator ()V
METHOD method_37072 applyNarratorModeChangeDelay ()V
METHOD method_37073 isNarratorActive ()Z
METHOD method_40041 hide ([Lnet/minecraft/class_339;)V
ARG 0 widgets
CLASS class_6390 SelectedElementNarrationData
FIELD field_33825 selectable Lnet/minecraft/class_6379;
FIELD field_33826 index I

View File

@ -1,4 +1,5 @@
CLASS net/minecraft/class_458 net/minecraft/client/gui/screen/option/ControlsOptionsScreen
FIELD field_36369 MARGIN_Y I
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
ARG 1 parent
ARG 2 options

View File

@ -132,6 +132,7 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain
ARG 7 hovered
ARG 8 active
METHOD method_20852 updateButtonStates (Lnet/minecraft/class_4877;)V
ARG 1 server
METHOD method_20853 play (Lnet/minecraft/class_4877;Lnet/minecraft/class_437;)V
ARG 1 serverData
ARG 2 parent

View File

@ -328,6 +328,8 @@ CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
ARG 1 frustum
METHOD method_38553 (Lnet/minecraft/class_2338;Lnet/minecraft/class_846$class_851;)Z
ARG 1 pos
METHOD method_40050 isRenderingReady (Lnet/minecraft/class_2338;)Z
ARG 1 pos
METHOD method_8562 playSong (Lnet/minecraft/class_3414;Lnet/minecraft/class_2338;)V
ARG 1 song
ARG 2 songPosition

View File

@ -20,6 +20,12 @@ CLASS net/minecraft/class_1540 net/minecraft/entity/FallingBlockEntity
ARG 2 pos
METHOD method_32879 (Lnet/minecraft/class_1282;FLnet/minecraft/class_1297;)V
ARG 2 entity
METHOD method_40005 spawnFromBlock (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1540;
COMMENT Spawns a falling block entity at {@code pos} from the block {@code state}.
COMMENT @return the spawned entity
ARG 0 world
ARG 1 pos
ARG 2 state
METHOD method_6962 getBlockState ()Lnet/minecraft/class_2680;
METHOD method_6963 setFallingBlockPos (Lnet/minecraft/class_2338;)V
ARG 1 pos

View File

@ -1,6 +1,8 @@
CLASS net/minecraft/class_3759 net/minecraft/entity/ai/goal/MoveToRaidCenterGoal
FIELD field_16597 actor Lnet/minecraft/class_3763;
FIELD field_30225 WALK_SPEED F
FIELD field_36302 FREE_RAIDER_CHECK_INTERVAL I
FIELD field_36303 nextFreeRaiderCheckAge I
METHOD <init> (Lnet/minecraft/class_3763;)V
ARG 1 actor
METHOD method_16465 includeFreeRaiders (Lnet/minecraft/class_3765;)V

View File

@ -34,4 +34,6 @@ CLASS net/minecraft/class_1593 net/minecraft/entity/mob/PhantomEntity
CLASS class_1601 MovementGoal
METHOD method_7104 isNearTarget ()Z
CLASS class_1602 SwoopMovementGoal
FIELD field_36305 CAT_CHECK_INTERVAL I
FIELD field_36306 catsNearby Z
FIELD field_36307 nextCatCheckAge I

View File

@ -1,4 +1,6 @@
CLASS net/minecraft/class_1752 net/minecraft/item/BoneMealItem
METHOD method_40006 (Lnet/minecraft/class_4970$class_4971;)Z
ARG 0 state
METHOD method_7719 useOnGround (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
ARG 0 stack
ARG 1 world

View File

@ -29,6 +29,29 @@ CLASS net/minecraft/class_2507 net/minecraft/nbt/NbtIo
METHOD method_30614 writeCompressed (Lnet/minecraft/class_2487;Ljava/io/File;)V
ARG 0 compound
ARG 1 file
METHOD method_39855 read (Ljava/io/DataInput;Lnet/minecraft/class_6836;)V
METHOD method_39855 scan (Ljava/io/DataInput;Lnet/minecraft/class_6836;)V
ARG 0 input
ARG 1 visitor
ARG 1 scanner
METHOD method_40057 scanCompressed (Ljava/io/File;Lnet/minecraft/class_6836;)V
COMMENT Scans the compressed NBT file using {@code scanner}.
COMMENT
COMMENT @apiNote This method does not return the scan result; the user is expected
COMMENT to call the appropriate method of the {@link NbtScanner} subclasses, such as
COMMENT {@link net.minecraft.nbt.scanner.NbtCollector#getRoot()}.
COMMENT
COMMENT @see #scanCompressed(InputStream, NbtScanner)
ARG 0 file
ARG 1 scanner
METHOD method_40058 scanCompressed (Ljava/io/InputStream;Lnet/minecraft/class_6836;)V
COMMENT Scans the compressed NBT stream using {@code scanner}.
COMMENT
COMMENT @apiNote This method does not return the scan result; the user is expected
COMMENT to call the appropriate method of the {@link NbtScanner} subclasses, such as
COMMENT {@link net.minecraft.nbt.scanner.NbtCollector#getRoot()}.
COMMENT
COMMENT @see #scanCompressed(File, NbtScanner)
ARG 0 stream
ARG 1 scanner
METHOD method_40059 decompress (Ljava/io/InputStream;)Ljava/io/DataInputStream;
COMMENT {@return a new input stream that decompresses the input {@code stream}}
ARG 0 stream

View File

@ -0,0 +1,8 @@
CLASS net/minecraft/class_6856 net/minecraft/nbt/scanner/ExclusiveNbtCollector
COMMENT An exclusive NBT collector builds an NBT object including everything
COMMENT except the prescribed queries.
COMMENT
COMMENT @see SelectiveNbtCollector
FIELD field_36378 treeStack Ljava/util/Deque;
METHOD <init> ([Lnet/minecraft/class_6843;)V
ARG 1 excludedQueries

View File

@ -1,4 +1,6 @@
CLASS net/minecraft/class_6843 net/minecraft/nbt/scanner/Query
CLASS net/minecraft/class_6843 net/minecraft/nbt/scanner/NbtScanQuery
COMMENT A query for scanning the NBT using {@link ExclusiveNbtCollector} or
COMMENT {@link SelectiveNbtCollector}.
FIELD comp_320 key Ljava/lang/String;
METHOD <init> (Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_4614;Ljava/lang/String;)V
ARG 1 path1

View File

@ -0,0 +1,22 @@
CLASS net/minecraft/class_6842 net/minecraft/nbt/scanner/NbtTreeNode
COMMENT The tree node for representing NBT.
FIELD comp_315 I
COMMENT the depth of the node, starting from {@code 1}
FIELD comp_317 Ljava/util/Map;
COMMENT The keys to check recursively ("branches")
FIELD comp_323 Ljava/util/Map;
COMMENT the keys to select ("leaves")
METHOD <init> (I)V
ARG 1 depth
METHOD method_39880 (Ljava/lang/String;)Lnet/minecraft/class_6842;
ARG 1 path
METHOD method_39881 add (Lnet/minecraft/class_6843;)V
ARG 1 query
METHOD method_40060 createRoot ()Lnet/minecraft/class_6842;
COMMENT {@return the root node}
COMMENT
COMMENT @implNote The root node has the depth of {@code 1}.
METHOD method_40061 isTypeEqual (Lnet/minecraft/class_4614;Ljava/lang/String;)Z
COMMENT {@return whether the queried type for the key {@code key} matches {@code type}}
ARG 1 type
ARG 2 key

View File

@ -1,6 +1,8 @@
CLASS net/minecraft/class_6841 net/minecraft/nbt/scanner/SelectiveNbtCollector
COMMENT A selective NBT collector builds an NBT object including only the
COMMENT prescribed queries.
COMMENT
COMMENT @see ExclusiveNbtCollector
FIELD field_36258 queriesLeft I
FIELD field_36259 allPossibleTypes Ljava/util/Set;
FIELD field_36260 selectionStack Ljava/util/Deque;

View File

@ -1,7 +0,0 @@
CLASS net/minecraft/class_6842 net/minecraft/nbt/scanner/Tree
METHOD <init> (I)V
ARG 1 depth
METHOD method_39880 (Ljava/lang/String;)Lnet/minecraft/class_6842;
ARG 1 path
METHOD method_39881 add (Lnet/minecraft/class_6843;)V
ARG 1 query

View File

@ -32,6 +32,8 @@ CLASS net/minecraft/class_2535 net/minecraft/network/ClientConnection
COMMENT <p>The formula is {@link #averagePacketsSent averagePacketsSent} = {@value}
COMMENT &times; {@link #packetsSentCounter packetsSentCounter} + (1 - {@value}) &times;
COMMENT {@code averagePacketsSent}.
FIELD field_36379 PACKET_RECEIVED_MARKER Lorg/slf4j/Marker;
FIELD field_36380 PACKET_SENT_MARKER Lorg/slf4j/Marker;
METHOD <init> (Lnet/minecraft/class_2598;)V
ARG 1 side
METHOD channelActive (Lio/netty/channel/ChannelHandlerContext;)V
@ -114,6 +116,12 @@ CLASS net/minecraft/class_2535 net/minecraft/network/ClientConnection
ARG 2 callback
ARG 3 packetState
ARG 4 currentState
METHOD method_40062 (Lorg/slf4j/Marker;)V
ARG 0 marker
METHOD method_40063 (Lorg/slf4j/Marker;)V
ARG 0 marker
METHOD method_40064 (Lorg/slf4j/Marker;)V
ARG 0 marker
CLASS 1
METHOD initChannel (Lio/netty/channel/Channel;)V
ARG 1 channel

View File

@ -16,3 +16,15 @@ CLASS net/minecraft/class_2547 net/minecraft/network/listener/PacketListener
COMMENT its current packet listener.
COMMENT
COMMENT @see ClientConnection#getPacketListener()
METHOD method_40065 shouldCrashOnException ()Z
COMMENT {@return whether uncaught exceptions in main thread should crash the game
COMMENT instead of logging and ignoring them}
COMMENT
COMMENT @implNote This is {@code true} by default.
COMMENT
COMMENT @apiNote This only affects the processing on the main thread done by calling
COMMENT methods in {@link net.minecraft.network.NetworkThreadUtils}. Uncaught exceptions
COMMENT in other threads or processing in the main thread using the {@code client.execute(() -> {})}
COMMENT code will be unaffected, and always gets logged without crashing.
COMMENT
COMMENT @see ServerPacketListener

View File

@ -0,0 +1,5 @@
CLASS net/minecraft/class_6857 net/minecraft/network/listener/ServerPacketListener
COMMENT The base interface for serverbound packet listeners.
COMMENT
COMMENT @implNote Serverbound packet listeners log any uncaught exceptions
COMMENT without crashing.

View File

@ -423,6 +423,8 @@ CLASS net/minecraft/server/MinecraftServer
ARG 3 force
METHOD method_39219 isSaving ()Z
METHOD method_39424 hideOnlinePlayers ()Z
METHOD method_40056 (Lnet/minecraft/class_3218;)Z
ARG 0 world
METHOD method_5387 isMainThread ()Z
CLASS class_6414 DebugStart
FIELD field_33980 time J

View File

@ -63,6 +63,7 @@ CLASS net/minecraft/class_3900 net/minecraft/server/world/ChunkTaskPrioritySyste
ARG 0 taskFunction
ARG 1 pos
ARG 3 lastLevelUpdatedToProvider
METHOD method_39994 shouldDelayShutdown ()Z
CLASS class_3946 Task
FIELD field_17446 taskFunction Ljava/util/function/Function;
FIELD field_17447 pos J

View File

@ -96,6 +96,8 @@ CLASS net/minecraft/class_3204 net/minecraft/server/world/ChunkTicketManager
METHOD method_38632 shouldTickBlocks (J)Z
ARG 1 chunkPos
METHOD method_38633 getPlayerSimulationLevel ()I
METHOD method_39995 removePersistentTickets ()V
METHOD method_39996 shouldDelayShutdown ()Z
CLASS class_3205 DistanceFromNearestPlayerTracker
FIELD field_13896 distanceFromNearestPlayer Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
FIELD field_17461 maxDistance I

View File

@ -23,3 +23,4 @@ CLASS net/minecraft/class_3899 net/minecraft/server/world/LevelPrioritizedQueue
ARG 1 pos
ARG 3 removeElement
METHOD method_21679 getBlockingChunks ()Lit/unimi/dsi/fastutil/longs/LongSet;
METHOD method_39993 hasQueuedElement ()Z

View File

@ -111,6 +111,7 @@ CLASS net/minecraft/class_3215 net/minecraft/server/world/ServerChunkManager
METHOD method_38784 (Lnet/minecraft/class_3215$class_6635;)V
ARG 0 chunk
METHOD method_39777 getChunkIoWorker ()Lnet/minecraft/class_6830;
METHOD method_39997 removePersistentTickets ()V
CLASS class_4212 MainThreadExecutor
METHOD <init> (Lnet/minecraft/class_3215;Lnet/minecraft/class_1937;)V
ARG 2 world

View File

@ -136,6 +136,10 @@ CLASS net/minecraft/class_5579 net/minecraft/server/world/ServerEntityManager
ARG 1 entity
METHOD method_37252 isLoaded (J)Z
ARG 1 chunkPos
METHOD method_40021 shouldTick (Lnet/minecraft/class_1923;)Z
ARG 1 pos
METHOD method_40022 shouldTick (Lnet/minecraft/class_2338;)Z
ARG 1 pos
CLASS class_5580 Listener
FIELD field_27271 manager Lnet/minecraft/class_5579;
FIELD field_27272 entity Lnet/minecraft/class_5568;

View File

@ -270,6 +270,10 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
METHOD method_39501 tickWeather ()V
METHOD method_39778 cacheStructures (Lnet/minecraft/class_2791;)V
ARG 1 chunk
METHOD method_39998 shouldTick (Lnet/minecraft/class_1923;)Z
ARG 1 pos
METHOD method_39999 shouldTick (Lnet/minecraft/class_2338;)Z
ARG 1 pos
METHOD method_8448 updateSleepingPlayers ()V
METHOD method_8487 locateStructure (Lnet/minecraft/class_3195;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
ARG 1 feature

View File

@ -260,6 +260,8 @@ CLASS net/minecraft/class_3898 net/minecraft/server/world/ThreadedAnvilChunkStor
ARG 2 x2
ARG 3 z2
ARG 4 distance
METHOD method_39992 shouldDelayShutdown ()Z
COMMENT {@return whether the server shutdown should be delayed to process some tasks}
METHOD method_40067 crash (Ljava/lang/IllegalStateException;)V
ARG 1 exception
METHOD method_40068 (Ljava/lang/StringBuilder;Lnet/minecraft/class_3193;)V

View File

@ -26,3 +26,4 @@ CLASS net/minecraft/class_3846 net/minecraft/util/thread/TaskExecutor
METHOD method_37477 awaitAll ()V
METHOD method_37478 (I)Z
ARG 0 runCount
METHOD method_40001 hasQueuedTasks ()Z

View File

@ -25,6 +25,8 @@ CLASS net/minecraft/class_1255 net/minecraft/util/thread/ThreadExecutor
METHOD method_20813 waitForTasks ()V
METHOD method_21684 getTaskCount ()I
METHOD method_3777 getThread ()Ljava/lang/Thread;
METHOD method_40000 executeSync (Ljava/lang/Runnable;)V
ARG 1 runnable
METHOD method_5382 submitAsync (Ljava/lang/Runnable;)Ljava/util/concurrent/CompletableFuture;
ARG 1 runnable
METHOD method_5383 runTasks ()V

View File

@ -24,8 +24,14 @@ CLASS net/minecraft/class_3959 net/minecraft/world/RaycastContext
FIELD field_1346 predicate Ljava/util/function/Predicate;
METHOD <init> (Ljava/lang/String;ILjava/util/function/Predicate;)V
ARG 3 predicate
METHOD method_1017 (Lnet/minecraft/class_3610;)Z
ARG 0 state
METHOD method_1018 (Lnet/minecraft/class_3610;)Z
ARG 0 state
METHOD method_17751 handled (Lnet/minecraft/class_3610;)Z
ARG 1 state
METHOD method_40008 (Lnet/minecraft/class_3610;)Z
ARG 0 state
CLASS class_3960 ShapeType
FIELD field_17560 provider Lnet/minecraft/class_3959$class_3961;
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_3959$class_3961;)V

View File

@ -9,3 +9,7 @@ CLASS net/minecraft/class_2978 net/minecraft/world/gen/feature/CoralFeature
ARG 2 random
ARG 3 pos
ARG 4 state
METHOD method_40029 (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
ARG 2 block
METHOD method_40030 (Lnet/minecraft/class_2350;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
ARG 3 block

View File

@ -3,6 +3,7 @@ CLASS net/minecraft/class_6124 net/minecraft/world/gen/heightprovider/UniformHei
FIELD field_31545 LOGGER Lorg/slf4j/Logger;
FIELD field_31546 minOffset Lnet/minecraft/class_5843;
FIELD field_31547 maxOffset Lnet/minecraft/class_5843;
FIELD field_36290 warnedEmptyHeightRanges Lit/unimi/dsi/fastutil/longs/LongSet;
METHOD <init> (Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)V
ARG 1 minOffset
ARG 2 maxOffset

View File

@ -1,6 +1,8 @@
CLASS net/minecraft/class_4659 net/minecraft/world/gen/treedecorator/BeehiveTreeDecorator
FIELD field_21317 probability F
FIELD field_24958 CODEC Lcom/mojang/serialization/Codec;
FIELD field_36346 BEE_NEST_FACE Lnet/minecraft/class_2350;
FIELD field_36347 GENERATE_DIRECTIONS [Lnet/minecraft/class_2350;
METHOD <init> (F)V
ARG 1 probability
METHOD method_23464 (ILnet/minecraft/class_2338;)Z
@ -9,3 +11,9 @@ CLASS net/minecraft/class_4659 net/minecraft/world/gen/treedecorator/BeehiveTree
ARG 0 decorator
METHOD method_35373 (Ljava/util/Random;Lnet/minecraft/class_4482;)V
ARG 1 blockEntity
METHOD method_40032 (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z
ARG 1 pos
METHOD method_40033 (Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
ARG 0 pos
METHOD method_40034 (Lnet/minecraft/class_2350;)Z
ARG 0 direction

View File

@ -6,11 +6,13 @@ CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage
FIELD field_200 TIME_FORMATTER Ljava/time/format/DateTimeFormatter;
FIELD field_25020 GENERATOR_OPTION_KEYS Lcom/google/common/collect/ImmutableList;
FIELD field_31836 DEFAULT_ICON Ljava/lang/String;
FIELD field_36348 DATA_KEY Ljava/lang/String;
METHOD <init> (Ljava/nio/file/Path;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;)V
ARG 1 savesDirectory
ARG 2 backupsDirectory
ARG 3 dataFixer
METHOD method_17926 createLevelDataParser (Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5359;)Ljava/util/function/BiFunction;
ARG 0 ops
ARG 1 dataPackSettings
METHOD method_17931 getCurrentVersion ()I
METHOD method_19636 getSavesDirectory ()Ljava/nio/file/Path;
@ -38,6 +40,7 @@ CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage
ARG 3 file
ARG 4 dataFixer
METHOD method_29580 parseDataPackSettings (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_5359;
ARG 0 dynamic
METHOD method_29582 (Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5359;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;)Lnet/minecraft/class_31;
ARG 2 file
ARG 3 dataFixer
@ -45,6 +48,11 @@ CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage
ARG 0 file
ARG 1 dataFixer
METHOD method_35504 getFormatName ()Ljava/lang/String;
METHOD method_40035 loadCompactLevelData (Ljava/io/File;)Lnet/minecraft/class_2520;
COMMENT {@return the compact version of the NBT for the level data {@code file}}
COMMENT
COMMENT <p>The returned NBT will not have {@code Player} and {@code WorldGenSettings} keys.
ARG 0 file
CLASS class_5143 Session
FIELD field_23767 lock Lnet/minecraft/class_5125;
FIELD field_23768 directory Ljava/nio/file/Path;
@ -58,6 +66,7 @@ CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage
METHOD method_27010 getDirectory (Lnet/minecraft/class_5218;)Ljava/nio/file/Path;
ARG 1 savePath
METHOD method_27013 readLevelProperties (Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5359;)Lnet/minecraft/class_5219;
ARG 1 ops
ARG 2 dataPackSettings
METHOD method_27014 getIconFile ()Ljava/util/Optional;
METHOD method_27015 deleteSessionLock ()V
@ -77,3 +86,14 @@ CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage
ARG 1 path
METHOD method_29584 getLevelSummary ()Lnet/minecraft/class_34;
METHOD method_29585 getDataPackSettings ()Lnet/minecraft/class_5359;
CLASS 1
METHOD postVisitDirectory (Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
ARG 1 path
ARG 2 exception
METHOD visitFile (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
ARG 1 path
ARG 2 attributes
CLASS 2
METHOD visitFile (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
ARG 1 path
ARG 2 attributes

View File

@ -33,8 +33,11 @@ CLASS net/minecraft/class_4180 net/minecraft/world/storage/SerializingRegionBase
ARG 1 pos
METHOD method_19295 getOrCreate (J)Ljava/lang/Object;
ARG 1 pos
METHOD method_20366 (JZLjava/lang/Object;)V
ARG 4 sections
METHOD method_20368 update (Lnet/minecraft/class_1923;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)V
ARG 1 pos
ARG 2 ops
ARG 3 data
METHOD method_20369 getDataVersion (Lcom/mojang/serialization/Dynamic;)I
ARG 0 dynamic
@ -44,6 +47,9 @@ CLASS net/minecraft/class_4180 net/minecraft/world/storage/SerializingRegionBase
ARG 1 pos
METHOD method_20621 loadNbt (Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;
ARG 1 pos
METHOD method_28511 (JLcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
ARG 3 dynamic
METHOD method_33637 chunkSectionPosAsLong (Lnet/minecraft/class_1923;I)J
ARG 0 chunkPos
ARG 1 y
METHOD method_40020 hasUnsavedElements ()Z