Class NeedleHooks

java.lang.Object
com.stereowalker.unionlib.hook.NeedleHooks

public class NeedleHooks extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    adjustAttributeMap(com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> original, net.minecraft.world.entity.EquipmentSlot equipmentSlot, net.minecraft.world.item.ItemStack stack)
     
    static float
    calculateSpeed(net.minecraft.world.entity.LivingEntity l)
     
    static void
    firePlayerCraftingEvent(net.minecraft.world.inventory.CraftingContainer craftMatrix, net.minecraft.world.inventory.ResultSlot slot, net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack crafted)
     
    static float
    getBowPowerForTime(int pCharge, net.minecraft.world.entity.player.Player player)
     

    Methods inherited from class java.lang.Object

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

    • NeedleHooks

      public NeedleHooks()
  • Method Details

    • firePlayerCraftingEvent

      public static void firePlayerCraftingEvent(net.minecraft.world.inventory.CraftingContainer craftMatrix, net.minecraft.world.inventory.ResultSlot slot, net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack crafted)
    • adjustAttributeMap

      public static com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> adjustAttributeMap(com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> original, net.minecraft.world.entity.EquipmentSlot equipmentSlot, net.minecraft.world.item.ItemStack stack)
    • calculateSpeed

      public static float calculateSpeed(net.minecraft.world.entity.LivingEntity l)
    • getBowPowerForTime

      public static float getBowPowerForTime(int pCharge, net.minecraft.world.entity.player.Player player)