Skip to content

v0.3.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 18:49

Prerelease for every Minecraft line (26.10, 26.20, 26.30, 26.40, 26.50, 26.60). Install the variant for your line, for example lip install github.com/wo55555/OptiPiston#client_mc26_50@0.3.2. The configuration gains piston.redirectType and piston.movingBlockLighting; existing files keep working and get the defaults. The C API v1 is unchanged. The new behaviour has been tested in game on 26.30 and 26.50; the other lines build and pass unit tests.

Added

  • A piston.redirectType option and /optipiston piston redirect diagonal|corner command for a block that another piston pushes before its first push has finished. Corner (default) speeds the block up to finish its first push, then turns at a right angle. Diagonal plays both pushes at once, so the block cuts the corner. It lands at the same time either way.
  • A piston.movingBlockLighting option and /optipiston piston lighting on|off command for the moving block light fixes below, on by default.

Fixed

  • A pushed block no longer looks darker or brighter while it moves than once it lands, with Fancy and Vibrant Visuals graphics alike.
  • While a block is pushed, its cell now blocks and gives off light like the block itself instead of letting all light through and giving none: a pushed stone shades its surroundings from the start of the push, glass still lets light through, and a pushed glowstone keeps lighting the area. This covers the world light used by Simple and Fancy graphics and the light of Vibrant Visuals. Tested in game on 26.30 and 26.50; the other lines build and pass unit tests.