类 EntitySelectorTest
java.lang.Object
net.neoforged.neoforge.oldtest.chat.EntitySelectorTest
-
嵌套类概要
嵌套类修饰符和类型类说明private class
Example for a custom selector type, works like @r but for entities. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
healthArgument
(EntitySelectorParser parser) Example for a custom selector argument, checks for the health of the entityvoid
setup
(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
-
构造器详细资料
-
EntitySelectorTest
public EntitySelectorTest(net.neoforged.bus.api.IEventBus modEventBus)
-
-
方法详细资料
-
setup
public void setup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event) -
healthArgument
private void healthArgument(EntitySelectorParser parser) throws com.mojang.brigadier.exceptions.CommandSyntaxException Example for a custom selector argument, checks for the health of the entity- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-