Merge pull request #452 from EngineHub/forge-1.13

Added support for Forge 1.13
This commit is contained in:
Matthew Miller
2019-03-11 22:52:30 +10:00
committed by GitHub
41 changed files with 918 additions and 826 deletions

View File

@ -43,6 +43,8 @@ import java.util.logging.Logger;
import javax.annotation.Nullable;
import static com.google.common.base.Preconditions.checkNotNull;
public class LegacyMapper {
private static final Logger log = Logger.getLogger(LegacyMapper.class.getCanonicalName());
@ -100,6 +102,7 @@ public class LegacyMapper {
try {
String id = itemEntry.getKey();
ItemType type = ItemTypes.get(itemEntry.getValue());
checkNotNull(type);
itemToStringMap.put(type, id);
stringToItemMap.put(id, type);
} catch (Exception e) {

View File

@ -1785,7 +1785,7 @@
"48:0": "minecraft:mossy_cobblestone",
"49:0": "minecraft:obsidian",
"50:0": "minecraft:torch",
"52:0": "minecraft:mob_spawner",
"52:0": "minecraft:spawner",
"53:0": "minecraft:oak_stairs",
"54:0": "minecraft:chest",
"56:0": "minecraft:diamond_ore",