mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Added Cakes
This commit is contained in:
parent
bbbdaa30d1
commit
d8bf5ce711
6 changed files with 73 additions and 1 deletions
34
src/material/item/generic/Cake.php
Normal file
34
src/material/item/generic/Cake.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
|
||||
-
|
||||
/ \
|
||||
/ \
|
||||
/ PocketMine \
|
||||
/ MP \
|
||||
|\ @shoghicp /|
|
||||
|. \ / .|
|
||||
| .. \ / .. |
|
||||
| .. | .. |
|
||||
| .. | .. |
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
class CakeItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
$this->block = BlockAPI::get(CAKE_BLOCK);
|
||||
$this->maxStackSize = 1;
|
||||
parent::__construct(CAKE, 0, $count, "Cake");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue