promotional bannermobile promotional banner

Lib Multipart

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

[1.16.x] v0.4.6

File namelibmultipart-all-0.4.6.jar
Uploader
AlexIILAlexIIL
Uploaded
Feb 23, 2021
Downloads
353
Size
320.8 KB
Mod Loaders
—
File ID
3213716
Type
R
Release
Supported game versions
  • 1.16.5
  • 1.16.4
  • 1.16.3
  • 1.16.2

What's new

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()

This mod has no additional files