WitherDoggie
Forge Modder-
Posts
90 -
Joined
-
Last visited
Everything posted by WitherDoggie
-
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I did what you said. I tried each of the variants inside the blockstate file and none of them changed the outcome. The block still loads without a model and texture. Log http://pastebin.com/Uyv38fy0 -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I did what you said. I tried each of the variants inside the blockstate file and none of them changed the outcome. The block still loads without a model and texture. Log http://pastebin.com/Uyv38fy0 -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
What should I tell it to use instead? I apologize for all of the questions. I'm new to the 1.8 .json files and still trying to figure out how to use them properly. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
What should I tell it to use instead? I apologize for all of the questions. I'm new to the 1.8 .json files and still trying to figure out how to use them properly. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
Moved registerBlocks back to the CommonProxy. RegisterRender.RegisterModel is what registers the models for my items.(moved that up to preInit) BlockState Path C:\Users\Evan\Desktop\forge-1.8.9-11.15.1.1890-1.8.9-mdk\src\main\resources\assets\withermod\blockstates Model Path C:\Users\Evan\Desktop\forge-1.8.9-11.15.1.1890-1.8.9-mdk\src\main\resources\assets\withermod\blocks/models/block BlockState for woodWall_oak http://pastebin.com/UuP3E5aT BlockState for woodWall_spruce http://pastebin.com/7NWf7kAB Models for woodWall_oak http://pastebin.com/YwdV1RCP http://pastebin.com/y177VTZu http://pastebin.com/yDSyfiY2 http://pastebin.com/0BjPGBcu http://pastebin.com/EY78GRJw http://pastebin.com/ZHA30tjn http://pastebin.com/cH8pwMhy http://pastebin.com/y4jM6QH9 http://pastebin.com/ZHYR2H8s http://pastebin.com/Rt0nDfhQ http://pastebin.com/svCA20b1 http://pastebin.com/zUWs1a9U The model files for the spruce variant are the same except for the change in texture. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
Moved registerBlocks back to the CommonProxy. RegisterRender.RegisterModel is what registers the models for my items.(moved that up to preInit) BlockState Path C:\Users\Evan\Desktop\forge-1.8.9-11.15.1.1890-1.8.9-mdk\src\main\resources\assets\withermod\blockstates Model Path C:\Users\Evan\Desktop\forge-1.8.9-11.15.1.1890-1.8.9-mdk\src\main\resources\assets\withermod\blocks/models/block BlockState for woodWall_oak http://pastebin.com/UuP3E5aT BlockState for woodWall_spruce http://pastebin.com/7NWf7kAB Models for woodWall_oak http://pastebin.com/YwdV1RCP http://pastebin.com/y177VTZu http://pastebin.com/yDSyfiY2 http://pastebin.com/0BjPGBcu http://pastebin.com/EY78GRJw http://pastebin.com/ZHA30tjn http://pastebin.com/cH8pwMhy http://pastebin.com/y4jM6QH9 http://pastebin.com/ZHYR2H8s http://pastebin.com/Rt0nDfhQ http://pastebin.com/svCA20b1 http://pastebin.com/zUWs1a9U The model files for the spruce variant are the same except for the change in texture. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I've written this model loading code to load my variants, but the blocks still show up as un-textured blocks. The models don't load either. The log is saying that it can't find the blockstate files, but I checked and they are in the blockstate folder. What am I doing wrong? ClientProxy: http://pastebin.com/XXK2yivY Log: http://pastebin.com/ZG4ZYH6h -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
How do I specify a variant? Also, what class could I look in for examples of PaneBlocks with variants? -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I must have mis-interpreted what you meant. When you said, I though you meant call if from the CommonProxy as well. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
If I try to call registerBlocks from multiple classes, the game crashes with this error. http://pastebin.com/1Db2UUwm -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
Changed client proxy to select a variant, but nothing changed. The models still show up the same as before. http://pastebin.com/Tb4MVhFq -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
Common Proxy http://pastebin.com/YTGspqh7 Main http://pastebin.com/J8thjiuK -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
This is why I'm confused. I can't figure it out. Here is what shows up in game. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
Fixed client proxy, but the models still won't load Client Proxy http://pastebin.com/nJmf1EK3 Log http://pastebin.com/34xU7rKB WoodWall json http://pastebin.com/i4nTMcGw -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I did as you said to do and replaced ModelBakery.registerItemVariants and ItemModelMesher#register with ModelLoader.setCustomResourceLocation and the game crashes. Client Proxy http://pastebin.com/AkzMxzJk Crash Report http://pastebin.com/kt5g0RSN -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I looked through the vanilla blockstates and models for the different stained glass panes. Each variant of the pane has it's own blockstate and each has 12 model jsons. I tried to do this for my panes as well and the models won't load. The inventory models load, but when placed in the world the block models don't load. Block Rendering Class http://pastebin.com/8Xr4007M Log when launching the game: (not sure if you needed this, but I included it anyway) http://pastebin.com/wJNir72c BlockState json for oak variant http://pastebin.com/i4nTMcGw -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
If I didn't want 1 blockstate json, would I need 12 model jsons for each variant plus a blockstate json for each variant? -
Based on the log, it looks as if you don't have the jdk installed.
-
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I got the blocks working. One last question though. Do I have to make a .json model file for each variant of the block or do I need just one .json file (it'll be more than 1 because of all the direction .jsons needed for a pane block) -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
So your answer was "it's crashing" again. Crash Report http://pastebin.com/MSubae9U WoodWall.class http://pastebin.com/FFN9JZPW -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
Why? I don't know. I wasn't really thinking about what I was doing at the time. What's stopping you? (Hint: "it crashes" is not an answer to this question). Nothing is stopping me. I just have to figure out why exactly the game is crashing. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
Originally I was going to use a switch statement, but decided against it. The only thing left I can't figure out is why I can't make this a PaneBlock. -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I've redone the WoodWall class. The game doesn't load if I try to make the WoodWall class extend BlockPane, but it does load if I just extend WoodWall from Block. When I extend the class from the Block class, 5 of the 6 blocks show up as type birch which is not what I want. New WoodWall.class http://pastebin.com/hgw8pkpt ItemBlockMeta.class http://pastebin.com/iAJxNqdj IMetaBlockName http://pastebin.com/3h9WdbQY -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
So I've written the code for the wall (looked at the BlockPlanks class for help) and the game crashes every time I try to load the game. WoodWall.class http://pastebin.com/DMamkFaW CommonProxy.class http://pastebin.com/Un6YXne4 Crash Report http://pastebin.com/P8GQAKfX -
[1.8][Solved]Loading Variants of the same block
WitherDoggie replied to WitherDoggie's topic in Modder Support
I would do this, but I want just one block with 6 different variants.