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 TypeMethodDescriptionstatic Map<Map<net.minecraft.world.entity.ai.attributes.AttributeModifier, net.minecraft.world.entity.ai.attributes.Attribute>, Double> collectDynamicAttributes(net.minecraft.world.entity.player.Player player) static doublecollectEffects(AccessoryItem.EffectType type, net.minecraft.world.entity.player.Player player) static List<net.minecraft.world.effect.MobEffectInstance> collectMobEffects(net.minecraft.world.entity.player.Player player) static Map<net.minecraft.world.entity.ai.attributes.AttributeModifier, net.minecraft.world.entity.ai.attributes.Attribute> collectStandardAttributes(net.minecraft.world.entity.player.Player player) static booleanisAccessoryActive(net.minecraft.world.entity.player.Player player, AccessoryItem item)
-
Constructor Details
-
IWCBBridge
public IWCBBridge()
-
-
Method Details
-
collectEffects
public static double collectEffects(AccessoryItem.EffectType type, net.minecraft.world.entity.player.Player player) -
collectStandardAttributes
public static Map<net.minecraft.world.entity.ai.attributes.AttributeModifier,net.minecraft.world.entity.ai.attributes.Attribute> collectStandardAttributes(net.minecraft.world.entity.player.Player player) -
collectDynamicAttributes
-
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, AccessoryItem item)
-