Class SpecTestCommand

java.lang.Object
com.pixelmonmod.pixelmon.command.PixelCommand
com.pixelmonmod.pixelmon.command.impl.SpecTestCommand

public class SpecTestCommand extends PixelCommand
  • Constructor Details

    • SpecTestCommand

      public SpecTestCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher)
  • Method Details

    • executeCommand

      public boolean executeCommand(net.minecraft.commands.CommandSourceStack sender, String[] args) throws net.minecraft.commands.CommandRuntimeException
      Overrides:
      executeCommand in class PixelCommand
      Throws:
      net.minecraft.commands.CommandRuntimeException
    • getHitResult

      public static net.minecraft.world.phys.HitResult getHitResult(net.minecraft.world.entity.Entity entity, Predicate<net.minecraft.world.entity.Entity> test)
    • getEntityHitResult

      @Nullable public static net.minecraft.world.phys.EntityHitResult getEntityHitResult(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity origin, net.minecraft.world.phys.Vec3 position, net.minecraft.world.phys.Vec3 p_221269_3_, net.minecraft.world.phys.AABB p_221269_4_, Predicate<net.minecraft.world.entity.Entity> p_221269_5_)
    • getTabCompletions

      public List<String> getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.commands.CommandSourceStack sender, String[] args, net.minecraft.core.BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Overrides:
      getTabCompletions in class PixelCommand
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException