Posted July 8, 20169 yr I've created a custom fence gate and it renders in the inventory but not when placed: ModFenceGate.java: http://pastebin.com/Atb5nVFP dark_nether_bricks_fence_gate.json: http://pastebin.com/quzcajqd Edit: Updated blockstate Edit 2: I missed the powered tag and a , so it's now fixed http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 8, 20169 yr Author Spelling mistake, it is a json file http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 8, 20169 yr Author Here is the error: http://pastebin.com/L8tuUP0R http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 8, 20169 yr Author As you clearly can see in the blockste json, it does excist so what am I doing wrong? http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 8, 20169 yr Author I've missed the powered tag http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 8, 20169 yr Author Ok, thank you I guess. .. http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr Author I fixed it but it still says: [09:26:29] [Client thread/ERROR] [FML]: Exception loading model for variant mm:nether_bricks_fence_gate#facing=south,in_wall=false,open=false,powered=false for blockstate "mm:nether_bricks_fence_gate[facing=south,in_wall=false,open=false,powered=false]" http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr Author How would I know that? http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr you posted the error that said there's an exception but didn't continue. post what was after those 2 lines because it tells you what the exception was.
July 9, 20169 yr Author Here is the full error: http://pastebin.com/L8tuUP0R http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr Author I've updated the original post with the updated blockstate file http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr I noticed the exception is not for the model of mm:dark_nether_bricks_fence_gate but for mm:nether_bricks_fence_gate is that a change of name or another json? in any way the error may not be for the block you posted in the first place
July 9, 20169 yr Author I have multiple gence gates: red_nether_bricks, nether_bricks and dark_nether_bricks http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr Author The top one in the error is for dark_nether_bricks_fence_gate and it still doesn't work http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr Author Picture: It's in that folder, it's just that I have so many so you can't see it on the Picture. http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 9, 20169 yr Since the error log says "file not found", we have to suspect some subtle spelling mistake in the file name(s). Show the part of the directory with those names. Did you add or drop an underscore? The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
July 10, 20169 yr Author Here is a picture: http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 10, 20169 yr Author I still need help! http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 10, 20169 yr Author Can you just say what I should change http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
July 11, 20169 yr Author A missed a , so I added it and it worked! http://i.imgur.com/J4rrGt6.png[/img] [Creator of mcrafterzz mod]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.