public class SpecTestCommand extends PixelCommand
| Constructor and Description |
|---|
SpecTestCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.command.CommandSource> dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(net.minecraft.command.CommandSource sender,
java.lang.String[] args) |
static net.minecraft.util.math.EntityRayTraceResult |
getEntityHitResult(net.minecraft.world.World level,
net.minecraft.entity.Entity origin,
net.minecraft.util.math.vector.Vector3d position,
net.minecraft.util.math.vector.Vector3d p_221269_3_,
net.minecraft.util.math.AxisAlignedBB p_221269_4_,
java.util.function.Predicate<net.minecraft.entity.Entity> p_221269_5_) |
static net.minecraft.util.math.RayTraceResult |
getHitResult(net.minecraft.entity.Entity entity,
java.util.function.Predicate<net.minecraft.entity.Entity> test) |
java.util.List<java.lang.String> |
getTabCompletions(net.minecraft.server.MinecraftServer server,
net.minecraft.command.CommandSource sender,
java.lang.String[] args,
net.minecraft.util.math.BlockPos pos) |
getAliases, getName, getRequiredPermissionLevel, getUsage, hasPermissionOtherTarget, setupTargetOrSourceAsTargetpublic SpecTestCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.command.CommandSource> dispatcher)
public void execute(net.minecraft.command.CommandSource sender,
java.lang.String[] args)
throws net.minecraft.command.CommandException
execute in class PixelCommandnet.minecraft.command.CommandExceptionpublic static net.minecraft.util.math.RayTraceResult getHitResult(net.minecraft.entity.Entity entity,
java.util.function.Predicate<net.minecraft.entity.Entity> test)
@Nullable
public static net.minecraft.util.math.EntityRayTraceResult getEntityHitResult(net.minecraft.world.World level,
net.minecraft.entity.Entity origin,
net.minecraft.util.math.vector.Vector3d position,
net.minecraft.util.math.vector.Vector3d p_221269_3_,
net.minecraft.util.math.AxisAlignedBB p_221269_4_,
java.util.function.Predicate<net.minecraft.entity.Entity> p_221269_5_)
public java.util.List<java.lang.String> getTabCompletions(net.minecraft.server.MinecraftServer server,
net.minecraft.command.CommandSource sender,
java.lang.String[] args,
net.minecraft.util.math.BlockPos pos)
throws com.mojang.brigadier.exceptions.CommandSyntaxException
getTabCompletions in class PixelCommandcom.mojang.brigadier.exceptions.CommandSyntaxException