Class AccessoryEvent.CollectStandardAttributes
java.lang.Object
net.neoforged.bus.api.Event
tech.anonymoushacker1279.immersiveweapons.api.events.AccessoryEvent
tech.anonymoushacker1279.immersiveweapons.api.events.AccessoryEvent.CollectStandardAttributes
- Enclosing class:
AccessoryEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class AccessoryEvent
AccessoryEvent.AccessoryActive, AccessoryEvent.CollectDynamicAttributes, AccessoryEvent.CollectEffects, AccessoryEvent.CollectMobEffects, AccessoryEvent.CollectStandardAttributes -
Constructor Summary
ConstructorsConstructorDescriptionCollectStandardAttributes(net.minecraft.world.entity.player.Player player) Collect attribute modifiers. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(AttributeOperation attribute) voidaddAttributes(List<AttributeOperation> attributes) voidremoveAttribute(AttributeOperation attribute) voidremoveAttributes(List<AttributeOperation> attributes) Methods inherited from class AccessoryEvent
getPlayer
-
Constructor Details
-
CollectStandardAttributes
@AvailableSince("1.37.0") public CollectStandardAttributes(net.minecraft.world.entity.player.Player player) Collect attribute modifiers.- Parameters:
player- the player to collect from
-
-
Method Details
-
getAttributes
-
addAttribute
-
addAttributes
-
removeAttribute
-
removeAttributes
-