|
|
@@ -0,0 +1,1897 @@
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.Text;
|
|
|
+
|
|
|
+namespace MineCase.Server.World
|
|
|
+{
|
|
|
+ public static class ItemStates
|
|
|
+ {
|
|
|
+ public static ItemState IronShovel()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronShovel,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronPickaxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronPickaxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronAxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronAxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FlintandSteel()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FlintandSteel,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Apple()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Apple,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Bow()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Bow,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Arrow()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Arrow,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Coal(CoalType type = CoalType.Coal)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Coal,
|
|
|
+ MetaValue = (uint)type
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Diamond()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Diamond,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronIngot()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronIngot,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldIngot()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldIngot,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronSword()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronSword,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WoodenSword()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WoodenSword,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WoodenShovel()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WoodenShovel,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WoodenPickaxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WoodenPickaxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WoodenAxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WoodenAxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState StoneSword()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.StoneSword,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState StoneShovel()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.StoneShovel,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState StonePickaxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.StonePickaxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState StoneAxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.StoneAxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondSword()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondSword,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondShovel()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondShovel,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondPickaxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondPickaxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondAxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondAxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Stick()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Stick,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Bowl()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Bowl,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MushroomStew()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MushroomStew,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenSword()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenSword,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenShovel()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenShovel,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenPickaxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenPickaxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenAxe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenAxe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState String()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.String,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Feather()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Feather,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Gunpowder()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Gunpowder,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WoodenHoe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WoodenHoe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState StoneHoe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.StoneHoe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronHoe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronHoe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondHoe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondHoe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenHoe()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenHoe,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Seeds()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Seeds,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Wheat()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Wheat,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Bread()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Bread,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState LeatherCap()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.LeatherCap,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState LeatherTunic()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.LeatherTunic,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState LeatherPants()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.LeatherPants,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState LeatherBoots()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.LeatherBoots,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ChainHelmet()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ChainHelmet,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ChainChestplate()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ChainChestplate,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ChainLeggings()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ChainLeggings,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ChainBoots()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ChainBoots,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronHelmet()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronHelmet,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronChestplate()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronChestplate,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronLeggings()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronLeggings,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronBoots()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronBoots,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondHelmet()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondHelmet,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondChestplate()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondChestplate,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondLeggings()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondLeggings,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondBoots()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondBoots,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenHelmet()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenHelmet,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenChestplate()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenChestplate,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenLeggings()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenLeggings,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenBoots()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenBoots,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Flint()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Flint,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RawPorkchop()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RawPorkchop,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState CookedPorkchop()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.CookedPorkchop,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Painting()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Painting,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenApple(GoldenAppleType type = GoldenAppleType.GoldenApple)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenApple,
|
|
|
+ MetaValue = (uint)type
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Sign()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Sign,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState OakDoor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.OakDoor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Bucket()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Bucket,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WaterBucket()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WaterBucket,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState LavaBucket()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.LavaBucket,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Minecart()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Minecart,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Saddle()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Saddle,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronDoor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronDoor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Redstone()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Redstone,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Snowball()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Snowball,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Boat()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Boat,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Leather()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Leather,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Milk()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Milk,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Brick()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Brick,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Clay()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Clay,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState SugarCane()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.SugarCane,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Paper()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Paper,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Book()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Book,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Slimeball()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Slimeball,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MinecartwithChest()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MinecartwithChest,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MinecartwithFurnace()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MinecartwithFurnace,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Egg()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Egg,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Compass()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Compass,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FishingRod()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FishingRod,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Clock()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Clock,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GlowstoneDust()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GlowstoneDust,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RawFish(FishType type = FishType.RawFishOrCookedFish)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RawFish,
|
|
|
+ MetaValue = (uint)type
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState CookedFish(FishType type = FishType.RawFishOrCookedFish)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.CookedFish,
|
|
|
+ MetaValue = (uint)type
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Dye(DyeType type = DyeType.InkSac)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Dye,
|
|
|
+ MetaValue = (uint)type
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Bone()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Bone,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Sugar()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Sugar,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Cake()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Cake,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Bed()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Bed,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RedstoneRepeater()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RedstoneRepeater,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Cookie()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Cookie,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Map()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Map,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Shears()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Shears,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Melon()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Melon,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState PumpkinSeeds()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.PumpkinSeeds,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MelonSeeds()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MelonSeeds,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RawBeef()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RawBeef,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Steak()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Steak,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RawChicken()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RawChicken,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState CookedChicken()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.CookedChicken,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RottenFlesh()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RottenFlesh,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState EnderPearl()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.EnderPearl,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BlazeRod()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BlazeRod,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GhastTear()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GhastTear,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldNugget()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldNugget,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState NetherWart()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.NetherWart,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Potion(
|
|
|
+ PotionNameType name,
|
|
|
+ PotionExtendedDurationType ex = PotionExtendedDurationType.Base,
|
|
|
+ SplashPotionType splash = SplashPotionType.DrinkablePotion)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Potion,
|
|
|
+ MetaValue = (uint)name + (uint)ex + (uint)splash
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Potion(
|
|
|
+ PotionEffectType effect,
|
|
|
+ PotionTierType tier = PotionTierType.Base,
|
|
|
+ PotionExtendedDurationType ex = PotionExtendedDurationType.Base,
|
|
|
+ SplashPotionType splash = SplashPotionType.DrinkablePotion)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Potion,
|
|
|
+ MetaValue = (uint)effect + (uint)tier + (uint)ex + (uint)splash
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GlassBottle()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GlassBottle,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState SpiderEye()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.SpiderEye,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FermentedSpiderEye()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FermentedSpiderEye,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BlazePowder()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BlazePowder,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MagmaCream()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MagmaCream,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BrewingStand()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BrewingStand,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Cauldron()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Cauldron,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState EyeofEnder()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.EyeofEnder,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GlisteringMelon()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GlisteringMelon,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState SpawnEgg()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.SpawnEgg,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BottleEnchanting()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BottleEnchanting,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FireCharge()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FireCharge,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BookandQuill()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BookandQuill,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WrittenBook()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WrittenBook,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Emerald()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Emerald,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ItemFrame()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ItemFrame,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FlowerPot()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FlowerPot,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Carrot()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Carrot,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Potato()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Potato,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BakedPotato()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BakedPotato,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState PoisonousPotato()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.PoisonousPotato,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState EmptyMap()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.EmptyMap,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenCarrot()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenCarrot,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Mobhead(HeadForItemType type = HeadForItemType.SkeletonSkull)
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Mobhead,
|
|
|
+ MetaValue = (uint)type
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState CarrotonaStick()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.CarrotonaStick,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState NetherStar()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.NetherStar,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState PumpkinPie()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.PumpkinPie,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FireworkRocket()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FireworkRocket,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FireworkStar()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FireworkStar,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState EnchantedBook()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.EnchantedBook,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RedstoneComparator()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RedstoneComparator,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState NetherBrick()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.NetherBrick,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState NetherQuartz()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.NetherQuartz,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MinecartwithTNT()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MinecartwithTNT,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MinecartwithHopper()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MinecartwithHopper,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState PrismarineShard()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.PrismarineShard,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState PrismarineCrystals()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.PrismarineCrystals,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RawRabbit()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RawRabbit,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState CookedRabbit()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.CookedRabbit,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RabbitStew()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RabbitStew,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RabbitFoot()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RabbitFoot,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RabbitHide()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RabbitHide,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ArmorStand()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ArmorStand,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronHorseArmor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronHorseArmor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState GoldenHorseArmor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.GoldenHorseArmor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DiamondHorseArmor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DiamondHorseArmor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Lead()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Lead,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState NameTag()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.NameTag,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MinecartwithCommandBlock()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MinecartwithCommandBlock,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState RawMutton()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.RawMutton,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState CookedMutton()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.CookedMutton,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Banner()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Banner,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState EndCrystal()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.EndCrystal,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState SpruceDoor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.SpruceDoor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BirchDoor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BirchDoor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState JungleDoor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.JungleDoor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState AcaciaDoor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.AcaciaDoor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DarkOakDoor()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DarkOakDoor,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ChorusFruit()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ChorusFruit,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState PoppedChorusFruit()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.PoppedChorusFruit,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Beetroot()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Beetroot,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BeetrootSeeds()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BeetrootSeeds,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BeetrootSoup()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BeetrootSoup,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DragonBreath()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DragonBreath,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState SplashPotion()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.SplashPotion,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState SpectralArrow()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.SpectralArrow,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState TippedArrow()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.TippedArrow,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState LingeringPotion()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.LingeringPotion,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Shield()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Shield,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Elytra()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Elytra,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState SpruceBoat()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.SpruceBoat,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BirchBoat()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BirchBoat,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState JungleBoat()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.JungleBoat,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState AcaciaBoat()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.AcaciaBoat,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState DarkOakBoat()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.DarkOakBoat,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState TotemofUndying()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.TotemofUndying,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ShulkerShell()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ShulkerShell,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState IronNugget()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.IronNugget,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Disc13()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Disc13,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState CatDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.CatDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState BlocksDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.BlocksDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState ChirpDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.ChirpDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState FarDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.FarDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MallDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MallDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState MellohiDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.MellohiDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState StalDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.StalDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState StradDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.StradDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WardDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WardDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState Disc11()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.Disc11,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ public static ItemState WaitDisc()
|
|
|
+ {
|
|
|
+ return new ItemState
|
|
|
+ {
|
|
|
+ Id = (uint)ItemId.WaitDisc,
|
|
|
+ MetaValue = 0
|
|
|
+ };
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|