Class ThrowRedirect

java.lang.Object
com.hammy275.immersivemc.common.vr.mixin_proxy.ThrowRedirect

public class ThrowRedirect extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    deleteRecord(net.minecraft.world.entity.player.Player player)
     
    static double
     
    static <T extends net.minecraft.world.entity.projectile.Projectile>
    T
    shootFromRotation(net.minecraft.world.entity.projectile.Projectile.ProjectileFactory<T> factory, net.minecraft.server.level.ServerLevel level, net.minecraft.world.item.ItemStack spawnedFrom, net.minecraft.world.entity.LivingEntity shooter, float velocity)
     
    static <T extends net.minecraft.world.entity.projectile.Projectile>
    T
    throwRedirect(net.minecraft.world.entity.projectile.Projectile.ProjectileFactory<T> factory, net.minecraft.server.level.ServerLevel level, net.minecraft.world.item.ItemStack spawnedFrom, net.minecraft.world.entity.LivingEntity owner, float z, float velocity, float inaccuracy)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ThrowRedirect

      public ThrowRedirect()
  • Method Details

    • throwRedirect

      public static <T extends net.minecraft.world.entity.projectile.Projectile> T throwRedirect(net.minecraft.world.entity.projectile.Projectile.ProjectileFactory<T> factory, net.minecraft.server.level.ServerLevel level, net.minecraft.world.item.ItemStack spawnedFrom, net.minecraft.world.entity.LivingEntity owner, float z, float velocity, float inaccuracy)
    • shootFromRotation

      @Nullable public static <T extends net.minecraft.world.entity.projectile.Projectile> T shootFromRotation(net.minecraft.world.entity.projectile.Projectile.ProjectileFactory<T> factory, net.minecraft.server.level.ServerLevel level, net.minecraft.world.item.ItemStack spawnedFrom, net.minecraft.world.entity.LivingEntity shooter, float velocity)
    • deleteRecord

      public static void deleteRecord(net.minecraft.world.entity.player.Player player)
    • getVelocityMod

      public static double getVelocityMod(AboutToThrowData.ThrowRecord data)