
TheEnderKiller
Members-
Posts
22 -
Joined
-
Last visited
Everything posted by TheEnderKiller
-
Thanks for your help, I ended up creating a new WorldType with a custom ChunkProviderGenerate instead. I have one more thing to ask, maybe you (or someone else who reads this) know the answer. In MapGenVillage, there are two fields: this.field_82665_g = 32; this.field_82666_h = 8; I think the first one has something to to with distance to other villages, correct me if I'm wrong. But I have no idea what the second one does, can anyone help me here?
-
I have created a custom village, and have just copied minecraft's code for now to get things to work. But I'm unsure on how to get the structure to actually generate. I have done the MapGenStructureIO.registerStructure... and the StructureVillagePieces.registerVillagePieces(); in my main mod class. But what more do I have to do? The vanilla structures are generated in ChunkProviderGenerate.class from what I understand, how do I get my structure to spawn? Would InitMapGenEvent help with this? If so, how do I use it properly? EDIT: I created a custom world type, so things work now. I have a new question though, about these two fields in MapGenVillage: this.field_82665_g = 32; this.field_82666_h = 8; Anyone knows what these do? I think the first one has something to do with distance to other villages, but I'm not sure about the other one.
-
Alright, here's my blockstates.json (it's the same as the vanilla ones): And I have tried to get the game to ignore the POWERED property: PVMBlock.java I don't understand why I would need to add anything into the .json because the vanilla doors work fine without it? (the cornplant model doesn't work either, but all my items work perfectly)
-
What didn't change anything was adding all properties to one statemapper, I thougth it wasn't needed to post the code again when it's pretty much the same as I posted right above. I ignored all properties to see if the errors would go away, that wasn't the case. Yes, I need the states because I'm making a door almost exactly the same as the vanilla ones. I think doors need multiple models (for when they're open or closed for example) so I don't think that will work.
-
So I'm currently making a custom door and I pretty much copied the BlockDoor.java. But the texture and model doesn't work and I'm pretty sure it's due to these errors when starting the client: What I think is weird with this is that I just copied a vanilla door blockstate .JSON where this stuff is defined, but they don't need the 'powered=' and the other things in there. What's wrong? This is my code for the door. PVMBlock.java BlockPVMDoor.java Help?
-
[1.7.2] Adding ID mapping to structure
TheEnderKiller replied to TheEnderKiller's topic in Modder Support
Alright, thanks for the help I guess... Could you (or someone else) atleast explain what's wrong with the class so I can learn and use it in possible future experiences? -
[1.7.2] Adding ID mapping to structure
TheEnderKiller replied to TheEnderKiller's topic in Modder Support
I created this class: Which is how structures are registred in MapGenIO: -
[1.7.2] Adding ID mapping to structure
TheEnderKiller replied to TheEnderKiller's topic in Modder Support
Yeah I did that and tried registring the structure like there, but it didn't work. Sorry for not being clear. -
Hi. When I create a new world to search for my custom village Minecraft instantly crashes. This is the crash report: It says something about a missing ID mapping and to check the class MapGenStructureIO. So the question is, how can I add an ID mapping to my structure? EDIT: Yes, I have checked the class and trying to do it like there, but I couldn't get that to work.