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 have noticed that there are FML releases for MC 1.8. So I started again modding with the basics... I created a basic block with no special properties, but I can't make a texture to show in the game, or just render a block normally. A lot of stuff has changed in 1.8... Is there anyone who can help me??

  • Author

Yes, also with blocks: setBlockNames reversed to setUnlocalizedNames, you have to use getBounding box to get a mob's bounding box, AxisAlignedBB.getRenderBounds become AxisAlignedBB.fromBounds. Some changes... Also I still can't find a way to render blocks in the world...

  • Author

We have to make 3 Json files for each block(I think), one for the blockstate(s), one for the item render, and one for the block render. I still can't make them work... I took the idea from the MC jar... Why is this good for modders???...

Yea I noteced it says missing myblockname.json.

 

I tried adding multiple blockstates to one block and my game just freezes when I open my inventory.

  • Author

I think the wrong was with metadata is was the same with ID-s. They were not limited and just "magic numbers"....

Also with creative tabs there is an array of them that only has 12 and the constructor to make a new tab requires an index.  So to make a new tab you have to override a vanilla one.

You will probably be able to add tabs again when forge (the api) is released. As for your blocks not working, post a screenshot of your file hierarchy.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Can you see the texture when you place it in the world? If so, you aren't registering the item model. If you can't place it in the world, that's an FML registry bug and you should look at the RegistryHelper in ironchest's 1.8 branch.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

  • Author

I can't see any texture, or hitbox, or collide with it(also printing oout a placed string from onBlockPlaced method prints nothing too...), also I use the 1004 version of FML.

You don't need to make a topic in bug reports as Forge is not out yet and FML is still very unstable and in development, and that's why some things may not work yet.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Did you get your textures working?

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

  • Author

No, I had to create a res. pack for the json-s. Because (i think) FML doesn't support the new json modells.(Yet)

  • Author

Then I do something wrong... I'll post my code tomorrow because I need to update about 1000 blocks, 200 items and a whole bunch of stuff to 1.8...

  • Author

Main mod file: http://pastebin.com/csVdShwc

Block file: http://pastebin.com/VF2f7qug

My texture is in assets/testmod/textures/blocks/testblock.png

BlockState file: assets/testmod/blockstates/TestBlock.json http://pastebin.com/D4DjkE90

Model(Item+Block) in? assets/testmod/models/(item/block)/TestBlock.json

Item: http://pastebin.com/xrJr0ZcU

Block: http://pastebin.com/Vfs7arUV

Whenever you register an Item/Block, add its name to an ArrayList. In your client proxy (in init, not preinit), Use GameRegistry.findItem on every String in the ArrayList and:

ItemModelMesher mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();
        mesher.register(theItem/itemBlock, 0, new ModelResourceLocation(itemName, "inventory"));

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Try this:

mesher.register(TestMod.TestItem, 0, new ModelResourceLocation("TestItem", "inventory"));

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

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.