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

if i understood correctly, you want to be able to walk through your block? if yes, then look at vanilla mc's code for torches. you'll find your answer there.

  • Author

no, I don't want to be able to walk through it, I want it to collide with the player properly. it's a cable that looks kind of like industrialcraft cables.

Use setBlockBoundsBasedOnState(IBlockAccess par1, int i, int j, int k){} with several setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ) inside to change the bounding box by the direction of your cabel.

If i helped you, don't forget pressing "Thank You" button. Thanks for your time.

@Naitenne he already uses it

@endershadow when you say "it pushes you out", you mean you don't immediately collide with it? as in you're able to walk into it first then it pushes you out? if that's the case, it could be an unsynced server and client thing. i'm pretty sleepy right now so i'm not really reading your code thoroughly i'm afraid. if it's not a server client thing, i'll read it again tomorrow and see if i can find something

  • Author

but how would I use packets in this case? I've used packets for syncing GUIs, but I'm not sure what I'd do here.

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.