3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 13:00:05 +01:00

Fix schematic id conversion for entities with multiple renames.

Dieser Commit ist enthalten in:
wizjany 2019-04-28 10:56:21 -04:00
Ursprung f7670f7812
Commit d48702aad6

Datei anzeigen

@ -287,13 +287,10 @@ public class MCEditSchematicReader extends NBTSchematicReader {
case "ArmorStand": return "armor_stand"; case "ArmorStand": return "armor_stand";
case "CaveSpider": return "cave_spider"; case "CaveSpider": return "cave_spider";
case "MinecartChest": return "chest_minecart"; case "MinecartChest": return "chest_minecart";
case "MinecartCommandBlock": return "commandblock_minecart";
case "DragonFireball": return "dragon_fireball"; case "DragonFireball": return "dragon_fireball";
case "ThrownEgg": return "egg"; case "ThrownEgg": return "egg";
case "EnderCrystal": return "ender_crystal";
case "EnderDragon": return "ender_dragon"; case "EnderDragon": return "ender_dragon";
case "ThrownEnderpearl": return "ender_pearl"; case "ThrownEnderpearl": return "ender_pearl";
case "EyeOfEnderSignal": return "eye_of_ender_signal";
case "FallingSand": return "falling_block"; case "FallingSand": return "falling_block";
case "FireworksRocketEntity": return "fireworks_rocket"; case "FireworksRocketEntity": return "fireworks_rocket";
case "MinecartFurnace": return "furnace_minecart"; case "MinecartFurnace": return "furnace_minecart";
@ -317,15 +314,23 @@ public class MCEditSchematicReader extends NBTSchematicReader {
case "VillagerGolem": return "villager_golem"; case "VillagerGolem": return "villager_golem";
case "WitherBoss": return "wither"; case "WitherBoss": return "wither";
case "WitherSkull": return "wither_skull"; case "WitherSkull": return "wither_skull";
case "ThrownExpBottle": return "xp_bottle";
case "XPOrb": return "xp_orb";
case "PigZombie": return "zombie_pigman"; case "PigZombie": return "zombie_pigman";
case "xp_orb": return "experience_orb"; case "XPOrb":
case "xp_bottle": return "experience_bottle"; case "xp_orb":
case "eye_of_ender_signal": return "eye_of_ender"; return "experience_orb";
case "ender_crystal": return "end_crystal"; case "ThrownExpBottle":
case "xp_bottle":
return "experience_bottle";
case "EyeOfEnderSignal":
case "eye_of_ender_signal":
return "eye_of_ender";
case "EnderCrystal":
case "ender_crystal":
return "end_crystal";
case "fireworks_rocket": return "firework_rocket"; case "fireworks_rocket": return "firework_rocket";
case "commandblock_minecart": return "command_block_minecart"; case "MinecartCommandBlock":
case "commandblock_minecart":
return "command_block_minecart";
case "snowman": return "snow_golem"; case "snowman": return "snow_golem";
case "villager_golem": return "iron_golem"; case "villager_golem": return "iron_golem";
case "evocation_fangs": return "evoker_fangs"; case "evocation_fangs": return "evoker_fangs";