Silent Gear

Silent Gear

30M Downloads

Salvagers Contribute Significantly to Tick Lag

TheFirel opened this issue ยท 0 comments

commented

Versions

  • Silent Gear: 3.2.6-3.5.2
  • Silent's Gems: N/A
  • Silent Lib: 7.0.3-8.0.0
  • Forge: 43.3.0-47.2.0
  • Modpack: N/A
  • Optifine Installed: No

All versions above the latest 1.19.2 release tested

Expected Behavior

Salvagers check their recipes when a call is necessitated by an item's presence in slot 0, the ItemStack input.

Actual Behavior

Salvagers check their inventories every tick, despite no items being in the machine, resulting in a large amount of tick overhead.

Links/Images

Bug does not result in a crash- no crashlog available

Offending code:

Lines 89-95
Lines 79-82

Steps to Reproduce the Problem

  1. Place a salvager
  2. Check the salvager's tick lag contribution with Observable