TrainCarts/Attachments/Platform

From BergerHealer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
|}
|}


===Shulker Grid==
===Shulker Grid===
[[File:Platform shulker grid.jpg|thumb|Debug view of the shulker grid that two surfaces create]]
[[File:Platform shulker grid.jpg|thumb|Debug view of the shulker grid that two surfaces create]]
In shulker mode, the surfaces are projected onto the minecraft world as a grid of shulker boxes. Walls, ceilings and floors are all automatically spawned near to the player. They're not spawned to players far away or while the platform is in motion, reducing lag. Slopes are created by spawning several shulkers 0.5 block apart.
In shulker mode, the surfaces are projected onto the minecraft world as a grid of shulker boxes. Walls, ceilings and floors are all automatically spawned near to the player. They're not spawned to players far away or while the platform is in motion, reducing lag. Slopes are created by spawning several shulkers 0.5 block apart.

Revision as of 18:15, 22 November 2026

Player standing on a platform attachment

The Platform attachment is used to create solid surfaces that players can walk on. For static surfaces, it can be simulated using shulker boxes spawned near the player to create solid geometry. For moving surfaces, a server-side physics simulation takes over control of the players while reading their inputs. The simulated mode works best with Minecraft clients 1.21.2 and later.

Appearance

Platform mode being configured

Mode

The appearance menu for the platform attachment configures the mode:

Platform Mode options
Mode Behavior
Single Shulker Just spawns a single shulker box and moves it around. This is old/legacy behavior.
Sim. & Shulkers Spawns shulker boxes when not in motion. Performs server-side physics simulation when in motion.
Simulated Always performs server-side physics simulation, even when not in motion. Useful when the transition between shulkers and simulated is bothersome.
Shulker Grid Only spawns shulker boxes, no server-side physics simulation is enabled at all. De-spawns the shulkers while in motion. Useful when, for example, a train stops at stations and players can walk around in the train there. And are put into the train automatically before the train starts moving.

Shulker Grid

Debug view of the shulker grid that two surfaces create

In shulker mode, the surfaces are projected onto the minecraft world as a grid of shulker boxes. Walls, ceilings and floors are all automatically spawned near to the player. They're not spawned to players far away or while the platform is in motion, reducing lag. Slopes are created by spawning several shulkers 0.5 block apart.

Shulker Box Color

Configures what shulker box color is spawned. Only useful on older game versions where invisible shulker boxes still revealed the shulker box face. You can hide that face with a custom resource pack, set for a specific shulker box color.

View Lock

Turn on/off whether in simulated mode, the player view orientation changes as the surface they're standing on rotates. Default on.

Surface Block

Configures the step-sound and friction physics of the block. Step sound is also simulated for shulker box surfaces, but friction is not.

Position

The position menu has an extra Size X and Size Y option to configure the width/height of the surface plane.

Video