Posted April 27, 20205 yr So I've attempted to create a BasicParticleType with deferred registries, I'll place all my code here as well as my latest.log! ParticleInit: public static final DeferredRegister<ParticleType<?>> PARTICLES = new DeferredRegister<>(ForgeRegistries.PARTICLE_TYPES, Reference.MODID); public static final RegistryObject<BasicParticleType> TEST_PARTICLE = PARTICLES.register("test_particle", () -> new BasicParticleType(false)); Main Class: ParticleList.PARTICLES.register(FMLJavaModLoadingContext.get().getModEventBus()); assets/testmod/particles/test_particle.json: { "textures": [ "testmod:test_particle" ] } The texture is located inside of assets/testmod/textures/particle/test_particle.png And my Latest.log is in this pastebin: https://pastebin.com/eVMuCPUf
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.