Class EntityCommand.EntityListCommand
java.lang.Object
net.neoforged.neoforge.server.command.EntityCommand.EntityListCommand
- Enclosing class:
EntityCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(net.minecraft.commands.CommandSourceStack sender, String filter, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dim) (package private) static com.mojang.brigadier.builder.ArgumentBuilder
<net.minecraft.commands.CommandSourceStack, ?> register()
-
Field Details
-
INVALID_FILTER
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_FILTER -
INVALID_DIMENSION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_DIMENSION -
NO_ENTITIES
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIES
-
-
Constructor Details
-
EntityListCommand
private EntityListCommand()
-
-
Method Details
-
register
static com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack,?> register() -
execute
private static int execute(net.minecraft.commands.CommandSourceStack sender, String filter, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dim) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-