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.

FatherToast

Members
  • Joined

  • Last visited

  1. You need to update your rendering code to use the new Icon objects, since integer icon indexes are no longer used. Look in RenderBlocks to see how vanilla does it.
  2. We have no idea what or where these things are. What class are they in and what is the method being called from? What are the method's arguments? Return type? The fields' types? If you know those, all you do is search for another method or field in the location with the same return type and arguments, there can't be a ton. Same with the field, but you're more likely to find more than one field with that field's type.
  3. I'd suggest you make your own render file similar to RenderArrow. If you don't mind how silly your dagger entity would look with the standard throwable renderer, just use RenderSnowball.
  4. Data watchers are used when you need to send server information to the client or client info to the server. In most cases, this is going to be a variable determined server-side that you want to use for rendering. In your example with the wolf, the health is only calculated on the server side, but the wolf's tail needs to render at an angle based on its health. In some cases, the variable will be calculated the same on both the client and server sides or the variable is only needed on the side it is calculated by, so data watcher is not needed.
  5. The mobs in my mods act very strangely; they walk around sideways and when they are attacking me, they move very slowly and keep twitching between looking at me and looking in an arbitrary direction. There are a few other odd things that happen, like I can't see lightning spawned by my entities. I've never done a server mod before, can anyone tell me what I need to do to make my entities work properly? I'm registering my entities and their spawns with both ModLoader and EntityRegistry, but I don't know what else I need to do for both the server and client or how to do it.

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.