public final class Item extends Object
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Item other,
boolean checkAmount,
boolean checkMetadata,
boolean checkUserdata) |
boolean |
equals(Object obj) |
boolean |
isNull() |
boolean |
isValid() |
static Item |
of(int id,
short damage,
int count) |
static Item |
of(int id,
short damage,
int count,
com.nukkitx.nbt.tag.CompoundTag tag) |
static Item |
of(int id,
short damage,
int count,
com.nukkitx.nbt.tag.CompoundTag tag,
String[] canPlace,
String[] canBreak) |
public static final Item AIR
public static Item of(int id, short damage, int count)
public static Item of(int id, short damage, int count, com.nukkitx.nbt.tag.CompoundTag tag)
public static Item of(int id, short damage, int count, com.nukkitx.nbt.tag.CompoundTag tag, String[] canPlace, String[] canBreak)
public boolean isValid()
public boolean isNull()
public boolean equals(Item other, boolean checkAmount, boolean checkMetadata, boolean checkUserdata)
Copyright © 2018–2019 NukkitX. All rights reserved.