diff --git a/src/main/java/net/zepalesque/redux/Redux.java b/src/main/java/net/zepalesque/redux/Redux.java index d4efa5884..89411f4ef 100644 --- a/src/main/java/net/zepalesque/redux/Redux.java +++ b/src/main/java/net/zepalesque/redux/Redux.java @@ -42,6 +42,7 @@ import net.zepalesque.redux.data.gen.ReduxItemModelGen; import net.zepalesque.redux.data.gen.ReduxLanguageGen; import net.zepalesque.redux.data.gen.ReduxLootGen; +import net.zepalesque.redux.data.gen.ReduxParticleGen; import net.zepalesque.redux.data.gen.ReduxRecipeGen; import net.zepalesque.redux.data.gen.ReduxRegistrySets; import net.zepalesque.redux.data.gen.tags.ReduxBiomeTagsGen; @@ -127,6 +128,7 @@ private void dataSetup(GatherDataEvent event) { generator.addProvider(event.includeClient(), new ReduxBlockStateGen(packOutput, fileHelper)); generator.addProvider(event.includeClient(), new ReduxItemModelGen(packOutput, fileHelper)); generator.addProvider(event.includeClient(), new ReduxLanguageGen(packOutput)); + generator.addProvider(event.includeClient(), new ReduxParticleGen(packOutput, fileHelper)); // Server Data generator.addProvider(event.includeServer(), new ReduxRecipeGen(packOutput, lookupProvider)); diff --git a/src/main/java/net/zepalesque/redux/data/gen/ReduxParticleGen.java b/src/main/java/net/zepalesque/redux/data/gen/ReduxParticleGen.java new file mode 100644 index 000000000..fe2fe0a6b --- /dev/null +++ b/src/main/java/net/zepalesque/redux/data/gen/ReduxParticleGen.java @@ -0,0 +1,18 @@ +package net.zepalesque.redux.data.gen; + +import net.minecraft.data.PackOutput; +import net.neoforged.neoforge.common.data.ExistingFileHelper; +import net.zepalesque.redux.Redux; +import net.zepalesque.redux.client.particle.ReduxParticles; +import net.zepalesque.redux.data.prov.ReduxParticleProvider; + +public class ReduxParticleGen extends ReduxParticleProvider { + public ReduxParticleGen(PackOutput output, ExistingFileHelper fileHelper) { + super(output, fileHelper); + } + + @Override + protected void addDescriptions() { + this.spriteSet(ReduxParticles.CLOUDROOT_LEAF.get(), Redux.loc("leaves/cloudroot")); + } +} diff --git a/src/main/java/net/zepalesque/redux/data/prov/ReduxParticleProvider.java b/src/main/java/net/zepalesque/redux/data/prov/ReduxParticleProvider.java new file mode 100644 index 000000000..fb60e56c7 --- /dev/null +++ b/src/main/java/net/zepalesque/redux/data/prov/ReduxParticleProvider.java @@ -0,0 +1,11 @@ +package net.zepalesque.redux.data.prov; + +import net.minecraft.data.PackOutput; +import net.neoforged.neoforge.common.data.ExistingFileHelper; +import net.neoforged.neoforge.common.data.ParticleDescriptionProvider; + +public abstract class ReduxParticleProvider extends ParticleDescriptionProvider { + protected ReduxParticleProvider(PackOutput output, ExistingFileHelper fileHelper) { + super(output, fileHelper); + } +} diff --git a/src/main/resources/assets/aether_redux/textures/particle/leaves/cloudroot.png b/src/main/resources/assets/aether_redux/textures/particle/leaves/cloudroot.png new file mode 100644 index 000000000..47e342c11 Binary files /dev/null and b/src/main/resources/assets/aether_redux/textures/particle/leaves/cloudroot.png differ