Oh man that was stupid. I noticed it when adding another register event. I'd missed the "@SubscribeEvent" for ParticleFactoryRegisterEvent.
I need to remember to check that my register events are being called as part of my troubleshooting.
I'm trying to make a particle that behaves identically to the PortalParticle, but with the ability to have different colours. For now I'm just trying clone the PortalParticle as a BasicParticleType.
I've looked over examples, can't see what I'm missing.
Error
ColoredParticle.java
DeferredRegister
Register Event
colored_particles.json
Thanks
Ah I see, I've fixed it now, thank you. I just checked and saw that its the exact same line in the furnace's tile entity which is where I got the line from, why is it there and why does it work?
I'm using the proper ResourceLocation constructor now.
I tried changing that code like KingIceCream said, it basically does the same thing though so nothing changed. I followed it through with the debugger and it gets to the GUI Factory and runs
return new GUIThreefoldCombiner(player.inventory, (TileEntityThreefoldCombiner) te);
So I think the issue is with the GUI or Container perhaps.
I right click on the block and nothing happens. All relevant code below. If I'm missing something you need to see, just let me know ?.
I've looked at previous threads where people ask for help and looked for their code as examples but can't figure out where I'm going wrong.
GUI Class:
Main Class with GUI Handler:
onBlockActived:
Tile Entity createContainer & getGuiID:
Tile Entity Registry:
Thanks for any help.