Remove full frog metadata, add translation mappings

This commit is contained in:
Nassim Jahnke 2022-03-24 20:07:14 +01:00
parent 8d380f4278
commit a85b9e8100
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
3 changed files with 110 additions and 5 deletions

View File

@ -55,7 +55,7 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
//TODO block entity update, chunk? //TODO block entity update, chunk?
executeAsyncAfterLoaded(Protocol1_19To1_18_2.class, MAPPINGS::load); executeAsyncAfterLoaded(Protocol1_19To1_18_2.class, MAPPINGS::load);
//TODO translation mappings //TODO update translation mappings on release
translatableRewriter.registerComponentPacket(ClientboundPackets1_19.CHAT_MESSAGE); translatableRewriter.registerComponentPacket(ClientboundPackets1_19.CHAT_MESSAGE);
translatableRewriter.registerComponentPacket(ClientboundPackets1_19.ACTIONBAR); translatableRewriter.registerComponentPacket(ClientboundPackets1_19.ACTIONBAR);
translatableRewriter.registerComponentPacket(ClientboundPackets1_19.TITLE_TEXT); translatableRewriter.registerComponentPacket(ClientboundPackets1_19.TITLE_TEXT);

View File

@ -154,10 +154,9 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
}); });
filter().type(Entity1_19Types.FROG).cancel(16); // Age filter().type(Entity1_19Types.FROG).cancel(16); // Age
filter().type(Entity1_19Types.FROG).cancel(17); // Anger filter().type(Entity1_19Types.FROG).cancel(17); // Variant
mapEntityTypeWithData(Entity1_19Types.FROG, Entity1_19Types.PUFFERFISH).jsonName().spawnMetadata(storage -> { filter().type(Entity1_19Types.FROG).cancel(18); // Tongue target
storage.add(new Metadata(17, Types1_14.META_TYPES.varIntType, 2)); // Puff state mapEntityTypeWithData(Entity1_19Types.FROG, Entity1_19Types.RABBIT).jsonName();
}).jsonName();
mapEntityTypeWithData(Entity1_19Types.TADPOLE, Entity1_19Types.PUFFERFISH).jsonName(); mapEntityTypeWithData(Entity1_19Types.TADPOLE, Entity1_19Types.PUFFERFISH).jsonName();
mapEntityTypeWithData(Entity1_19Types.CHEST_BOAT, Entity1_19Types.BOAT); mapEntityTypeWithData(Entity1_19Types.CHEST_BOAT, Entity1_19Types.BOAT);

View File

@ -1,5 +1,111 @@
{ {
"1.19": { "1.19": {
"flat_world_preset.unknown": "???",
"flat_world_preset.minecraft.classic_flat": "Classic Flat",
"flat_world_preset.minecraft.tunnelers_dream": "Tunnelers' Dream",
"flat_world_preset.minecraft.water_world": "Water World",
"flat_world_preset.minecraft.overworld": "Overworld",
"flat_world_preset.minecraft.snowy_kingdom": "Snowy Kingdom",
"flat_world_preset.minecraft.bottomless_pit": "Bottomless Pit",
"flat_world_preset.minecraft.desert": "Desert",
"flat_world_preset.minecraft.redstone_ready": "Redstone Ready",
"flat_world_preset.minecraft.the_void": "The Void",
"generator.minecraft.normal": "Default",
"generator.minecraft.flat": "Superflat",
"generator.minecraft.large_biomes": "Large Biomes",
"generator.minecraft.amplified": "AMPLIFIED",
"generator.minecraft.amplified.info": "Notice: Just for fun! Requires a beefy computer.",
"generator.minecraft.debug_all_block_states": "Debug Mode",
"generator.minecraft.single_biome_surface": "Single Biome",
"options.darknessEffectScale": "Darkness Pulsing",
"options.darknessEffectScale.tooltip": "Controls how much the Darkness effect pulses when a Warden or Sculk Shrieker gives it to you.",
"options.directionalAudio": "Directional Audio",
"options.directionalAudio.on.tooltip": "Uses HRTF-based directional audio to improve the simulation of 3D sound. Requires HRTF compatible audio hardware, and is best experienced with headphones.",
"options.directionalAudio.off.tooltip": "Classic Stereo sound",
"block.minecraft.mangrove_planks": "Mangrove Planks",
"block.minecraft.mangrove_propagule": "Mangrove Propagule",
"block.minecraft.mangrove_door": "Mangrove Door",
"block.minecraft.mangrove_wood": "Mangrove Wood",
"block.minecraft.mangrove_log": "Mangrove Log",
"block.minecraft.mangrove_roots": "Mangrove Roots",
"block.minecraft.muddy_mangrove_roots": "Muddy Mangrove Roots",
"block.minecraft.stripped_mangrove_log": "Stripped Mangrove Log",
"block.minecraft.stripped_mangrove_wood": "Stripped Mangrove Wood",
"block.minecraft.mangrove_leaves": "Mangrove Leaves",
"block.minecraft.mud_brick_slab": "Mud Brick Slab",
"block.minecraft.mangrove_slab": "Mangrove Slab",
"block.minecraft.mangrove_stairs": "Mangrove Stairs",
"block.minecraft.mangrove_sign": "Mangrove Sign",
"block.minecraft.mangrove_wall_sign": "Mangrove Wall Sign",
"block.minecraft.mangrove_pressure_plate": "Mangrove Pressure Plate",
"block.minecraft.mangrove_button": "Mangrove Button",
"block.minecraft.mangrove_fence": "Mangrove Fence",
"block.minecraft.mangrove_fence_gate": "Mangrove Fence Gate",
"block.minecraft.mangrove_trapdoor": "Mangrove Trapdoor",
"block.minecraft.packed_mud": "Packed Mud",
"block.minecraft.mud_bricks": "Mud Bricks",
"block.minecraft.mud_brick_stairs": "Mud Brick Stairs",
"block.minecraft.potted_mangrove_propagule": "Potted Mangrove Propagule",
"block.minecraft.mud_brick_wall": "Mud Brick Wall",
"block.minecraft.mud": "Mud",
"block.minecraft.sculk": "Sculk",
"block.minecraft.sculk_catalyst": "Sculk Catalyst",
"block.minecraft.sculk_shrieker": "Sculk Shrieker",
"block.minecraft.sculk_vein": "Sculk Vein",
"block.minecraft.ochre_froglight": "Ochre Froglight",
"block.minecraft.verdant_froglight": "Verdant Froglight",
"block.minecraft.pearlescent_froglight": "Pearlescent Froglight",
"block.minecraft.frogspawn": "Frogspawn",
"item.minecraft.tadpole_bucket": "Bucket of Tadpole",
"item.minecraft.oak_chest_boat": "Oak Boat with Chest",
"item.minecraft.spruce_chest_boat": "Spruce Boat with Chest",
"item.minecraft.birch_chest_boat": "Birch Boat with Chest",
"item.minecraft.jungle_chest_boat": "Jungle Boat with Chest",
"item.minecraft.acacia_chest_boat": "Acacia Boat with Chest",
"item.minecraft.dark_oak_chest_boat": "Dark Oak Boat with Chest",
"item.minecraft.mangrove_boat": "Mangrove Boat",
"item.minecraft.mangrove_chest_boat": "Mangrove Boat with Chest",
"item.minecraft.frog_spawn_egg": "Frog Spawn Egg",
"item.minecraft.tadpole_spawn_egg": "Tadpole Spawn Egg",
"item.minecraft.warden_spawn_egg": "Warden Spawn Egg",
"entity.minecraft.chest_boat": "Boat with Chest",
"entity.minecraft.frog": "Frog",
"entity.minecraft.tadpole": "Tadpole",
"entity.minecraft.warden": "Warden",
"effect.minecraft.darkness": "Darkness",
"enchantment.minecraft.swift_sneak": "Swift Sneak",
"subtitles.block.frogspawn.hatch": "Tadpole hatches",
"subtitles.entity.frog.ambient": "Frog croaks",
"subtitles.entity.frog.death": "Frog dies",
"subtitles.entity.frog.eat": "Frog eats",
"subtitles.entity.frog.hurt": "Frog hurts",
"subtitles.entity.frog.lay_spawn": "Frog lays spawn",
"subtitles.entity.frog.long_jump": "Frog jumps",
"subtitles.entity.parrot.imitate.warden": "Parrot roars",
"subtitles.entity.tadpole.death": "Tadpole dies",
"subtitles.entity.tadpole.flop": "Tadpole flops",
"subtitles.entity.tadpole.hurt": "Tadpole hurts",
"subtitles.entity.warden.roar": "Warden roars",
"subtitles.entity.warden.sniff": "Warden sniffs",
"subtitles.entity.warden.emerge": "Warden emerges",
"subtitles.entity.warden.dig": "Warden digs",
"subtitles.entity.warden.hurt": "Warden hurts",
"subtitles.entity.warden.death": "Warden dies",
"subtitles.entity.warden.step": "Warden steps",
"subtitles.entity.warden.listening": "Warden takes notice",
"subtitles.entity.warden.listening_angry": "Warden takes notice angrily",
"subtitles.entity.warden.heartbeat": "Warden heart beats",
"subtitles.entity.warden.attack_impact": "Warden lands hit",
"subtitles.entity.warden.tendril_clicks": "Warden tendrils click",
"subtitles.entity.warden.angry": "Warden rages",
"subtitles.entity.warden.agitated": "Warden groans angrily",
"subtitles.entity.warden.ambient": "Warden whines",
"subtitles.entity.warden.nearby_close": "Warden approaches",
"subtitles.entity.warden.nearby_closer": "Warden advances",
"subtitles.entity.warden.nearby_closest": "Warden draws close",
"biome.minecraft.deep_dark": "Deep Dark",
"outOfMemory.title": "Out of memory!",
"outOfMemory.message": "Minecraft has run out of memory.\n\nThis could be caused by a bug in the game or by the Java Virtual Machine not being allocated enough memory.\n\nTo prevent level corruption, the current game has quit. We've tried to free up enough memory to let you go back to the main menu and back to playing, but this may not have worked.\n\nPlease restart the game if you see this message again."
}, },
"1.18": { "1.18": {
"selectWorld.conversion.tooltip": "This world must be opened in an older version (like 1.6.4) to be safely converted", "selectWorld.conversion.tooltip": "This world must be opened in an older version (like 1.6.4) to be safely converted",