Jump to content

Recommended Posts

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

Posted

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

Posted

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

Posted

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.

Posted

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!

Posted

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!

Posted

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.

Posted

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/

Posted

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!

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.