Open haykam821 opened 3 months ago
In Minecraft 1.21, entity selector options were refactored. The existing documentation is no longer valid, particularly with the now-missing EntitySelectorReader#setPredicate method:
EntitySelectorReader#setPredicate
https://github.com/FabricMC/fabric/blob/41bc64cd617f03d49ecc4a4f7788cb65d465415c/fabric-command-api-v2/src/main/java/net/fabricmc/fabric/api/command/v2/EntitySelectorOptionRegistry.java#L41-L54
In Minecraft 1.21, entity selector options were refactored. The existing documentation is no longer valid, particularly with the now-missing
EntitySelectorReader#setPredicate
method:https://github.com/FabricMC/fabric/blob/41bc64cd617f03d49ecc4a4f7788cb65d465415c/fabric-command-api-v2/src/main/java/net/fabricmc/fabric/api/command/v2/EntitySelectorOptionRegistry.java#L41-L54