public static class Types_v1_21_2.Equippable
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLOWED_ENTITIES |
static java.lang.String |
CAMERA_OVERLAY |
static java.lang.String |
DAMAGE_ON_HURT |
static java.lang.String |
DISPENSABLE |
static java.lang.String |
EQUIP_SOUND |
static java.lang.String |
MODEL |
static java.lang.String |
SLOT |
static java.lang.String |
SWAPPABLE |
| Constructor and Description |
|---|
Equippable() |
Equippable(Types_v1_21_2.EquipmentSlot slot) |
Equippable(Types_v1_21_2.EquipmentSlot slot,
net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> equipSound,
net.lenni0451.mcstructs.core.Identifier model,
net.lenni0451.mcstructs.core.Identifier cameraOverlay,
Types_v1_20_5.TagEntryList allowedEntities,
boolean dispensable,
boolean swappable,
boolean damageOnHurt) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Types_v1_20_5.TagEntryList |
getAllowedEntities() |
net.lenni0451.mcstructs.core.Identifier |
getCameraOverlay() |
net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> |
getEquipSound() |
net.lenni0451.mcstructs.core.Identifier |
getModel() |
Types_v1_21_2.EquipmentSlot |
getSlot() |
int |
hashCode() |
boolean |
isDamageOnHurt() |
boolean |
isDispensable() |
boolean |
isSwappable() |
void |
setAllowedEntities(Types_v1_20_5.TagEntryList allowedEntities) |
void |
setCameraOverlay(net.lenni0451.mcstructs.core.Identifier cameraOverlay) |
void |
setDamageOnHurt(boolean damageOnHurt) |
void |
setDispensable(boolean dispensable) |
void |
setEquipSound(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> equipSound) |
void |
setModel(net.lenni0451.mcstructs.core.Identifier model) |
void |
setSlot(Types_v1_21_2.EquipmentSlot slot) |
void |
setSwappable(boolean swappable) |
java.lang.String |
toString() |
public static final java.lang.String SLOT
public static final java.lang.String EQUIP_SOUND
public static final java.lang.String MODEL
public static final java.lang.String CAMERA_OVERLAY
public static final java.lang.String ALLOWED_ENTITIES
public static final java.lang.String DISPENSABLE
public static final java.lang.String SWAPPABLE
public static final java.lang.String DAMAGE_ON_HURT
public Equippable(Types_v1_21_2.EquipmentSlot slot)
public Equippable()
public Equippable(Types_v1_21_2.EquipmentSlot slot, net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> equipSound, net.lenni0451.mcstructs.core.Identifier model, net.lenni0451.mcstructs.core.Identifier cameraOverlay, Types_v1_20_5.TagEntryList allowedEntities, boolean dispensable, boolean swappable, boolean damageOnHurt)
public Types_v1_21_2.EquipmentSlot getSlot()
public net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> getEquipSound()
public net.lenni0451.mcstructs.core.Identifier getModel()
public net.lenni0451.mcstructs.core.Identifier getCameraOverlay()
public Types_v1_20_5.TagEntryList getAllowedEntities()
public boolean isDispensable()
public boolean isSwappable()
public boolean isDamageOnHurt()
public void setSlot(Types_v1_21_2.EquipmentSlot slot)
public void setEquipSound(net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent> equipSound)
public void setModel(net.lenni0451.mcstructs.core.Identifier model)
public void setCameraOverlay(net.lenni0451.mcstructs.core.Identifier cameraOverlay)
public void setAllowedEntities(Types_v1_20_5.TagEntryList allowedEntities)
public void setDispensable(boolean dispensable)
public void setSwappable(boolean swappable)
public void setDamageOnHurt(boolean damageOnHurt)
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