Skip to content

Commit

Permalink
Model predicate provider registry minor (FabricMC#2420)
Browse files Browse the repository at this point in the history
Works well with FabricMC#2417

Signed-off-by: liach <[email protected]>

Co-authored-by: liach <[email protected]>
  • Loading branch information
liach and liach authored May 24, 2021
1 parent 93ec3e9 commit 6be1599
Showing 1 changed file with 98 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,105 @@ CLASS net/minecraft/class_5272 net/minecraft/client/item/ModelPredicateProviderR
FIELD field_24447 DAMAGE_PROVIDER Lnet/minecraft/class_6395;
FIELD field_24448 ITEM_SPECIFIC Ljava/util/Map;
FIELD field_32947 CUSTOM_MODEL_DATA_KEY Ljava/lang/String;
METHOD method_27877 (Lnet/minecraft/class_1792;)Ljava/util/Map;
ARG 0 key
METHOD method_27878 get (Lnet/minecraft/class_1792;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1800;
ARG 0 item
ARG 1 id
METHOD method_27879 register (Lnet/minecraft/class_1792;Lnet/minecraft/class_2960;Lnet/minecraft/class_6395;)V
ARG 0 item
ARG 1 id
ARG 2 provider
METHOD method_27880 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27881 register (Lnet/minecraft/class_2960;Lnet/minecraft/class_6395;)Lnet/minecraft/class_6395;
ARG 0 id
ARG 1 provider
METHOD method_27882 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27883 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27884 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27885 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27886 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27887 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27888 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27889 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27890 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27891 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27892 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27893 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27894 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_27895 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_32202 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_35803 (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 0 stack
ARG 1 world
ARG 2 entity
ARG 3 seed
METHOD method_37106 registerCustomModelData (Lnet/minecraft/class_1800;)V
ARG 0 provider
CLASS 1
FIELD field_7910 step D
FIELD field_7911 time D
Expand All @@ -22,8 +113,8 @@ CLASS net/minecraft/class_5272 net/minecraft/client/item/ModelPredicateProviderR
ARG 1 world
ARG 2 skyAngle
CLASS 2
FIELD field_24449 value Lnet/minecraft/class_5272$class_5171;
FIELD field_24450 speed Lnet/minecraft/class_5272$class_5171;
FIELD field_24449 aimedInterpolator Lnet/minecraft/class_5272$class_5171;
FIELD field_24450 aimlessInterpolator Lnet/minecraft/class_5272$class_5171;
METHOD method_27896 getItemFrameAngleOffset (Lnet/minecraft/class_1533;)D
ARG 1 itemFrame
METHOD method_27897 getLodestonePos (Lnet/minecraft/class_1937;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2338;
Expand All @@ -34,11 +125,16 @@ CLASS net/minecraft/class_5272 net/minecraft/client/item/ModelPredicateProviderR
ARG 2 entity
METHOD method_27899 getSpawnPos (Lnet/minecraft/class_638;)Lnet/minecraft/class_2338;
ARG 1 world
METHOD method_32800 scatter (I)I
COMMENT Scatters a seed by integer overflow in multiplication onto the whole
COMMENT int domain.
ARG 1 seed
CLASS class_5171 AngleInterpolator
FIELD field_23980 value D
FIELD field_23981 speed D
FIELD field_23982 lastUpdateTime J
METHOD method_27190 update (JD)V
ARG 1 time
ARG 3 target
METHOD method_27316 shouldUpdate (J)Z
ARG 1 time

0 comments on commit 6be1599

Please sign in to comment.