Uses of Record Class
net.minecraft.component.type.AttributeModifiersComponent
Packages that use AttributeModifiersComponent
-
Uses of AttributeModifiersComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type AttributeModifiersComponentModifier and TypeFieldDescriptionstatic final DataComponentType<AttributeModifiersComponent> DataComponentTypes.ATTRIBUTE_MODIFIERS -
Uses of AttributeModifiersComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as AttributeModifiersComponentModifier and TypeFieldDescriptionstatic final AttributeModifiersComponentAttributeModifiersComponent.DEFAULTFields in net.minecraft.component.type with type parameters of type AttributeModifiersComponentModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<AttributeModifiersComponent> AttributeModifiersComponent.BASE_CODECstatic final com.mojang.serialization.Codec<AttributeModifiersComponent> AttributeModifiersComponent.CODECstatic final PacketCodec<RegistryByteBuf, AttributeModifiersComponent> AttributeModifiersComponent.PACKET_CODECMethods in net.minecraft.component.type that return AttributeModifiersComponentModifier and TypeMethodDescriptionAttributeModifiersComponent.Builder.build()AttributeModifiersComponent.with(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) AttributeModifiersComponent.withShowInTooltip(boolean showInTooltip) -
Uses of AttributeModifiersComponent in net.minecraft.item
Methods in net.minecraft.item that return AttributeModifiersComponentModifier and TypeMethodDescriptionstatic AttributeModifiersComponentMiningToolItem.createAttributeModifiers(ToolMaterial material, float baseAttackDamage, float attackSpeed) static AttributeModifiersComponentSwordItem.createAttributeModifiers(ToolMaterial material, int baseAttackDamage, float attackSpeed) static AttributeModifiersComponentTridentItem.createAttributeModifiers()Methods in net.minecraft.item with parameters of type AttributeModifiersComponentModifier and TypeMethodDescriptionItem.Settings.attributeModifiers(AttributeModifiersComponent attributeModifiersComponent)