Skip to content

Commit

Permalink
Add more data generation TAWs (#4261)
Browse files Browse the repository at this point in the history
* Add TAW for BlockStateModelGenerator.CrossType

* And more
  • Loading branch information
modmuss50 authored Nov 30, 2024
1 parent 70277ba commit bdca9ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ transitive-accessible method net/minecraft/data/family/BlockFamilies register (L

transitive-accessible field net/minecraft/client/data/BlockStateModelGenerator blockStateCollector Ljava/util/function/Consumer;
transitive-accessible field net/minecraft/client/data/BlockStateModelGenerator modelCollector Ljava/util/function/BiConsumer;
transitive-accessible field net/minecraft/client/data/BlockStateModelGenerator itemModelOutput Lnet/minecraft/client/data/ItemModelOutput;

accessible field net/minecraft/client/data/ItemModelGenerator output Lnet/minecraft/client/data/ItemModelOutput;
accessible field net/minecraft/client/data/ItemModelGenerator modelCollector Ljava/util/function/BiConsumer;

transitive-accessible method net/minecraft/client/data/TextureKey of (Ljava/lang/String;)Lnet/minecraft/client/data/TextureKey;
transitive-accessible method net/minecraft/client/data/TextureKey of (Ljava/lang/String;Lnet/minecraft/client/data/TextureKey;)Lnet/minecraft/client/data/TextureKey;
Expand All @@ -47,6 +51,7 @@ transitive-accessible method net/minecraft/client/data/TexturedModel makeFactory

transitive-accessible class net/minecraft/client/data/BlockStateModelGenerator$BlockTexturePool
transitive-accessible class net/minecraft/client/data/BlockStateModelGenerator$LogTexturePool
transitive-accessible class net/minecraft/client/data/BlockStateModelGenerator$CrossType

accessible class net/minecraft/client/data/ModelProvider$ItemAssets
accessible class net/minecraft/client/data/ModelProvider$BlockStateSuppliers
Expand Down
5 changes: 5 additions & 0 deletions fabric-data-generation-api-v1/template.accesswidener
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ transitive-accessible method net/minecraft/data/family/BlockFamilies register (L

transitive-accessible field net/minecraft/client/data/BlockStateModelGenerator blockStateCollector Ljava/util/function/Consumer;
transitive-accessible field net/minecraft/client/data/BlockStateModelGenerator modelCollector Ljava/util/function/BiConsumer;
transitive-accessible field net/minecraft/client/data/BlockStateModelGenerator itemModelOutput Lnet/minecraft/client/data/ItemModelOutput;

accessible field net/minecraft/client/data/ItemModelGenerator output Lnet/minecraft/client/data/ItemModelOutput;
accessible field net/minecraft/client/data/ItemModelGenerator modelCollector Ljava/util/function/BiConsumer;

transitive-accessible method net/minecraft/client/data/TextureKey of (Ljava/lang/String;)Lnet/minecraft/client/data/TextureKey;
transitive-accessible method net/minecraft/client/data/TextureKey of (Ljava/lang/String;Lnet/minecraft/client/data/TextureKey;)Lnet/minecraft/client/data/TextureKey;
Expand All @@ -42,6 +46,7 @@ transitive-accessible method net/minecraft/client/data/TexturedModel makeFactory

transitive-accessible class net/minecraft/client/data/BlockStateModelGenerator$BlockTexturePool
transitive-accessible class net/minecraft/client/data/BlockStateModelGenerator$LogTexturePool
transitive-accessible class net/minecraft/client/data/BlockStateModelGenerator$CrossType

accessible class net/minecraft/client/data/ModelProvider$ItemAssets
accessible class net/minecraft/client/data/ModelProvider$BlockStateSuppliers
Expand Down

0 comments on commit bdca9ac

Please sign in to comment.