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 planning to make a sliding door, but I'm uncertain on how to go about implementing it.
I'd like to avoid too complex multi-block structures because I don't really know enough about how to make them.
Instead I've been thinking of simply having a normal door (albeit with a different model) that is somehow animated, to simulate the door sliding open, when interacted with.
However, I'm not sure how to best achieve the effect.

 

The ideas I have so far:
- Spawning an entity, replacing the "closed door"-block, have the entity move to desired position and then replace the entity with an "open door"-block.

- Simulate the pushing effect of a block being pushed by a piston

- Making the door based on the piston itself. Essentialy making a pseudo piston which is unable to push things, and simply acts as an extendable block.

I'm quite new to minecraft modding, and I'm definitely no expert at java, but I do know it.
Any help at all would be appreciated!

Edited by 44tim44

I would recommend looking into Tile entity special renderers (TESR) to create an animation. I have used it to make double doors that rotate open and a door with a sliding panel.

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.