Closed flowerfugue closed 3 years ago
I reverted the name changes. Is this ready for re-review?
The reason for the change in cb27f94 was that you couldn't use subclasses of Entity
, and f5dbd66 was because I found a use case where I needed to check against a predicate at the offset pos.
I'm planning to use this for a small thing in S&R but I think it would be good for AC as it has other applications - for example, Buzzier Bees also adds to village housing pools using a more situational method.
This PR also renames
getStateAtOffsetPos
tostateAtOffsetPos
andgetEntitiesAtOffsetPos
toentitiesAtOffsetPos.
I felt that the 'get' was a bit redundant.