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

Hello,

 

I managed to copy and modify original cart to use my renderer. But I'm stuck on minecraft bug (it's not too much visible in-game because original carts are pretty symmetric) - the cart renderer does not "remember" (or use) a direction it's moving, so all south-north rails render cart's direction one way and a second way east-west rails - it renders always one rotation (for 2 moving directions). So when running in a circle, half of the time the cart is actually going backwards...

 

Not sure, if it's understandable so I'm adding a video:

 

Rendering (and a lot of minecart) code uses de-obfuscated but not "translated" names, I'm really lost here... Any ideas?

 

(code is here, but as I wrote I didn't changed it much)

 

EDIT:

solution: http://www.minecraftforge.net/forum/index.php/topic,5763.msg31451.html#msg31451

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

  • Author

I wrote a pm to Vswe (creator of steve carts). Some time passed but unfortunately he hasn't responded :(. As you wrote I should try asking also CovertJaguar, maybe I'll have better luck with him.

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

  • Author

CovertJaguar answered my question :). Here's his solution (I hope he doesn't mind):

Compare render yaw to server yaw and do a 180 if the difference is too large.

To prevent random switching on load, you must also write the isInReverse var to NBT.

It works like a charm (if you want to see actual code, it's available here)

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

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.