Skip to content

Commit

Permalink
fix #57 (#58)
Browse files Browse the repository at this point in the history
* fix #57

* update build number
  • Loading branch information
valoeghese authored Apr 13, 2021
1 parent 75f863a commit 59b928b
Show file tree
Hide file tree
Showing 19 changed files with 107 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def minecraft_version = "b1.7.3"

def ENV = System.getenv()
//def build_number = ENV.BUILD_NUMBER ?: "local"
def build_number = 14
def build_number = 15

def yarnVersion = "${minecraft_version}+build.$build_number"

Expand Down
7 changes: 0 additions & 7 deletions mappings/net/minecraft/class_445.mapping

This file was deleted.

2 changes: 0 additions & 2 deletions mappings/net/minecraft/class_53.mapping

This file was deleted.

7 changes: 0 additions & 7 deletions mappings/net/minecraft/class_96.mapping

This file was deleted.

1 change: 1 addition & 0 deletions mappings/net/minecraft/client/Minecraft.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CLASS net/minecraft/client/Minecraft net/minecraft/client/Minecraft
FIELD field_2829 minecraft Lnet/minecraft/client/Minecraft;
FIELD field_2766 soundHelper Lnet/minecraft/class_617;
FIELD field_2768 texturePackManager Lnet/minecraft/class_303;
FIELD field_2773 statManager Lnet/minecraft/class_96;
FIELD field_2774 running Z
FIELD field_2775 fpsDebugString Ljava/lang/String;
FIELD field_2780 lastTickTime J
Expand Down
9 changes: 9 additions & 0 deletions mappings/net/minecraft/client/render/GameRenderer.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
CLASS net/minecraft/class_555 net/minecraft/client/render/GameRenderer
FIELD field_2336 random Ljava/util/Random;
FIELD field_2342 handItemRenderer Lnet/minecraft/class_556;
FIELD field_2346 r F
FIELD field_2347 g F
FIELD field_2348 b F
FIELD field_2349 minecraft Lnet/minecraft/client/Minecraft;
FIELD field_2353 cinematicPitchSmoother Lnet/minecraft/class_12;
FIELD field_2354 cinematicYawSmoother Lnet/minecraft/class_12;
METHOD method_1844 (F)V
ARG 1 delta
METHOD method_1847 renderWeather (F)V
ARG 1 tickDelta
METHOD method_1852 renderSkyBase (F)V
ARG 1 tickDelta
2 changes: 2 additions & 0 deletions mappings/net/minecraft/item/MapItem.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CLASS net/minecraft/class_125 net/minecraft/item/MapItem
METHOD method_1730 (Lnet/minecraft/class_31;Lnet/minecraft/class_18;)Lnet/minecraft/class_198;
ARG 2 level
6 changes: 6 additions & 0 deletions mappings/net/minecraft/level/Level.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ CLASS net/minecraft/class_18 net/minecraft/level/Level
FIELD field_208 thunderGradient F
FIELD field_213 difficulty I
FIELD field_214 rand Ljava/util/Random;
FIELD field_215 generating Z
FIELD field_216 dimension Lnet/minecraft/class_50;
FIELD field_218 cache Lnet/minecraft/class_51;
FIELD field_219 dimensionData Lnet/minecraft/class_52;
FIELD field_220 properties Lnet/minecraft/class_7;
FIELD field_222 data Lnet/minecraft/class_53;
METHOD <init> (Lnet/minecraft/class_18;Lnet/minecraft/class_50;)V
ARG 1 level
ARG 2 dimension
Expand Down Expand Up @@ -66,6 +68,7 @@ CLASS net/minecraft/class_18 net/minecraft/level/Level
METHOD method_191 playSound (Lnet/minecraft/class_57;Ljava/lang/String;FF)V
METHOD method_195 saveLevel (ZLnet/minecraft/class_62;)V
ARG 2 listener
METHOD method_197 createLevelSource ()Lnet/minecraft/class_51;
METHOD method_200 setTileInChunk (IIII)Z
ARG 1 x
ARG 2 y
Expand All @@ -74,6 +77,8 @@ CLASS net/minecraft/class_18 net/minecraft/level/Level
METHOD method_202 updateRedstone (IIIIII)V
METHOD method_210 spawnEntity (Lnet/minecraft/class_57;)Z
METHOD method_211 getEntities (Lnet/minecraft/class_57;Lnet/minecraft/class_25;)Ljava/util/List;
METHOD method_212 computeSpawnPosition ()V
METHOD method_213 getThunderGradient (F)F
METHOD method_214 getChunkFromCache (II)Lnet/minecraft/class_43;
ARG 1 x
ARG 2 z
Expand Down Expand Up @@ -131,6 +136,7 @@ CLASS net/minecraft/class_18 net/minecraft/level/Level
METHOD method_276 setSpawnPosition (Lnet/minecraft/class_63;)V
METHOD method_277 addPlayer (Lnet/minecraft/class_54;)V
ARG 1 player
METHOD method_284 getSkyColour (F)Lnet/minecraft/class_26;
METHOD method_289 setRainGradient (F)V
ARG 1 gradient
METHOD method_293 disconnect ()V
15 changes: 15 additions & 0 deletions mappings/net/minecraft/level/LevelData.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CLASS net/minecraft/class_53 net/minecraft/level/LevelData
FIELD field_550 dimensionData Lnet/minecraft/class_52;
FIELD field_551 mapStorages Ljava/util/Map;
FIELD field_552 mapStorageValues Ljava/util/List;
METHOD <init> (Lnet/minecraft/class_52;)V
ARG 1 data
METHOD method_523 flush ()V
METHOD method_524 writeToFile (Lnet/minecraft/class_58;)V
ARG 1 mapStorage
METHOD method_525 getOrCreateMapStorage (Ljava/lang/Class;Ljava/lang/String;)Lnet/minecraft/class_58;
ARG 1 mapStorageClass
ARG 2 name
METHOD method_527 setMapStorage (Ljava/lang/String;Lnet/minecraft/class_58;)V
ARG 1 key
ARG 2 storage
8 changes: 8 additions & 0 deletions mappings/net/minecraft/level/chunk/Chunk.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
CLASS net/minecraft/class_43 net/minecraft/level/chunk/Chunk
FIELD field_954 tiles [B
FIELD field_956 level Lnet/minecraft/class_18;
FIELD field_957 data Lnet/minecraft/class_257;
FIELD field_958 skylight Lnet/minecraft/class_257;
FIELD field_959 blocklight Lnet/minecraft/class_257;
FIELD field_960 heightmap [B
FIELD field_962 x I
FIELD field_963 z I
Expand All @@ -11,6 +14,11 @@ CLASS net/minecraft/class_43 net/minecraft/level/chunk/Chunk
ARG 1 level
ARG 2 x
ARG 3 z
METHOD <init> (Lnet/minecraft/class_18;[BII)V
ARG 1 level
ARG 2 tiles
ARG 3 x
ARG 4 z
METHOD method_859 getTileId (III)I
ARG 1 x
ARG 2 y
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/level/chunk/ChunkSubData.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_257 net/minecraft/level/chunk/ChunkSubData
10 changes: 10 additions & 0 deletions mappings/net/minecraft/level/chunk/DimensionFileChunkIO.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CLASS net/minecraft/class_445 net/minecraft/level/chunk/DimensionFileChunkIO
METHOD <init> (Ljava/io/File;Z)V
ARG 1 file
METHOD method_1479 loadChunk (Lnet/minecraft/class_18;Lnet/minecraft/class_8;)Lnet/minecraft/class_43;
ARG 0 level
ARG 1 tag
METHOD method_1480 (Lnet/minecraft/class_43;Lnet/minecraft/class_18;Lnet/minecraft/class_8;)V
ARG 0 chunk
ARG 1 level
ARG 2 tag
9 changes: 8 additions & 1 deletion mappings/net/minecraft/level/dimension/Dimension.mapping
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
CLASS net/minecraft/class_50 net/minecraft/level/dimension/Dimension
FIELD field_2173 level Lnet/minecraft/class_18;
FIELD field_2174 biomeSource Lnet/minecraft/class_519;
FIELD field_2175 hasFog Z
FIELD field_2179 id I
METHOD method_1762 getSkyColour (FF)Lnet/minecraft/class_26;
ARG 1 temperature
ARG 2 humidity
METHOD method_1763 renderAsSkylands ()Z
METHOD method_1764 getCloudHeight ()F
METHOD method_1766 canPlayerSleep ()Z
METHOD method_1767 getByID (I)Lnet/minecraft/class_50;
ARG 0 id
METHOD method_1768 (Lnet/minecraft/class_18;)V
METHOD method_1768 setLevel (Lnet/minecraft/class_18;)V
ARG 1 level
METHOD method_1769 createBiomeSource ()V
METHOD method_1772 createLevelSource ()Lnet/minecraft/class_51;
9 changes: 9 additions & 0 deletions mappings/net/minecraft/level/storage/MapStorageBase.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
CLASS net/minecraft/class_58 net/minecraft/level/storage/MapStorageBase
FIELD field_574 name Ljava/lang/String;
FIELD field_575 dirty Z
METHOD <init> (Ljava/lang/String;)V
ARG 1 name
METHOD method_544 markDirty ()V
METHOD method_545 fromTag (Lnet/minecraft/class_8;)V
ARG 1 tag
METHOD method_546 setDirty (Z)V
ARG 1 dirty
METHOD method_547 isDirty ()Z
METHOD method_548 toTag (Lnet/minecraft/class_8;)V
ARG 1 tag
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLASS net/minecraft/class_219 net/minecraft/network/ClientPlayNetworkHandler
FIELD field_1968 levelData Lnet/minecraft/class_53;
FIELD field_1969 rand Ljava/util/Random;
FIELD field_1970 disconnected Z
FIELD field_1971 netHandler Lnet/minecraft/class_117;
Expand Down
29 changes: 29 additions & 0 deletions mappings/net/minecraft/stat/StatManager.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
CLASS net/minecraft/class_96 net/minecraft/stat/StatManager
FIELD field_2604 achievements Ljava/util/Map;
FIELD field_2605 stats Ljava/util/Map;
FIELD field_2606 dirty Z
FIELD field_2607 syncher Lnet/minecraft/class_605;
METHOD <init> (Lnet/minecraft/class_237;Ljava/io/File;)V
ARG 1 session
ARG 2 file
METHOD method_1983 getStats ()Ljava/util/Map;
METHOD method_1984 method_1984 (Ljava/lang/String;)Ljava/util/Map;
METHOD method_1985 getDebugString (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
ARG 0 username
ARG 1 sessionId
METHOD method_1986 loadAchievementsFrom (Ljava/util/Map;)V
ARG 1 stats
METHOD method_1987 setStat (Ljava/util/Map;Lnet/minecraft/class_139;I)V
METHOD method_1988 hasAchievement (Lnet/minecraft/class_24;)Z
ARG 1 achievement
METHOD method_1989 getStatAmount (Lnet/minecraft/class_139;)I
ARG 1 stat
METHOD method_1990 incrementStat (Lnet/minecraft/class_139;I)V
ARG 1 stat
ARG 2 amount
METHOD method_1993 canGetAchievement (Lnet/minecraft/class_24;)Z
ARG 1 achievement
METHOD method_1994 sync ()V
METHOD method_1995 loadStatsFrom (Ljava/util/Map;)V
ARG 1 stats
METHOD method_1996 tick ()V
2 changes: 2 additions & 0 deletions mappings/net/minecraft/stat/StatSyncher.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CLASS net/minecraft/class_605 net/minecraft/stat/StatSyncher
FIELD field_2725 session Lnet/minecraft/class_237;
METHOD method_2051 getStatsFromServer ()V
METHOD method_2060 saveStats (Ljava/util/Map;)V
METHOD method_2061 sync (Ljava/util/Map;Ljava/io/File;Ljava/io/File;Ljava/io/File;)V
METHOD method_2064 sync (Ljava/util/Map;)V
2 changes: 2 additions & 0 deletions mappings/net/minecraft/util/ProgressListener.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CLASS net/minecraft/class_62 net/minecraft/util/ProgressListener
METHOD method_1794 progressStagePercentage (I)V
METHOD method_1795 notifyIgnoreGameRunning (Ljava/lang/String;)V
ARG 1 message
METHOD method_1796 notifySubMessage (Ljava/lang/String;)V
ARG 1 message
3 changes: 3 additions & 0 deletions mappings/net/minecraft/util/ProgressListenerImpl.mapping
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
CLASS net/minecraft/class_452 net/minecraft/util/ProgressListenerImpl
FIELD field_1714 submessage Ljava/lang/String;
FIELD field_1715 minecraft Lnet/minecraft/client/Minecraft;
FIELD field_1716 message Ljava/lang/String;
FIELD field_1717 lastTimeMillis J
FIELD field_1718 ignoreGameRunning Z
METHOD <init> (Lnet/minecraft/client/Minecraft;)V
ARG 1 minecraft
METHOD method_1491 notifyWithGameRunning (Ljava/lang/String;)V
ARG 1 message
METHOD method_1492 notify (Ljava/lang/String;)V
ARG 1 message

0 comments on commit 59b928b

Please sign in to comment.