Interface FabricParticleProvider.ParticleGenerator
- Enclosing class:
- FabricParticleProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@NonExtendable
@FunctionalInterface
public static interface FabricParticleProvider.ParticleGenerator
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(net.minecraft.core.particles.ParticleType<?> particle, net.minecraft.resources.ResourceLocation... textures) Adds a new JSON file for a given particle.
-
Method Details
-
add
void add(net.minecraft.core.particles.ParticleType<?> particle, net.minecraft.resources.ResourceLocation... textures) Adds a new JSON file for a given particle.- Parameters:
particle- TheParticleTypeto generate a file for.textures- The IDs for any textures to apply to the given particle.
-