mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Add some 0.16 blocks and items (#210)
This commit is contained in:
@ -211,6 +211,9 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
self::$list[self::BEETROOT] = Beetroot::class;
|
||||
self::$list[self::BEETROOT_SEEDS] = BeetrootSeeds::class;
|
||||
self::$list[self::BEETROOT_SOUP] = BeetrootSoup::class;
|
||||
self::$list[self::PRISMARINE_CRYSTALS] = PrismarineCrystals::class;
|
||||
self::$list[self::PRISMARINE_SHARD] = PrismarineShard::class;
|
||||
self::$list[self::NETHER_STAR] = NetherStar::class;
|
||||
|
||||
for($i = 0; $i < 256; ++$i){
|
||||
if(Block::$list[$i] !== null){
|
||||
@ -794,7 +797,7 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
$tag->tag = clone $this->getNamedTag();
|
||||
$tag->tag->setName("tag");
|
||||
}
|
||||
|
||||
|
||||
if($slot !== -1){
|
||||
$tag->Slot = new ByteTag("Slot", $slot);
|
||||
}
|
||||
|
Reference in New Issue
Block a user