-
Posts
169 -
Joined
-
Last visited
Everything posted by GooberGunter
-
From the looks of it, the textureAtlasSprite class, which is what loads the texture for particles, has a built in forge method that allows for custom textures. if I'm looking at this right, it's promising. EDIT: It looks like I need a resource manager AND resource location. Sadly, I don't know how to do resource managers
-
[1.12] [Solved] Generating Structures with nbt files
GooberGunter replied to GooberGunter's topic in Modder Support
Yeah, I looked at your code and I get the concept completely, I got the results I wanted. Thanks! I completely forgot that you had linked the example -
So I've been looking around for tutorials on custom particles and I can't find any up-to-date tutorials or anything on the forge doc. So far from what I can tell, spawning custom particles is different from vanilla since the spawnParticle method relies on the actual EnumParticleTypeClass. Basically, what I want to do is, when I place down a block, that block starts to slowly emit a purple particle effect. I already have the particle class, I just don't know how to get the block's position (which I think is impossible) or how to set the particles to start spawning from the block ParticleManu.java:
-
[1.11.2] How to generate structures bigger than a chunk
GooberGunter replied to GooberGunter's topic in Modder Support
That's true. I never once thought that there wouldn't be a risk. Do do you know how to set up monster spawners with the structure block? -
[1.11.2] How to generate structures bigger than a chunk
GooberGunter replied to GooberGunter's topic in Modder Support
Oh cool, this makes life much easier. I wonder if there's a way to mod the structure block to overwrite the 32 block limit -
[1.12] [Solved] Generating Structures with nbt files
GooberGunter replied to GooberGunter's topic in Modder Support
But I don't know what parts from the igloo class I do need and what parts I don't need -
I've been trying to make a structure using the nbt files from the structure block but I don't know where to start, are there any guides, tutorials, or original minecraft code that I could look at? I'd look at the igloo code but I haven't been able to find it EDIT: I found it. It just happened to be in the only one I somehow missed: ComponentScatteredFeaturePieces.java
-
[1.11.2] How to generate structures bigger than a chunk
GooberGunter replied to GooberGunter's topic in Modder Support
How do you load the nbt data in the mod, what class do you extend for the Structure class -
[1.11.2] How to generate structures bigger than a chunk
GooberGunter replied to GooberGunter's topic in Modder Support
Edit: can you use them for mob spawners? -
[1.12] What changed with the Model Loader?
GooberGunter replied to GooberGunter's topic in Modder Support
Oh cool! I'll keep a look out -
[1.12] What changed with the Model Loader?
GooberGunter replied to GooberGunter's topic in Modder Support
I was about to post it until I noticed that I forgot the Subscribe Event annotation. Now it works. Thanks again for walking me through everything -
[1.12] What changed with the Model Loader?
GooberGunter replied to GooberGunter's topic in Modder Support
Ok, I understand registry a tad bit better, hopefully I get better with each update. But, I'm still having a little problem with the item model for the block. The block has a texture when I place it down, but now when the player holds it. The thing is, I haven't changed the json file for this since before the update neem/model/item/dore.json