primaryItems
The field for the
primaryItems
record component.supportedItems
- primaryItems
- weight
- maxLevel
- minCost
- maxCost
- anvilCost
- requiredFeatures
- slots
- Enchantment
Namespace | Name |
---|---|
named | net/minecraft/enchantment/Enchantment$Properties |
intermediary | net/minecraft/class_1887$class_9427 |
official | dac$b |
named | supportedItems |
intermediary | comp_2506 |
official | a |
named | primaryItems |
intermediary | comp_2507 |
official | b |
named | weight |
intermediary | comp_2508 |
official | c |
named | maxLevel |
intermediary | comp_2509 |
official | d |
named | minCost |
intermediary | comp_2510 |
official | e |
named | maxCost |
intermediary | comp_2511 |
official | f |
named | anvilCost |
intermediary | comp_2512 |
official | g |
named | requiredFeatures |
intermediary | comp_2548 |
official | h |
named | slots |
intermediary | comp_2513 |
official | i |
private final int
anvilCost
record component.private final Enchantment.Cost
maxCost
record component.private final int
maxLevel
record component.private final Enchantment.Cost
minCost
record component.primaryItems
record component.private final FeatureSet
requiredFeatures
record component.private final EquipmentSlot[]
slots
record component.supportedItems
record component.private final int
weight
record component.Properties(TagKey<Item> tagKey,
Optional<TagKey<Item>> optional,
int int2,
int int3,
Enchantment.Cost cost,
Enchantment.Cost cost2,
int int4,
FeatureSet featureSet,
EquipmentSlot[] equipmentSlot)
int
anvilCost
record component.final boolean
final int
hashCode()
maxCost()
maxCost
record component.int
maxLevel()
maxLevel
record component.minCost()
minCost
record component.primaryItems
record component.requiredFeatures
record component.slots()
slots
record component.supportedItems
record component.final String
toString()
int
weight()
weight
record component.supportedItems
record component.primaryItems
record component.weight
record component.maxLevel
record component.minCost
record component.maxCost
record component.anvilCost
record component.requiredFeatures
record component.slots
record component.Objects::equals(Object,Object)
; primitive components are compared with '=='.supportedItems
record component.supportedItems
record componentprimaryItems
record component.primaryItems
record componentweight
record component.weight
record componentmaxLevel
record component.maxLevel
record componentminCost
record component.minCost
record componentmaxCost
record component.maxCost
record componentanvilCost
record component.anvilCost
record componentrequiredFeatures
record component.requiredFeatures
record componentslots
record component.slots
record component