java.lang.Object
tech.anonymoushacker1279.immersiveweapons.util.IWCBBridge

public class IWCBBridge extends Object
This class is used to access IWCB methods. It is in a separate class to avoid classloading issues when IWCB is not present. Do NOT load this class without checking if IWCB is loaded first.
  • Constructor Details

    • IWCBBridge

      public IWCBBridge()
  • Method Details

    • collectEffects

      public static double collectEffects(AccessoryEffectType type, net.minecraft.world.entity.player.Player player)
    • collectStandardAttributes

      public static List<AttributeOperation> collectStandardAttributes(net.minecraft.world.entity.player.Player player)
    • collectDynamicAttributes

      public static List<DynamicAttributeOperationInstance> collectDynamicAttributes(net.minecraft.world.entity.player.Player player)
    • collectMobEffects

      public static List<net.minecraft.world.effect.MobEffectInstance> collectMobEffects(net.minecraft.world.entity.player.Player player)
    • isAccessoryActive

      public static boolean isAccessoryActive(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack)