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 been trying this for a while now and I can not figure out a way to do this.

 

is there anyway to do this and if so how?

As of 1.8 IItemRenderer has been deprecated and EntityItem is always rendered the same (using .json model).

 

To "override" it you would need to make custom EntityItem (extension) with custom renderer registered (like for any other entity).

Then operate on your custom renderer.

 

That's what I did ;p

 

P.S - I might not understood your problem - you could be more precise :)

1.7.10 is no longer supported by forge, you are on your own.

Are you talking about placed block or block as an item?

 

Block as an item (in inventory) are represented by ItemBlock (or BlockItem, i don't remember) and when dropped into world they are still treated as EntityItem.

 

If you are referring to placed-blocks then there are several ways.

If you are looking for simple, yet not cubic shape:

Have look at how .json models work (Blocks section):

http://greyminecraftcoder.blogspot.co.at/p/list-of-topics.html

Code examples:

http://www.minecraftforge.net/forum/index.php/topic,26267.0.html

 

For more advanced stuff (custom models) you will need TileEntitySpecialRenderer or ISmartBlockModel, depends on what you want to render. All those classes are either in minecraft.client package or minecraftforge.client.model

 

I don't have much experience here aside from very simple renderer for my crystals xD Ask TGG (GreyGhost), he's probably dealing with those lately.

1.7.10 is no longer supported by forge, you are on your own.

Well, the examples I linked tell how to add renderer to block when it's in inventory.

 

https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe01_block_simple/StartupClientOnly.java

 

This is ofc. based on .json model.

 

If you ought to use other renderer then I can't help you - each works differently, there is no universal answer here.

Post some code and what you are trying / tried.

1.7.10 is no longer supported by forge, you are on your own.

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.