Uses of Record Class
net.minecraft.component.type.AttributeModifiersComponent
Packages that use AttributeModifiersComponent
Package
Description
-
Uses of AttributeModifiersComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type AttributeModifiersComponentModifier and TypeFieldDescriptionstatic final ComponentType
<AttributeModifiersComponent> DataComponentTypes.ATTRIBUTE_MODIFIERS
-
Uses of AttributeModifiersComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as AttributeModifiersComponentModifier and TypeFieldDescriptionstatic final AttributeModifiersComponent
AttributeModifiersComponent.DEFAULT
Fields in net.minecraft.component.type with type parameters of type AttributeModifiersComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AttributeModifiersComponent> AttributeModifiersComponent.CODEC
static final PacketCodec
<RegistryByteBuf, AttributeModifiersComponent> AttributeModifiersComponent.PACKET_CODEC
Methods in net.minecraft.component.type that return AttributeModifiersComponentModifier and TypeMethodDescriptionAttributeModifiersComponent.Builder.build()
AttributeModifiersComponent.with
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) -
Uses of AttributeModifiersComponent in net.minecraft.item
Methods in net.minecraft.item that return AttributeModifiersComponentModifier and TypeMethodDescriptionstatic AttributeModifiersComponent
MaceItem.createAttributeModifiers()
static AttributeModifiersComponent
TridentItem.createAttributeModifiers()
private AttributeModifiersComponent
ToolMaterial.createSwordAttributeModifiers
(float attackDamage, float attackSpeed) private AttributeModifiersComponent
ToolMaterial.createToolAttributeModifiers
(float attackDamage, float attackSpeed) Methods in net.minecraft.item with parameters of type AttributeModifiersComponentModifier and TypeMethodDescriptionItem.Settings.attributeModifiers
(AttributeModifiersComponent attributeModifiersComponent) -
Uses of AttributeModifiersComponent in net.minecraft.item.equipment
Methods in net.minecraft.item.equipment that return AttributeModifiersComponentModifier and TypeMethodDescriptionArmorMaterial.createAttributeModifiers
(EquipmentType equipmentType) -
Uses of AttributeModifiersComponent in net.minecraft.loot.function
Methods in net.minecraft.loot.function that return AttributeModifiersComponentModifier and TypeMethodDescriptionprivate AttributeModifiersComponent
SetAttributesLootFunction.applyTo
(LootContext context, AttributeModifiersComponent attributeModifiersComponent) Methods in net.minecraft.loot.function with parameters of type AttributeModifiersComponentModifier and TypeMethodDescriptionprivate AttributeModifiersComponent
SetAttributesLootFunction.applyTo
(LootContext context, AttributeModifiersComponent attributeModifiersComponent) -
Uses of AttributeModifiersComponent in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item that return types with arguments of type AttributeModifiersComponentMethods in net.minecraft.predicate.item with parameters of type AttributeModifiersComponentModifier and TypeMethodDescriptionboolean
AttributeModifiersPredicate.test
(AttributeModifiersComponent attributeModifiersComponent)