Jump to content

Recommended Posts

Posted

I dont know why but when i place my block my texture is missing. i tried to make another block too and the same thing happened. i am sure that i wrote everything correctly but it just wont work.

my error code looks like this:

http://pastebin.com/eNNvUytZ

my Main Class (dont mind the crafting stuff i know theres something wrong) :

http://pastebin.com/Abv2vCxH

src/main/java/de.kriegnes/KriegnesMod.java

my block:

http://pastebin.com/BAZRPbgG

src/main/java/de.kriegnes.blocks/Blockschwarzerdiamantblock.java

first json:

http://pastebin.com/PkdzSewg

src/main/resources/assets.kriegnesmod.blockstates/schwarzerdiamantblock.json

second json:

http://pastebin.com/82bA02Pq

src/main/resources/assets.kriegnesmod.models.block/schwarzerdiamantblock.json

third json:

http://pastebin.com/1XPgs38h

src/main/resources/assets.kriegnesmod.models.item/schwarzerdiamantblock.json

texture location:

src/main/resources/assets.kriegnesmod.textures.blocks/schwarzerdiamantblock.png

 

i hope u can help me. really dont like the 1.8 update :/

 

 

Im not a native speaker so plserino no haterino

Posted

I can't tell you what the issue is, I can however tell you to use proxies. That code will crash on a dedicated server, the Minecraft class does not exist on one. Make a client proxy and a server proxy, in the init method tell the proxy to run a method which will register the models. There are lots of tutorials for this, find one.

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.