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 Type
    Method
    Description
    void
    add(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 - The ParticleType to generate a file for.
      textures - The IDs for any textures to apply to the given particle.