Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
Added the spawn egg from 1.1
Dieser Commit ist enthalten in:
Ursprung
e719508698
Commit
28d29d3927
@ -152,8 +152,9 @@ public final class ItemID {
|
|||||||
public static final int CAULDRON = 380;
|
public static final int CAULDRON = 380;
|
||||||
public static final int EYE_OF_ENDER = 381;
|
public static final int EYE_OF_ENDER = 381;
|
||||||
public static final int GLISTERING_MELON = 382;
|
public static final int GLISTERING_MELON = 382;
|
||||||
public static final int GOLD_RECORD = 2256; // deprecated, but leave it there
|
public static final int SPAWN_EGG = 383;
|
||||||
public static final int GREEN_RECORD = 2257; // deprecated, but leave it there
|
@Deprecated public static final int GOLD_RECORD = 2256; // deprecated, but leave it there
|
||||||
|
@Deprecated public static final int GREEN_RECORD = 2257; // deprecated, but leave it there
|
||||||
public static final int DISC_13 = 2256;
|
public static final int DISC_13 = 2256;
|
||||||
public static final int DISC_CAT = 2257;
|
public static final int DISC_CAT = 2257;
|
||||||
public static final int DISC_BLOCKS = 2258;
|
public static final int DISC_BLOCKS = 2258;
|
||||||
|
@ -288,6 +288,7 @@ public enum ItemType {
|
|||||||
CAULDRON_ITEM(ItemID.CAULDRON, "Cauldron", "cauldron"),
|
CAULDRON_ITEM(ItemID.CAULDRON, "Cauldron", "cauldron"),
|
||||||
EYE_OF_ENDER(ItemID.EYE_OF_ENDER, "Eye of Ender", "eyeofender", "endereye"),
|
EYE_OF_ENDER(ItemID.EYE_OF_ENDER, "Eye of Ender", "eyeofender", "endereye"),
|
||||||
GLISTERING_MELON(ItemID.GLISTERING_MELON, "Glistering Melon", "glisteringmelon", "goldmelon"),
|
GLISTERING_MELON(ItemID.GLISTERING_MELON, "Glistering Melon", "glisteringmelon", "goldmelon"),
|
||||||
|
SPAWN_EGG(ItemID.SPAWN_EGG, "Spawn Egg", "spawnegg", "spawn", "mobspawnegg"),
|
||||||
DISC_13(ItemID.DISC_13, "Music Disc - 13", "disc_13"),
|
DISC_13(ItemID.DISC_13, "Music Disc - 13", "disc_13"),
|
||||||
DISC_CAT(ItemID.DISC_CAT, "Music Disc - Cat", "disc_cat"),
|
DISC_CAT(ItemID.DISC_CAT, "Music Disc - Cat", "disc_cat"),
|
||||||
DISC_BLOCKS(ItemID.DISC_BLOCKS, "Music Disc - blocks", "disc_blocks"),
|
DISC_BLOCKS(ItemID.DISC_BLOCKS, "Music Disc - blocks", "disc_blocks"),
|
||||||
@ -301,8 +302,8 @@ public enum ItemType {
|
|||||||
DISC_11(ItemID.DISC_11, "Music Disc - 11", "disc_11"),
|
DISC_11(ItemID.DISC_11, "Music Disc - 11", "disc_11"),
|
||||||
|
|
||||||
// deprecated
|
// deprecated
|
||||||
GOLD_RECORD(ItemID.GOLD_RECORD, "Gold Record", "goldrecord", "golddisc"),
|
@Deprecated GOLD_RECORD(ItemID.GOLD_RECORD, "Gold Record", "goldrecord", "golddisc"),
|
||||||
GREEN_RECORD(ItemID.GREEN_RECORD, "Green Record", "greenrecord", "greenddisc");
|
@Deprecated GREEN_RECORD(ItemID.GREEN_RECORD, "Green Record", "greenrecord", "greenddisc");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores a map of the IDs for fast access.
|
* Stores a map of the IDs for fast access.
|
||||||
@ -631,6 +632,7 @@ public enum ItemType {
|
|||||||
usesDamageValue.add(ItemID.INK_SACK);
|
usesDamageValue.add(ItemID.INK_SACK);
|
||||||
usesDamageValue.add(ItemID.POTION);
|
usesDamageValue.add(ItemID.POTION);
|
||||||
usesDamageValue.add(ItemID.GLASS_BOTTLE);
|
usesDamageValue.add(ItemID.GLASS_BOTTLE);
|
||||||
|
usesDamageValue.add(ItemID.SPAWN_EGG);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren