mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
More Blocks
This commit is contained in:
parent
153acc4002
commit
da53ee6735
1 changed files with 11 additions and 8 deletions
|
|
@ -680,18 +680,21 @@ class BlockAPI{
|
|||
}
|
||||
|
||||
$idMap = [ //default for protocol < 12
|
||||
LIT_PUMPKIN => MELON_BLOCK, //block
|
||||
PUMPKIN_SEEDS => MELON_SEEDS, //item
|
||||
PUMPKIN_PIE => BREAD, //item
|
||||
BEETROOT => BREAD, //item
|
||||
BEETROOT_SEEDS => SEEDS, //item
|
||||
RAIL => AIR,
|
||||
POWERED_RAIL => AIR,
|
||||
LIT_PUMPKIN => MELON_BLOCK,
|
||||
PUMPKIN_SEEDS => MELON_SEEDS,
|
||||
PUMPKIN_PIE => BREAD,
|
||||
BEETROOT => BREAD,
|
||||
BEETROOT_SEEDS => SEEDS,
|
||||
];
|
||||
|
||||
if ($protocolId < ProtocolInfo9::CURRENT_PROTOCOL_9) {
|
||||
$idMap += [
|
||||
NETHERRACK => OBSIDIAN, //block
|
||||
NETHER_BRICK => BRICK, //item
|
||||
NETHER_QUARTZ => BRICK, //item
|
||||
SPAWN_EGG => AIR,
|
||||
NETHERRACK => OBSIDIAN,
|
||||
NETHER_BRICK => BRICK,
|
||||
NETHER_QUARTZ => BRICK,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue