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

Hi, I want to turn the player hand into a BakedQuad. My questions are...: What are the dimensions?, How to position it? and How to bind the player's skin texture? (Is that regular texture binding or not.). So, if you can please answer these questions, and I will appreciate a code too.

Hi, the vanilla dimensions for the biped arm are 4x12x4, XYZ. You can do the very same thing in .JSON, same exact dimensions. Even if it is to big in-game, you can always do translations, rotations, and scalings in the .JSON model itself. As for binding the texture, you need to first have a "dummy / test" skin to correctly UV onto the model in the .JSON code - that is really simple. I personally do not know how to bind the texture of the player's skin into a model since the model's texture is defined within itself. Also, another problem would be that the player instance would not be created / would be null during the call to bind te texture. If you could find a way to bind the texture when joining the world by somehow saving it, then applying it, that would fix the problem. Maybe TheGreyGhost could possibly post here with some help.

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

  • Author

Thanks, and how the .JSON file would look like? Because I've only used normal .JSON files like, for textures. Do I have to parse the dimensions in the display object? Like this:

ย 

{
ย  ย  "parent": "something OR builtin/generated"
ย  ย  "display": {
ย  ย  ย  ย   "something for x": 4,
ย  ย  ย  ย   "something for y": 12,
ย  ย  ย  ย   "something for z": 4
ย  ย  }
}

ย 

Or, I have to use other object...?

Just make your .JSON as normal, you only need one cuboid for an arm. If you can't figure it, use MrCrayfish's .JSON model creator or BDCraftCubik. I recommend MrCrayFish's, really simple and you can make complex stuff.

www.mrcrayfish.com

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

I'm not home right now, when I am I'll try it out, I have a working model wrapper prototype/ test.

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

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.