Fixed particle registry object type.
This commit is contained in:
@ -11,7 +11,7 @@ import net.minecraftforge.registries.RegistryObject;
|
|||||||
public class ModParticles {
|
public class ModParticles {
|
||||||
public static final DeferredRegister<ParticleType<?>> PARTICLE_TYPES = DeferredRegister.create(ForgeRegistries.PARTICLE_TYPES, FireflyBushBackport.MOD_ID);
|
public static final DeferredRegister<ParticleType<?>> PARTICLE_TYPES = DeferredRegister.create(ForgeRegistries.PARTICLE_TYPES, FireflyBushBackport.MOD_ID);
|
||||||
|
|
||||||
public static final RegistryObject<ParticleType<SimpleParticleType>> FIREFLY = PARTICLE_TYPES.register("firefly",
|
public static final RegistryObject<SimpleParticleType> FIREFLY = PARTICLE_TYPES.register("firefly",
|
||||||
() -> new SimpleParticleType(false));
|
() -> new SimpleParticleType(false));
|
||||||
|
|
||||||
public static void register(IEventBus modEventBus) {
|
public static void register(IEventBus modEventBus) {
|
||||||
|
Reference in New Issue
Block a user