-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
25w04a - components and item model data
- Loading branch information
Showing
27 changed files
with
163 additions
and
3 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
mappings/net/minecraft/client/render/item/model/ConditionItemModelProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CLASS net/minecraft/class_10724 net/minecraft/client/render/item/model/ConditionItemModelProperty | ||
METHOD method_65638 test (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;ILnet/minecraft/class_811;)Z | ||
ARG 1 stack | ||
ARG 2 world | ||
ARG 3 entity | ||
ARG 4 seed | ||
ARG 5 transformationMode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
mappings/net/minecraft/client/render/item/model/WorldDependentModelData.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CLASS net/minecraft/class_10719 net/minecraft/client/render/item/model/WorldDependentModelData | ||
FIELD field_56351 rebuildModelData Ljava/util/function/Function; | ||
FIELD field_56352 world Lnet/minecraft/class_10719$class_10720; | ||
FIELD field_56353 modelData Ljava/lang/Object; | ||
METHOD <init> (Ljava/util/function/Function;)V | ||
ARG 1 rebuildModelData | ||
METHOD method_67266 clean ()V | ||
METHOD method_67267 get (Lnet/minecraft/class_10719$class_10720;)Ljava/lang/Object; | ||
ARG 1 world | ||
CLASS class_10720 RegisterForCleaning | ||
METHOD registerForCleaning registerForCleaning (Lnet/minecraft/class_10719;)V | ||
ARG 1 instance |
1 change: 1 addition & 0 deletions
1
mappings/net/minecraft/client/render/item/property/select/ChargeTypeProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CLASS net/minecraft/class_10488 net/minecraft/client/render/item/property/select/ChargeTypeProperty | ||
FIELD field_55415 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56368 VALUE_CODEC Lcom/mojang/serialization/Codec; |
1 change: 1 addition & 0 deletions
1
mappings/net/minecraft/client/render/item/property/select/ContextDimensionProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CLASS net/minecraft/class_10548 net/minecraft/client/render/item/property/select/ContextDimensionProperty | ||
FIELD field_55563 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56369 VALUE_CODEC Lcom/mojang/serialization/Codec; |
1 change: 1 addition & 0 deletions
1
mappings/net/minecraft/client/render/item/property/select/ContextEntityTypeProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CLASS net/minecraft/class_10531 net/minecraft/client/render/item/property/select/ContextEntityTypeProperty | ||
FIELD field_55511 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56370 VALUE_CODEC Lcom/mojang/serialization/Codec; |
1 change: 1 addition & 0 deletions
1
...gs/net/minecraft/client/render/item/property/select/CustomModelDataStringProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
CLASS net/minecraft/class_10489 net/minecraft/client/render/item/property/select/CustomModelDataStringProperty | ||
FIELD field_55416 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56371 VALUE_CODEC Lcom/mojang/serialization/codecs/PrimitiveCodec; | ||
METHOD method_65677 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; | ||
ARG 0 instance |
1 change: 1 addition & 0 deletions
1
mappings/net/minecraft/client/render/item/property/select/DisplayContextProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CLASS net/minecraft/class_10490 net/minecraft/client/render/item/property/select/DisplayContextProperty | ||
FIELD field_55417 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56372 VALUE_CODEC Lcom/mojang/serialization/Codec; |
1 change: 1 addition & 0 deletions
1
mappings/net/minecraft/client/render/item/property/select/ItemBlockStateProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
CLASS net/minecraft/class_10491 net/minecraft/client/render/item/property/select/ItemBlockStateProperty | ||
FIELD field_55418 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56373 VALUE_CODEC Lcom/mojang/serialization/codecs/PrimitiveCodec; | ||
METHOD method_65680 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; | ||
ARG 0 instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
mappings/net/minecraft/client/render/item/property/select/MainHandProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CLASS net/minecraft/class_10492 net/minecraft/client/render/item/property/select/MainHandProperty | ||
FIELD field_55419 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56375 VALUE_CODEC Lcom/mojang/serialization/Codec; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
mappings/net/minecraft/client/render/item/property/select/TrimMaterialProperty.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CLASS net/minecraft/class_10496 net/minecraft/client/render/item/property/select/TrimMaterialProperty | ||
FIELD field_55422 TYPE Lnet/minecraft/class_10494$class_10495; | ||
FIELD field_56376 VALUE_CODEC Lcom/mojang/serialization/Codec; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CLASS net/minecraft/class_10706 net/minecraft/component/type/BeesComponent | ||
FIELD field_56298 CODEC Lcom/mojang/serialization/Codec; | ||
FIELD field_56299 PACKET_CODEC Lnet/minecraft/class_9139; | ||
FIELD field_56300 DEFAULT Lnet/minecraft/class_10706; |
9 changes: 9 additions & 0 deletions
9
mappings/net/minecraft/component/type/InstrumentComponent.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CLASS net/minecraft/class_10710 net/minecraft/component/type/InstrumentComponent | ||
FIELD field_56311 CODEC Lcom/mojang/serialization/Codec; | ||
FIELD field_56312 PACKET_CODEC Lnet/minecraft/class_9139; | ||
METHOD <init> (Lnet/minecraft/class_5321;)V | ||
ARG 1 instrument | ||
METHOD <init> (Lnet/minecraft/class_6880;)V | ||
ARG 1 instrument | ||
METHOD method_67211 getInstrument (Lnet/minecraft/class_7225$class_7874;)Ljava/util/Optional; | ||
ARG 1 registries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
mappings/net/minecraft/component/type/ProvidesTrimMaterialComponent.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CLASS net/minecraft/class_10711 net/minecraft/component/type/ProvidesTrimMaterialComponent | ||
FIELD field_56313 CODEC Lcom/mojang/serialization/Codec; | ||
FIELD field_56314 PACKET_CODEC Lnet/minecraft/class_9139; | ||
METHOD <init> (Lnet/minecraft/class_5321;)V | ||
ARG 1 material | ||
METHOD <init> (Lnet/minecraft/class_6880;)V | ||
ARG 1 material | ||
METHOD method_67212 getMaterial (Lnet/minecraft/class_7225$class_7874;)Ljava/util/Optional; | ||
ARG 1 registries |
10 changes: 10 additions & 0 deletions
10
mappings/net/minecraft/component/type/TooltipDisplayComponent.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CLASS net/minecraft/class_10712 net/minecraft/component/type/TooltipDisplayComponent | ||
FIELD field_56316 CODEC Lcom/mojang/serialization/Codec; | ||
FIELD field_56317 PACKET_CODEC Lnet/minecraft/class_9139; | ||
FIELD field_56318 DEFAULT Lnet/minecraft/class_10712; | ||
FIELD field_56319 HIDDEN_COMPONENTS_CODEC Lcom/mojang/serialization/Codec; | ||
METHOD method_67214 test (Lnet/minecraft/class_9331;)Z | ||
ARG 1 component | ||
METHOD method_67215 with (Lnet/minecraft/class_9331;Z)Lnet/minecraft/class_10712; | ||
ARG 1 component | ||
ARG 2 hidden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
mappings/net/minecraft/registry/ContextSwappableRegistryLookup.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
CLASS net/minecraft/class_10676 net/minecraft/registry/ContextSwappableRegistryLookup | ||
FIELD field_56244 delegate Lnet/minecraft/class_7225$class_7874; | ||
FIELD field_56245 entryLookupImpl Lnet/minecraft/class_10676$class_10677; | ||
FIELD field_56246 entries Ljava/util/Map; | ||
FIELD field_56247 tags Ljava/util/Map; | ||
METHOD <init> (Lnet/minecraft/class_7225$class_7874;)V | ||
ARG 1 delegate | ||
METHOD method_67088 createContextSwapper ()Lnet/minecraft/class_10678; | ||
METHOD method_67089 createRegistryOps (Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903; | ||
ARG 1 delegateOps | ||
METHOD method_67090 hasEntries ()Z | ||
CLASS 2 | ||
METHOD method_67093 (Lcom/mojang/serialization/Codec;Lnet/minecraft/class_7225$class_7874;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 2 encodedValue | ||
CLASS class_10677 EntryLookupImpl | ||
METHOD method_67094 asEntryLookup ()Lnet/minecraft/class_7871; | ||
METHOD method_67095 asEntryOwner ()Lnet/minecraft/class_7876; | ||
METHOD method_67096 getOrComputeEntry (Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880$class_6883; | ||
ARG 1 key | ||
METHOD method_67097 getOrComputeTag (Lnet/minecraft/class_6862;)Lnet/minecraft/class_6885$class_6888; | ||
ARG 1 tag | ||
METHOD method_67098 (Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880$class_6883; | ||
ARG 1 key2 | ||
METHOD method_67099 (Lnet/minecraft/class_6862;)Lnet/minecraft/class_6885$class_6888; | ||
ARG 1 tagKey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CLASS net/minecraft/class_10678 net/minecraft/registry/ContextSwapper | ||
METHOD method_67092 swapContext (Lcom/mojang/serialization/Codec;Ljava/lang/Object;Lnet/minecraft/class_7225$class_7874;)Lcom/mojang/serialization/DataResult; | ||
COMMENT Recreates a value based on a new registry context (for example, for use in a | ||
COMMENT different world). | ||
COMMENT | ||
COMMENT This is done by encoding the value using the old registry context and immediately | ||
COMMENT decoding it with the new one. | ||
ARG 1 codec | ||
ARG 2 value | ||
ARG 3 registries |