public static class Types_v1_21.AttributeModifier
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Types_v1_21.AttributeModifier.EntityAttribute |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SLOT |
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
AttributeModifier() |
AttributeModifier(net.lenni0451.mcstructs.core.Identifier type,
Types_v1_21.AttributeModifier.EntityAttribute modifier) |
AttributeModifier(net.lenni0451.mcstructs.core.Identifier type,
Types_v1_21.AttributeModifier.EntityAttribute modifier,
Types_v1_20_5.AttributeModifier.Slot slot) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Types_v1_21.AttributeModifier.EntityAttribute |
getModifier() |
Types_v1_20_5.AttributeModifier.Slot |
getSlot() |
net.lenni0451.mcstructs.core.Identifier |
getType() |
int |
hashCode() |
void |
setModifier(Types_v1_21.AttributeModifier.EntityAttribute modifier) |
void |
setSlot(Types_v1_20_5.AttributeModifier.Slot slot) |
void |
setType(net.lenni0451.mcstructs.core.Identifier type) |
java.lang.String |
toString() |
public static final java.lang.String TYPE
public static final java.lang.String SLOT
public AttributeModifier(net.lenni0451.mcstructs.core.Identifier type,
Types_v1_21.AttributeModifier.EntityAttribute modifier)
public AttributeModifier()
public AttributeModifier(net.lenni0451.mcstructs.core.Identifier type,
Types_v1_21.AttributeModifier.EntityAttribute modifier,
Types_v1_20_5.AttributeModifier.Slot slot)
public net.lenni0451.mcstructs.core.Identifier getType()
public Types_v1_21.AttributeModifier.EntityAttribute getModifier()
public Types_v1_20_5.AttributeModifier.Slot getSlot()
public void setType(net.lenni0451.mcstructs.core.Identifier type)
public void setModifier(Types_v1_21.AttributeModifier.EntityAttribute modifier)
public void setSlot(Types_v1_20_5.AttributeModifier.Slot slot)
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