Interface FabricEntitySelectorReader

All Superinterfaces:
org.quiltmc.qsl.command.api.QuiltEntitySelectorReader

@Deprecated public interface FabricEntitySelectorReader extends org.quiltmc.qsl.command.api.QuiltEntitySelectorReader
Deprecated.
Use Quilt Command API's QuiltEntitySelectorReader instead.
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 Type
    Method
    Description
    default boolean
    Deprecated.
    Gets the value of the flag.
    default void
    setCustomFlag(Identifier key, boolean value)
    Deprecated.
    Sets a flag.

    Methods inherited from interface org.quiltmc.qsl.command.api.QuiltEntitySelectorReader

    getFlag, setFlag
  • Method Details

    • setCustomFlag

      default void setCustomFlag(Identifier key, boolean value)
      Deprecated.
      Sets a flag.
      Parameters:
      key - the key of the flag
      value - the value of the flag
    • getCustomFlag

      default boolean getCustomFlag(Identifier key)
      Deprecated.
      Gets the value of the flag.
      Parameters:
      key - the key of the flag
      Returns:
      the value, or false if the flag is not set