Everything posted by GooberGunter
-
[1.12] What changed with the Model Loader?
Then should there be something specific that I set the registry name to? Actually, in each of their block classes, the registry name is a new ResourceLocation(String, String). Is this right? Apparently that doesn't matter because forge is still looking for the textures in minecraft: I'm going to check my json files EDIT: Yup, that was the problem. In the json files, the texture location didn't specify my mod id
-
[1.12] What changed with the Model Loader?
Forge isn't reading the domain for the resource location of my blocks ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(new ResourceLocation("neem: " + block.getRegistryName()), "inventory")); I never really learned this part right
-
[1.12] What changed with the Model Loader?
But I set the registry name when I initialized the block: Dblock = new BlockDiamondiliumBlock("Dblock", "Dblock");
-
[1.12] What changed with the Model Loader?
If you don't mind me asking, I know the code is necessary, but why is it necessary? I don't fully understand what the line does. Also where would I put this line?
-
[1.12] What changed with the Model Loader?
registry name? OH, right. Now it rings a bell. But how do I do that?
-
[1.12] What changed with the Model Loader?
Fun, when I tried the item block registry, I got: I can't see what the problem is since the first block I added is not null, unless you can't cast, but it's not telling me that I can't cast a block to ItemBlock ModBlocks:
-
[1.12] What changed with the Model Loader?
I just found an example in Choonster's TestMod3. He did exactly that
-
[1.12] What changed with the Model Loader?
Not at all, I'm happy to receive any information on how to improve my code and java practices. Thanks for the tip
-
[1.12] What changed with the Model Loader?
I What method do I call?
-
[1.12] What changed with the Model Loader?
Got it, thanks
-
[1.12] What changed with the Model Loader?
Alright, all the textures for the tools and items work. On another note, the blocks are still not being registered in the game even though i have the handler set up:
-
[1.12] What changed with the Model Loader?
Thanks, Is this somewhere in the forge doc?
-
[1.12] What changed with the Model Loader?
I recently updated my mod from 1.11.2 to 1.12 only to find that, after redoing all registry, all my items except for one (which is baffling) don't have textures. Plus my blocks aren't registering in the game even though the FML log isn't giving me any errors except for one, which is for some reason registered under the minecraft domain DESPITE me distinctly stating the mod id as the domain
-
[1.12] New Registry System and where to call the registry event
Right, right, right. I keep thinking about it as registry still and not an actual event.
-
[1.12] New Registry System and where to call the registry event
But wait, when I register the event on the event bus, what do I do about the RegistryEvent argument I have in the actual method?
-
[1.12] New Registry System and where to call the registry event
Hm, I should have known better. Thanks
-
[1.12] New Registry System and where to call the registry event
Hey, I just updated my mod and I'm not to up-to-date with the registry system yet. I updated all of my registry methods in my ModItems, ModBlocks, and ModEntities. The only problem is (and it's very much my fault for not knowing this) I have no clue where to call these methods and what to put in the method for the RegistryEvent. Here's one of my register methods
-
[1.11.2] How to generate structures bigger than a chunk
But are there any advantages to generating structures the older way?
-
[1.11.2] [SOLVED!] How do I do Packets
Alright, that worked; man, I need to practice my java. Thanks! I can finally check that off the list.
-
[1.11.2] [SOLVED!] How do I do Packets
Here's the entity class
-
[1.11.2] [SOLVED!] How do I do Packets
The problem still remains
-
[1.11.2] [SOLVED!] How do I do Packets
Render class:
-
[1.11.2] [SOLVED!] How do I do Packets
Also. Side-note: how to I isolate every change to the model class per entity?
-
[1.11.2] [SOLVED!] How do I do Packets
Yeah here: I should also note that right now, in the render class, it is still marked as new ModelBeelzebook();
-
[1.11.2] [SOLVED!] How do I do Packets
Alright it works! Kinda. When I trigger the event, it updates all the entities of the same type Here is the updated packet
IPS spam blocked by CleanTalk.