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.

Maccaronne

Members
  • Joined

  • Last visited

  1. After five hours of trial and errors, now at least something is rendered! However, some faces of the model are missing, and the texture is missing. I wonder how I suppose to use 'Function<ResourceLocation, TextureAtlasSprite>' in IModel::bake? Where should the png file be? Some debug message from OBJLoader pops up when the model is loaded: The obj model is exported from 3dsmax. Here's how it's supposed to look like
  2. Maccaronne changed their profile photo
  3. Hi there! I'm hosting a spigot 1.11 server, and I'm making a client mod which changes the model of entities with certain names. Since it is a client-side mod, I can't bind the model on a custom Item class like most tutorials. I've figured a way to load and bake the model, cache it, then render it in RenderLivingEvent.Pre event. Here's the result, a horse "disguised" as the model: The only problem here is, obviously, the model won't be loaded, everything else works like a charm. I have uploaded all relevant code and assets to a repository: https://github.com/SmilingTrickster/rendercloudmodel Here's where the model is loaded and cached: https://github.com/SmilingTrickster/rendercloudmodel/blob/master/java/com/mcorg/maccaronne/client/resources/model/ModelResource.java#L44 Here's the rendering code entry: https://github.com/SmilingTrickster/rendercloudmodel/blob/master/java/com/mcorg/maccaronne/client/equip/MountModelRenderer.java#L60 Any help is greatly appreciated

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.