phpdoc armageddon for master, pass 1

This commit is contained in:
Dylan K. Taylor
2020-01-22 11:55:03 +00:00
parent 4bae3baa74
commit 67bcc1c0fb
397 changed files with 0 additions and 5391 deletions

View File

@@ -381,9 +381,6 @@ class ItemFactory{
* NOTE: If you are registering a new item type, you will need to add it to the creative inventory yourself - it
* will not automatically appear there.
*
* @param Item $item
* @param bool $override
*
* @throws \RuntimeException if something attempted to override an already-registered item without specifying the
* $override parameter.
*/
@@ -401,12 +398,6 @@ class ItemFactory{
/**
* Returns an instance of the Item with the specified id, meta, count and NBT.
*
* @param int $id
* @param int $meta
* @param int $count
* @param CompoundTag|null $tags
*
* @return Item
* @throws \InvalidArgumentException
*/
public static function get(int $id, int $meta = 0, int $count = 1, ?CompoundTag $tags = null) : Item{
@@ -444,10 +435,6 @@ class ItemFactory{
* - `minecraft:string`
* - `351:4 (lapis lazuli ID:meta)`
*
* @param string $str
*
* @return Item
*
* @throws \InvalidArgumentException if the given string cannot be parsed as an item identifier
*/
public static function fromString(string $str) : Item{
@@ -477,11 +464,6 @@ class ItemFactory{
/**
* Returns whether the specified item ID is already registered in the item factory.
*
* @param int $id
* @param int $variant
*
* @return bool
*/
public static function isRegistered(int $id, int $variant = 0) : bool{
if($id < 256){