ChaoticTrials / UtilitiX

Nice to have items, blocks, and other features.
https://modrinth.com/mod/utilitix
Apache License 2.0
7 stars 3 forks source link

Mob Yoinker - Bigger Stacks compat #45

Closed LlubNek closed 1 year ago

LlubNek commented 1 year ago

Minecraft version

1.19.2

LibX version

1.19.2-4.2.8

UtilitiX version

1.19.2-0.7.11

Forge version

43.2.21

The latest.log file

n/a

Issue description

A stack (bigger stacks 1.19.2-3.8.1) of empty mob yoinkers, when used on a mob, turns into a stack of populated mob yoinkers with the same mob.

When a stack of populated mob yoinkers is used, it turns into a stack of empty mob yoinkers.

When a stack of populated mob yoinkers is divided, and one of the resulting stacks is used, the other stack becomes unusable.

Steps to reproduce

  1. install forge, utilitix and bigger stacks in a minecraft 1.19.2 instance.
  2. edit config/biggerstacks-rules.xml like so:
    <ruleset>
    <!-- stackable mob yoinkers -->
    <rule stacksize="64">
        <condition>id = utilitix:mob_yoinker</condition>
    </rule>
    </ruleset>
  3. perform steps described in issue description

Other information

Expected behaviour: When a stack of empty mob yoinkers is used, the stack count goes down by one and a populated mob yoinker is added to the inventory or thrown on the ground if the inventory is full. Other issues would then be avoided.

LlubNek commented 1 year ago

bigger stacks is not the only way to get stacks of unstackable items, it's just the method I used.