Class EntitySelectorParserMixin
java.lang.Object
net.fabricmc.fabric.mixin.command.EntitySelectorParserMixin
- All Implemented Interfaces:
FabricEntitySelectorParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCustomFlag(net.minecraft.resources.Identifier key) Gets the value of the flag.voidsetCustomFlag(net.minecraft.resources.Identifier key, boolean value) Sets a flag.
-
Constructor Details
-
EntitySelectorParserMixin
public EntitySelectorParserMixin()
-
-
Method Details
-
setCustomFlag
public void setCustomFlag(net.minecraft.resources.Identifier key, boolean value) Description copied from interface:FabricEntitySelectorParserSets a flag.- Specified by:
setCustomFlagin interfaceFabricEntitySelectorParser- Parameters:
key- the key of the flagvalue- the value of the flag
-
getCustomFlag
public boolean getCustomFlag(net.minecraft.resources.Identifier key) Description copied from interface:FabricEntitySelectorParserGets the value of the flag.- Specified by:
getCustomFlagin interfaceFabricEntitySelectorParser- Parameters:
key- the key of the flag- Returns:
- the value, or
falseif the flag is not set
-