Fish items, block of redstone!

This commit is contained in:
Shoghi Cervantes
2015-04-08 15:34:50 +02:00
parent 3cae81c01b
commit 76767294bf
8 changed files with 176 additions and 8 deletions

View File

@ -192,6 +192,8 @@ class Item{
const CARROT_BLOCK = 141;
const POTATO_BLOCK = 142;
const REDSTONE_BLOCK = 152;
const QUARTZ_BLOCK = 155;
const QUARTZ_STAIRS = 156;
const DOUBLE_WOOD_SLAB = 157;
@ -339,8 +341,8 @@ class Item{
const CLOCK = 347;
const GLOWSTONE_DUST = 348;
//const RAW_FISH = 349;
//const COOKED_FISH = 350;
const RAW_FISH = 349;
const COOKED_FISH = 350;
const DYE = 351;
const BONE = 352;
const SUGAR = 353;
@ -348,7 +350,7 @@ class Item{
const BED = 355;
//const COOKIE = 357;
const COOKIE = 357;
const SHEARS = 359;
@ -479,6 +481,9 @@ class Item{
self::$list[self::SHEARS] = Shears::class;
self::$list[self::BOW] = Bow::class;
self::$list[self::RAW_FISH] = Fish::class;
self::$list[self::COOKED_FISH] = CookedFish::class;
for($i = 0; $i < 256; ++$i){
if(Block::$list[$i] !== null){
self::$list[$i] = Block::$list[$i];