From d45bcb5a9468cc63d2b841659c635aab95dbb0cc Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 30 Apr 2019 21:14:10 +0200 Subject: [PATCH] Add python script to help create language files --- script/README.md | 19 + script/entries-legacy.txt | 823 +++++++++++++++++++++++++++ script/entries.txt | 1122 +++++++++++++++++++++++++++++++++++++ script/lang.py | 62 ++ 4 files changed, 2026 insertions(+) create mode 100644 script/README.md create mode 100644 script/entries-legacy.txt create mode 100644 script/entries.txt create mode 100644 script/lang.py diff --git a/script/README.md b/script/README.md new file mode 100644 index 0000000..74216f4 --- /dev/null +++ b/script/README.md @@ -0,0 +1,19 @@ +# Language Script + +A script to convert Minecraft language files to ShopChest language files.
+The plugin's messages need to be added manually. + +## Usage + +To get a Minecraft language file (that is not `en_us`), follow these steps: + +1. Get in your `.minecraft/assets/indexes` folder and open the file that is named the desired version. + +2. Search for your language code (e.g. `de_de` or `fr_fr`). There should be 2 results: One for the realms language file and one for the normal language file. + +3. Copy the `hash` code and search for it in the `.minecraft/assets` folder. The hash code is the filename of the language file. + +Once done, copy the language file into a working directory and launch `lang.py` (via Python3). The output file will be encoded in `UTF-8` (line endings: LF).
+Now add any missing entries (e.g. by checking other language files) and copy the plugin's messages. + +Don't forget to append `-legacy` to the file name when dealing with version below 1.13. \ No newline at end of file diff --git a/script/entries-legacy.txt b/script/entries-legacy.txt new file mode 100644 index 0000000..4aa661b --- /dev/null +++ b/script/entries-legacy.txt @@ -0,0 +1,823 @@ +book.generation.0 +book.generation.1 +book.generation.2 +book.generation.3 +effect.damageBoost +effect.fireResistance +effect.harm +effect.heal +effect.invisibility +effect.jump +effect.luck +effect.moveSlowdown +effect.moveSpeed +effect.nightVision +effect.poison +effect.regeneration +effect.waterBreathing +effect.weakness +enchantment.arrowDamage +enchantment.arrowFire +enchantment.arrowInfinite +enchantment.arrowKnockback +enchantment.binding_curse +enchantment.damage.all +enchantment.damage.arthropods +enchantment.damage.undead +enchantment.digging +enchantment.durability +enchantment.fire +enchantment.fishingSpeed +enchantment.frostWalker +enchantment.knockback +enchantment.level.1 +enchantment.level.10 +enchantment.level.2 +enchantment.level.3 +enchantment.level.4 +enchantment.level.5 +enchantment.level.6 +enchantment.level.7 +enchantment.level.8 +enchantment.level.9 +enchantment.lootBonus +enchantment.lootBonusDigger +enchantment.lootBonusFishing +enchantment.mending +enchantment.oxygen +enchantment.protect.all +enchantment.protect.explosion +enchantment.protect.fall +enchantment.protect.fire +enchantment.protect.projectile +enchantment.sweeping +enchantment.thorns +enchantment.untouching +enchantment.vanishing_curse +enchantment.waterWalker +enchantment.waterWorker +entity.Bat.name +entity.Blaze.name +entity.CaveSpider.name +entity.Chicken.name +entity.Cow.name +entity.Creeper.name +entity.Donkey.name +entity.ElderGuardian.name +entity.Enderman.name +entity.Endermite.name +entity.EntityHorse.name +entity.EvocationIllager.name +entity.Ghast.name +entity.Guardian.name +entity.Horse.name +entity.Husk.name +entity.IllusionIllager.name +entity.LavaSlime.name +entity.Llama.name +entity.Mule.name +entity.MushroomCow.name +entity.Ozelot.name +entity.Parrot.name +entity.Pig.name +entity.PigZombie.name +entity.PolarBear.name +entity.Rabbit.name +entity.Sheep.name +entity.Shulker.name +entity.Silverfish.name +entity.Skeleton.name +entity.SkeletonHorse.name +entity.Slime.name +entity.Spider.name +entity.Squid.name +entity.Stray.name +entity.Vex.name +entity.Villager.name +entity.VindicationIllager.name +entity.Witch.name +entity.WitherSkeleton.name +entity.Wolf.name +entity.Zombie.name +entity.ZombieHorse.name +entity.ZombieVillager.name +item.apple.name +item.appleGold.name +item.armorStand.name +item.arrow.name +item.banner.black.name +item.banner.blue.name +item.banner.brown.name +item.banner.cyan.name +item.banner.gray.name +item.banner.green.name +item.banner.lightBlue.name +item.banner.lime.name +item.banner.magenta.name +item.banner.orange.name +item.banner.pink.name +item.banner.purple.name +item.banner.red.name +item.banner.silver.name +item.banner.white.name +item.banner.yellow.name +item.bed.black.name +item.bed.blue.name +item.bed.brown.name +item.bed.cyan.name +item.bed.gray.name +item.bed.green.name +item.bed.lightBlue.name +item.bed.lime.name +item.bed.magenta.name +item.bed.name +item.bed.orange.name +item.bed.pink.name +item.bed.purple.name +item.bed.red.name +item.bed.silver.name +item.bed.white.name +item.bed.yellow.name +item.beefCooked.name +item.beefRaw.name +item.beetroot.name +item.beetroot_seeds.name +item.beetroot_soup.name +item.blazePowder.name +item.blazeRod.name +item.boat.acacia.name +item.boat.birch.name +item.boat.dark_oak.name +item.boat.jungle.name +item.boat.oak.name +item.boat.spruce.name +item.bone.name +item.book.name +item.bootsChain.name +item.bootsCloth.name +item.bootsDiamond.name +item.bootsGold.name +item.bootsIron.name +item.bow.name +item.bowl.name +item.bread.name +item.brewingStand.name +item.brick.name +item.bucket.name +item.bucketLava.name +item.bucketWater.name +item.cake.name +item.carrotGolden.name +item.carrotOnAStick.name +item.carrots.name +item.cauldron.name +item.charcoal.name +item.chestplateChain.name +item.chestplateCloth.name +item.chestplateDiamond.name +item.chestplateGold.name +item.chestplateIron.name +item.chickenCooked.name +item.chickenRaw.name +item.chorusFruit.name +item.chorusFruitPopped.name +item.clay.name +item.clock.name +item.coal.name +item.comparator.name +item.compass.name +item.cookie.name +item.diamond.name +item.diode.name +item.doorAcacia.name +item.doorBirch.name +item.doorDarkOak.name +item.doorIron.name +item.doorJungle.name +item.doorOak.name +item.doorSpruce.name +item.dragon_breath.name +item.dyePowder.black.name +item.dyePowder.blue.name +item.dyePowder.brown.name +item.dyePowder.cyan.name +item.dyePowder.gray.name +item.dyePowder.green.name +item.dyePowder.lightBlue.name +item.dyePowder.lime.name +item.dyePowder.magenta.name +item.dyePowder.orange.name +item.dyePowder.pink.name +item.dyePowder.purple.name +item.dyePowder.red.name +item.dyePowder.silver.name +item.dyePowder.white.name +item.dyePowder.yellow.name +item.egg.name +item.elytra.name +item.emerald.name +item.emptyMap.name +item.enchantedBook.name +item.end_crystal.name +item.enderPearl.name +item.expBottle.name +item.eyeOfEnder.name +item.feather.name +item.fermentedSpiderEye.name +item.fireball.name +item.fireworks.name +item.fireworksCharge.name +item.fish.clownfish.raw.name +item.fish.cod.cooked.name +item.fish.cod.raw.name +item.fish.pufferfish.raw.name +item.fish.salmon.cooked.name +item.fish.salmon.raw.name +item.fishingRod.name +item.flint.name +item.flintAndSteel.name +item.flowerPot.name +item.frame.name +item.ghastTear.name +item.glassBottle.name +item.goldNugget.name +item.hatchetDiamond.name +item.hatchetGold.name +item.hatchetIron.name +item.hatchetStone.name +item.hatchetWood.name +item.helmetChain.name +item.helmetCloth.name +item.helmetDiamond.name +item.helmetGold.name +item.helmetIron.name +item.hoeDiamond.name +item.hoeGold.name +item.hoeIron.name +item.hoeStone.name +item.hoeWood.name +item.horsearmordiamond.name +item.horsearmorgold.name +item.horsearmormetal.name +item.ingotGold.name +item.ingotIron.name +item.ironNugget.name +item.knowledgeBook.name +item.leash.name +item.leather.name +item.leggingsChain.name +item.leggingsCloth.name +item.leggingsDiamond.name +item.leggingsGold.name +item.leggingsIron.name +item.magmaCream.name +item.map.name +item.melon.name +item.milk.name +item.minecart.name +item.minecartChest.name +item.minecartCommandBlock.name +item.minecartFurnace.name +item.minecartHopper.name +item.minecartTnt.name +item.monsterPlacer.name +item.mushroomStew.name +item.muttonCooked.name +item.muttonRaw.name +item.nameTag.name +item.netherStalkSeeds.name +item.netherStar.name +item.netherbrick.name +item.netherquartz.name +item.painting.name +item.paper.name +item.pickaxeDiamond.name +item.pickaxeGold.name +item.pickaxeIron.name +item.pickaxeStone.name +item.pickaxeWood.name +item.porkchopCooked.name +item.porkchopRaw.name +item.potato.name +item.potatoBaked.name +item.potatoPoisonous.name +item.potion.name +item.prismarineCrystals.name +item.prismarineShard.name +item.pumpkinPie.name +item.rabbitCooked.name +item.rabbitFoot.name +item.rabbitHide.name +item.rabbitRaw.name +item.rabbitStew.name +item.record.11.desc +item.record.13.desc +item.record.blocks.desc +item.record.cat.desc +item.record.chirp.desc +item.record.far.desc +item.record.mall.desc +item.record.mellohi.desc +item.record.name +item.record.stal.desc +item.record.strad.desc +item.record.wait.desc +item.record.ward.desc +item.redstone.name +item.reeds.name +item.rottenFlesh.name +item.saddle.name +item.seeds.name +item.seeds_melon.name +item.seeds_pumpkin.name +item.shears.name +item.shield.name +item.shovelDiamond.name +item.shovelGold.name +item.shovelIron.name +item.shovelStone.name +item.shovelWood.name +item.shulkerShell.name +item.sign.name +item.skull.char.name +item.skull.creeper.name +item.skull.dragon.name +item.skull.skeleton.name +item.skull.wither.name +item.skull.zombie.name +item.slimeball.name +item.snowball.name +item.speckledMelon.name +item.spectral_arrow.name +item.spiderEye.name +item.stick.name +item.string.name +item.sugar.name +item.sulphur.name +item.swordDiamond.name +item.swordGold.name +item.swordIron.name +item.swordStone.name +item.swordWood.name +item.tipped_arrow.name +item.totem.name +item.wheat.name +item.writingBook.name +item.writtenBook.name +item.yellowDust.name +lingering_potion.effect.awkward +lingering_potion.effect.empty +lingering_potion.effect.fire_resistance +lingering_potion.effect.harming +lingering_potion.effect.healing +lingering_potion.effect.invisibility +lingering_potion.effect.leaping +lingering_potion.effect.luck +lingering_potion.effect.mundane +lingering_potion.effect.night_vision +lingering_potion.effect.poison +lingering_potion.effect.regeneration +lingering_potion.effect.slowness +lingering_potion.effect.strength +lingering_potion.effect.swiftness +lingering_potion.effect.thick +lingering_potion.effect.water +lingering_potion.effect.water_breathing +lingering_potion.effect.weakness +potion.effect.awkward +potion.effect.empty +potion.effect.fire_resistance +potion.effect.harming +potion.effect.healing +potion.effect.invisibility +potion.effect.leaping +potion.effect.luck +potion.effect.mundane +potion.effect.night_vision +potion.effect.poison +potion.effect.regeneration +potion.effect.slowness +potion.effect.strength +potion.effect.swiftness +potion.effect.thick +potion.effect.water +potion.effect.water_breathing +potion.effect.weakness +splash_potion.effect.awkward +splash_potion.effect.empty +splash_potion.effect.fire_resistance +splash_potion.effect.harming +splash_potion.effect.healing +splash_potion.effect.invisibility +splash_potion.effect.leaping +splash_potion.effect.luck +splash_potion.effect.mundane +splash_potion.effect.night_vision +splash_potion.effect.poison +splash_potion.effect.regeneration +splash_potion.effect.slowness +splash_potion.effect.strength +splash_potion.effect.swiftness +splash_potion.effect.thick +splash_potion.effect.water +splash_potion.effect.water_breathing +splash_potion.effect.weakness +tile.acaciaFence.name +tile.acaciaFenceGate.name +tile.activatorRail.name +tile.anvil.intact.name +tile.anvil.slightlyDamaged.name +tile.anvil.veryDamaged.name +tile.barrier.name +tile.beacon.name +tile.bedrock.name +tile.birchFence.name +tile.birchFenceGate.name +tile.blockCoal.name +tile.blockDiamond.name +tile.blockEmerald.name +tile.blockGold.name +tile.blockIron.name +tile.blockLapis.name +tile.blockRedstone.name +tile.boneBlock.name +tile.bookshelf.name +tile.brick.name +tile.button.name +tile.cactus.name +tile.chainCommandBlock.name +tile.chest.name +tile.chestTrap.name +tile.chorusFlower.name +tile.chorusPlant.name +tile.clay.name +tile.clayHardened.name +tile.clayHardenedStained.black.name +tile.clayHardenedStained.blue.name +tile.clayHardenedStained.brown.name +tile.clayHardenedStained.cyan.name +tile.clayHardenedStained.gray.name +tile.clayHardenedStained.green.name +tile.clayHardenedStained.lightBlue.name +tile.clayHardenedStained.lime.name +tile.clayHardenedStained.magenta.name +tile.clayHardenedStained.orange.name +tile.clayHardenedStained.pink.name +tile.clayHardenedStained.purple.name +tile.clayHardenedStained.red.name +tile.clayHardenedStained.silver.name +tile.clayHardenedStained.white.name +tile.clayHardenedStained.yellow.name +tile.cloth.black.name +tile.cloth.blue.name +tile.cloth.brown.name +tile.cloth.cyan.name +tile.cloth.gray.name +tile.cloth.green.name +tile.cloth.lightBlue.name +tile.cloth.lime.name +tile.cloth.magenta.name +tile.cloth.orange.name +tile.cloth.pink.name +tile.cloth.purple.name +tile.cloth.red.name +tile.cloth.silver.name +tile.cloth.white.name +tile.cloth.yellow.name +tile.cobbleWall.mossy.name +tile.cobbleWall.normal.name +tile.commandBlock.name +tile.concrete.black.name +tile.concrete.blue.name +tile.concrete.brown.name +tile.concrete.cyan.name +tile.concrete.gray.name +tile.concrete.green.name +tile.concrete.lightBlue.name +tile.concrete.lime.name +tile.concrete.magenta.name +tile.concrete.orange.name +tile.concrete.pink.name +tile.concrete.purple.name +tile.concrete.red.name +tile.concrete.silver.name +tile.concrete.white.name +tile.concrete.yellow.name +tile.concretePowder.black.name +tile.concretePowder.blue.name +tile.concretePowder.brown.name +tile.concretePowder.cyan.name +tile.concretePowder.gray.name +tile.concretePowder.green.name +tile.concretePowder.lightBlue.name +tile.concretePowder.lime.name +tile.concretePowder.magenta.name +tile.concretePowder.orange.name +tile.concretePowder.pink.name +tile.concretePowder.purple.name +tile.concretePowder.red.name +tile.concretePowder.silver.name +tile.concretePowder.white.name +tile.concretePowder.yellow.name +tile.darkOakFence.name +tile.darkOakFenceGate.name +tile.daylightDetector.name +tile.deadbush.name +tile.detectorRail.name +tile.dirt.coarse.name +tile.dirt.default.name +tile.dirt.podzol.name +tile.dispenser.name +tile.doublePlant.fern.name +tile.doublePlant.grass.name +tile.doublePlant.paeonia.name +tile.doublePlant.rose.name +tile.doublePlant.sunflower.name +tile.doublePlant.syringa.name +tile.dragonEgg.name +tile.dropper.name +tile.enchantmentTable.name +tile.endBricks.name +tile.endPortalFrame.name +tile.endRod.name +tile.enderChest.name +tile.farmland.name +tile.fence.name +tile.fenceGate.name +tile.fenceIron.name +tile.fire.name +tile.flower1.dandelion.name +tile.flower2.allium.name +tile.flower2.blueOrchid.name +tile.flower2.houstonia.name +tile.flower2.oxeyeDaisy.name +tile.flower2.poppy.name +tile.flower2.tulipOrange.name +tile.flower2.tulipPink.name +tile.flower2.tulipRed.name +tile.flower2.tulipWhite.name +tile.furnace.name +tile.glass.name +tile.glazedTerracottaBlack.name +tile.glazedTerracottaBlue.name +tile.glazedTerracottaBrown.name +tile.glazedTerracottaCyan.name +tile.glazedTerracottaGray.name +tile.glazedTerracottaGreen.name +tile.glazedTerracottaLightBlue.name +tile.glazedTerracottaLime.name +tile.glazedTerracottaMagenta.name +tile.glazedTerracottaOrange.name +tile.glazedTerracottaPink.name +tile.glazedTerracottaPurple.name +tile.glazedTerracottaRed.name +tile.glazedTerracottaSilver.name +tile.glazedTerracottaWhite.name +tile.glazedTerracottaYellow.name +tile.goldenRail.name +tile.grass.name +tile.grassPath.name +tile.gravel.name +tile.hayBlock.name +tile.hellrock.name +tile.hellsand.name +tile.hopper.name +tile.ice.name +tile.icePacked.name +tile.ironTrapdoor.name +tile.jukebox.name +tile.jungleFence.name +tile.jungleFenceGate.name +tile.ladder.name +tile.lava.name +tile.leaves.acacia.name +tile.leaves.big_oak.name +tile.leaves.birch.name +tile.leaves.jungle.name +tile.leaves.oak.name +tile.leaves.spruce.name +tile.lever.name +tile.lightgem.name +tile.litpumpkin.name +tile.log.acacia.name +tile.log.big_oak.name +tile.log.birch.name +tile.log.jungle.name +tile.log.oak.name +tile.log.spruce.name +tile.magma.name +tile.melon.name +tile.mobSpawner.name +tile.monsterStoneEgg.brick.name +tile.monsterStoneEgg.chiseledbrick.name +tile.monsterStoneEgg.cobble.name +tile.monsterStoneEgg.crackedbrick.name +tile.monsterStoneEgg.mossybrick.name +tile.monsterStoneEgg.stone.name +tile.mushroom.name +tile.musicBlock.name +tile.mycel.name +tile.netherBrick.name +tile.netherFence.name +tile.netherStalk.name +tile.netherWartBlock.name +tile.netherquartz.name +tile.notGate.name +tile.observer.name +tile.obsidian.name +tile.oreCoal.name +tile.oreDiamond.name +tile.oreEmerald.name +tile.oreGold.name +tile.oreIron.name +tile.oreLapis.name +tile.oreRedstone.name +tile.pistonBase.name +tile.pistonStickyBase.name +tile.portal.name +tile.pressurePlateStone.name +tile.pressurePlateWood.name +tile.prismarine.bricks.name +tile.prismarine.dark.name +tile.prismarine.rough.name +tile.pumpkin.name +tile.purpurBlock.name +tile.purpurPillar.name +tile.purpurSlab.name +tile.quartzBlock.chiseled.name +tile.quartzBlock.default.name +tile.quartzBlock.lines.name +tile.rail.name +tile.redNetherBrick.name +tile.redSandStone.chiseled.name +tile.redSandStone.default.name +tile.redSandStone.smooth.name +tile.redstoneLight.name +tile.repeatingCommandBlock.name +tile.sand.default.name +tile.sand.red.name +tile.sandStone.chiseled.name +tile.sandStone.default.name +tile.sandStone.smooth.name +tile.sapling.acacia.name +tile.sapling.big_oak.name +tile.sapling.birch.name +tile.sapling.jungle.name +tile.sapling.oak.name +tile.sapling.spruce.name +tile.seaLantern.name +tile.shulkerBoxBlack.name +tile.shulkerBoxBlue.name +tile.shulkerBoxBrown.name +tile.shulkerBoxCyan.name +tile.shulkerBoxGray.name +tile.shulkerBoxGreen.name +tile.shulkerBoxLightBlue.name +tile.shulkerBoxLime.name +tile.shulkerBoxMagenta.name +tile.shulkerBoxOrange.name +tile.shulkerBoxPink.name +tile.shulkerBoxPurple.name +tile.shulkerBoxRed.name +tile.shulkerBoxSilver.name +tile.shulkerBoxWhite.name +tile.shulkerBoxYellow.name +tile.slime.name +tile.snow.name +tile.sponge.dry.name +tile.sponge.wet.name +tile.spruceFence.name +tile.spruceFenceGate.name +tile.stainedGlass.black.name +tile.stainedGlass.blue.name +tile.stainedGlass.brown.name +tile.stainedGlass.cyan.name +tile.stainedGlass.gray.name +tile.stainedGlass.green.name +tile.stainedGlass.lightBlue.name +tile.stainedGlass.lime.name +tile.stainedGlass.magenta.name +tile.stainedGlass.orange.name +tile.stainedGlass.pink.name +tile.stainedGlass.purple.name +tile.stainedGlass.red.name +tile.stainedGlass.silver.name +tile.stainedGlass.white.name +tile.stainedGlass.yellow.name +tile.stairsBrick.name +tile.stairsNetherBrick.name +tile.stairsPurpur.name +tile.stairsQuartz.name +tile.stairsRedSandStone.name +tile.stairsSandStone.name +tile.stairsStone.name +tile.stairsStoneBrickSmooth.name +tile.stairsWood.name +tile.stairsWoodAcacia.name +tile.stairsWoodBirch.name +tile.stairsWoodDarkOak.name +tile.stairsWoodJungle.name +tile.stairsWoodSpruce.name +tile.stone.andesite.name +tile.stone.andesiteSmooth.name +tile.stone.diorite.name +tile.stone.dioriteSmooth.name +tile.stone.granite.name +tile.stone.graniteSmooth.name +tile.stone.stone.name +tile.stoneMoss.name +tile.stoneSlab.brick.name +tile.stoneSlab.cobble.name +tile.stoneSlab.netherBrick.name +tile.stoneSlab.quartz.name +tile.stoneSlab.sand.name +tile.stoneSlab.smoothStoneBrick.name +tile.stoneSlab.stone.name +tile.stoneSlab.wood.name +tile.stoneSlab2.red_sandstone.name +tile.stonebrick.name +tile.stonebricksmooth.chiseled.name +tile.stonebricksmooth.cracked.name +tile.stonebricksmooth.default.name +tile.stonebricksmooth.mossy.name +tile.structureBlock.name +tile.structureVoid.name +tile.tallgrass.fern.name +tile.tallgrass.grass.name +tile.tallgrass.shrub.name +tile.thinGlass.name +tile.thinStainedGlass.black.name +tile.thinStainedGlass.blue.name +tile.thinStainedGlass.brown.name +tile.thinStainedGlass.cyan.name +tile.thinStainedGlass.gray.name +tile.thinStainedGlass.green.name +tile.thinStainedGlass.lightBlue.name +tile.thinStainedGlass.lime.name +tile.thinStainedGlass.magenta.name +tile.thinStainedGlass.orange.name +tile.thinStainedGlass.pink.name +tile.thinStainedGlass.purple.name +tile.thinStainedGlass.red.name +tile.thinStainedGlass.silver.name +tile.thinStainedGlass.white.name +tile.thinStainedGlass.yellow.name +tile.tnt.name +tile.torch.name +tile.trapdoor.name +tile.tripWireSource.name +tile.vine.name +tile.water.name +tile.waterlily.name +tile.web.name +tile.weightedPlate_heavy.name +tile.weightedPlate_light.name +tile.whiteStone.name +tile.wood.acacia.name +tile.wood.big_oak.name +tile.wood.birch.name +tile.wood.jungle.name +tile.wood.oak.name +tile.wood.spruce.name +tile.woodSlab.acacia.name +tile.woodSlab.big_oak.name +tile.woodSlab.birch.name +tile.woodSlab.jungle.name +tile.woodSlab.oak.name +tile.woodSlab.spruce.name +tile.woolCarpet.black.name +tile.woolCarpet.blue.name +tile.woolCarpet.brown.name +tile.woolCarpet.cyan.name +tile.woolCarpet.gray.name +tile.woolCarpet.green.name +tile.woolCarpet.lightBlue.name +tile.woolCarpet.lime.name +tile.woolCarpet.magenta.name +tile.woolCarpet.orange.name +tile.woolCarpet.pink.name +tile.woolCarpet.purple.name +tile.woolCarpet.red.name +tile.woolCarpet.silver.name +tile.woolCarpet.white.name +tile.woolCarpet.yellow.name +tile.workbench.name +tipped_arrow.effect.awkward +tipped_arrow.effect.empty +tipped_arrow.effect.fire_resistance +tipped_arrow.effect.harming +tipped_arrow.effect.healing +tipped_arrow.effect.invisibility +tipped_arrow.effect.leaping +tipped_arrow.effect.luck +tipped_arrow.effect.mundane +tipped_arrow.effect.night_vision +tipped_arrow.effect.poison +tipped_arrow.effect.regeneration +tipped_arrow.effect.slowness +tipped_arrow.effect.strength +tipped_arrow.effect.swiftness +tipped_arrow.effect.thick +tipped_arrow.effect.water +tipped_arrow.effect.water_breathing +tipped_arrow.effect.weakness \ No newline at end of file diff --git a/script/entries.txt b/script/entries.txt new file mode 100644 index 0000000..1d5ceb7 --- /dev/null +++ b/script/entries.txt @@ -0,0 +1,1122 @@ +block.minecraft.acacia_button +block.minecraft.acacia_door +block.minecraft.acacia_fence +block.minecraft.acacia_fence_gate +block.minecraft.acacia_leaves +block.minecraft.acacia_log +block.minecraft.acacia_planks +block.minecraft.acacia_pressure_plate +block.minecraft.acacia_sapling +block.minecraft.acacia_sign +block.minecraft.acacia_slab +block.minecraft.acacia_stairs +block.minecraft.acacia_trapdoor +block.minecraft.acacia_wall_sign +block.minecraft.acacia_wood +block.minecraft.activator_rail +block.minecraft.air +block.minecraft.allium +block.minecraft.andesite +block.minecraft.andesite_slab +block.minecraft.andesite_stairs +block.minecraft.andesite_wall +block.minecraft.anvil +block.minecraft.attached_melon_stem +block.minecraft.attached_pumpkin_stem +block.minecraft.azure_bluet +block.minecraft.bamboo +block.minecraft.bamboo_sapling +block.minecraft.barrel +block.minecraft.barrier +block.minecraft.beacon +block.minecraft.bedrock +block.minecraft.beetroots +block.minecraft.bell +block.minecraft.birch_button +block.minecraft.birch_door +block.minecraft.birch_fence +block.minecraft.birch_fence_gate +block.minecraft.birch_leaves +block.minecraft.birch_log +block.minecraft.birch_planks +block.minecraft.birch_pressure_plate +block.minecraft.birch_sapling +block.minecraft.birch_sign +block.minecraft.birch_slab +block.minecraft.birch_stairs +block.minecraft.birch_trapdoor +block.minecraft.birch_wall_sign +block.minecraft.birch_wood +block.minecraft.black_bed +block.minecraft.black_carpet +block.minecraft.black_concrete +block.minecraft.black_concrete_powder +block.minecraft.black_glazed_terracotta +block.minecraft.black_shulker_box +block.minecraft.black_stained_glass +block.minecraft.black_stained_glass_pane +block.minecraft.black_terracotta +block.minecraft.black_wool +block.minecraft.blast_furnace +block.minecraft.blue_bed +block.minecraft.blue_carpet +block.minecraft.blue_concrete +block.minecraft.blue_concrete_powder +block.minecraft.blue_glazed_terracotta +block.minecraft.blue_ice +block.minecraft.blue_orchid +block.minecraft.blue_shulker_box +block.minecraft.blue_stained_glass +block.minecraft.blue_stained_glass_pane +block.minecraft.blue_terracotta +block.minecraft.blue_wool +block.minecraft.bone_block +block.minecraft.bookshelf +block.minecraft.brain_coral +block.minecraft.brain_coral_block +block.minecraft.brain_coral_fan +block.minecraft.brewing_stand +block.minecraft.brick_slab +block.minecraft.brick_stairs +block.minecraft.brick_wall +block.minecraft.bricks +block.minecraft.brown_bed +block.minecraft.brown_carpet +block.minecraft.brown_concrete +block.minecraft.brown_concrete_powder +block.minecraft.brown_glazed_terracotta +block.minecraft.brown_mushroom +block.minecraft.brown_mushroom_block +block.minecraft.brown_shulker_box +block.minecraft.brown_stained_glass +block.minecraft.brown_stained_glass_pane +block.minecraft.brown_terracotta +block.minecraft.brown_wool +block.minecraft.bubble_column +block.minecraft.bubble_coral +block.minecraft.bubble_coral_block +block.minecraft.bubble_coral_fan +block.minecraft.cactus +block.minecraft.cake +block.minecraft.campfire +block.minecraft.carrots +block.minecraft.cartography_table +block.minecraft.carved_pumpkin +block.minecraft.cauldron +block.minecraft.cave_air +block.minecraft.chain_command_block +block.minecraft.chest +block.minecraft.chipped_anvil +block.minecraft.chiseled_quartz_block +block.minecraft.chiseled_red_sandstone +block.minecraft.chiseled_sandstone +block.minecraft.chiseled_stone_bricks +block.minecraft.chorus_flower +block.minecraft.chorus_plant +block.minecraft.clay +block.minecraft.coal_block +block.minecraft.coal_ore +block.minecraft.coarse_dirt +block.minecraft.cobblestone +block.minecraft.cobblestone_slab +block.minecraft.cobblestone_stairs +block.minecraft.cobblestone_wall +block.minecraft.cobweb +block.minecraft.cocoa +block.minecraft.command_block +block.minecraft.comparator +block.minecraft.composter +block.minecraft.conduit +block.minecraft.cornflower +block.minecraft.cracked_stone_bricks +block.minecraft.crafting_table +block.minecraft.creeper_head +block.minecraft.creeper_wall_head +block.minecraft.cut_red_sandstone +block.minecraft.cut_red_sandstone_slab +block.minecraft.cut_sandstone +block.minecraft.cut_sandstone_slab +block.minecraft.cyan_bed +block.minecraft.cyan_carpet +block.minecraft.cyan_concrete +block.minecraft.cyan_concrete_powder +block.minecraft.cyan_glazed_terracotta +block.minecraft.cyan_shulker_box +block.minecraft.cyan_stained_glass +block.minecraft.cyan_stained_glass_pane +block.minecraft.cyan_terracotta +block.minecraft.cyan_wool +block.minecraft.damaged_anvil +block.minecraft.dandelion +block.minecraft.dark_oak_button +block.minecraft.dark_oak_door +block.minecraft.dark_oak_fence +block.minecraft.dark_oak_fence_gate +block.minecraft.dark_oak_leaves +block.minecraft.dark_oak_log +block.minecraft.dark_oak_planks +block.minecraft.dark_oak_pressure_plate +block.minecraft.dark_oak_sapling +block.minecraft.dark_oak_sign +block.minecraft.dark_oak_slab +block.minecraft.dark_oak_stairs +block.minecraft.dark_oak_trapdoor +block.minecraft.dark_oak_wall_sign +block.minecraft.dark_oak_wood +block.minecraft.dark_prismarine +block.minecraft.dark_prismarine_slab +block.minecraft.dark_prismarine_stairs +block.minecraft.daylight_detector +block.minecraft.dead_brain_coral +block.minecraft.dead_brain_coral_block +block.minecraft.dead_bubble_coral +block.minecraft.dead_bubble_coral_block +block.minecraft.dead_bush +block.minecraft.dead_fire_coral +block.minecraft.dead_fire_coral_block +block.minecraft.dead_horn_coral +block.minecraft.dead_horn_coral_block +block.minecraft.dead_tube_coral +block.minecraft.dead_tube_coral_block +block.minecraft.detector_rail +block.minecraft.diamond_block +block.minecraft.diamond_ore +block.minecraft.diorite +block.minecraft.diorite_slab +block.minecraft.diorite_stairs +block.minecraft.diorite_wall +block.minecraft.dirt +block.minecraft.dispenser +block.minecraft.dragon_egg +block.minecraft.dragon_head +block.minecraft.dragon_wall_head +block.minecraft.dried_kelp_block +block.minecraft.dropper +block.minecraft.emerald_block +block.minecraft.emerald_ore +block.minecraft.enchanting_table +block.minecraft.end_gateway +block.minecraft.end_portal +block.minecraft.end_portal_frame +block.minecraft.end_rod +block.minecraft.end_stone +block.minecraft.end_stone_brick_slab +block.minecraft.end_stone_brick_stairs +block.minecraft.end_stone_brick_wall +block.minecraft.end_stone_bricks +block.minecraft.ender_chest +block.minecraft.farmland +block.minecraft.fern +block.minecraft.fire +block.minecraft.fire_coral +block.minecraft.fire_coral_block +block.minecraft.fire_coral_fan +block.minecraft.fletching_table +block.minecraft.flower_pot +block.minecraft.frosted_ice +block.minecraft.furnace +block.minecraft.glass +block.minecraft.glass_pane +block.minecraft.glowstone +block.minecraft.gold_block +block.minecraft.gold_ore +block.minecraft.granite +block.minecraft.granite_slab +block.minecraft.granite_stairs +block.minecraft.granite_wall +block.minecraft.grass +block.minecraft.grass_block +block.minecraft.grass_path +block.minecraft.gravel +block.minecraft.gray_bed +block.minecraft.gray_carpet +block.minecraft.gray_concrete +block.minecraft.gray_concrete_powder +block.minecraft.gray_glazed_terracotta +block.minecraft.gray_shulker_box +block.minecraft.gray_stained_glass +block.minecraft.gray_stained_glass_pane +block.minecraft.gray_terracotta +block.minecraft.gray_wool +block.minecraft.green_bed +block.minecraft.green_carpet +block.minecraft.green_concrete +block.minecraft.green_concrete_powder +block.minecraft.green_glazed_terracotta +block.minecraft.green_shulker_box +block.minecraft.green_stained_glass +block.minecraft.green_stained_glass_pane +block.minecraft.green_terracotta +block.minecraft.green_wool +block.minecraft.grindstone +block.minecraft.hay_block +block.minecraft.heavy_weighted_pressure_plate +block.minecraft.hopper +block.minecraft.horn_coral +block.minecraft.horn_coral_block +block.minecraft.horn_coral_fan +block.minecraft.ice +block.minecraft.infested_chiseled_stone_bricks +block.minecraft.infested_cobblestone +block.minecraft.infested_cracked_stone_bricks +block.minecraft.infested_mossy_stone_bricks +block.minecraft.infested_stone +block.minecraft.infested_stone_bricks +block.minecraft.iron_bars +block.minecraft.iron_block +block.minecraft.iron_door +block.minecraft.iron_ore +block.minecraft.iron_trapdoor +block.minecraft.jack_o_lantern +block.minecraft.jigsaw +block.minecraft.jukebox +block.minecraft.jungle_button +block.minecraft.jungle_door +block.minecraft.jungle_fence +block.minecraft.jungle_fence_gate +block.minecraft.jungle_leaves +block.minecraft.jungle_log +block.minecraft.jungle_planks +block.minecraft.jungle_pressure_plate +block.minecraft.jungle_sapling +block.minecraft.jungle_sign +block.minecraft.jungle_slab +block.minecraft.jungle_stairs +block.minecraft.jungle_trapdoor +block.minecraft.jungle_wall_sign +block.minecraft.jungle_wood +block.minecraft.kelp +block.minecraft.kelp_plant +block.minecraft.ladder +block.minecraft.lantern +block.minecraft.lapis_block +block.minecraft.lapis_ore +block.minecraft.large_fern +block.minecraft.lava +block.minecraft.lectern +block.minecraft.lever +block.minecraft.light_blue_bed +block.minecraft.light_blue_carpet +block.minecraft.light_blue_concrete +block.minecraft.light_blue_concrete_powder +block.minecraft.light_blue_glazed_terracotta +block.minecraft.light_blue_shulker_box +block.minecraft.light_blue_stained_glass +block.minecraft.light_blue_stained_glass_pane +block.minecraft.light_blue_terracotta +block.minecraft.light_blue_wool +block.minecraft.light_gray_bed +block.minecraft.light_gray_carpet +block.minecraft.light_gray_concrete +block.minecraft.light_gray_concrete_powder +block.minecraft.light_gray_glazed_terracotta +block.minecraft.light_gray_shulker_box +block.minecraft.light_gray_stained_glass +block.minecraft.light_gray_stained_glass_pane +block.minecraft.light_gray_terracotta +block.minecraft.light_gray_wool +block.minecraft.light_weighted_pressure_plate +block.minecraft.lilac +block.minecraft.lily_of_the_valley +block.minecraft.lily_pad +block.minecraft.lime_bed +block.minecraft.lime_carpet +block.minecraft.lime_concrete +block.minecraft.lime_concrete_powder +block.minecraft.lime_glazed_terracotta +block.minecraft.lime_shulker_box +block.minecraft.lime_stained_glass +block.minecraft.lime_stained_glass_pane +block.minecraft.lime_terracotta +block.minecraft.lime_wool +block.minecraft.loom +block.minecraft.magenta_bed +block.minecraft.magenta_carpet +block.minecraft.magenta_concrete +block.minecraft.magenta_concrete_powder +block.minecraft.magenta_glazed_terracotta +block.minecraft.magenta_shulker_box +block.minecraft.magenta_stained_glass +block.minecraft.magenta_stained_glass_pane +block.minecraft.magenta_terracotta +block.minecraft.magenta_wool +block.minecraft.magma_block +block.minecraft.melon +block.minecraft.melon_stem +block.minecraft.mossy_cobblestone +block.minecraft.mossy_cobblestone_slab +block.minecraft.mossy_cobblestone_stairs +block.minecraft.mossy_cobblestone_wall +block.minecraft.mossy_stone_brick_slab +block.minecraft.mossy_stone_brick_stairs +block.minecraft.mossy_stone_brick_wall +block.minecraft.mossy_stone_bricks +block.minecraft.moving_piston +block.minecraft.mushroom_stem +block.minecraft.mycelium +block.minecraft.nether_brick_fence +block.minecraft.nether_brick_slab +block.minecraft.nether_brick_stairs +block.minecraft.nether_brick_wall +block.minecraft.nether_bricks +block.minecraft.nether_portal +block.minecraft.nether_quartz_ore +block.minecraft.nether_wart +block.minecraft.nether_wart_block +block.minecraft.netherrack +block.minecraft.note_block +block.minecraft.oak_button +block.minecraft.oak_door +block.minecraft.oak_fence +block.minecraft.oak_fence_gate +block.minecraft.oak_leaves +block.minecraft.oak_log +block.minecraft.oak_planks +block.minecraft.oak_pressure_plate +block.minecraft.oak_sapling +block.minecraft.oak_sign +block.minecraft.oak_slab +block.minecraft.oak_stairs +block.minecraft.oak_trapdoor +block.minecraft.oak_wall_sign +block.minecraft.oak_wood +block.minecraft.observer +block.minecraft.obsidian +block.minecraft.orange_bed +block.minecraft.orange_carpet +block.minecraft.orange_concrete +block.minecraft.orange_concrete_powder +block.minecraft.orange_glazed_terracotta +block.minecraft.orange_shulker_box +block.minecraft.orange_stained_glass +block.minecraft.orange_stained_glass_pane +block.minecraft.orange_terracotta +block.minecraft.orange_tulip +block.minecraft.orange_wool +block.minecraft.oxeye_daisy +block.minecraft.packed_ice +block.minecraft.peony +block.minecraft.petrified_oak_slab +block.minecraft.pink_bed +block.minecraft.pink_carpet +block.minecraft.pink_concrete +block.minecraft.pink_concrete_powder +block.minecraft.pink_glazed_terracotta +block.minecraft.pink_shulker_box +block.minecraft.pink_stained_glass +block.minecraft.pink_stained_glass_pane +block.minecraft.pink_terracotta +block.minecraft.pink_tulip +block.minecraft.pink_wool +block.minecraft.piston +block.minecraft.piston_head +block.minecraft.player_head +block.minecraft.player_wall_head +block.minecraft.podzol +block.minecraft.polished_andesite +block.minecraft.polished_andesite_slab +block.minecraft.polished_andesite_stairs +block.minecraft.polished_diorite +block.minecraft.polished_diorite_slab +block.minecraft.polished_diorite_stairs +block.minecraft.polished_granite +block.minecraft.polished_granite_slab +block.minecraft.polished_granite_stairs +block.minecraft.poppy +block.minecraft.potatoes +block.minecraft.potted_acacia_sapling +block.minecraft.potted_allium +block.minecraft.potted_azure_bluet +block.minecraft.potted_bamboo +block.minecraft.potted_birch_sapling +block.minecraft.potted_blue_orchid +block.minecraft.potted_brown_mushroom +block.minecraft.potted_cactus +block.minecraft.potted_cornflower +block.minecraft.potted_dandelion +block.minecraft.potted_dark_oak_sapling +block.minecraft.potted_dead_bush +block.minecraft.potted_fern +block.minecraft.potted_jungle_sapling +block.minecraft.potted_lily_of_the_valley +block.minecraft.potted_oak_sapling +block.minecraft.potted_orange_tulip +block.minecraft.potted_oxeye_daisy +block.minecraft.potted_pink_tulip +block.minecraft.potted_poppy +block.minecraft.potted_red_mushroom +block.minecraft.potted_red_tulip +block.minecraft.potted_spruce_sapling +block.minecraft.potted_white_tulip +block.minecraft.potted_wither_rose +block.minecraft.powered_rail +block.minecraft.prismarine +block.minecraft.prismarine_brick_slab +block.minecraft.prismarine_brick_stairs +block.minecraft.prismarine_bricks +block.minecraft.prismarine_slab +block.minecraft.prismarine_stairs +block.minecraft.prismarine_wall +block.minecraft.pumpkin +block.minecraft.pumpkin_stem +block.minecraft.purple_bed +block.minecraft.purple_carpet +block.minecraft.purple_concrete +block.minecraft.purple_concrete_powder +block.minecraft.purple_glazed_terracotta +block.minecraft.purple_shulker_box +block.minecraft.purple_stained_glass +block.minecraft.purple_stained_glass_pane +block.minecraft.purple_terracotta +block.minecraft.purple_wool +block.minecraft.purpur_block +block.minecraft.purpur_pillar +block.minecraft.purpur_slab +block.minecraft.purpur_stairs +block.minecraft.quartz_block +block.minecraft.quartz_pillar +block.minecraft.quartz_slab +block.minecraft.quartz_stairs +block.minecraft.rail +block.minecraft.red_bed +block.minecraft.red_carpet +block.minecraft.red_concrete +block.minecraft.red_concrete_powder +block.minecraft.red_glazed_terracotta +block.minecraft.red_mushroom +block.minecraft.red_mushroom_block +block.minecraft.red_nether_brick_slab +block.minecraft.red_nether_brick_stairs +block.minecraft.red_nether_brick_wall +block.minecraft.red_nether_bricks +block.minecraft.red_sand +block.minecraft.red_sandstone +block.minecraft.red_sandstone_slab +block.minecraft.red_sandstone_stairs +block.minecraft.red_sandstone_wall +block.minecraft.red_shulker_box +block.minecraft.red_stained_glass +block.minecraft.red_stained_glass_pane +block.minecraft.red_terracotta +block.minecraft.red_tulip +block.minecraft.red_wool +block.minecraft.redstone_block +block.minecraft.redstone_lamp +block.minecraft.redstone_ore +block.minecraft.redstone_torch +block.minecraft.redstone_wall_torch +block.minecraft.redstone_wire +block.minecraft.repeater +block.minecraft.repeating_command_block +block.minecraft.rose_bush +block.minecraft.sand +block.minecraft.sandstone +block.minecraft.sandstone_slab +block.minecraft.sandstone_stairs +block.minecraft.sandstone_wall +block.minecraft.scaffolding +block.minecraft.sea_lantern +block.minecraft.sea_pickle +block.minecraft.seagrass +block.minecraft.shulker_box +block.minecraft.skeleton_skull +block.minecraft.skeleton_wall_skull +block.minecraft.slime_block +block.minecraft.smithing_table +block.minecraft.smoker +block.minecraft.smooth_quartz +block.minecraft.smooth_quartz_slab +block.minecraft.smooth_quartz_stairs +block.minecraft.smooth_red_sandstone +block.minecraft.smooth_red_sandstone_slab +block.minecraft.smooth_red_sandstone_stairs +block.minecraft.smooth_sandstone +block.minecraft.smooth_sandstone_slab +block.minecraft.smooth_sandstone_stairs +block.minecraft.smooth_stone +block.minecraft.smooth_stone_slab +block.minecraft.snow +block.minecraft.snow_block +block.minecraft.soul_sand +block.minecraft.spawner +block.minecraft.sponge +block.minecraft.spruce_button +block.minecraft.spruce_door +block.minecraft.spruce_fence +block.minecraft.spruce_fence_gate +block.minecraft.spruce_leaves +block.minecraft.spruce_log +block.minecraft.spruce_planks +block.minecraft.spruce_pressure_plate +block.minecraft.spruce_sapling +block.minecraft.spruce_sign +block.minecraft.spruce_slab +block.minecraft.spruce_stairs +block.minecraft.spruce_trapdoor +block.minecraft.spruce_wall_sign +block.minecraft.spruce_wood +block.minecraft.sticky_piston +block.minecraft.stone +block.minecraft.stone_brick_slab +block.minecraft.stone_brick_stairs +block.minecraft.stone_brick_wall +block.minecraft.stone_bricks +block.minecraft.stone_button +block.minecraft.stone_pressure_plate +block.minecraft.stone_slab +block.minecraft.stonecutter +block.minecraft.stripped_acacia_log +block.minecraft.stripped_acacia_wood +block.minecraft.stripped_birch_log +block.minecraft.stripped_birch_wood +block.minecraft.stripped_dark_oak_log +block.minecraft.stripped_dark_oak_wood +block.minecraft.stripped_jungle_log +block.minecraft.stripped_jungle_wood +block.minecraft.stripped_oak_log +block.minecraft.stripped_oak_wood +block.minecraft.stripped_spruce_log +block.minecraft.stripped_spruce_wood +block.minecraft.structure_block +block.minecraft.structure_void +block.minecraft.sugar_cane +block.minecraft.sunflower +block.minecraft.sweet_berry_bush +block.minecraft.tall_grass +block.minecraft.tall_seagrass +block.minecraft.terracotta +block.minecraft.tnt +block.minecraft.torch +block.minecraft.trapped_chest +block.minecraft.tripwire +block.minecraft.tripwire_hook +block.minecraft.tube_coral +block.minecraft.tube_coral_block +block.minecraft.tube_coral_fan +block.minecraft.turtle_egg +block.minecraft.vine +block.minecraft.void_air +block.minecraft.wall_sign +block.minecraft.wall_torch +block.minecraft.water +block.minecraft.wet_sponge +block.minecraft.wheat +block.minecraft.white_bed +block.minecraft.white_carpet +block.minecraft.white_concrete +block.minecraft.white_concrete_powder +block.minecraft.white_glazed_terracotta +block.minecraft.white_shulker_box +block.minecraft.white_stained_glass +block.minecraft.white_stained_glass_pane +block.minecraft.white_terracotta +block.minecraft.white_tulip +block.minecraft.white_wool +block.minecraft.wither_rose +block.minecraft.wither_skeleton_skull +block.minecraft.wither_skeleton_wall_skull +block.minecraft.yellow_bed +block.minecraft.yellow_carpet +block.minecraft.yellow_concrete +block.minecraft.yellow_concrete_powder +block.minecraft.yellow_glazed_terracotta +block.minecraft.yellow_shulker_box +block.minecraft.yellow_stained_glass +block.minecraft.yellow_stained_glass_pane +block.minecraft.yellow_terracotta +block.minecraft.yellow_wool +block.minecraft.zombie_head +block.minecraft.zombie_wall_head +book.generation.0 +book.generation.1 +book.generation.2 +book.generation.3 +effect.minecraft.absorption +effect.minecraft.bad_omen +effect.minecraft.blindness +effect.minecraft.conduit_power +effect.minecraft.dolphins_grace +effect.minecraft.fire_resistance +effect.minecraft.glowing +effect.minecraft.haste +effect.minecraft.health_boost +effect.minecraft.hero_of_the_village +effect.minecraft.hunger +effect.minecraft.instant_damage +effect.minecraft.instant_health +effect.minecraft.invisibility +effect.minecraft.jump_boost +effect.minecraft.levitation +effect.minecraft.luck +effect.minecraft.mining_fatigue +effect.minecraft.nausea +effect.minecraft.night_vision +effect.minecraft.poison +effect.minecraft.regeneration +effect.minecraft.resistance +effect.minecraft.saturation +effect.minecraft.slow_falling +effect.minecraft.slowness +effect.minecraft.speed +effect.minecraft.strength +effect.minecraft.unluck +effect.minecraft.water_breathing +effect.minecraft.weakness +effect.minecraft.wither +enchantment.level.1 +enchantment.level.10 +enchantment.level.2 +enchantment.level.3 +enchantment.level.4 +enchantment.level.5 +enchantment.level.6 +enchantment.level.7 +enchantment.level.8 +enchantment.level.9 +enchantment.minecraft.aqua_affinity +enchantment.minecraft.bane_of_arthropods +enchantment.minecraft.binding_curse +enchantment.minecraft.blast_protection +enchantment.minecraft.channeling +enchantment.minecraft.depth_strider +enchantment.minecraft.efficiency +enchantment.minecraft.feather_falling +enchantment.minecraft.fire_aspect +enchantment.minecraft.fire_protection +enchantment.minecraft.flame +enchantment.minecraft.fortune +enchantment.minecraft.frost_walker +enchantment.minecraft.impaling +enchantment.minecraft.infinity +enchantment.minecraft.knockback +enchantment.minecraft.looting +enchantment.minecraft.loyalty +enchantment.minecraft.luck_of_the_sea +enchantment.minecraft.lure +enchantment.minecraft.mending +enchantment.minecraft.multishot +enchantment.minecraft.piercing +enchantment.minecraft.power +enchantment.minecraft.projectile_protection +enchantment.minecraft.protection +enchantment.minecraft.punch +enchantment.minecraft.quick_charge +enchantment.minecraft.respiration +enchantment.minecraft.riptide +enchantment.minecraft.sharpness +enchantment.minecraft.silk_touch +enchantment.minecraft.smite +enchantment.minecraft.sweeping +enchantment.minecraft.thorns +enchantment.minecraft.unbreaking +enchantment.minecraft.vanishing_curse +item.minecraft.acacia_boat +item.minecraft.apple +item.minecraft.armor_stand +item.minecraft.arrow +item.minecraft.baked_potato +item.minecraft.bat_spawn_egg +item.minecraft.beef +item.minecraft.beetroot +item.minecraft.beetroot_seeds +item.minecraft.beetroot_soup +item.minecraft.birch_boat +item.minecraft.black_dye +item.minecraft.blaze_powder +item.minecraft.blaze_rod +item.minecraft.blaze_spawn_egg +item.minecraft.blue_dye +item.minecraft.bone +item.minecraft.bone_meal +item.minecraft.book +item.minecraft.bow +item.minecraft.bowl +item.minecraft.bread +item.minecraft.brewing_stand +item.minecraft.brick +item.minecraft.brown_dye +item.minecraft.bucket +item.minecraft.cactus_green +item.minecraft.carrot +item.minecraft.carrot_on_a_stick +item.minecraft.cat_spawn_egg +item.minecraft.cauldron +item.minecraft.cave_spider_spawn_egg +item.minecraft.chainmail_boots +item.minecraft.chainmail_chestplate +item.minecraft.chainmail_helmet +item.minecraft.chainmail_leggings +item.minecraft.charcoal +item.minecraft.chest_minecart +item.minecraft.chicken +item.minecraft.chicken_spawn_egg +item.minecraft.chorus_fruit +item.minecraft.clay_ball +item.minecraft.clock +item.minecraft.coal +item.minecraft.cocoa_beans +item.minecraft.cod +item.minecraft.cod_bucket +item.minecraft.cod_spawn_egg +item.minecraft.command_block_minecart +item.minecraft.compass +item.minecraft.cooked_beef +item.minecraft.cooked_chicken +item.minecraft.cooked_cod +item.minecraft.cooked_mutton +item.minecraft.cooked_porkchop +item.minecraft.cooked_rabbit +item.minecraft.cooked_salmon +item.minecraft.cookie +item.minecraft.cow_spawn_egg +item.minecraft.creeper_banner_pattern +item.minecraft.creeper_banner_pattern.desc +item.minecraft.creeper_head +item.minecraft.creeper_spawn_egg +item.minecraft.crossbow +item.minecraft.cyan_dye +item.minecraft.dandelion_yellow +item.minecraft.dark_oak_boat +item.minecraft.debug_stick +item.minecraft.diamond +item.minecraft.diamond_axe +item.minecraft.diamond_boots +item.minecraft.diamond_chestplate +item.minecraft.diamond_helmet +item.minecraft.diamond_hoe +item.minecraft.diamond_horse_armor +item.minecraft.diamond_leggings +item.minecraft.diamond_pickaxe +item.minecraft.diamond_shovel +item.minecraft.diamond_sword +item.minecraft.dolphin_spawn_egg +item.minecraft.donkey_spawn_egg +item.minecraft.dragon_breath +item.minecraft.dragon_head +item.minecraft.dried_kelp +item.minecraft.drowned_spawn_egg +item.minecraft.egg +item.minecraft.elder_guardian_spawn_egg +item.minecraft.elytra +item.minecraft.emerald +item.minecraft.enchanted_book +item.minecraft.enchanted_golden_apple +item.minecraft.end_crystal +item.minecraft.ender_eye +item.minecraft.ender_pearl +item.minecraft.enderman_spawn_egg +item.minecraft.endermite_spawn_egg +item.minecraft.evoker_spawn_egg +item.minecraft.experience_bottle +item.minecraft.feather +item.minecraft.fermented_spider_eye +item.minecraft.filled_map +item.minecraft.fire_charge +item.minecraft.firework_rocket +item.minecraft.firework_star +item.minecraft.fishing_rod +item.minecraft.flint +item.minecraft.flint_and_steel +item.minecraft.flower_banner_pattern +item.minecraft.flower_banner_pattern.desc +item.minecraft.flower_pot +item.minecraft.fox_spawn_egg +item.minecraft.furnace_minecart +item.minecraft.ghast_spawn_egg +item.minecraft.ghast_tear +item.minecraft.glass_bottle +item.minecraft.glistering_melon_slice +item.minecraft.globe_banner_pattern +item.minecraft.globe_banner_pattern.desc +item.minecraft.glowstone_dust +item.minecraft.gold_ingot +item.minecraft.gold_nugget +item.minecraft.golden_apple +item.minecraft.golden_axe +item.minecraft.golden_boots +item.minecraft.golden_carrot +item.minecraft.golden_chestplate +item.minecraft.golden_helmet +item.minecraft.golden_hoe +item.minecraft.golden_horse_armor +item.minecraft.golden_leggings +item.minecraft.golden_pickaxe +item.minecraft.golden_shovel +item.minecraft.golden_sword +item.minecraft.gray_dye +item.minecraft.green_dye +item.minecraft.guardian_spawn_egg +item.minecraft.gunpowder +item.minecraft.heart_of_the_sea +item.minecraft.hopper_minecart +item.minecraft.horse_spawn_egg +item.minecraft.husk_spawn_egg +item.minecraft.ink_sac +item.minecraft.iron_axe +item.minecraft.iron_boots +item.minecraft.iron_chestplate +item.minecraft.iron_helmet +item.minecraft.iron_hoe +item.minecraft.iron_horse_armor +item.minecraft.iron_ingot +item.minecraft.iron_leggings +item.minecraft.iron_nugget +item.minecraft.iron_pickaxe +item.minecraft.iron_shovel +item.minecraft.iron_sword +item.minecraft.item_frame +item.minecraft.jungle_boat +item.minecraft.knowledge_book +item.minecraft.lapis_lazuli +item.minecraft.lava_bucket +item.minecraft.lead +item.minecraft.leather +item.minecraft.leather_boots +item.minecraft.leather_chestplate +item.minecraft.leather_helmet +item.minecraft.leather_horse_armor +item.minecraft.leather_leggings +item.minecraft.light_blue_dye +item.minecraft.light_gray_dye +item.minecraft.lime_dye +item.minecraft.lingering_potion +item.minecraft.lingering_potion.effect.awkward +item.minecraft.lingering_potion.effect.empty +item.minecraft.lingering_potion.effect.fire_resistance +item.minecraft.lingering_potion.effect.harming +item.minecraft.lingering_potion.effect.healing +item.minecraft.lingering_potion.effect.invisibility +item.minecraft.lingering_potion.effect.leaping +item.minecraft.lingering_potion.effect.levitation +item.minecraft.lingering_potion.effect.luck +item.minecraft.lingering_potion.effect.mundane +item.minecraft.lingering_potion.effect.night_vision +item.minecraft.lingering_potion.effect.poison +item.minecraft.lingering_potion.effect.regeneration +item.minecraft.lingering_potion.effect.slow_falling +item.minecraft.lingering_potion.effect.slowness +item.minecraft.lingering_potion.effect.strength +item.minecraft.lingering_potion.effect.swiftness +item.minecraft.lingering_potion.effect.thick +item.minecraft.lingering_potion.effect.turtle_master +item.minecraft.lingering_potion.effect.water +item.minecraft.lingering_potion.effect.water_breathing +item.minecraft.lingering_potion.effect.weakness +item.minecraft.llama_spawn_egg +item.minecraft.magenta_dye +item.minecraft.magma_cream +item.minecraft.magma_cube_spawn_egg +item.minecraft.map +item.minecraft.melon_seeds +item.minecraft.melon_slice +item.minecraft.milk_bucket +item.minecraft.minecart +item.minecraft.mojang_banner_pattern +item.minecraft.mojang_banner_pattern.desc +item.minecraft.mooshroom_spawn_egg +item.minecraft.mule_spawn_egg +item.minecraft.mushroom_stew +item.minecraft.music_disc_11 +item.minecraft.music_disc_11.desc +item.minecraft.music_disc_13 +item.minecraft.music_disc_13.desc +item.minecraft.music_disc_blocks +item.minecraft.music_disc_blocks.desc +item.minecraft.music_disc_cat +item.minecraft.music_disc_cat.desc +item.minecraft.music_disc_chirp +item.minecraft.music_disc_chirp.desc +item.minecraft.music_disc_far +item.minecraft.music_disc_far.desc +item.minecraft.music_disc_mall +item.minecraft.music_disc_mall.desc +item.minecraft.music_disc_mellohi +item.minecraft.music_disc_mellohi.desc +item.minecraft.music_disc_stal +item.minecraft.music_disc_stal.desc +item.minecraft.music_disc_strad +item.minecraft.music_disc_strad.desc +item.minecraft.music_disc_wait +item.minecraft.music_disc_wait.desc +item.minecraft.music_disc_ward +item.minecraft.music_disc_ward.desc +item.minecraft.mutton +item.minecraft.name_tag +item.minecraft.nautilus_shell +item.minecraft.nether_brick +item.minecraft.nether_star +item.minecraft.nether_wart +item.minecraft.oak_boat +item.minecraft.ocelot_spawn_egg +item.minecraft.orange_dye +item.minecraft.painting +item.minecraft.panda_spawn_egg +item.minecraft.paper +item.minecraft.parrot_spawn_egg +item.minecraft.phantom_membrane +item.minecraft.phantom_spawn_egg +item.minecraft.pig_spawn_egg +item.minecraft.pillager_spawn_egg +item.minecraft.pink_dye +item.minecraft.poisonous_potato +item.minecraft.polar_bear_spawn_egg +item.minecraft.popped_chorus_fruit +item.minecraft.porkchop +item.minecraft.potato +item.minecraft.potion +item.minecraft.potion.effect.awkward +item.minecraft.potion.effect.empty +item.minecraft.potion.effect.fire_resistance +item.minecraft.potion.effect.harming +item.minecraft.potion.effect.healing +item.minecraft.potion.effect.invisibility +item.minecraft.potion.effect.leaping +item.minecraft.potion.effect.levitation +item.minecraft.potion.effect.luck +item.minecraft.potion.effect.mundane +item.minecraft.potion.effect.night_vision +item.minecraft.potion.effect.poison +item.minecraft.potion.effect.regeneration +item.minecraft.potion.effect.slow_falling +item.minecraft.potion.effect.slowness +item.minecraft.potion.effect.strength +item.minecraft.potion.effect.swiftness +item.minecraft.potion.effect.thick +item.minecraft.potion.effect.turtle_master +item.minecraft.potion.effect.water +item.minecraft.potion.effect.water_breathing +item.minecraft.potion.effect.weakness +item.minecraft.prismarine_crystals +item.minecraft.prismarine_shard +item.minecraft.pufferfish +item.minecraft.pufferfish_bucket +item.minecraft.pufferfish_spawn_egg +item.minecraft.pumpkin_pie +item.minecraft.pumpkin_seeds +item.minecraft.purple_dye +item.minecraft.quartz +item.minecraft.rabbit +item.minecraft.rabbit_foot +item.minecraft.rabbit_hide +item.minecraft.rabbit_spawn_egg +item.minecraft.rabbit_stew +item.minecraft.ravager_spawn_egg +item.minecraft.red_dye +item.minecraft.redstone +item.minecraft.rose_red +item.minecraft.rotten_flesh +item.minecraft.saddle +item.minecraft.salmon +item.minecraft.salmon_bucket +item.minecraft.salmon_spawn_egg +item.minecraft.scute +item.minecraft.shears +item.minecraft.sheep_spawn_egg +item.minecraft.shulker_shell +item.minecraft.shulker_spawn_egg +item.minecraft.sign +item.minecraft.silverfish_spawn_egg +item.minecraft.skeleton_horse_spawn_egg +item.minecraft.skeleton_skull +item.minecraft.skeleton_spawn_egg +item.minecraft.skull_banner_pattern +item.minecraft.skull_banner_pattern.desc +item.minecraft.slime_ball +item.minecraft.slime_spawn_egg +item.minecraft.snowball +item.minecraft.spectral_arrow +item.minecraft.spider_eye +item.minecraft.spider_spawn_egg +item.minecraft.splash_potion +item.minecraft.splash_potion.effect.awkward +item.minecraft.splash_potion.effect.empty +item.minecraft.splash_potion.effect.fire_resistance +item.minecraft.splash_potion.effect.harming +item.minecraft.splash_potion.effect.healing +item.minecraft.splash_potion.effect.invisibility +item.minecraft.splash_potion.effect.leaping +item.minecraft.splash_potion.effect.levitation +item.minecraft.splash_potion.effect.luck +item.minecraft.splash_potion.effect.mundane +item.minecraft.splash_potion.effect.night_vision +item.minecraft.splash_potion.effect.poison +item.minecraft.splash_potion.effect.regeneration +item.minecraft.splash_potion.effect.slow_falling +item.minecraft.splash_potion.effect.slowness +item.minecraft.splash_potion.effect.strength +item.minecraft.splash_potion.effect.swiftness +item.minecraft.splash_potion.effect.thick +item.minecraft.splash_potion.effect.turtle_master +item.minecraft.splash_potion.effect.water +item.minecraft.splash_potion.effect.water_breathing +item.minecraft.splash_potion.effect.weakness +item.minecraft.spruce_boat +item.minecraft.squid_spawn_egg +item.minecraft.stick +item.minecraft.stone_axe +item.minecraft.stone_hoe +item.minecraft.stone_pickaxe +item.minecraft.stone_shovel +item.minecraft.stone_sword +item.minecraft.stray_spawn_egg +item.minecraft.string +item.minecraft.sugar +item.minecraft.suspicious_stew +item.minecraft.sweet_berries +item.minecraft.tipped_arrow +item.minecraft.tipped_arrow.effect.awkward +item.minecraft.tipped_arrow.effect.empty +item.minecraft.tipped_arrow.effect.fire_resistance +item.minecraft.tipped_arrow.effect.harming +item.minecraft.tipped_arrow.effect.healing +item.minecraft.tipped_arrow.effect.invisibility +item.minecraft.tipped_arrow.effect.leaping +item.minecraft.tipped_arrow.effect.levitation +item.minecraft.tipped_arrow.effect.luck +item.minecraft.tipped_arrow.effect.mundane +item.minecraft.tipped_arrow.effect.night_vision +item.minecraft.tipped_arrow.effect.poison +item.minecraft.tipped_arrow.effect.regeneration +item.minecraft.tipped_arrow.effect.slow_falling +item.minecraft.tipped_arrow.effect.slowness +item.minecraft.tipped_arrow.effect.strength +item.minecraft.tipped_arrow.effect.swiftness +item.minecraft.tipped_arrow.effect.thick +item.minecraft.tipped_arrow.effect.turtle_master +item.minecraft.tipped_arrow.effect.water +item.minecraft.tipped_arrow.effect.water_breathing +item.minecraft.tipped_arrow.effect.weakness +item.minecraft.tnt_minecart +item.minecraft.totem_of_undying +item.minecraft.trader_llama_spawn_egg +item.minecraft.trident +item.minecraft.tropical_fish +item.minecraft.tropical_fish_bucket +item.minecraft.tropical_fish_spawn_egg +item.minecraft.turtle_helmet +item.minecraft.turtle_spawn_egg +item.minecraft.vex_spawn_egg +item.minecraft.villager_spawn_egg +item.minecraft.vindicator_spawn_egg +item.minecraft.wandering_trader_spawn_egg +item.minecraft.water_bucket +item.minecraft.wheat +item.minecraft.wheat_seeds +item.minecraft.white_dye +item.minecraft.witch_spawn_egg +item.minecraft.wither_skeleton_skull +item.minecraft.wither_skeleton_spawn_egg +item.minecraft.wolf_spawn_egg +item.minecraft.wooden_axe +item.minecraft.wooden_hoe +item.minecraft.wooden_pickaxe +item.minecraft.wooden_shovel +item.minecraft.wooden_sword +item.minecraft.writable_book +item.minecraft.written_book +item.minecraft.yellow_dye +item.minecraft.zombie_head +item.minecraft.zombie_horse_spawn_egg +item.minecraft.zombie_pigman_spawn_egg +item.minecraft.zombie_spawn_egg +item.minecraft.zombie_villager_spawn_egg \ No newline at end of file diff --git a/script/lang.py b/script/lang.py new file mode 100644 index 0000000..0d9de4c --- /dev/null +++ b/script/lang.py @@ -0,0 +1,62 @@ +def get_required_entries(legacy: bool): + fileName = "entries-legacy.txt" if legacy else "entries.txt" + entries = set([line.strip(' "\t\r\n') for line in open(fileName)]) + return entries + + +def json_to_shopchest(required_entries: set): + fileIn = input("JSON Input File: ") + fileOut = input("Output File: ") + + with open(fileOut, "w", encoding="utf-8") as out: + for line in open(fileIn, "r"): + new_line = line.strip(' "\t\r\n') # Trim whitespace (start and end) + new_line = new_line.replace('": "', "=") # Replace ": " with = (middle part) + new_line = new_line.replace('",', "") # Delete ", (end part) + new_line = new_line.encode("utf-8").decode("unicode-escape") # Decode unicode characters + + prop_name = new_line.split("=")[0] + if prop_name in required_entries: + out.write(new_line + "\n") + required_entries.remove(prop_name) + + if len(required_entries) > 0: + print() + print(str(len(required_entries)) + " required entries missing from input file:") + + for prop_name in required_entries: + print("- " + prop_name) + + +def lang_to_shopchest(required_entries: set): + fileIn = input("Input File: ") + fileOut = input("Output File: ") + + with open(fileOut, "w", encoding="utf-8") as out: + for line in open(fileIn, encoding="utf-8"): + new_line = line.strip(' "\t\r\n') # Trim whitespace (start and end) + prop_name = new_line.split("=")[0] + if prop_name in required_entries: + out.write(new_line + "\n") + required_entries.remove(prop_name) + + if len(required_entries) > 0: + print() + print(str(len(required_entries)) + " required entries missing from input file:") + + for prop_name in required_entries: + print("- " + prop_name) + + +legacy = input("Pre 1.13? [y/n]: ") == 'y' +required_entries = get_required_entries(legacy) + +print() +print("Legacy: " + str(legacy)) +print(str(len(required_entries)) + " entries required") +print() + +if legacy: + lang_to_shopchest(required_entries) +else: + json_to_shopchest(required_entries) \ No newline at end of file