mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Strip all remaining legacy item ID/meta stuff from blocks
the doors are now finally open, we can: - make all the wood types dynamic - fix glazed terracotta - add all the new blocks LET'S GOOOOOOOOOOOO
This commit is contained in:
@ -93,18 +93,6 @@ class Block{
|
||||
return new ItemBlock($this);
|
||||
}
|
||||
|
||||
public function getLegacyItemId() : int{
|
||||
return $this->idInfo->getLegacyItemId();
|
||||
}
|
||||
|
||||
public function getLegacyItemMeta() : int{
|
||||
return $this->idInfo->getLegacyVariant() | $this->writeStateToItemMeta();
|
||||
}
|
||||
|
||||
protected function writeStateToItemMeta() : int{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public function getRequiredTypeDataBits() : int{ return 0; }
|
||||
|
||||
public function getRequiredStateDataBits() : int{ return 0; }
|
||||
|
Reference in New Issue
Block a user