Lib Multipart

A Multipart API for fabric, used by SimplePipes and (soon) buildcraft.

File Details

[1.16.x] v0.4.6

  • R
  • Feb 23, 2021
  • 320.82 KB
  • 311
  • 1.16.5+3

File Name

libmultipart-all-0.4.6.jar

Supported Versions

  • 1.16.5
  • 1.16.4
  • 1.16.3
  • 1.16.2

Player-visible changes:

  • Added hit particles and sounds.
  • #24 Fixed a crash where LMP wrongly casted a BlockView to a World when it shouldn't have.

Developer changes:

  • Added AbstractPart.getClosestBlockState().
    • This is used for playing/spawning hit and break sounds/particles, and calculating the break speed of the part by default.
    • This defaults to dirt, however it is highly recommended that subclasses either override getClosestBlockState(), or all of the methods that use it by default.
  • Deprecated various methods that take a World argument and replace them with BlockView instead:
    • IBlockMultipart.getPartOutlineShape() -> getPartOutline()
    • IBlockMultipart.getTargetedMultipart() -> getMultipartTarget()