public static class Types_v1_21_2.ItemSubPredicate.StoredEnchantments extends java.lang.Object implements Types_v1_21_2.ItemSubPredicate
Types_v1_21_2.ItemSubPredicate.AttributeModifiers, Types_v1_21_2.ItemSubPredicate.BundleContents, Types_v1_21_2.ItemSubPredicate.Container, Types_v1_21_2.ItemSubPredicate.CustomData, Types_v1_21_2.ItemSubPredicate.Damage, Types_v1_21_2.ItemSubPredicate.Enchantments, Types_v1_21_2.ItemSubPredicate.FireworkExplosion, Types_v1_21_2.ItemSubPredicate.Fireworks, Types_v1_21_2.ItemSubPredicate.JukeboxPlayable, Types_v1_21_2.ItemSubPredicate.PotionContents, Types_v1_21_2.ItemSubPredicate.StoredEnchantments, Types_v1_21_2.ItemSubPredicate.Trim, Types_v1_21_2.ItemSubPredicate.Type, Types_v1_21_2.ItemSubPredicate.WritableBookContent, Types_v1_21_2.ItemSubPredicate.WrittenBookContent| Constructor and Description |
|---|
StoredEnchantments() |
StoredEnchantments(java.util.List<Types_v1_21_2.EnchantmentPredicate> enchantments) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.util.List<Types_v1_21_2.EnchantmentPredicate> |
getEnchantments() |
Types_v1_21_2.ItemSubPredicate.Type |
getType() |
int |
hashCode() |
void |
setEnchantments(java.util.List<Types_v1_21_2.EnchantmentPredicate> enchantments) |
java.lang.String |
toString() |
public StoredEnchantments()
public StoredEnchantments(java.util.List<Types_v1_21_2.EnchantmentPredicate> enchantments)
public Types_v1_21_2.ItemSubPredicate.Type getType()
getType in interface Types_v1_21_2.ItemSubPredicatepublic java.util.List<Types_v1_21_2.EnchantmentPredicate> getEnchantments()
public void setEnchantments(java.util.List<Types_v1_21_2.EnchantmentPredicate> enchantments)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object