Class IWCBBridge
java.lang.Object
tech.anonymoushacker1279.immersiveweapons.util.IWCBBridge
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectDynamicAttributes(net.minecraft.world.entity.player.Player player) static doublecollectEffects(AccessoryEffectType type, net.minecraft.world.entity.player.Player player) static List<net.minecraft.world.effect.MobEffectInstance> collectMobEffects(net.minecraft.world.entity.player.Player player) static List<AttributeOperation> collectStandardAttributes(net.minecraft.world.entity.player.Player player) static booleanisAccessoryActive(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack)
-
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)
-