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 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 AttributeModifiersComponentMaceItem.createAttributeModifiers()static AttributeModifiersComponentTridentItem.createAttributeModifiers()private AttributeModifiersComponentToolMaterial.createSwordAttributeModifiers(float attackDamage, float attackSpeed) private AttributeModifiersComponentToolMaterial.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 TypeMethodDescriptionprivate AttributeModifiersComponentArmorMaterial.createAttributeModifiers(EquipmentType equipmentType) -
Uses of AttributeModifiersComponent in net.minecraft.loot.function
Methods in net.minecraft.loot.function that return AttributeModifiersComponentModifier and TypeMethodDescriptionprivate AttributeModifiersComponentSetAttributesLootFunction.applyTo(LootContext context, AttributeModifiersComponent attributeModifiersComponent) Methods in net.minecraft.loot.function with parameters of type AttributeModifiersComponentModifier and TypeMethodDescriptionprivate AttributeModifiersComponentSetAttributesLootFunction.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 TypeMethodDescriptionbooleanAttributeModifiersPredicate.test(ItemStack itemStack, AttributeModifiersComponent attributeModifiersComponent)