Interface FabricEntitySelectorReader
- All Superinterfaces:
org.quiltmc.qsl.command.api.QuiltEntitySelectorReader
@Deprecated
public interface FabricEntitySelectorReader
extends org.quiltmc.qsl.command.api.QuiltEntitySelectorReader
Deprecated.
Fabric extension to
EntitySelectorReader, implemented
using interface injection. This allows custom entity selectors to
set a custom flag to a reader. This can be used to implement mutually-exclusive
or non-repeatable entity selector option.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleangetCustomFlag(Identifier key) Deprecated.Gets the value of the flag.default voidsetCustomFlag(Identifier key, boolean value) Deprecated.Sets a flag.Methods inherited from interface org.quiltmc.qsl.command.api.QuiltEntitySelectorReader
getFlag, setFlag
-
Method Details
-
setCustomFlag
Deprecated.Sets a flag.- Parameters:
key- the key of the flagvalue- the value of the flag
-
getCustomFlag
Deprecated.Gets the value of the flag.- Parameters:
key- the key of the flag- Returns:
- the value, or
falseif the flag is not set
-
QuiltEntitySelectorReaderinstead.