mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59: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
|
$idMap = [ //default for protocol < 12
|
||||||
LIT_PUMPKIN => MELON_BLOCK, //block
|
RAIL => AIR,
|
||||||
PUMPKIN_SEEDS => MELON_SEEDS, //item
|
POWERED_RAIL => AIR,
|
||||||
PUMPKIN_PIE => BREAD, //item
|
LIT_PUMPKIN => MELON_BLOCK,
|
||||||
BEETROOT => BREAD, //item
|
PUMPKIN_SEEDS => MELON_SEEDS,
|
||||||
BEETROOT_SEEDS => SEEDS, //item
|
PUMPKIN_PIE => BREAD,
|
||||||
|
BEETROOT => BREAD,
|
||||||
|
BEETROOT_SEEDS => SEEDS,
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($protocolId < ProtocolInfo9::CURRENT_PROTOCOL_9) {
|
if ($protocolId < ProtocolInfo9::CURRENT_PROTOCOL_9) {
|
||||||
$idMap += [
|
$idMap += [
|
||||||
NETHERRACK => OBSIDIAN, //block
|
SPAWN_EGG => AIR,
|
||||||
NETHER_BRICK => BRICK, //item
|
NETHERRACK => OBSIDIAN,
|
||||||
NETHER_QUARTZ => BRICK, //item
|
NETHER_BRICK => BRICK,
|
||||||
|
NETHER_QUARTZ => BRICK,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue