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'm new to models and rendering of items and blocks in Minecraft although I'm familiar with other things. I'm trying to start on doing a custom model for an Item but I'm clueless and I don't know where to start off. I want to make an item that has different textures (specifically rod and cap) depending on materials, and I want it to be flexible (i.e. others can get to add new textures). I'm about to make a registry to add parts, with a client-only method to store the textures of the added parts (after being already registered ingame somehow) but that's another topic.

 

Now what I want is to understand how would I go about making the model in the first place, I don't see valid mod code around (can't find?) because they're all outdated 1.8.9 or lower. I tried to dig through the code but a lot is happening there. What I'm trying to get is how the IBakedModel does the override thing, I saw that the clock implements an anonymous type of IItemPropertyGetter and I don't understand the 0.0-1.0 float usage and the mapping of it, I know it returns something about the time of the clock depending on world ticks, but the way the matching happens in ItemOverride is confusing.

 

I also saw IModel and it's children in forge and it uses it for dynamic buckets, it made me confused to what I should use when. and what to implement to get my thing to work. Where should I start?

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.