public static class Types_v1_21_2.ItemSubPredicate.Trim 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| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MATERIAL |
static java.lang.String |
PATTERN |
| Constructor and Description |
|---|
Trim() |
Trim(Types_v1_20_5.TagEntryList material,
Types_v1_20_5.TagEntryList pattern) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Types_v1_20_5.TagEntryList |
getMaterial() |
Types_v1_20_5.TagEntryList |
getPattern() |
Types_v1_21_2.ItemSubPredicate.Type |
getType() |
int |
hashCode() |
void |
setMaterial(Types_v1_20_5.TagEntryList material) |
void |
setPattern(Types_v1_20_5.TagEntryList pattern) |
java.lang.String |
toString() |
public static final java.lang.String MATERIAL
public static final java.lang.String PATTERN
public Trim()
public Trim(Types_v1_20_5.TagEntryList material, Types_v1_20_5.TagEntryList pattern)
public Types_v1_21_2.ItemSubPredicate.Type getType()
getType in interface Types_v1_21_2.ItemSubPredicatepublic Types_v1_20_5.TagEntryList getMaterial()
public Types_v1_20_5.TagEntryList getPattern()
public void setMaterial(Types_v1_20_5.TagEntryList material)
public void setPattern(Types_v1_20_5.TagEntryList pattern)
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