ChimericLib

Shared library for chimericdream's mods
Back to Files

[Fabric] 26.2-6.5.0

File namechimericlib-fabric-26.2-6.5.0.jar
Uploaded
Sep 6, 2026
Downloads
355
Size
191.4 KB
Mod Loaders
Fabric
File ID
8824300
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:chimericlib-1107232:8824300"

Learn more about Curse Maven

What's new

26.2 - 6.5.0

New Features

  • Added GameTestPlayers to the testFixtures GameTest helpers (alongside GameTestContainers / GameTestEntities / GameTestMenus): makeFacingPlayer creates a mock server player positioned and oriented at a target block, and useItem calls an item's use() and applies the resulting InteractionResult.Success#heldItemTransformedTo() to the held item — both needed for any GameTest simulating an item that overrides the general Item#use dispatch (buckets doing their own reach-limited raycast, e.g.) rather than useOn/useWithoutItem, which GameTestHelper#useBlock already covers. makeFacingPlayer also works around a NullPointerException mock players hit calling ServerPlayer#lookAt directly (it tries to send a look-rotation packet over a connection mock players don't have).

This mod has no additional files