Jump to content

[SOLVED!][1.10.2] Help with custom fence gate blockstate


MCrafterzz

Recommended Posts

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

Link to comment
Share on other sites

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]"

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.