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'm worling on a tiny mod which is around more convenient (than vanilla) and less cheaty (than Mystcraft etc.) portals. As of now, I'm still having one problem - it's with riders and ridden entities. Single entities work just well.

1. When non-player entity rides a minecart, one can observe a slightly mislocated position of a rider. Like sheep would be not exactly at the center of the cart.

2. When a player rides smth like a minecart, one can experience p.1 or a warped move. Like, we're having a curved track out of portal, and a minecart with a rider moves directly to the endpoint after curve, where it should stop.

 

The similarity with these two mini-bugs is that they disappear if player re-logs server (or, in my case, restarts a game). That's why I think I need to enforce server-to-client synchronization somehow. Like send packet to client "This entity isn't where you think it is! Relocate it unconditionally to position XYZ!"

 

Teleporter code (Scala): https://github.com/target-san/Gateway/blob/master/src/targetsan/mcmods/gateway/Teleport.scala

 

Thanks!

 

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.