ChimericLib

Shared library for chimericdream's mods
Back to Files

[NeoForge] 26.2-6.5.0

File namechimericlib-neoforge-26.2-6.5.0.jar
Uploaded
Sep 6, 2026
Downloads
144
Size
144.3 KB
Mod Loaders
NeoForge
File ID
8824296
Type
B
Beta
Supported game versions
  • 26.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:chimericlib-1107232:8824296"

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