From ed1baa7042f2620f2b98e2b8d915bb2a7ece153c Mon Sep 17 00:00:00 2001 From: Maity <47220489+maityyy@users.noreply.github.com> Date: Sun, 14 May 2023 16:56:08 +0300 Subject: [PATCH] Add some new TAWs for tree worldgen (#3060) * TAWs for worldgen * Impl suggestions * Forgot run generateAccessWidener ;) --- .../fabric-transitive-access-wideners-v1.accesswidener | 9 +++++++++ .../template.accesswidener | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/fabric-transitive-access-wideners-v1/src/main/resources/fabric-transitive-access-wideners-v1.accesswidener b/fabric-transitive-access-wideners-v1/src/main/resources/fabric-transitive-access-wideners-v1.accesswidener index c68ea5863..fafa89ca9 100644 --- a/fabric-transitive-access-wideners-v1/src/main/resources/fabric-transitive-access-wideners-v1.accesswidener +++ b/fabric-transitive-access-wideners-v1/src/main/resources/fabric-transitive-access-wideners-v1.accesswidener @@ -117,6 +117,15 @@ transitive-accessible method net/minecraft/world/gen/stateprovider/BlockStatePro # Creating custom biomes transitive-accessible method net/minecraft/world/biome/OverworldBiomeCreator getSkyColor (F)I +# Creating custom template pools +accessible field net/minecraft/structure/processor/StructureProcessorLists EMPTY Lnet/minecraft/registry/RegistryKey; + +# Creating custom trees +accessible method net/minecraft/world/gen/foliage/FoliagePlacerType (Lcom/mojang/serialization/Codec;)V +accessible method net/minecraft/world/gen/treedecorator/TreeDecoratorType (Lcom/mojang/serialization/Codec;)V +accessible method net/minecraft/world/gen/trunk/TrunkPlacerType (Lcom/mojang/serialization/Codec;)V +accessible method net/minecraft/world/gen/root/RootPlacerType (Lcom/mojang/serialization/Codec;)V + ### Generated access wideners below # Constructors of non-abstract block classes transitive-accessible method net/minecraft/block/AirBlock (Lnet/minecraft/block/AbstractBlock$Settings;)V diff --git a/fabric-transitive-access-wideners-v1/template.accesswidener b/fabric-transitive-access-wideners-v1/template.accesswidener index 76685fc75..3f34f91a4 100644 --- a/fabric-transitive-access-wideners-v1/template.accesswidener +++ b/fabric-transitive-access-wideners-v1/template.accesswidener @@ -112,4 +112,13 @@ transitive-accessible method net/minecraft/world/gen/stateprovider/BlockStatePro # Creating custom biomes transitive-accessible method net/minecraft/world/biome/OverworldBiomeCreator getSkyColor (F)I +# Creating custom template pools +accessible field net/minecraft/structure/processor/StructureProcessorLists EMPTY Lnet/minecraft/registry/RegistryKey; + +# Creating custom trees +accessible method net/minecraft/world/gen/foliage/FoliagePlacerType (Lcom/mojang/serialization/Codec;)V +accessible method net/minecraft/world/gen/treedecorator/TreeDecoratorType (Lcom/mojang/serialization/Codec;)V +accessible method net/minecraft/world/gen/trunk/TrunkPlacerType (Lcom/mojang/serialization/Codec;)V +accessible method net/minecraft/world/gen/root/RootPlacerType (Lcom/mojang/serialization/Codec;)V + ### Generated access wideners below