Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

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.

  • Author

yeah ill do it but first i want it to work on singleplayer :P

Im not a native speaker so plserino no haterino

  • Author

oh come on xD

thx for ur help. i wasnt even thinking about it....

Im not a native speaker so plserino no haterino

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.