Class EntitySelectorParserMixin

java.lang.Object
net.fabricmc.fabric.mixin.command.EntitySelectorParserMixin
All Implemented Interfaces:
FabricEntitySelectorParser

public class EntitySelectorParserMixin extends Object implements FabricEntitySelectorParser
  • Constructor Details

    • EntitySelectorParserMixin

      public EntitySelectorParserMixin()
  • Method Details

    • setCustomFlag

      public void setCustomFlag(net.minecraft.resources.Identifier key, boolean value)
      Description copied from interface: FabricEntitySelectorParser
      Sets a flag.
      Specified by:
      setCustomFlag in interface FabricEntitySelectorParser
      Parameters:
      key - the key of the flag
      value - the value of the flag
    • getCustomFlag

      public boolean getCustomFlag(net.minecraft.resources.Identifier key)
      Description copied from interface: FabricEntitySelectorParser
      Gets the value of the flag.
      Specified by:
      getCustomFlag in interface FabricEntitySelectorParser
      Parameters:
      key - the key of the flag
      Returns:
      the value, or false if the flag is not set