Villager AI's have a class called MultiTask that they use. It uses two enums, RunType and Ordering, which are static inner classes. The stupid thing about RunType and Ordering are that they're both package private.
This is really frustrating because I can't access the two enums and therefore can't construct an instance of MultiTask to make an entity with an AI similar to a villager.
I've had to settle for copying the entire class including the two inner enums.
Is there a better way to do this?
(Side note: access transformers are crashing my modding workspace so suggesting that won't help me until I figure out the bug)