Skip to content

Commit

Permalink
Added stuff from FabricMC#3975
Browse files Browse the repository at this point in the history
Co-Authored-By: apple502j <[email protected]>
  • Loading branch information
Shnupbups and apple502j committed Sep 4, 2024
1 parent 022b1c7 commit e18de29
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 9 deletions.
2 changes: 2 additions & 0 deletions mappings/net/minecraft/client/model/ModelPart.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ CLASS net/minecraft/class_630 net/minecraft/client/model/ModelPart
METHOD method_41923 resetTransform ()V
METHOD method_41924 scale (Lorg/joml/Vector3f;)V
ARG 1 vec3f
METHOD method_62132 rotate (Lorg/joml/Quaternionf;)V
ARG 1 quaternion
CLASS class_593 Quad
FIELD comp_3184 vertices [Lnet/minecraft/class_630$class_618;
FIELD comp_3185 direction Lorg/joml/Vector3f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ CLASS net/minecraft/class_634 net/minecraft/client/network/ClientPlayNetworkHand
METHOD method_60347 getSearchManager ()Lnet/minecraft/class_1124;
METHOD method_60885 getServerLinks ()Lnet/minecraft/class_9782;
METHOD method_62147 getFuelRegistry ()Lnet/minecraft/class_9895;
METHOD method_62148 startTagReload (Lnet/minecraft/class_5321;Lnet/minecraft/class_6864$class_5748;)Lnet/minecraft/class_2378$class_10106;
ARG 1 registryRef
ARG 2 serialized
METHOD method_62149 syncOptions (Lnet/minecraft/class_8791;)V
ARG 1 syncedOptions
METHOD method_62150 (ZLjava/util/List;Lnet/minecraft/class_5321;Lnet/minecraft/class_6864$class_5748;)V
ARG 3 registryRef
ARG 4 serialized
METHOD method_62151 fetchProfileKey ()V
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CLASS net/minecraft/class_9173 net/minecraft/client/network/ClientRegistries
FIELD field_48767 dynamicRegistries Lnet/minecraft/class_9173$class_9174;
FIELD field_48768 tagLoader Lnet/minecraft/class_9173$class_9954;
FIELD field_48768 tags Lnet/minecraft/class_9173$class_9954;
METHOD method_56583 putDynamicRegistry (Lnet/minecraft/class_5321;Ljava/util/List;)V
ARG 1 registryRef
ARG 2 entries
Expand All @@ -15,3 +15,10 @@ CLASS net/minecraft/class_9173 net/minecraft/client/network/ClientRegistries
METHOD method_56588 put (Lnet/minecraft/class_5321;Ljava/util/List;)V
ARG 1 registryRef
ARG 2 entries
CLASS class_9954 Tags
FIELD field_53034 tags Ljava/util/Map;
METHOD method_62162 put (Lnet/minecraft/class_5321;Lnet/minecraft/class_6864$class_5748;)V
ARG 1 registryRef
ARG 2 tags
METHOD method_62163 forEach (Ljava/util/function/BiConsumer;)V
ARG 1 consumer
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CLASS net/minecraft/class_5294 net/minecraft/client/render/DimensionEffects
ARG 0 map
METHOD method_29992 getSkyType ()Lnet/minecraft/class_5294$class_5401;
METHOD method_29993 isDarkened ()Z
METHOD method_62183 isSunHigh (F)Z
METHOD method_62183 isSunRisingOrSetting (F)Z
ARG 1 skyAngle
METHOD method_62184 getSkyColor (F)I
ARG 1 skyAngle
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/client/render/SkyRendering.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CLASS net/minecraft/class_9975 net/minecraft/client/render/SkyRendering
ARG 4 matrices
METHOD method_62305 renderSkyDark (Lnet/minecraft/class_4587;)V
ARG 1 matrices
METHOD method_62306 (Lnet/minecraft/class_4587;Lnet/minecraft/class_289;FI)V
METHOD method_62306 renderGlowingSky (Lnet/minecraft/class_4587;Lnet/minecraft/class_289;FI)V
ARG 1 matrices
ARG 2 tesselator
ARG 3 angleRadians
Expand Down
15 changes: 9 additions & 6 deletions mappings/net/minecraft/client/render/WorldRenderer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -254,18 +254,21 @@ CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
ARG 2 frustum
ARG 3 output
METHOD method_62219 scheduleChunkRenders (IIIIII)V
ARG 1 xMin
ARG 2 yMin
ARG 3 zMin
ARG 4 xMax
ARG 5 yMax
ARG 6 zMax
ARG 1 minX
ARG 2 minY
ARG 3 minZ
ARG 4 maxX
ARG 5 maxY
ARG 6 maxZ
METHOD method_62220 getBuiltChunks ()Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
METHOD method_62221 getChunkRenderingDataPreparer ()Lnet/minecraft/class_8679;
METHOD method_62222 getCapturedFrustum ()Lnet/minecraft/class_4604;
METHOD method_62907 getTransparencyPostEffectProcessor ()Lnet/minecraft/class_279;
METHOD method_62908 onChunkUnload (J)V
ARG 1 sectionPos
METHOD method_62910 isLightingEnabledAround (Lnet/minecraft/class_3568;J)Z
ARG 0 lightingProvider
ARG 1 sectionPos
METHOD method_8563 addParticle (Lnet/minecraft/class_2394;ZZDDDDDD)V
ARG 1 parameters
ARG 2 shouldAlwaysSpawn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ CLASS net/minecraft/class_631 net/minecraft/client/world/ClientChunkManager
ARG 1 x
ARG 2 z
ARG 3 buf
METHOD method_62890 getActiveSections ()Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
CLASS class_3681 ClientChunkMap
FIELD field_16251 chunks Ljava/util/concurrent/atomic/AtomicReferenceArray;
FIELD field_16252 diameter I
Expand Down
7 changes: 7 additions & 0 deletions mappings/net/minecraft/client/world/ClientWorld.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
ARG 1 entity
METHOD method_62145 hasEntity (Lnet/minecraft/class_1297;)Z
ARG 1 entity
METHOD method_62146 scheduleChunkRenders (IIIIII)V
ARG 1 minX
ARG 2 minY
ARG 3 minZ
ARG 4 maxX
ARG 5 maxY
ARG 6 maxZ
METHOD method_62895 onChunkUnload (J)V
ARG 1 sectionPos
METHOD method_8435 setTimeOfDay (J)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,19 @@ CLASS net/minecraft/class_10163 net/minecraft/datafixer/fix/TrialSpawnerConfigIn
FIELD field_53970 LOGGER Lorg/slf4j/Logger;
METHOD <init> (Lcom/mojang/datafixers/schemas/Schema;)V
ARG 1 outputSchema
METHOD method_62996 fix (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
ARG 1 nbt
METHOD method_62997 (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
ARG 1 dynamic
CLASS class_10164 Replacements
FIELD field_53971 REPLACEMENTS Ljava/util/Map;
METHOD method_62998 register (Lnet/minecraft/class_2960;Ljava/lang/String;Ljava/lang/String;)V
ARG 0 id
ARG 1 normal
ARG 2 ominous
METHOD method_62999 parse (Ljava/lang/String;)Lnet/minecraft/class_2487;
ARG 0 nbt
METHOD method_63000 toDynamic (Lnet/minecraft/class_2487;)Lcom/mojang/serialization/Dynamic;
ARG 0 nbt
METHOD method_63001 removeDefaults (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
ARG 0 nbt

0 comments on commit e18de29

Please sign in to comment.