Skip to content

Commit

Permalink
GUI and world mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Aug 1, 2020
1 parent e3e9512 commit fef4654
Show file tree
Hide file tree
Showing 15 changed files with 92 additions and 4 deletions.
8 changes: 8 additions & 0 deletions mappings/tk/valoeghese/fc0/class_117.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CLASS tk/valoeghese/fc0/class_117
FIELD field_413 minX F
FIELD field_414 maxX F
FIELD field_415 minY F
FIELD field_416 maxY F
METHOD method_368 isWithinBounds (FF)Z
ARG 1 x
ARG 2 y
9 changes: 9 additions & 0 deletions mappings/tk/valoeghese/fc0/class_98.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CLASS tk/valoeghese/fc0/class_98
FIELD field_347 uv [[F
FIELD field_417 size F
METHOD <init> (IF)V
ARG 1 texture
ARG 2 size
METHOD method_281 addVertices (FF)V
ARG 1 x
ARG 2 y
12 changes: 12 additions & 0 deletions mappings/tk/valoeghese/fc0/client/Fc0.mapping
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
CLASS tk/valoeghese/fc0/class_36 tk/valoeghese/fc0/client/Fc0
FIELD field_105 cursorX D
FIELD field_107 world Ltk/valoeghese/fc0/class_76;
FIELD field_109 projection Lorg/joml/Matrix4f;
FIELD field_110 window Ltk/valoeghese/fc0/class_32;
FIELD field_111 player Ltk/valoeghese/fc0/class_37;
FIELD field_112 cursorY D
FIELD field_114 guiProjection Lorg/joml/Matrix4f;
FIELD field_115 waterOverlay Ltk/valoeghese/fc0/class_17;
FIELD field_168 fov I
Expand All @@ -16,6 +18,10 @@ CLASS tk/valoeghese/fc0/class_36 tk/valoeghese/fc0/client/Fc0
FIELD field_356 hudScreen Ltk/valoeghese/fc0/class_100;
FIELD field_357 inventoryScreen Ltk/valoeghese/fc0/class_101;
FIELD field_358 currentScreen Ltk/valoeghese/fc0/class_101;
METHOD invoke (JDD)V
ARG 1 pointer
ARG 3 x
ARG 5 y
METHOD method_128 render ()V
METHOD method_129 setFov (I)V
ARG 1 fov
Expand All @@ -26,7 +32,13 @@ CLASS tk/valoeghese/fc0/class_36 tk/valoeghese/fc0/client/Fc0
METHOD method_285 getWindowRatio ()F
METHOD method_286 getWindowPointer ()J
METHOD method_287 getWindow ()Ltk/valoeghese/fc0/class_32;
METHOD method_288 getWorld ()Ltk/valoeghese/fc0/class_76;
METHOD method_289 getHotbar ()Ltk/valoeghese/fc0/class_95;
METHOD method_290 setWorld (Ltk/valoeghese/fc0/class_76;)V
ARG 1 world
METHOD method_291 setScreen (Ltk/valoeghese/fc0/class_101;)V
ARG 1 screen
METHOD method_292 loadSave (Ljava/lang/String;)V
ARG 1 save
METHOD method_293 generateSpawn ()V
METHOD method_376 initGameRendering ()V
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
CLASS tk/valoeghese/fc0/class_100 tk/valoeghese/fc0/client/gui/screen/HudScreen
FIELD field_351 crosshair Ltk/valoeghese/fc0/class_17;
FIELD field_352 inventoryOverlay Ltk/valoeghese/fc0/class_95;
FIELD field_352 hotbar Ltk/valoeghese/fc0/class_95;
FIELD field_353 ecozoneOverlay Ltk/valoeghese/fc0/class_16;
FIELD field_354 versionOverlay Ltk/valoeghese/fc0/class_17;
METHOD method_284 selectItem (Ltk/valoeghese/fc0/class_90;)V
ARG 0 inventory
ARG 1 inv
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
CLASS tk/valoeghese/fc0/class_99 tk/valoeghese/fc0/client/gui/screen/InventoryScreen
FIELD field_349 background Ltk/valoeghese/fc0/class_17;
FIELD field_350 craftingPanel Ltk/valoeghese/fc0/class_93;
METHOD method_283 close ()V
8 changes: 7 additions & 1 deletion mappings/tk/valoeghese/fc0/client/gui/screen/Screen.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ CLASS tk/valoeghese/fc0/class_101 tk/valoeghese/fc0/client/gui/screen/Screen
FIELD field_361 fc0 Ltk/valoeghese/fc0/class_36;
METHOD <init> (Ltk/valoeghese/fc0/class_36;)V
ARG 1 fc0
METHOD method_294 tick ()V
METHOD method_295 mouseMoved (DD)V
ARG 1 x
ARG 3 y
METHOD method_296 render (F)V
METHOD method_297 (Ltk/valoeghese/fc0/class_32;)V
ARG 1 lighting
METHOD method_297 close (Ltk/valoeghese/fc0/class_32;)V
ARG 1 window
METHOD method_298 init ()V
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
CLASS tk/valoeghese/fc0/class_93 tk/valoeghese/fc0/client/gui/widget/CraftingPanel
FIELD field_331 inventory Ltk/valoeghese/fc0/class_90;
METHOD <init> (Ltk/valoeghese/fc0/class_90;)V
ARG 1 inventory
METHOD method_274 getRecipeOutputAt (FF)Ltk/valoeghese/fc0/class_92;
ARG 1 x
ARG 2 y
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS tk/valoeghese/fc0/class_95 tk/valoeghese/fc0/client/gui/widget/InventoryPanel
CLASS tk/valoeghese/fc0/class_95 tk/valoeghese/fc0/client/gui/widget/HotbarPanel
FIELD field_341 inventory Ltk/valoeghese/fc0/class_90;
METHOD <init> (Ltk/valoeghese/fc0/class_90;)V
ARG 1 inventory
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
CLASS tk/valoeghese/fc0/class_81 tk/valoeghese/fc0/client/gui/widget/ItemWidget
FIELD field_286 x F
FIELD field_287 y F
FIELD field_288 size F
METHOD <init> (FFF)V
ARG 1 x
ARG 2 y
ARG 3 size
METHOD method_221 render (Ltk/valoeghese/fc0/class_14;BF)V
ARG 1 tile
ARG 2 meta
ARG 3 width
METHOD method_369 render (Ltk/valoeghese/fc0/class_112;F)V
ARG 1 item
ARG 2 width
11 changes: 11 additions & 0 deletions mappings/tk/valoeghese/fc0/client/gui/widget/RecipeWidget.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
CLASS tk/valoeghese/fc0/class_94 tk/valoeghese/fc0/client/gui/widget/RecipeWidget
FIELD field_334 recipeOutput Ltk/valoeghese/fc0/class_92;
FIELD field_335 icon Ltk/valoeghese/fc0/class_81;
FIELD field_336 craftButton Ltk/valoeghese/fc0/class_117;
FIELD field_337 name Ltk/valoeghese/fc0/class_16;
METHOD <init> (Ltk/valoeghese/fc0/class_92;FF)V
ARG 1 recipeOutput
ARG 2 x
ARG 3 y
METHOD method_370 isWithinButton (FF)Z
ARG 1 x
ARG 2 y
12 changes: 12 additions & 0 deletions mappings/tk/valoeghese/fc0/client/gui/widget/TextWidget.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
CLASS tk/valoeghese/fc0/class_16 tk/valoeghese/fc0/client/gui/widget/TextWidget
FIELD field_246 x F
FIELD field_247 y F
FIELD field_248 fontSize F
METHOD <init> (Ljava/lang/String;FFF)V
ARG 1 text
ARG 2 x
ARG 3 y
ARG 4 fontSize
METHOD method_198 setText (Ljava/lang/String;)V
ARG 1 text
METHOD method_199 setText ([C)V
ARG 1 chars
4 changes: 4 additions & 0 deletions mappings/tk/valoeghese/fc0/world/Chunk.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CLASS tk/valoeghese/fc0/class_4 tk/valoeghese/fc0/world/Chunk
FIELD field_180 meta [B
FIELD field_273 pos Ltk/valoeghese/fc0/class_33;
FIELD field_274 finished Z
FIELD field_295 dirty 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;
Expand All @@ -24,7 +25,10 @@ CLASS tk/valoeghese/fc0/class_4 tk/valoeghese/fc0/world/Chunk
METHOD method_135 serialize (Ltk/valoeghese/fc0/class_60;)V
ARG 1 data
METHOD method_210 getPos ()Ltk/valoeghese/fc0/class_33;
METHOD method_234 isDirty ()Z
METHOD method_3 resetRenderer ()V
METHOD method_348 innerAddEntity (Ltk/valoeghese/fc0/class_49;)V
ARG 1 entity
METHOD method_4 encodePosition (III)I
ARG 0 x
ARG 1 y
Expand Down
1 change: 1 addition & 0 deletions mappings/tk/valoeghese/fc0/world/Ecozone.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CLASS tk/valoeghese/fc0/class_46 tk/valoeghese/fc0/world/Ecozone
FIELD field_162 TUNDRA Ltk/valoeghese/fc0/class_46;
FIELD field_163 DESERT Ltk/valoeghese/fc0/class_46;
FIELD field_189 generators Ljava/util/Map;
FIELD field_304 COLD_WOODLAND Ltk/valoeghese/fc0/class_46;
METHOD <init> (Ljava/lang/String;)V
ARG 1 id
METHOD <init> (Ljava/lang/String;Ltk/valoeghese/fc0/class_14;Ltk/valoeghese/fc0/class_14;)V
Expand Down
5 changes: 5 additions & 0 deletions mappings/tk/valoeghese/fc0/world/TileView.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ CLASS tk/valoeghese/fc0/class_50 tk/valoeghese/fc0/world/TileView
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_351 setMeta (IIIB)V
ARG 1 x
ARG 2 y
ARG 3 z
ARG 4 meta
3 changes: 2 additions & 1 deletion mappings/tk/valoeghese/fc0/world/World.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ CLASS tk/valoeghese/fc0/class_6 tk/valoeghese/fc0/world/World
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;
FIELD field_283 saveExecutor Ljava/util/concurrent/ExecutorService;
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
METHOD method_112 getChunks ()Ljava/util/Iterator;
METHOD method_137 resetRenderers ()V
METHOD method_137 reset ()V
METHOD method_213 getChunkKey (II)J
ARG 0 x
ARG 1 z
Expand Down

0 comments on commit fef4654

Please sign in to comment.