Skip to content

Commit

Permalink
0.2.0 mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed May 31, 2020
1 parent 0226234 commit 92acc11
Show file tree
Hide file tree
Showing 21 changed files with 89 additions and 27 deletions.
6 changes: 6 additions & 0 deletions mappings/tk/valoeghese/fc0/client/Fc0.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ CLASS tk/valoeghese/fc0/class_36 tk/valoeghese/fc0/client/Fc0
FIELD field_114 guiProjection Lorg/joml/Matrix4f;
FIELD field_115 waterOverlay Ltk/valoeghese/fc0/class_17;
FIELD field_168 fov I
FIELD field_170 time J
FIELD field_171 clickToStartOverlay Ltk/valoeghese/fc0/class_17;
FIELD field_254 spawnPoint Ltk/valoeghese/fc0/class_45;
FIELD field_255 chunkStorage Ltk/valoeghese/fc0/class_56;
FIELD field_256 ecozoneOverlay Ltk/valoeghese/fc0/class_16;
FIELD field_257 i18n Ltk/valoeghese/fc0/class_74;
FIELD field_258 instance Ltk/valoeghese/fc0/class_36;
METHOD method_128 render ()V
METHOD method_129 setFov (I)V
ARG 1 fov
METHOD method_202 get ()Ltk/valoeghese/fc0/class_36;
METHOD method_203 saveWorld ()V
METHOD method_222 getPlayer ()Ltk/valoeghese/fc0/class_37;
3 changes: 0 additions & 3 deletions mappings/tk/valoeghese/fc0/client/Player.mapping
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
CLASS tk/valoeghese/fc0/class_37 tk/valoeghese/fc0/client/Player
FIELD field_120 camera Ltk/valoeghese/fc0/class_27;
FIELD field_259 currentEcozone Ltk/valoeghese/fc0/class_46;
METHOD <init> (Ltk/valoeghese/fc0/class_27;Ltk/valoeghese/fc0/class_8;)V
ARG 1 camera
ARG 2 world
METHOD method_87 getCamera ()Ltk/valoeghese/fc0/class_27;
METHOD method_90 rayCast (D)Ltk/valoeghese/fc0/class_1;
ARG 1 maxDistance
3 changes: 3 additions & 0 deletions mappings/tk/valoeghese/fc0/client/gui/TileOverlay.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS tk/valoeghese/fc0/class_81 tk/valoeghese/fc0/client/gui/TileOverlay
METHOD method_221 render (Ltk/valoeghese/fc0/class_14;BF)V
ARG 1 tile
3 changes: 3 additions & 0 deletions mappings/tk/valoeghese/fc0/client/world/ClientChunk.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ CLASS tk/valoeghese/fc0/class_48 tk/valoeghese/fc0/client/world/ClientChunk
FIELD field_167 renderer Ltk/valoeghese/fc0/class_22;
METHOD method_123 getRenderer ()Ltk/valoeghese/fc0/class_22;
METHOD method_124 refreshRenderer ()V
METHOD method_224 getFinishedChunk (II)Ltk/valoeghese/fc0/class_4;
ARG 1 x
ARG 2 z
6 changes: 4 additions & 2 deletions mappings/tk/valoeghese/fc0/client/world/ClientWorld.mapping
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
CLASS tk/valoeghese/fc0/class_76 tk/valoeghese/fc0/client/world/ClientWorld
FIELD field_270 chunkList Ljava/util/List;
FIELD field_270 renderedChunks Ljava/util/List;
FIELD field_271 chunkQueue Ljava/util/Queue;
FIELD field_291 sortedChunks Ltk/valoeghese/fc0/class_43;
METHOD <init> (Ltk/valoeghese/fc0/class_56;JI)V
ARG 1 tscs
ARG 2 seed
METHOD method_204 getClientChunks ()Ljava/util/List;
ARG 4 radius
METHOD method_204 getRenderedChunks ()Ljava/util/List;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS tk/valoeghese/fc0/class_7 tk/valoeghese/fc0/world/NeighborAccess
CLASS tk/valoeghese/fc0/class_7 tk/valoeghese/fc0/client/world/NeighborAccess
METHOD method_11 containsTileAtLevel (I)Z
ARG 1 y
METHOD method_12 getNorthTile (II)Ltk/valoeghese/fc0/class_14;
Expand Down
6 changes: 0 additions & 6 deletions mappings/tk/valoeghese/fc0/entity/Entity.mapping
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
CLASS tk/valoeghese/fc0/class_49 tk/valoeghese/fc0/entity/Entity
FIELD field_183 pos Ltk/valoeghese/fc0/class_40;
FIELD field_184 chunk Ltk/valoeghese/fc0/class_4;
FIELD field_185 world Ltk/valoeghese/fc0/class_8;
FIELD field_186 heldTile Ltk/valoeghese/fc0/class_14;
FIELD field_187 falling Z
FIELD field_188 velocity Ltk/valoeghese/fc0/class_40;
Expand All @@ -13,11 +12,6 @@ CLASS tk/valoeghese/fc0/class_49 tk/valoeghese/fc0/entity/Entity
ARG 1 x
ARG 3 y
ARG 5 z
METHOD method_143 respawn (Ltk/valoeghese/fc0/class_8;)V
ARG 1 world
METHOD method_144 setWorld (Ltk/valoeghese/fc0/class_8;Ltk/valoeghese/fc0/class_45;)V
ARG 1 world
ARG 2 pos
METHOD method_145 getZ ()I
METHOD method_146 canJump ()Z
METHOD method_147 isUnderwater ()Z
Expand Down
15 changes: 15 additions & 0 deletions mappings/tk/valoeghese/fc0/io/ThreadedSodChunkStorage.mapping
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
CLASS tk/valoeghese/fc0/class_56 tk/valoeghese/fc0/io/ThreadedSodChunkStorage
FIELD field_200 seed J
FIELD field_201 playerPos Ltk/valoeghese/fc0/class_45;
FIELD field_202 saveThread Ltk/valoeghese/fc0/class_57;
FIELD field_203 saveDirectory Ljava/io/File;
FIELD field_204 LOCK Ljava/lang/Object;
FIELD field_205 spawnPoint Ltk/valoeghese/fc0/class_45;
FIELD field_206 saveFile Ljava/io/File;
METHOD <init> (Ljava/lang/String;J)V
ARG 1 path
ARG 2 seed
METHOD method_158 getSeed ()J
METHOD method_159 loadOrCreate (Ltk/valoeghese/fc0/class_5;IILtk/valoeghese/fc0/class_47;)Ltk/valoeghese/fc0/class_4;
ARG 1 world
ARG 2 x
ARG 3 z
ARG 4 factory
METHOD method_161 save (Ljava/util/Iterator;Ltk/valoeghese/fc0/class_45;Ltk/valoeghese/fc0/class_45;J)V
ARG 1 chunks
ARG 2 playerPos
ARG 3 spawnPoint
ARG 4 time
METHOD method_218 save (Ltk/valoeghese/fc0/class_4;)V
ARG 1 chunk
METHOD method_219 saveChunks (Ljava/util/Iterator;)V
ARG 1 chunks
7 changes: 7 additions & 0 deletions mappings/tk/valoeghese/fc0/math/ChunkPos.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ CLASS tk/valoeghese/fc0/class_33 tk/valoeghese/fc0/math/ChunkPos
METHOD <init> (II)V
ARG 1 x
ARG 2 y
METHOD method_207 distanceTo (II)I
COMMENT Gets the Manhattan distance to the specified coordinates.
ARG 1 x
ARG 2 y
METHOD method_208 distanceTo (Ltk/valoeghese/fc0/class_33;)I
COMMENT Gets the Manhattan distance to the other position.
ARG 1 other
1 change: 1 addition & 0 deletions mappings/tk/valoeghese/fc0/math/TilePos.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ CLASS tk/valoeghese/fc0/class_3 tk/valoeghese/fc0/math/TilePos
METHOD <init> (Ltk/valoeghese/fc0/class_45;)V
ARG 1 vec
METHOD method_133 down ()Ltk/valoeghese/fc0/class_3;
METHOD method_209 toChunkPos ()Ltk/valoeghese/fc0/class_33;
1 change: 1 addition & 0 deletions mappings/tk/valoeghese/fc0/tile/Tile.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ CLASS tk/valoeghese/fc0/class_14 tk/valoeghese/fc0/tile/Tile
METHOD method_164 useCrossModel ()Ltk/valoeghese/fc0/class_14;
METHOD method_165 hasCrossModel ()Z
METHOD method_30 nonOpaque ()Ltk/valoeghese/fc0/class_14;
METHOD method_31 isNotAir ()Z
METHOD method_32 getTextureY (I)I
ARG 1 face
METHOD method_33 isSolid (Z)Z
Expand Down
11 changes: 10 additions & 1 deletion mappings/tk/valoeghese/fc0/world/Chunk.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,26 @@ CLASS tk/valoeghese/fc0/class_4 tk/valoeghese/fc0/world/Chunk
FIELD field_148 worldZ I
FIELD field_179 populated Z
FIELD field_180 meta [B
FIELD field_273 pos Ltk/valoeghese/fc0/class_33;
FIELD field_274 finished Z
FIELD field_6 x I
FIELD field_7 world Ltk/valoeghese/fc0/class_5;
FIELD field_9 presentYLevels Lit/unimi/dsi/fastutil/ints/IntSet;
METHOD <init> (Ltk/valoeghese/fc0/class_5;II[B[B)V
ARG 1 world
ARG 2 x
ARG 3 z
ARG 4 tiles
ARG 5 meta
METHOD method_134 deserialize (Ltk/valoeghese/fc0/class_5;Ltk/valoeghese/fc0/class_47;Ltk/valoeghese/fc0/class_60;)Ltk/valoeghese/fc0/class_4;
ARG 0 world
ARG 1 factory
ARG 2 data
METHOD method_135 serialize (Ltk/valoeghese/fc0/class_60;)V
ARG 1 data
METHOD method_210 getPos ()Ltk/valoeghese/fc0/class_33;
METHOD method_3 resetRenderer ()V
METHOD method_4 encode (III)I
METHOD method_4 encodePosition (III)I
ARG 0 x
ARG 1 y
ARG 2 z
Expand Down
2 changes: 1 addition & 1 deletion mappings/tk/valoeghese/fc0/world/ChunkGenerator.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CLASS tk/valoeghese/fc0/class_9 tk/valoeghese/fc0/world/ChunkGenerator
ARG 1 world
ARG 2 x
ARG 3 z
METHOD method_27 populate (Ltk/valoeghese/fc0/class_8;Ltk/valoeghese/fc0/class_4;Ljava/util/Random;)V
METHOD method_27 populate (Ltk/valoeghese/fc0/class_50;Ltk/valoeghese/fc0/class_4;Ljava/util/Random;)V
ARG 0 world
ARG 1 chunk
ARG 2 random
3 changes: 3 additions & 0 deletions mappings/tk/valoeghese/fc0/world/ChunkLoadingView.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS tk/valoeghese/fc0/class_80 tk/valoeghese/fc0/world/ChunkLoadingView
METHOD method_217 loadChunksAround (Ltk/valoeghese/fc0/class_33;)V
ARG 1 pos
3 changes: 3 additions & 0 deletions mappings/tk/valoeghese/fc0/world/ChunkStatus.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS tk/valoeghese/fc0/class_77 tk/valoeghese/fc0/world/ChunkStatus
FIELD field_276 _VALUES [Ltk/valoeghese/fc0/class_77;
METHOD method_212 values ()[Ltk/valoeghese/fc0/class_77;
6 changes: 5 additions & 1 deletion mappings/tk/valoeghese/fc0/world/ChunkView.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CLASS tk/valoeghese/fc0/class_5 tk/valoeghese/fc0/world/ChunkView
METHOD method_136 getSeed ()J
METHOD method_6 getChunk (II)Ltk/valoeghese/fc0/class_4;
METHOD method_211 loadChunk (IILtk/valoeghese/fc0/class_77;)Ltk/valoeghese/fc0/class_4;
ARG 1 x
ARG 2 z
ARG 3 status
METHOD method_6 getFinishedChunk (II)Ltk/valoeghese/fc0/class_4;
ARG 1 x
ARG 2 z
2 changes: 1 addition & 1 deletion mappings/tk/valoeghese/fc0/world/Ecozone.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CLASS tk/valoeghese/fc0/class_46 tk/valoeghese/fc0/world/Ecozone
ARG 1 id
ARG 2 ground
ARG 3 beach
METHOD method_148 getDecorators ()Ljava/util/Set;
METHOD method_148 getGenerators ()Ljava/util/Set;
METHOD method_149 addGenerator (Ltk/valoeghese/fc0/class_10;Ltk/valoeghese/fc0/class_51;)Ltk/valoeghese/fc0/class_46;
ARG 1 generator
ARG 2 config
4 changes: 4 additions & 0 deletions mappings/tk/valoeghese/fc0/world/GeneratingTileView.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CLASS tk/valoeghese/fc0/class_79 tk/valoeghese/fc0/world/GeneratingTileView
FIELD field_285 world Ltk/valoeghese/fc0/class_6;
METHOD <init> (Ltk/valoeghese/fc0/class_6;)V
ARG 1 world
3 changes: 3 additions & 0 deletions mappings/tk/valoeghese/fc0/world/TileView.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
CLASS tk/valoeghese/fc0/class_50 tk/valoeghese/fc0/world/TileView
METHOD method_10 getChunk (II)Ltk/valoeghese/fc0/class_4;
ARG 1 x
ARG 2 z
METHOD method_150 setTile (IIIB)V
ARG 1 x
ARG 2 y
Expand Down
27 changes: 16 additions & 11 deletions mappings/tk/valoeghese/fc0/world/World.mapping
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
CLASS tk/valoeghese/fc0/class_6 tk/valoeghese/fc0/world/World
FIELD field_13 chunkRadius I
FIELD field_149 seed J
FIELD field_16 random Ljava/util/Random;
FIELD field_181 orderedChunks Ltk/valoeghese/fc0/class_43;
FIELD field_18 chunks [Ltk/valoeghese/fc0/class_4;
FIELD field_19 chunkSize I
FIELD field_18 chunks Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
FIELD field_20 start I
FIELD field_21 end I
METHOD <init> (Ltk/valoeghese/fc0/class_56;JILtk/valoeghese/fc0/class_47;Ljava/util/function/IntFunction;)V
ARG 1 tscs
FIELD field_280 generatingView Ltk/valoeghese/fc0/class_50;
FIELD field_281 chunkFactory Ltk/valoeghese/fc0/class_47;
FIELD field_282 chunkStorage Ltk/valoeghese/fc0/class_56;
METHOD <init> (Ltk/valoeghese/fc0/class_56;JILtk/valoeghese/fc0/class_47;)V
ARG 1 chunkStorage
ARG 2 seed
ARG 4 radius
ARG 5 chunkFactory
ARG 6 chunkOrder
METHOD method_10 getChunkAt (II)Ltk/valoeghese/fc0/class_4;
METHOD method_112 getChunks ()Ljava/util/Iterator;
METHOD method_137 resetRenderers ()V
METHOD method_213 getChunkKey (II)J
ARG 0 x
ARG 1 z
METHOD method_214 onChunkRemoved (Ltk/valoeghese/fc0/class_4;)V
ARG 1 chunk
METHOD method_216 getStoredChunk (II)Ltk/valoeghese/fc0/class_4;
ARG 1 x
ARG 2 z
METHOD method_112 getChunks ()[Ltk/valoeghese/fc0/class_4;
METHOD method_137 resetRenderers ()V
METHOD method_8 populate ()V
METHOD method_8 generateSpawn ()V
2 changes: 2 additions & 0 deletions mappings/tk/valoeghese/fc0/world/_EnumSwitches.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CLASS tk/valoeghese/fc0/class_78 tk/valoeghese/fc0/world/_EnumSwitches
FIELD field_284 GET_CHUNK [I

0 comments on commit 92acc11

Please sign in to comment.