Port to 26.1

This commit is contained in:
Alexander Medvedev 2026-03-30 16:43:15 +02:00
parent 974bdd98a6
commit 0635b048b5
167 changed files with 181875 additions and 2057133 deletions

624
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -71,7 +71,7 @@ module_name_repetitions = "allow"
struct_excessive_bools = "allow"
[workspace.package]
version = "0.1.0-dev+1.21.11"
version = "0.1.0-dev+26.1"
edition = "2024"
rust-version = "1.94"
license = "GPL-3.0"
@ -103,7 +103,7 @@ futures = { version = "0.3", default-features = false, features = ["executor"] }
rayon = "1.11"
crossbeam = "0.8"
uuid = { version = "1.22", features = ["serde", "v3", "v4"] }
uuid = { version = "1.23", features = ["serde", "v3", "v4"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
@ -120,13 +120,13 @@ console-subscriber = { version = "0.5.0", default-features = false }
crc-fast = "1.10.0"
criterion = { version = "0.8", default-features = false }
crossbeam-utils = "0.8.21"
crossfire = { version = "3.1.5", features = ["compat"] }
crossfire = { version = "3.1.7", features = ["compat"] }
dashmap = "6.1"
ecdsa = "0.16.9"
enum_dispatch = "0.3.13"
flate2 = "1.1.9"
heck = "0.5"
hmac = "=0.13.0-rc.5"
hmac = "=0.13.0"
indexmap = "2.13"
itertools = "0.14.0"
libloading = "0.9"
@ -153,12 +153,12 @@ pumpkin-world = { path = "pumpkin-world" }
quote = "1.0"
rand = "0.10.0"
rsa = "=0.10.0-rc.17"
rustc-hash = "2.1.1"
rustyline = "17.0.2"
rustc-hash = "2.1.2"
rustyline = "18.0.0"
ruzstd = "0.8.2"
serde_json5 = "0.2.1"
sha1 = "=0.11.0-rc.5"
sha2 = "=0.11.0-rc.5"
sha1 = "=0.11.0"
sha2 = "=0.11.0"
signature = "2.2.0"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = [
@ -171,14 +171,14 @@ take_mut = "0.2.2"
temp-dir = "0.2.0"
thread_local = "1.1.9"
time = "0.3"
arc-swap = "1.8"
arc-swap = "1.9"
tokio-util = "0.7.18"
toml = "1.0"
ureq = "3.2.0"
toml = "1.1"
ureq = "3.3.0"
wasmtime = "42.0"
wasmtime-wasi = "42.0"
wit-bindgen = "0.53"
wasmtime = "43.0"
wasmtime-wasi = "43.0"
wit-bindgen = "0.54"
wasmparser = "0.245"
postcard = { version = "1.1", features = ["alloc"] }

View File

@ -1,142 +1 @@
{
"armor": {
"id": 0,
"default_value": 0.0
},
"armor_toughness": {
"id": 1,
"default_value": 0.0
},
"attack_damage": {
"id": 2,
"default_value": 2.0
},
"attack_knockback": {
"id": 3,
"default_value": 0.0
},
"attack_speed": {
"id": 4,
"default_value": 4.0
},
"block_break_speed": {
"id": 5,
"default_value": 1.0
},
"block_interaction_range": {
"id": 6,
"default_value": 4.5
},
"burning_time": {
"id": 7,
"default_value": 1.0
},
"camera_distance": {
"id": 8,
"default_value": 4.0
},
"explosion_knockback_resistance": {
"id": 9,
"default_value": 0.0
},
"entity_interaction_range": {
"id": 10,
"default_value": 3.0
},
"fall_damage_multiplier": {
"id": 11,
"default_value": 1.0
},
"flying_speed": {
"id": 12,
"default_value": 0.4
},
"follow_range": {
"id": 13,
"default_value": 32.0
},
"gravity": {
"id": 14,
"default_value": 0.08
},
"jump_strength": {
"id": 15,
"default_value": 0.41999998688697815
},
"knockback_resistance": {
"id": 16,
"default_value": 0.0
},
"luck": {
"id": 17,
"default_value": 0.0
},
"max_absorption": {
"id": 18,
"default_value": 0.0
},
"max_health": {
"id": 19,
"default_value": 20.0
},
"mining_efficiency": {
"id": 20,
"default_value": 0.0
},
"movement_efficiency": {
"id": 21,
"default_value": 0.0
},
"movement_speed": {
"id": 22,
"default_value": 0.7
},
"oxygen_bonus": {
"id": 23,
"default_value": 0.0
},
"safe_fall_distance": {
"id": 24,
"default_value": 3.0
},
"scale": {
"id": 25,
"default_value": 1.0
},
"sneaking_speed": {
"id": 26,
"default_value": 0.3
},
"spawn_reinforcements": {
"id": 27,
"default_value": 0.0
},
"step_height": {
"id": 28,
"default_value": 0.6
},
"submerged_mining_speed": {
"id": 29,
"default_value": 0.2
},
"sweeping_damage_ratio": {
"id": 30,
"default_value": 0.0
},
"tempt_range": {
"id": 31,
"default_value": 10.0
},
"water_movement_efficiency": {
"id": 32,
"default_value": 0.0
},
"waypoint_transmit_range": {
"id": 33,
"default_value": 0.0
},
"waypoint_receive_range": {
"id": 34,
"default_value": 0.0
}
}
{"armor":{"id":0,"default_value":0.0},"armor_toughness":{"id":1,"default_value":0.0},"attack_damage":{"id":2,"default_value":2.0},"attack_knockback":{"id":3,"default_value":0.0},"attack_speed":{"id":4,"default_value":4.0},"block_break_speed":{"id":5,"default_value":1.0},"block_interaction_range":{"id":6,"default_value":4.5},"burning_time":{"id":7,"default_value":1.0},"camera_distance":{"id":8,"default_value":4.0},"explosion_knockback_resistance":{"id":9,"default_value":0.0},"entity_interaction_range":{"id":10,"default_value":3.0},"fall_damage_multiplier":{"id":11,"default_value":1.0},"flying_speed":{"id":12,"default_value":0.4},"follow_range":{"id":13,"default_value":32.0},"gravity":{"id":14,"default_value":0.08},"jump_strength":{"id":15,"default_value":0.41999998688697815},"knockback_resistance":{"id":16,"default_value":0.0},"luck":{"id":17,"default_value":0.0},"max_absorption":{"id":18,"default_value":0.0},"max_health":{"id":19,"default_value":20.0},"mining_efficiency":{"id":20,"default_value":0.0},"movement_efficiency":{"id":21,"default_value":0.0},"movement_speed":{"id":22,"default_value":0.7},"oxygen_bonus":{"id":23,"default_value":0.0},"safe_fall_distance":{"id":24,"default_value":3.0},"scale":{"id":25,"default_value":1.0},"sneaking_speed":{"id":26,"default_value":0.3},"spawn_reinforcements":{"id":27,"default_value":0.0},"step_height":{"id":28,"default_value":0.6},"submerged_mining_speed":{"id":29,"default_value":0.2},"sweeping_damage_ratio":{"id":30,"default_value":0.0},"tempt_range":{"id":31,"default_value":10.0},"water_movement_efficiency":{"id":32,"default_value":0.0},"waypoint_transmit_range":{"id":33,"default_value":0.0},"waypoint_receive_range":{"id":34,"default_value":0.0}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,221 +1 @@
{
"canyon": {
"config": {
"probability": 0.01,
"y": {
"min_inclusive": {
"absolute": 10
},
"max_inclusive": {
"absolute": 67
},
"type": "minecraft:uniform"
},
"yScale": 3.0,
"lava_level": {
"above_bottom": 8
},
"debug_settings": {
"air_state": {
"Properties": {
"powered": "false",
"facing": "north",
"face": "wall"
},
"Name": "minecraft:warped_button"
},
"water_state": {
"Properties": {
"waterlogged": "false",
"lit": "false",
"candles": "1"
},
"Name": "minecraft:candle"
},
"lava_state": {
"Name": "minecraft:orange_stained_glass"
},
"barrier_state": {
"Name": "minecraft:glass"
}
},
"replaceable": "#minecraft:overworld_carver_replaceables",
"vertical_rotation": {
"min_inclusive": -0.125,
"max_exclusive": 0.125,
"type": "minecraft:uniform"
},
"shape": {
"distance_factor": {
"min_inclusive": 0.75,
"max_exclusive": 1.0,
"type": "minecraft:uniform"
},
"thickness": {
"min": 0.0,
"max": 6.0,
"plateau": 2.0,
"type": "minecraft:trapezoid"
},
"width_smoothness": 3,
"horizontal_radius_factor": {
"min_inclusive": 0.75,
"max_exclusive": 1.0,
"type": "minecraft:uniform"
},
"vertical_radius_default_factor": 1.0,
"vertical_radius_center_factor": 0.0
}
},
"type": "minecraft:canyon"
},
"cave": {
"config": {
"probability": 0.15,
"y": {
"min_inclusive": {
"above_bottom": 8
},
"max_inclusive": {
"absolute": 180
},
"type": "minecraft:uniform"
},
"yScale": {
"min_inclusive": 0.1,
"max_exclusive": 0.9,
"type": "minecraft:uniform"
},
"lava_level": {
"above_bottom": 8
},
"debug_settings": {
"air_state": {
"Properties": {
"powered": "false",
"facing": "north",
"face": "wall"
},
"Name": "minecraft:crimson_button"
},
"water_state": {
"Properties": {
"waterlogged": "false",
"lit": "false",
"candles": "1"
},
"Name": "minecraft:candle"
},
"lava_state": {
"Name": "minecraft:orange_stained_glass"
},
"barrier_state": {
"Name": "minecraft:glass"
}
},
"replaceable": "#minecraft:overworld_carver_replaceables",
"horizontal_radius_multiplier": {
"min_inclusive": 0.7,
"max_exclusive": 1.4,
"type": "minecraft:uniform"
},
"vertical_radius_multiplier": {
"min_inclusive": 0.8,
"max_exclusive": 1.3,
"type": "minecraft:uniform"
},
"floor_level": {
"min_inclusive": -1.0,
"max_exclusive": -0.4,
"type": "minecraft:uniform"
}
},
"type": "minecraft:cave"
},
"cave_extra_underground": {
"config": {
"probability": 0.07,
"y": {
"min_inclusive": {
"above_bottom": 8
},
"max_inclusive": {
"absolute": 47
},
"type": "minecraft:uniform"
},
"yScale": {
"min_inclusive": 0.1,
"max_exclusive": 0.9,
"type": "minecraft:uniform"
},
"lava_level": {
"above_bottom": 8
},
"debug_settings": {
"air_state": {
"Properties": {
"powered": "false",
"facing": "north",
"face": "wall"
},
"Name": "minecraft:oak_button"
},
"water_state": {
"Properties": {
"waterlogged": "false",
"lit": "false",
"candles": "1"
},
"Name": "minecraft:candle"
},
"lava_state": {
"Name": "minecraft:orange_stained_glass"
},
"barrier_state": {
"Name": "minecraft:glass"
}
},
"replaceable": "#minecraft:overworld_carver_replaceables",
"horizontal_radius_multiplier": {
"min_inclusive": 0.7,
"max_exclusive": 1.4,
"type": "minecraft:uniform"
},
"vertical_radius_multiplier": {
"min_inclusive": 0.8,
"max_exclusive": 1.3,
"type": "minecraft:uniform"
},
"floor_level": {
"min_inclusive": -1.0,
"max_exclusive": -0.4,
"type": "minecraft:uniform"
}
},
"type": "minecraft:cave"
},
"nether_cave": {
"config": {
"probability": 0.2,
"y": {
"min_inclusive": {
"absolute": 0
},
"max_inclusive": {
"below_top": 1
},
"type": "minecraft:uniform"
},
"yScale": 0.5,
"lava_level": {
"above_bottom": 10
},
"replaceable": "#minecraft:nether_carver_replaceables",
"horizontal_radius_multiplier": 1.0,
"vertical_radius_multiplier": 1.0,
"floor_level": -0.7
},
"type": "minecraft:nether_cave"
}
}
{"canyon":{"config":{"probability":0.01,"y":{"min_inclusive":{"absolute":10},"max_inclusive":{"absolute":67},"type":"minecraft:uniform"},"yScale":3.0,"lava_level":{"above_bottom":8},"debug_settings":{"air_state":{"Properties":{"powered":"false","facing":"north","face":"wall"},"Name":"minecraft:warped_button"},"water_state":{"Properties":{"waterlogged":"false","lit":"false","candles":"1"},"Name":"minecraft:candle"},"lava_state":{"Name":"minecraft:orange_stained_glass"},"barrier_state":{"Name":"minecraft:glass"}},"replaceable":"#minecraft:overworld_carver_replaceables","vertical_rotation":{"min_inclusive":-0.125,"max_exclusive":0.125,"type":"minecraft:uniform"},"shape":{"distance_factor":{"min_inclusive":0.75,"max_exclusive":1.0,"type":"minecraft:uniform"},"thickness":{"min":0.0,"max":6.0,"plateau":2.0,"type":"minecraft:trapezoid"},"width_smoothness":3,"horizontal_radius_factor":{"min_inclusive":0.75,"max_exclusive":1.0,"type":"minecraft:uniform"},"vertical_radius_default_factor":1.0,"vertical_radius_center_factor":0.0}},"type":"minecraft:canyon"},"cave":{"config":{"probability":0.15,"y":{"min_inclusive":{"above_bottom":8},"max_inclusive":{"absolute":180},"type":"minecraft:uniform"},"yScale":{"min_inclusive":0.1,"max_exclusive":0.9,"type":"minecraft:uniform"},"lava_level":{"above_bottom":8},"debug_settings":{"air_state":{"Properties":{"powered":"false","facing":"north","face":"wall"},"Name":"minecraft:crimson_button"},"water_state":{"Properties":{"waterlogged":"false","lit":"false","candles":"1"},"Name":"minecraft:candle"},"lava_state":{"Name":"minecraft:orange_stained_glass"},"barrier_state":{"Name":"minecraft:glass"}},"replaceable":"#minecraft:overworld_carver_replaceables","horizontal_radius_multiplier":{"min_inclusive":0.7,"max_exclusive":1.4,"type":"minecraft:uniform"},"vertical_radius_multiplier":{"min_inclusive":0.8,"max_exclusive":1.3,"type":"minecraft:uniform"},"floor_level":{"min_inclusive":-1.0,"max_exclusive":-0.4,"type":"minecraft:uniform"}},"type":"minecraft:cave"},"cave_extra_underground":{"config":{"probability":0.07,"y":{"min_inclusive":{"above_bottom":8},"max_inclusive":{"absolute":47},"type":"minecraft:uniform"},"yScale":{"min_inclusive":0.1,"max_exclusive":0.9,"type":"minecraft:uniform"},"lava_level":{"above_bottom":8},"debug_settings":{"air_state":{"Properties":{"powered":"false","facing":"north","face":"wall"},"Name":"minecraft:oak_button"},"water_state":{"Properties":{"waterlogged":"false","lit":"false","candles":"1"},"Name":"minecraft:candle"},"lava_state":{"Name":"minecraft:orange_stained_glass"},"barrier_state":{"Name":"minecraft:glass"}},"replaceable":"#minecraft:overworld_carver_replaceables","horizontal_radius_multiplier":{"min_inclusive":0.7,"max_exclusive":1.4,"type":"minecraft:uniform"},"vertical_radius_multiplier":{"min_inclusive":0.8,"max_exclusive":1.3,"type":"minecraft:uniform"},"floor_level":{"min_inclusive":-1.0,"max_exclusive":-0.4,"type":"minecraft:uniform"}},"type":"minecraft:cave"},"nether_cave":{"config":{"probability":0.2,"y":{"min_inclusive":{"absolute":0},"max_inclusive":{"below_top":1},"type":"minecraft:uniform"},"yScale":0.5,"lava_level":{"above_bottom":10},"replaceable":"#minecraft:nether_carver_replaceables","horizontal_radius_multiplier":1.0,"vertical_radius_multiplier":1.0,"floor_level":-0.7},"type":"minecraft:nether_cave"}}

File diff suppressed because one or more lines are too long

View File

@ -1,14 +1 @@
[
"empty",
"structure_starts",
"structure_references",
"biomes",
"noise",
"surface",
"carvers",
"features",
"initialize_light",
"light",
"spawn",
"full"
]
["empty","structure_starts","structure_references","biomes","noise","surface","carvers","features","initialize_light","light","spawn","full"]

View File

@ -1,117 +1 @@
{
"184": 0.3,
"52": 0.3,
"1107": 0.3,
"229": 0.65,
"1227": 0.65,
"210": 0.3,
"187": 0.3,
"249": 0.65,
"1285": 0.3,
"341": 0.3,
"409": 0.65,
"233": 0.65,
"240": 0.65,
"388": 0.85,
"256": 0.5,
"952": 0.65,
"951": 0.3,
"55": 0.3,
"253": 0.5,
"182": 0.3,
"255": 0.5,
"1065": 0.65,
"259": 0.3,
"423": 0.65,
"262": 0.65,
"340": 0.5,
"387": 0.85,
"192": 0.5,
"238": 0.65,
"528": 0.5,
"1286": 0.3,
"1102": 0.85,
"268": 0.3,
"237": 0.65,
"1108": 0.3,
"265": 0.65,
"356": 0.65,
"1228": 0.65,
"263": 0.3,
"1374": 0.3,
"260": 0.3,
"245": 0.85,
"243": 0.65,
"246": 0.65,
"49": 0.3,
"251": 0.65,
"230": 0.65,
"1085": 1.0,
"524": 0.65,
"953": 0.85,
"1106": 0.5,
"1119": 0.65,
"231": 0.65,
"234": 0.65,
"204": 0.3,
"212": 0.65,
"202": 0.3,
"527": 0.65,
"235": 0.65,
"1377": 0.65,
"1109": 0.3,
"191": 0.3,
"1229": 0.85,
"410": 0.5,
"50": 0.3,
"267": 0.65,
"266": 0.3,
"411": 0.5,
"190": 0.3,
"232": 0.65,
"529": 0.65,
"53": 0.3,
"250": 0.65,
"1287": 0.65,
"357": 0.65,
"1241": 1.0,
"54": 0.3,
"56": 0.3,
"1288": 0.3,
"577": 0.85,
"258": 0.3,
"1027": 0.5,
"205": 0.65,
"241": 0.65,
"1373": 0.3,
"209": 0.3,
"206": 0.85,
"186": 0.3,
"389": 0.65,
"236": 0.65,
"526": 0.65,
"504": 0.85,
"257": 0.3,
"185": 0.3,
"244": 0.85,
"57": 0.3,
"254": 0.5,
"264": 0.3,
"51": 0.3,
"239": 0.65,
"252": 0.65,
"183": 0.3,
"261": 0.3,
"576": 0.85,
"208": 0.3,
"189": 0.3,
"143": 0.3,
"188": 0.3,
"893": 0.65,
"211": 0.3,
"248": 0.65,
"247": 0.65,
"242": 0.65,
"203": 0.65,
"525": 0.65
}
{"578":0.85,"424":0.65,"52":0.3,"268":0.65,"259":0.3,"262":0.3,"249":0.65,"1374":0.3,"188":0.3,"231":0.65,"51":0.3,"1289":0.3,"190":0.3,"244":0.65,"527":0.65,"525":0.65,"1229":0.65,"267":0.3,"143":0.3,"1086":1.0,"1110":0.3,"255":0.5,"239":0.65,"57":0.3,"528":0.65,"184":0.3,"1108":0.3,"261":0.3,"411":0.5,"257":0.5,"235":0.65,"242":0.65,"204":0.3,"186":0.3,"953":0.65,"894":0.65,"211":0.3,"210":0.3,"183":0.3,"53":0.3,"50":0.3,"205":0.65,"238":0.65,"1286":0.3,"245":0.85,"1288":0.65,"232":0.65,"388":0.85,"251":0.65,"206":0.85,"1103":0.85,"203":0.65,"410":0.65,"212":0.65,"185":0.3,"258":0.3,"209":0.3,"1378":0.65,"389":0.85,"1107":0.5,"530":0.65,"243":0.65,"187":0.3,"247":0.65,"505":0.85,"192":0.5,"240":0.65,"1375":0.3,"1228":0.65,"237":0.65,"56":0.3,"55":0.3,"1120":0.65,"54":0.3,"189":0.3,"256":0.5,"1242":1.0,"1287":0.3,"266":0.65,"1230":0.85,"358":0.65,"253":0.65,"229":0.65,"241":0.65,"248":0.65,"390":0.65,"252":0.65,"236":0.65,"246":0.85,"49":0.3,"1028":0.5,"250":0.65,"341":0.5,"529":0.5,"1066":0.65,"182":0.3,"254":0.5,"342":0.3,"269":0.3,"264":0.3,"412":0.5,"526":0.65,"234":0.65,"265":0.3,"577":0.85,"954":0.85,"263":0.65,"1109":0.3,"233":0.65,"208":0.3,"952":0.3,"191":0.3,"357":0.65,"202":0.3,"260":0.3}

File diff suppressed because one or more lines are too long

View File

@ -1,106 +1 @@
{
"minecraft:custom_data": 0,
"minecraft:max_stack_size": 1,
"minecraft:max_damage": 2,
"minecraft:damage": 3,
"minecraft:unbreakable": 4,
"minecraft:use_effects": 5,
"minecraft:custom_name": 6,
"minecraft:minimum_attack_charge": 7,
"minecraft:damage_type": 8,
"minecraft:item_name": 9,
"minecraft:item_model": 10,
"minecraft:lore": 11,
"minecraft:rarity": 12,
"minecraft:enchantments": 13,
"minecraft:can_place_on": 14,
"minecraft:can_break": 15,
"minecraft:attribute_modifiers": 16,
"minecraft:custom_model_data": 17,
"minecraft:tooltip_display": 18,
"minecraft:repair_cost": 19,
"minecraft:creative_slot_lock": 20,
"minecraft:enchantment_glint_override": 21,
"minecraft:intangible_projectile": 22,
"minecraft:food": 23,
"minecraft:consumable": 24,
"minecraft:use_remainder": 25,
"minecraft:use_cooldown": 26,
"minecraft:damage_resistant": 27,
"minecraft:tool": 28,
"minecraft:weapon": 29,
"minecraft:attack_range": 30,
"minecraft:enchantable": 31,
"minecraft:equippable": 32,
"minecraft:repairable": 33,
"minecraft:glider": 34,
"minecraft:tooltip_style": 35,
"minecraft:death_protection": 36,
"minecraft:blocks_attacks": 37,
"minecraft:piercing_weapon": 38,
"minecraft:kinetic_weapon": 39,
"minecraft:swing_animation": 40,
"minecraft:stored_enchantments": 41,
"minecraft:dyed_color": 42,
"minecraft:map_color": 43,
"minecraft:map_id": 44,
"minecraft:map_decorations": 45,
"minecraft:map_post_processing": 46,
"minecraft:charged_projectiles": 47,
"minecraft:bundle_contents": 48,
"minecraft:potion_contents": 49,
"minecraft:potion_duration_scale": 50,
"minecraft:suspicious_stew_effects": 51,
"minecraft:writable_book_content": 52,
"minecraft:written_book_content": 53,
"minecraft:trim": 54,
"minecraft:debug_stick_state": 55,
"minecraft:entity_data": 56,
"minecraft:bucket_entity_data": 57,
"minecraft:block_entity_data": 58,
"minecraft:instrument": 59,
"minecraft:provides_trim_material": 60,
"minecraft:ominous_bottle_amplifier": 61,
"minecraft:jukebox_playable": 62,
"minecraft:provides_banner_patterns": 63,
"minecraft:recipes": 64,
"minecraft:lodestone_tracker": 65,
"minecraft:firework_explosion": 66,
"minecraft:fireworks": 67,
"minecraft:profile": 68,
"minecraft:note_block_sound": 69,
"minecraft:banner_patterns": 70,
"minecraft:base_color": 71,
"minecraft:pot_decorations": 72,
"minecraft:container": 73,
"minecraft:block_state": 74,
"minecraft:bees": 75,
"minecraft:lock": 76,
"minecraft:container_loot": 77,
"minecraft:break_sound": 78,
"minecraft:villager/variant": 79,
"minecraft:wolf/variant": 80,
"minecraft:wolf/sound_variant": 81,
"minecraft:wolf/collar": 82,
"minecraft:fox/variant": 83,
"minecraft:salmon/size": 84,
"minecraft:parrot/variant": 85,
"minecraft:tropical_fish/pattern": 86,
"minecraft:tropical_fish/base_color": 87,
"minecraft:tropical_fish/pattern_color": 88,
"minecraft:mooshroom/variant": 89,
"minecraft:rabbit/variant": 90,
"minecraft:pig/variant": 91,
"minecraft:cow/variant": 92,
"minecraft:chicken/variant": 93,
"minecraft:zombie_nautilus/variant": 94,
"minecraft:frog/variant": 95,
"minecraft:horse/variant": 96,
"minecraft:painting/variant": 97,
"minecraft:llama/variant": 98,
"minecraft:axolotl/variant": 99,
"minecraft:cat/variant": 100,
"minecraft:cat/collar": 101,
"minecraft:sheep/color": 102,
"minecraft:shulker/color": 103
}
{"minecraft:custom_data":0,"minecraft:max_stack_size":1,"minecraft:max_damage":2,"minecraft:damage":3,"minecraft:unbreakable":4,"minecraft:use_effects":5,"minecraft:custom_name":6,"minecraft:minimum_attack_charge":7,"minecraft:damage_type":8,"minecraft:item_name":9,"minecraft:item_model":10,"minecraft:lore":11,"minecraft:rarity":12,"minecraft:enchantments":13,"minecraft:can_place_on":14,"minecraft:can_break":15,"minecraft:attribute_modifiers":16,"minecraft:custom_model_data":17,"minecraft:tooltip_display":18,"minecraft:repair_cost":19,"minecraft:creative_slot_lock":20,"minecraft:enchantment_glint_override":21,"minecraft:intangible_projectile":22,"minecraft:food":23,"minecraft:consumable":24,"minecraft:use_remainder":25,"minecraft:use_cooldown":26,"minecraft:damage_resistant":27,"minecraft:tool":28,"minecraft:weapon":29,"minecraft:attack_range":30,"minecraft:enchantable":31,"minecraft:equippable":32,"minecraft:repairable":33,"minecraft:glider":34,"minecraft:tooltip_style":35,"minecraft:death_protection":36,"minecraft:blocks_attacks":37,"minecraft:piercing_weapon":38,"minecraft:kinetic_weapon":39,"minecraft:swing_animation":40,"minecraft:additional_trade_cost":41,"minecraft:stored_enchantments":42,"minecraft:dye":43,"minecraft:dyed_color":44,"minecraft:map_color":45,"minecraft:map_id":46,"minecraft:map_decorations":47,"minecraft:map_post_processing":48,"minecraft:charged_projectiles":49,"minecraft:bundle_contents":50,"minecraft:potion_contents":51,"minecraft:potion_duration_scale":52,"minecraft:suspicious_stew_effects":53,"minecraft:writable_book_content":54,"minecraft:written_book_content":55,"minecraft:trim":56,"minecraft:debug_stick_state":57,"minecraft:entity_data":58,"minecraft:bucket_entity_data":59,"minecraft:block_entity_data":60,"minecraft:instrument":61,"minecraft:provides_trim_material":62,"minecraft:ominous_bottle_amplifier":63,"minecraft:jukebox_playable":64,"minecraft:provides_banner_patterns":65,"minecraft:recipes":66,"minecraft:lodestone_tracker":67,"minecraft:firework_explosion":68,"minecraft:fireworks":69,"minecraft:profile":70,"minecraft:note_block_sound":71,"minecraft:banner_patterns":72,"minecraft:base_color":73,"minecraft:pot_decorations":74,"minecraft:container":75,"minecraft:block_state":76,"minecraft:bees":77,"minecraft:lock":78,"minecraft:container_loot":79,"minecraft:break_sound":80,"minecraft:villager/variant":81,"minecraft:wolf/variant":82,"minecraft:wolf/sound_variant":83,"minecraft:wolf/collar":84,"minecraft:fox/variant":85,"minecraft:salmon/size":86,"minecraft:parrot/variant":87,"minecraft:tropical_fish/pattern":88,"minecraft:tropical_fish/base_color":89,"minecraft:tropical_fish/pattern_color":90,"minecraft:mooshroom/variant":91,"minecraft:rabbit/variant":92,"minecraft:pig/variant":93,"minecraft:pig/sound_variant":94,"minecraft:cow/variant":95,"minecraft:cow/sound_variant":96,"minecraft:chicken/variant":97,"minecraft:chicken/sound_variant":98,"minecraft:zombie_nautilus/variant":99,"minecraft:frog/variant":100,"minecraft:horse/variant":101,"minecraft:painting/variant":102,"minecraft:llama/variant":103,"minecraft:axolotl/variant":104,"minecraft:cat/variant":105,"minecraft:cat/sound_variant":106,"minecraft:cat/collar":107,"minecraft:sheep/color":108,"minecraft:shulker/color":109}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,186 +1 @@
{
"minecraft:overworld": {
"has_skylight": true,
"has_ceiling": false,
"coordinate_scale": 1.0,
"min_y": -64,
"height": 384,
"logical_height": 384,
"infiniburn": "#minecraft:infiniburn_overworld",
"ambient_light": 0.0,
"monster_spawn_light_level": {
"min_inclusive": 0,
"max_inclusive": 7,
"type": "minecraft:uniform"
},
"monster_spawn_block_light_limit": 0,
"attributes": {
"minecraft:audio/ambient_sounds": {
"mood": {
"sound": "minecraft:ambient.cave",
"tick_delay": 6000,
"block_search_extent": 8,
"offset": 2.0
}
},
"minecraft:audio/background_music": {
"default": {
"sound": "minecraft:music.game",
"min_delay": 12000,
"max_delay": 24000
},
"creative": {
"sound": "minecraft:music.creative",
"min_delay": 12000,
"max_delay": 24000
}
},
"minecraft:gameplay/bed_rule": {
"can_sleep": "when_dark",
"can_set_spawn": "always",
"error_message": {
"translate": "block.minecraft.bed.no_sleep"
}
},
"minecraft:gameplay/nether_portal_spawns_piglin": true,
"minecraft:gameplay/respawn_anchor_works": false,
"minecraft:visual/cloud_color": "#ccffffff",
"minecraft:visual/cloud_height": 192.33,
"minecraft:visual/fog_color": "#c0d8ff",
"minecraft:visual/sky_color": "#78a7ff"
},
"timelines": "#minecraft:in_overworld"
},
"minecraft:overworld_caves": {
"has_skylight": true,
"has_ceiling": true,
"coordinate_scale": 1.0,
"min_y": -64,
"height": 384,
"logical_height": 384,
"infiniburn": "#minecraft:infiniburn_overworld",
"ambient_light": 0.0,
"monster_spawn_light_level": {
"min_inclusive": 0,
"max_inclusive": 7,
"type": "minecraft:uniform"
},
"monster_spawn_block_light_limit": 0,
"attributes": {
"minecraft:audio/ambient_sounds": {
"mood": {
"sound": "minecraft:ambient.cave",
"tick_delay": 6000,
"block_search_extent": 8,
"offset": 2.0
}
},
"minecraft:audio/background_music": {
"default": {
"sound": "minecraft:music.game",
"min_delay": 12000,
"max_delay": 24000
},
"creative": {
"sound": "minecraft:music.creative",
"min_delay": 12000,
"max_delay": 24000
}
},
"minecraft:gameplay/bed_rule": {
"can_sleep": "when_dark",
"can_set_spawn": "always",
"error_message": {
"translate": "block.minecraft.bed.no_sleep"
}
},
"minecraft:gameplay/nether_portal_spawns_piglin": true,
"minecraft:gameplay/respawn_anchor_works": false,
"minecraft:visual/cloud_color": "#ccffffff",
"minecraft:visual/cloud_height": 192.33,
"minecraft:visual/fog_color": "#c0d8ff",
"minecraft:visual/sky_color": "#78a7ff"
},
"timelines": "#minecraft:in_overworld"
},
"minecraft:the_end": {
"has_fixed_time": true,
"has_skylight": true,
"has_ceiling": false,
"coordinate_scale": 1.0,
"min_y": 0,
"height": 256,
"logical_height": 256,
"infiniburn": "#minecraft:infiniburn_end",
"ambient_light": 0.25,
"monster_spawn_light_level": 15,
"monster_spawn_block_light_limit": 0,
"skybox": "end",
"attributes": {
"minecraft:audio/ambient_sounds": {
"mood": {
"sound": "minecraft:ambient.cave",
"tick_delay": 6000,
"block_search_extent": 8,
"offset": 2.0
}
},
"minecraft:audio/background_music": {
"default": {
"sound": "minecraft:music.end",
"min_delay": 6000,
"max_delay": 24000,
"replace_current_music": true
}
},
"minecraft:gameplay/bed_rule": {
"can_sleep": "never",
"can_set_spawn": "never",
"explodes": true
},
"minecraft:gameplay/respawn_anchor_works": false,
"minecraft:visual/fog_color": "#181318",
"minecraft:visual/sky_color": "#000000",
"minecraft:visual/sky_light_color": "#e580ff",
"minecraft:visual/sky_light_factor": 0.0
},
"timelines": "#minecraft:in_end"
},
"minecraft:the_nether": {
"has_fixed_time": true,
"has_skylight": false,
"has_ceiling": true,
"coordinate_scale": 8.0,
"min_y": 0,
"height": 256,
"logical_height": 128,
"infiniburn": "#minecraft:infiniburn_nether",
"ambient_light": 0.1,
"monster_spawn_light_level": 7,
"monster_spawn_block_light_limit": 15,
"skybox": "none",
"cardinal_light": "nether",
"attributes": {
"minecraft:gameplay/bed_rule": {
"can_sleep": "never",
"can_set_spawn": "never",
"explodes": true
},
"minecraft:gameplay/can_start_raid": false,
"minecraft:gameplay/fast_lava": true,
"minecraft:gameplay/piglins_zombify": false,
"minecraft:gameplay/respawn_anchor_works": true,
"minecraft:gameplay/sky_light_level": 4.0,
"minecraft:gameplay/snow_golem_melts": true,
"minecraft:gameplay/water_evaporates": true,
"minecraft:visual/default_dripstone_particle": {
"type": "minecraft:dripping_dripstone_lava"
},
"minecraft:visual/fog_end_distance": 96.0,
"minecraft:visual/fog_start_distance": 10.0,
"minecraft:visual/sky_light_color": "#7a7aff",
"minecraft:visual/sky_light_factor": 0.0
},
"timelines": "#minecraft:in_nether"
}
}
{"minecraft:overworld":{"has_skylight":true,"has_ceiling":false,"has_ender_dragon_fight":false,"coordinate_scale":1.0,"min_y":-64,"height":384,"logical_height":384,"infiniburn":"#minecraft:infiniburn_overworld","ambient_light":0.0,"monster_spawn_light_level":{"min_inclusive":0,"max_inclusive":7,"type":"minecraft:uniform"},"monster_spawn_block_light_limit":0,"attributes":{"minecraft:audio/ambient_sounds":{"mood":{"sound":"minecraft:ambient.cave","tick_delay":6000,"block_search_extent":8,"offset":2.0}},"minecraft:audio/background_music":{"default":{"sound":"minecraft:music.game","min_delay":12000,"max_delay":24000},"creative":{"sound":"minecraft:music.creative","min_delay":12000,"max_delay":24000}},"minecraft:gameplay/bed_rule":{"can_sleep":"when_dark","can_set_spawn":"always","error_message":{"translate":"block.minecraft.bed.no_sleep"}},"minecraft:gameplay/nether_portal_spawns_piglin":true,"minecraft:gameplay/respawn_anchor_works":false,"minecraft:visual/ambient_light_color":"#0a0a0a","minecraft:visual/cloud_color":"#ccffffff","minecraft:visual/cloud_height":192.33,"minecraft:visual/fog_color":"#c0d8ff","minecraft:visual/sky_color":"#78a7ff"},"timelines":"#minecraft:in_overworld","default_clock":"minecraft:overworld"},"minecraft:overworld_caves":{"has_skylight":true,"has_ceiling":true,"has_ender_dragon_fight":false,"coordinate_scale":1.0,"min_y":-64,"height":384,"logical_height":384,"infiniburn":"#minecraft:infiniburn_overworld","ambient_light":0.0,"monster_spawn_light_level":{"min_inclusive":0,"max_inclusive":7,"type":"minecraft:uniform"},"monster_spawn_block_light_limit":0,"attributes":{"minecraft:audio/ambient_sounds":{"mood":{"sound":"minecraft:ambient.cave","tick_delay":6000,"block_search_extent":8,"offset":2.0}},"minecraft:audio/background_music":{"default":{"sound":"minecraft:music.game","min_delay":12000,"max_delay":24000},"creative":{"sound":"minecraft:music.creative","min_delay":12000,"max_delay":24000}},"minecraft:gameplay/bed_rule":{"can_sleep":"when_dark","can_set_spawn":"always","error_message":{"translate":"block.minecraft.bed.no_sleep"}},"minecraft:gameplay/nether_portal_spawns_piglin":true,"minecraft:gameplay/respawn_anchor_works":false,"minecraft:visual/ambient_light_color":"#0a0a0a","minecraft:visual/cloud_color":"#ccffffff","minecraft:visual/cloud_height":192.33,"minecraft:visual/fog_color":"#c0d8ff","minecraft:visual/sky_color":"#78a7ff"},"timelines":"#minecraft:in_overworld","default_clock":"minecraft:overworld"},"minecraft:the_end":{"has_fixed_time":true,"has_skylight":true,"has_ceiling":false,"has_ender_dragon_fight":true,"coordinate_scale":1.0,"min_y":0,"height":256,"logical_height":256,"infiniburn":"#minecraft:infiniburn_end","ambient_light":0.25,"monster_spawn_light_level":15,"monster_spawn_block_light_limit":0,"skybox":"end","attributes":{"minecraft:audio/ambient_sounds":{"mood":{"sound":"minecraft:ambient.cave","tick_delay":6000,"block_search_extent":8,"offset":2.0}},"minecraft:audio/background_music":{"default":{"sound":"minecraft:music.end","min_delay":6000,"max_delay":24000,"replace_current_music":true}},"minecraft:gameplay/bed_rule":{"can_sleep":"never","can_set_spawn":"never","explodes":true},"minecraft:gameplay/respawn_anchor_works":false,"minecraft:visual/ambient_light_color":"#3f473f","minecraft:visual/fog_color":"#181318","minecraft:visual/sky_color":"#000000","minecraft:visual/sky_light_color":"#ac60cd","minecraft:visual/sky_light_factor":0.0},"timelines":"#minecraft:in_end","default_clock":"minecraft:the_end"},"minecraft:the_nether":{"has_fixed_time":true,"has_skylight":false,"has_ceiling":true,"has_ender_dragon_fight":false,"coordinate_scale":8.0,"min_y":0,"height":256,"logical_height":128,"infiniburn":"#minecraft:infiniburn_nether","ambient_light":0.1,"monster_spawn_light_level":7,"monster_spawn_block_light_limit":15,"skybox":"none","cardinal_light":"nether","attributes":{"minecraft:gameplay/bed_rule":{"can_sleep":"never","can_set_spawn":"never","explodes":true},"minecraft:gameplay/can_start_raid":false,"minecraft:gameplay/fast_lava":true,"minecraft:gameplay/piglins_zombify":false,"minecraft:gameplay/respawn_anchor_works":true,"minecraft:gameplay/sky_light_level":4.0,"minecraft:gameplay/snow_golem_melts":true,"minecraft:gameplay/water_evaporates":true,"minecraft:visual/ambient_light_color":"#302821","minecraft:visual/default_dripstone_particle":{"type":"minecraft:dripping_dripstone_lava"},"minecraft:visual/fog_end_distance":96.0,"minecraft:visual/fog_start_distance":10.0,"minecraft:visual/sky_light_color":"#7a7aff","minecraft:visual/sky_light_factor":0.0},"timelines":"#minecraft:in_nether"}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,20 +1 @@
[
"STANDING",
"FALL_FLYING",
"SLEEPING",
"SWIMMING",
"SPIN_ATTACK",
"CROUCHING",
"LONG_JUMPING",
"DYING",
"CROAKING",
"USING_TONGUE",
"SITTING",
"ROARING",
"SNIFFING",
"EMERGING",
"DIGGING",
"SLIDING",
"SHOOTING",
"INHALING"
]
["STANDING","FALL_FLYING","SLEEPING","SWIMMING","SPIN_ATTACK","CROUCHING","LONG_JUMPING","DYING","CROAKING","USING_TONGUE","SITTING","ROARING","SNIFFING","EMERGING","DIGGING","SLIDING","SHOOTING","INHALING"]

View File

@ -1,62 +1 @@
{
"ADD_SPRINTING_PARTICLES_OR_RESET_SPAWNER_MINECART_SPAWN_DELAY": 1,
"KINETIC_ATTACK": 2,
"PLAY_DEATH_SOUND_OR_ADD_PROJECTILE_HIT_PARTICLES": 3,
"PLAY_ATTACK_SOUND": 4,
"ADD_NEGATIVE_PLAYER_REACTION_PARTICLES": 6,
"ADD_POSITIVE_PLAYER_REACTION_PARTICLES": 7,
"SHAKE_OFF_WATER": 8,
"CONSUME_ITEM": 9,
"SET_SHEEP_EAT_GRASS_TIMER_OR_PRIME_TNT_MINECART": 10,
"LOOK_AT_VILLAGER": 11,
"ADD_VILLAGER_HEART_PARTICLES": 12,
"ADD_VILLAGER_ANGRY_PARTICLES": 13,
"ADD_VILLAGER_HAPPY_PARTICLES": 14,
"ADD_WITCH_PARTICLES": 15,
"PLAY_CURE_ZOMBIE_VILLAGER_SOUND": 16,
"EXPLODE_FIREWORK_CLIENT": 17,
"ADD_BREEDING_PARTICLES": 18,
"RESET_SQUID_THRUST_TIMER": 19,
"PLAY_SPAWN_EFFECTS": 20,
"PLAY_GUARDIAN_ATTACK_SOUND": 21,
"USE_REDUCED_DEBUG_INFO": 22,
"USE_FULL_DEBUG_INFO": 23,
"SET_OP_LEVEL_0": 24,
"SET_OP_LEVEL_1": 25,
"SET_OP_LEVEL_2": 26,
"SET_OP_LEVEL_3": 27,
"SET_OP_LEVEL_4": 28,
"PULL_HOOKED_ENTITY": 31,
"HIT_ARMOR_STAND": 32,
"STOP_LOOKING_AT_VILLAGER": 34,
"USE_TOTEM_OF_UNDYING": 35,
"ADD_DOLPHIN_HAPPY_VILLAGER_PARTICLES": 38,
"STUN_RAVAGER": 39,
"TAME_OCELOT_FAILED": 40,
"TAME_OCELOT_SUCCESS": 41,
"ADD_SPLASH_PARTICLES": 42,
"CREATE_EATING_PARTICLES": 45,
"ADD_PORTAL_PARTICLES": 46,
"BREAK_MAINHAND": 47,
"BREAK_OFFHAND": 48,
"BREAK_HEAD": 49,
"BREAK_CHEST": 50,
"BREAK_LEGS": 51,
"BREAK_FEET": 52,
"DRIP_HONEY": 53,
"DRIP_RICH_HONEY": 54,
"SWAP_HANDS": 55,
"RESET_WOLF_SHAKE": 56,
"PREPARE_RAM": 58,
"FINISH_RAM": 59,
"ADD_DEATH_PARTICLES": 60,
"EARS_TWITCH": 61,
"SONIC_BOOM": 62,
"START_DIGGING": 63,
"PEEKING": 64,
"BREAK_BODY": 65,
"INVULNERABLE_CREAKING_HIT": 66,
"ADD_BUBBLE_PARTICLES": 67,
"BREAK_SADDLE": 68,
"RAVAGER_ROAR": 69
}
{"JUMP":1,"KINETIC_HIT":2,"DEATH":3,"START_ATTACKING":4,"STOP_ATTACKING":5,"TAMING_FAILED":6,"TAMING_SUCCEEDED":7,"SHAKE_WETNESS":8,"USE_ITEM_COMPLETE":9,"EAT_GRASS":10,"OFFER_FLOWER":11,"LOVE_HEARTS":12,"VILLAGER_ANGRY":13,"VILLAGER_HAPPY":14,"WITCH_HAT_MAGIC":15,"ZOMBIE_CONVERTING":16,"FIREWORKS_EXPLODE":17,"IN_LOVE_HEARTS":18,"SQUID_ANIM_SYNCH":19,"SILVERFISH_MERGE_ANIM":20,"GUARDIAN_ATTACK_SOUND":21,"REDUCED_DEBUG_INFO":22,"FULL_DEBUG_INFO":23,"PERMISSION_LEVEL_ALL":24,"PERMISSION_LEVEL_MODERATORS":25,"PERMISSION_LEVEL_GAMEMASTERS":26,"PERMISSION_LEVEL_ADMINS":27,"PERMISSION_LEVEL_OWNERS":28,"FISHING_ROD_REEL_IN":31,"ARMORSTAND_WOBBLE":32,"STOP_OFFER_FLOWER":34,"PROTECTED_FROM_DEATH":35,"DOLPHIN_LOOKING_FOR_TREASURE":38,"RAVAGER_STUNNED":39,"TRUSTING_FAILED":40,"TRUSTING_SUCCEEDED":41,"VILLAGER_SWEAT":42,"FOX_EAT":45,"TELEPORT":46,"MAINHAND_BREAK":47,"OFFHAND_BREAK":48,"HEAD_BREAK":49,"CHEST_BREAK":50,"LEGS_BREAK":51,"FEET_BREAK":52,"HONEY_SLIDE":53,"HONEY_JUMP":54,"SWAP_HANDS":55,"CANCEL_SHAKE_WETNESS":56,"START_RAM":58,"END_RAM":59,"POOF":60,"TENDRILS_SHIVER":61,"SONIC_CHARGE":62,"SNIFFER_DIGGING_SOUND":63,"ARMADILLO_PEEK":64,"BODY_BREAK":65,"SHAKE":66,"DROWN_PARTICLES":67,"SADDLE_BREAK":68,"RAVAGER_ROARED":69}

View File

@ -1,39 +1 @@
{
"56": 419,
"233": 424,
"205": 1146,
"232": 423,
"249": 917,
"207": 437,
"53": 416,
"243": 434,
"240": 431,
"236": 427,
"55": 418,
"251": 919,
"244": 411,
"54": 417,
"57": 420,
"206": 1147,
"247": 436,
"269": 791,
"250": 918,
"231": 1164,
"49": 412,
"239": 430,
"242": 433,
"252": 920,
"234": 425,
"237": 428,
"52": 415,
"230": 1163,
"238": 429,
"235": 426,
"248": 435,
"203": 421,
"340": 438,
"50": 413,
"51": 414,
"229": 422,
"241": 432
}
{"241":433,"53":417,"240":432,"253":922,"239":431,"341":440,"238":430,"49":413,"249":437,"270":793,"229":423,"56":420,"245":412,"251":920,"55":419,"231":1165,"232":1166,"206":1149,"236":428,"235":427,"243":435,"205":1148,"54":418,"233":425,"248":438,"244":436,"250":919,"230":424,"203":422,"242":434,"207":439,"50":414,"234":426,"51":415,"57":421,"237":429,"252":921,"52":416}

View File

@ -1,396 +1 @@
[
{
"id": 0,
"name": "empty",
"properties": [],
"default_state_index": 0,
"states": [
{
"height": 0.0,
"level": 0,
"is_empty": true,
"blast_resistance": 0.0,
"block_state_id": 0,
"is_still": false
}
]
},
{
"id": 1,
"name": "flowing_water",
"properties": [
{
"name": "falling",
"values": [
"true",
"false"
]
},
{
"name": "level",
"values": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
]
}
],
"default_state_index": 0,
"states": [
{
"height": 0.11111111,
"level": 1,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 101,
"is_still": false
},
{
"height": 0.22222222,
"level": 2,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 100,
"is_still": false
},
{
"height": 0.33333334,
"level": 3,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 99,
"is_still": false
},
{
"height": 0.44444445,
"level": 4,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 98,
"is_still": false
},
{
"height": 0.5555556,
"level": 5,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 97,
"is_still": false
},
{
"height": 0.6666667,
"level": 6,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 96,
"is_still": false
},
{
"height": 0.7777778,
"level": 7,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 95,
"is_still": false
},
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 94,
"is_still": false
},
{
"height": 0.11111111,
"level": 1,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 93,
"is_still": false
},
{
"height": 0.22222222,
"level": 2,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 92,
"is_still": false
},
{
"height": 0.33333334,
"level": 3,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 91,
"is_still": false
},
{
"height": 0.44444445,
"level": 4,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 90,
"is_still": false
},
{
"height": 0.5555556,
"level": 5,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 89,
"is_still": false
},
{
"height": 0.6666667,
"level": 6,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 88,
"is_still": false
},
{
"height": 0.7777778,
"level": 7,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 87,
"is_still": false
},
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 86,
"is_still": false
}
]
},
{
"id": 2,
"name": "water",
"properties": [
{
"name": "falling",
"values": [
"true",
"false"
]
}
],
"default_state_index": 0,
"states": [
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 86,
"is_still": true
},
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 86,
"is_still": true
}
]
},
{
"id": 3,
"name": "flowing_lava",
"properties": [
{
"name": "falling",
"values": [
"true",
"false"
]
},
{
"name": "level",
"values": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
]
}
],
"default_state_index": 0,
"states": [
{
"height": 0.11111111,
"level": 1,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 117,
"is_still": false
},
{
"height": 0.22222222,
"level": 2,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 116,
"is_still": false
},
{
"height": 0.33333334,
"level": 3,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 115,
"is_still": false
},
{
"height": 0.44444445,
"level": 4,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 114,
"is_still": false
},
{
"height": 0.5555556,
"level": 5,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 113,
"is_still": false
},
{
"height": 0.6666667,
"level": 6,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 112,
"is_still": false
},
{
"height": 0.7777778,
"level": 7,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 111,
"is_still": false
},
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 110,
"is_still": false
},
{
"height": 0.11111111,
"level": 1,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 109,
"is_still": false
},
{
"height": 0.22222222,
"level": 2,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 108,
"is_still": false
},
{
"height": 0.33333334,
"level": 3,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 107,
"is_still": false
},
{
"height": 0.44444445,
"level": 4,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 106,
"is_still": false
},
{
"height": 0.5555556,
"level": 5,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 105,
"is_still": false
},
{
"height": 0.6666667,
"level": 6,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 104,
"is_still": false
},
{
"height": 0.7777778,
"level": 7,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 103,
"is_still": false
},
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 102,
"is_still": false
}
]
},
{
"id": 4,
"name": "lava",
"properties": [
{
"name": "falling",
"values": [
"true",
"false"
]
}
],
"default_state_index": 0,
"states": [
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 102,
"is_still": true
},
{
"height": 0.8888889,
"level": 8,
"is_empty": false,
"blast_resistance": 100.0,
"block_state_id": 102,
"is_still": true
}
]
}
]
[{"id":0,"name":"empty","properties":[],"default_state_index":0,"states":[{"height":0.0,"level":0,"is_empty":true,"blast_resistance":0.0,"block_state_id":0,"is_still":false}]},{"id":1,"name":"flowing_water","properties":[{"name":"falling","values":["true","false"]},{"name":"level","values":["1","2","3","4","5","6","7","8"]}],"default_state_index":0,"states":[{"height":0.11111111,"level":1,"is_empty":false,"blast_resistance":100.0,"block_state_id":101,"is_still":false},{"height":0.22222222,"level":2,"is_empty":false,"blast_resistance":100.0,"block_state_id":100,"is_still":false},{"height":0.33333334,"level":3,"is_empty":false,"blast_resistance":100.0,"block_state_id":99,"is_still":false},{"height":0.44444445,"level":4,"is_empty":false,"blast_resistance":100.0,"block_state_id":98,"is_still":false},{"height":0.5555556,"level":5,"is_empty":false,"blast_resistance":100.0,"block_state_id":97,"is_still":false},{"height":0.6666667,"level":6,"is_empty":false,"blast_resistance":100.0,"block_state_id":96,"is_still":false},{"height":0.7777778,"level":7,"is_empty":false,"blast_resistance":100.0,"block_state_id":95,"is_still":false},{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":94,"is_still":false},{"height":0.11111111,"level":1,"is_empty":false,"blast_resistance":100.0,"block_state_id":93,"is_still":false},{"height":0.22222222,"level":2,"is_empty":false,"blast_resistance":100.0,"block_state_id":92,"is_still":false},{"height":0.33333334,"level":3,"is_empty":false,"blast_resistance":100.0,"block_state_id":91,"is_still":false},{"height":0.44444445,"level":4,"is_empty":false,"blast_resistance":100.0,"block_state_id":90,"is_still":false},{"height":0.5555556,"level":5,"is_empty":false,"blast_resistance":100.0,"block_state_id":89,"is_still":false},{"height":0.6666667,"level":6,"is_empty":false,"blast_resistance":100.0,"block_state_id":88,"is_still":false},{"height":0.7777778,"level":7,"is_empty":false,"blast_resistance":100.0,"block_state_id":87,"is_still":false},{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":86,"is_still":false}]},{"id":2,"name":"water","properties":[{"name":"falling","values":["true","false"]}],"default_state_index":0,"states":[{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":86,"is_still":true},{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":86,"is_still":true}]},{"id":3,"name":"flowing_lava","properties":[{"name":"falling","values":["true","false"]},{"name":"level","values":["1","2","3","4","5","6","7","8"]}],"default_state_index":0,"states":[{"height":0.11111111,"level":1,"is_empty":false,"blast_resistance":100.0,"block_state_id":117,"is_still":false},{"height":0.22222222,"level":2,"is_empty":false,"blast_resistance":100.0,"block_state_id":116,"is_still":false},{"height":0.33333334,"level":3,"is_empty":false,"blast_resistance":100.0,"block_state_id":115,"is_still":false},{"height":0.44444445,"level":4,"is_empty":false,"blast_resistance":100.0,"block_state_id":114,"is_still":false},{"height":0.5555556,"level":5,"is_empty":false,"blast_resistance":100.0,"block_state_id":113,"is_still":false},{"height":0.6666667,"level":6,"is_empty":false,"blast_resistance":100.0,"block_state_id":112,"is_still":false},{"height":0.7777778,"level":7,"is_empty":false,"blast_resistance":100.0,"block_state_id":111,"is_still":false},{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":110,"is_still":false},{"height":0.11111111,"level":1,"is_empty":false,"blast_resistance":100.0,"block_state_id":109,"is_still":false},{"height":0.22222222,"level":2,"is_empty":false,"blast_resistance":100.0,"block_state_id":108,"is_still":false},{"height":0.33333334,"level":3,"is_empty":false,"blast_resistance":100.0,"block_state_id":107,"is_still":false},{"height":0.44444445,"level":4,"is_empty":false,"blast_resistance":100.0,"block_state_id":106,"is_still":false},{"height":0.5555556,"level":5,"is_empty":false,"blast_resistance":100.0,"block_state_id":105,"is_still":false},{"height":0.6666667,"level":6,"is_empty":false,"blast_resistance":100.0,"block_state_id":104,"is_still":false},{"height":0.7777778,"level":7,"is_empty":false,"blast_resistance":100.0,"block_state_id":103,"is_still":false},{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":102,"is_still":false}]},{"id":4,"name":"lava","properties":[{"name":"falling","values":["true","false"]}],"default_state_index":0,"states":[{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":102,"is_still":true},{"height":0.8888889,"level":8,"is_empty":false,"blast_resistance":100.0,"block_state_id":102,"is_still":true}]}]

View File

@ -1,282 +1 @@
{
"1014": 20000,
"83": 16000,
"1116": 2400,
"896": 1600,
"897": 1600,
"141": 300,
"178": 300,
"154": 300,
"165": 300,
"140": 300,
"177": 300,
"155": 300,
"166": 300,
"134": 300,
"171": 300,
"148": 300,
"159": 300,
"138": 300,
"175": 300,
"152": 300,
"163": 300,
"136": 300,
"173": 300,
"150": 300,
"161": 300,
"137": 300,
"174": 300,
"151": 300,
"162": 300,
"135": 300,
"172": 300,
"149": 300,
"160": 300,
"142": 300,
"179": 300,
"156": 300,
"167": 300,
"139": 300,
"176": 300,
"153": 300,
"164": 300,
"147": 300,
"170": 300,
"36": 300,
"37": 300,
"38": 300,
"39": 300,
"40": 300,
"42": 300,
"43": 300,
"44": 300,
"45": 300,
"41": 300,
"48": 300,
"441": 300,
"442": 300,
"443": 300,
"444": 300,
"445": 300,
"447": 300,
"448": 300,
"449": 300,
"450": 300,
"446": 300,
"451": 300,
"270": 150,
"271": 150,
"272": 150,
"273": 150,
"274": 150,
"276": 150,
"277": 150,
"278": 150,
"279": 150,
"275": 150,
"280": 150,
"805": 300,
"803": 300,
"807": 300,
"808": 300,
"804": 300,
"801": 300,
"802": 300,
"809": 300,
"810": 300,
"806": 300,
"767": 300,
"768": 300,
"769": 300,
"770": 300,
"771": 300,
"773": 300,
"774": 300,
"775": 300,
"776": 300,
"772": 300,
"305": 300,
"306": 300,
"307": 300,
"308": 300,
"310": 300,
"311": 300,
"312": 300,
"313": 300,
"314": 300,
"315": 300,
"344": 300,
"348": 300,
"350": 300,
"351": 300,
"345": 300,
"346": 300,
"347": 300,
"352": 300,
"353": 300,
"349": 300,
"825": 300,
"823": 300,
"827": 300,
"828": 300,
"824": 300,
"821": 300,
"822": 300,
"829": 300,
"830": 300,
"826": 300,
"748": 300,
"317": 300,
"318": 300,
"730": 300,
"343": 300,
"331": 300,
"745": 300,
"332": 300,
"741": 300,
"1266": 300,
"1267": 300,
"1268": 300,
"1269": 300,
"1270": 300,
"1271": 300,
"1272": 300,
"1273": 300,
"1274": 300,
"1275": 300,
"1276": 300,
"1277": 300,
"1278": 300,
"1279": 300,
"1280": 300,
"1281": 300,
"894": 300,
"1053": 300,
"335": 300,
"988": 200,
"989": 200,
"990": 200,
"992": 200,
"991": 200,
"994": 200,
"995": 200,
"996": 200,
"997": 200,
"993": 200,
"1000": 800,
"1001": 800,
"1002": 800,
"1004": 800,
"1005": 800,
"1003": 800,
"1006": 800,
"1007": 800,
"1008": 800,
"1009": 800,
"912": 200,
"911": 200,
"1296": 200,
"915": 200,
"914": 200,
"913": 200,
"780": 200,
"781": 200,
"782": 200,
"783": 200,
"784": 200,
"786": 200,
"787": 200,
"788": 200,
"789": 200,
"785": 200,
"863": 1200,
"865": 1200,
"867": 1200,
"869": 1200,
"871": 1200,
"875": 1200,
"877": 1200,
"879": 1200,
"881": 1200,
"873": 1200,
"864": 1200,
"866": 1200,
"868": 1200,
"870": 1200,
"872": 1200,
"876": 1200,
"878": 1200,
"880": 1200,
"882": 1200,
"874": 1200,
"213": 100,
"214": 100,
"215": 100,
"216": 100,
"217": 100,
"218": 100,
"219": 100,
"220": 100,
"221": 100,
"222": 100,
"223": 100,
"224": 100,
"225": 100,
"226": 100,
"227": 100,
"228": 100,
"751": 100,
"752": 100,
"753": 100,
"754": 100,
"755": 100,
"757": 100,
"758": 100,
"759": 100,
"760": 100,
"756": 100,
"946": 100,
"49": 100,
"50": 100,
"51": 100,
"52": 100,
"53": 100,
"55": 100,
"56": 100,
"205": 100,
"206": 100,
"57": 100,
"54": 100,
"892": 100,
"505": 67,
"506": 67,
"507": 67,
"508": 67,
"509": 67,
"510": 67,
"511": 67,
"512": 67,
"513": 67,
"514": 67,
"515": 67,
"516": 67,
"517": 67,
"518": 67,
"519": 67,
"520": 67,
"1027": 4001,
"1339": 300,
"269": 50,
"207": 100,
"209": 100,
"210": 100,
"716": 50,
"1341": 300,
"1354": 300,
"1357": 300,
"1358": 300,
"1360": 300,
"1353": 300,
"143": 300,
"260": 100
}
{"1015":20000,"83":16000,"1117":2400,"897":1600,"898":1600,"141":300,"178":300,"154":300,"165":300,"140":300,"177":300,"155":300,"166":300,"134":300,"171":300,"148":300,"159":300,"138":300,"175":300,"152":300,"163":300,"136":300,"173":300,"150":300,"161":300,"137":300,"174":300,"151":300,"162":300,"135":300,"172":300,"149":300,"160":300,"142":300,"179":300,"156":300,"167":300,"139":300,"176":300,"153":300,"164":300,"147":300,"170":300,"36":300,"37":300,"38":300,"39":300,"40":300,"42":300,"43":300,"44":300,"45":300,"41":300,"48":300,"442":300,"443":300,"444":300,"445":300,"446":300,"448":300,"449":300,"450":300,"451":300,"447":300,"452":300,"271":150,"272":150,"273":150,"274":150,"275":150,"277":150,"278":150,"279":150,"280":150,"276":150,"281":150,"806":300,"804":300,"808":300,"809":300,"805":300,"802":300,"803":300,"810":300,"811":300,"807":300,"768":300,"769":300,"770":300,"771":300,"772":300,"774":300,"775":300,"776":300,"777":300,"773":300,"306":300,"307":300,"308":300,"309":300,"311":300,"312":300,"313":300,"314":300,"315":300,"316":300,"345":300,"349":300,"351":300,"352":300,"346":300,"347":300,"348":300,"353":300,"354":300,"350":300,"826":300,"824":300,"828":300,"829":300,"825":300,"822":300,"823":300,"830":300,"831":300,"827":300,"749":300,"318":300,"319":300,"731":300,"344":300,"332":300,"746":300,"333":300,"742":300,"1267":300,"1268":300,"1269":300,"1270":300,"1271":300,"1272":300,"1273":300,"1274":300,"1275":300,"1276":300,"1277":300,"1278":300,"1279":300,"1280":300,"1281":300,"1282":300,"895":300,"1054":300,"336":300,"989":200,"990":200,"991":200,"993":200,"992":200,"995":200,"996":200,"997":200,"998":200,"994":200,"1001":800,"1002":800,"1003":800,"1005":800,"1006":800,"1004":800,"1007":800,"1008":800,"1009":800,"1010":800,"913":200,"912":200,"1297":200,"916":200,"915":200,"914":200,"781":200,"782":200,"783":200,"784":200,"785":200,"787":200,"788":200,"789":200,"790":200,"786":200,"864":1200,"866":1200,"868":1200,"870":1200,"872":1200,"876":1200,"878":1200,"880":1200,"882":1200,"874":1200,"865":1200,"867":1200,"869":1200,"871":1200,"873":1200,"877":1200,"879":1200,"881":1200,"883":1200,"875":1200,"213":100,"214":100,"215":100,"216":100,"217":100,"218":100,"219":100,"220":100,"221":100,"222":100,"223":100,"224":100,"225":100,"226":100,"227":100,"228":100,"752":100,"753":100,"754":100,"755":100,"756":100,"758":100,"759":100,"760":100,"761":100,"757":100,"947":100,"49":100,"50":100,"51":100,"52":100,"53":100,"55":100,"56":100,"205":100,"206":100,"57":100,"54":100,"893":100,"506":67,"507":67,"508":67,"509":67,"510":67,"511":67,"512":67,"513":67,"514":67,"515":67,"516":67,"517":67,"518":67,"519":67,"520":67,"521":67,"1028":4001,"1340":300,"270":50,"207":100,"209":100,"210":100,"717":50,"1342":300,"1355":300,"1358":300,"1359":300,"1361":300,"1354":300,"143":300,"261":100}

View File

@ -1,62 +1 @@
[
"block_activate",
"block_attach",
"block_change",
"block_close",
"block_deactivate",
"block_destroy",
"block_detach",
"block_open",
"block_place",
"container_close",
"container_open",
"drink",
"eat",
"elytra_glide",
"entity_damage",
"entity_die",
"entity_dismount",
"entity_interact",
"entity_mount",
"entity_place",
"entity_action",
"equip",
"explode",
"flap",
"fluid_pickup",
"fluid_place",
"hit_ground",
"instrument_play",
"item_interact_finish",
"item_interact_start",
"jukebox_play",
"jukebox_stop_play",
"lightning_strike",
"note_block_play",
"prime_fuse",
"projectile_land",
"projectile_shoot",
"sculk_sensor_tendrils_clicking",
"shear",
"shriek",
"splash",
"step",
"swim",
"teleport",
"unequip",
"resonate_1",
"resonate_2",
"resonate_3",
"resonate_4",
"resonate_5",
"resonate_6",
"resonate_7",
"resonate_8",
"resonate_9",
"resonate_10",
"resonate_11",
"resonate_12",
"resonate_13",
"resonate_14",
"resonate_15"
]
["block_activate","block_attach","block_change","block_close","block_deactivate","block_destroy","block_detach","block_open","block_place","container_close","container_open","drink","eat","elytra_glide","entity_damage","entity_die","entity_dismount","entity_interact","entity_mount","entity_place","entity_action","equip","explode","flap","fluid_pickup","fluid_place","hit_ground","instrument_play","item_interact_finish","item_interact_start","jukebox_play","jukebox_stop_play","lightning_strike","note_block_play","prime_fuse","projectile_land","projectile_shoot","sculk_sensor_tendrils_clicking","shear","shriek","splash","step","swim","teleport","unequip","resonate_1","resonate_2","resonate_3","resonate_4","resonate_5","resonate_6","resonate_7","resonate_8","resonate_9","resonate_10","resonate_11","resonate_12","resonate_13","resonate_14","resonate_15"]

View File

@ -1,61 +1 @@
{
"advance_time": true,
"advance_weather": true,
"allow_entering_nether_using_portals": true,
"block_drops": true,
"block_explosion_drop_decay": true,
"command_blocks_work": true,
"command_block_output": true,
"drowning_damage": true,
"elytra_movement_check": true,
"ender_pearls_vanish_on_death": true,
"entity_drops": true,
"fall_damage": true,
"fire_damage": true,
"fire_spread_radius_around_player": 128,
"forgive_dead_players": true,
"freeze_damage": true,
"global_sound_events": true,
"immediate_respawn": false,
"keep_inventory": false,
"lava_source_conversion": false,
"limited_crafting": false,
"locator_bar": true,
"log_admin_commands": true,
"max_block_modifications": 32768,
"max_command_forks": 65536,
"max_command_sequence_length": 65536,
"max_entity_cramming": 24,
"max_minecart_speed": 8,
"max_snow_accumulation_height": 1,
"mob_drops": true,
"mob_explosion_drop_decay": true,
"mob_griefing": true,
"natural_health_regeneration": true,
"player_movement_check": true,
"players_nether_portal_creative_delay": 0,
"players_nether_portal_default_delay": 80,
"players_sleeping_percentage": 100,
"projectiles_can_break_blocks": true,
"pvp": true,
"raids": true,
"random_tick_speed": 3,
"reduced_debug_info": false,
"respawn_radius": 10,
"send_command_feedback": true,
"show_advancement_messages": true,
"show_death_messages": true,
"spawner_blocks_work": true,
"spawn_mobs": true,
"spawn_monsters": true,
"spawn_patrols": true,
"spawn_phantoms": true,
"spawn_wandering_traders": true,
"spawn_wardens": true,
"spectators_generate_chunks": true,
"spread_vines": true,
"tnt_explodes": true,
"tnt_explosion_drop_decay": false,
"universal_anger": false,
"water_source_conversion": true
}
{"advance_time":true,"advance_weather":true,"allow_entering_nether_using_portals":true,"block_drops":true,"block_explosion_drop_decay":true,"command_blocks_work":true,"command_block_output":true,"drowning_damage":true,"elytra_movement_check":true,"ender_pearls_vanish_on_death":true,"entity_drops":true,"fall_damage":true,"fire_damage":true,"fire_spread_radius_around_player":128,"forgive_dead_players":true,"freeze_damage":true,"global_sound_events":true,"immediate_respawn":false,"keep_inventory":false,"lava_source_conversion":false,"limited_crafting":false,"locator_bar":true,"log_admin_commands":true,"max_block_modifications":32768,"max_command_forks":65536,"max_command_sequence_length":65536,"max_entity_cramming":24,"max_minecart_speed":8,"max_snow_accumulation_height":1,"mob_drops":true,"mob_explosion_drop_decay":true,"mob_griefing":true,"natural_health_regeneration":true,"player_movement_check":true,"players_nether_portal_creative_delay":0,"players_nether_portal_default_delay":80,"players_sleeping_percentage":100,"projectiles_can_break_blocks":true,"pvp":true,"raids":true,"random_tick_speed":3,"reduced_debug_info":false,"respawn_radius":10,"send_command_feedback":true,"show_advancement_messages":true,"show_death_messages":true,"spawner_blocks_work":true,"spawn_mobs":true,"spawn_monsters":true,"spawn_patrols":true,"spawn_phantoms":true,"spawn_wandering_traders":true,"spawn_wardens":true,"spectators_generate_chunks":true,"spread_vines":true,"tnt_explodes":true,"tnt_explosion_drop_decay":false,"universal_anger":false,"water_source_conversion":true}

File diff suppressed because one or more lines are too long

View File

@ -1,145 +1 @@
{
"chat": {
"id": 0,
"components": {
"chat": {
"translation_key": "chat.type.text",
"parameters": [
"sender",
"content"
]
},
"narration": {
"translation_key": "chat.type.text.narrate",
"parameters": [
"sender",
"content"
]
}
}
},
"emote_command": {
"id": 1,
"components": {
"chat": {
"translation_key": "chat.type.emote",
"parameters": [
"sender",
"content"
]
},
"narration": {
"translation_key": "chat.type.emote",
"parameters": [
"sender",
"content"
]
}
}
},
"msg_command_incoming": {
"id": 2,
"components": {
"chat": {
"translation_key": "commands.message.display.incoming",
"parameters": [
"sender",
"content"
],
"style": {
"color": "gray",
"italic": true
}
},
"narration": {
"translation_key": "chat.type.text.narrate",
"parameters": [
"sender",
"content"
]
}
}
},
"msg_command_outgoing": {
"id": 3,
"components": {
"chat": {
"translation_key": "commands.message.display.outgoing",
"parameters": [
"target",
"content"
],
"style": {
"color": "gray",
"italic": true
}
},
"narration": {
"translation_key": "chat.type.text.narrate",
"parameters": [
"sender",
"content"
]
}
}
},
"say_command": {
"id": 4,
"components": {
"chat": {
"translation_key": "chat.type.announcement",
"parameters": [
"sender",
"content"
]
},
"narration": {
"translation_key": "chat.type.text.narrate",
"parameters": [
"sender",
"content"
]
}
}
},
"team_msg_command_incoming": {
"id": 5,
"components": {
"chat": {
"translation_key": "chat.type.team.text",
"parameters": [
"target",
"sender",
"content"
]
},
"narration": {
"translation_key": "chat.type.text.narrate",
"parameters": [
"sender",
"content"
]
}
}
},
"team_msg_command_outgoing": {
"id": 6,
"components": {
"chat": {
"translation_key": "chat.type.team.sent",
"parameters": [
"target",
"sender",
"content"
]
},
"narration": {
"translation_key": "chat.type.text.narrate",
"parameters": [
"sender",
"content"
]
}
}
}
}
{"chat":{"id":0,"components":{"chat":{"translation_key":"chat.type.text","parameters":["sender","content"]},"narration":{"translation_key":"chat.type.text.narrate","parameters":["sender","content"]}}},"emote_command":{"id":1,"components":{"chat":{"translation_key":"chat.type.emote","parameters":["sender","content"]},"narration":{"translation_key":"chat.type.emote","parameters":["sender","content"]}}},"msg_command_incoming":{"id":2,"components":{"chat":{"translation_key":"commands.message.display.incoming","parameters":["sender","content"],"style":{"color":"gray","italic":true}},"narration":{"translation_key":"chat.type.text.narrate","parameters":["sender","content"]}}},"msg_command_outgoing":{"id":3,"components":{"chat":{"translation_key":"commands.message.display.outgoing","parameters":["target","content"],"style":{"color":"gray","italic":true}},"narration":{"translation_key":"chat.type.text.narrate","parameters":["sender","content"]}}},"say_command":{"id":4,"components":{"chat":{"translation_key":"chat.type.announcement","parameters":["sender","content"]},"narration":{"translation_key":"chat.type.text.narrate","parameters":["sender","content"]}}},"team_msg_command_incoming":{"id":5,"components":{"chat":{"translation_key":"chat.type.team.text","parameters":["target","sender","content"]},"narration":{"translation_key":"chat.type.text.narrate","parameters":["sender","content"]}}},"team_msg_command_outgoing":{"id":6,"components":{"chat":{"translation_key":"chat.type.team.sent","parameters":["target","sender","content"]},"narration":{"translation_key":"chat.type.text.narrate","parameters":["sender","content"]}}}}

View File

@ -0,0 +1 @@
{}

File diff suppressed because one or more lines are too long

View File

@ -1,497 +1 @@
{
"aquifer_barrier": {
"firstOctave": -3,
"amplitudes": [
1.0
]
},
"aquifer_fluid_level_floodedness": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"aquifer_fluid_level_spread": {
"firstOctave": -5,
"amplitudes": [
1.0
]
},
"aquifer_lava": {
"firstOctave": -1,
"amplitudes": [
1.0
]
},
"badlands_pillar": {
"firstOctave": -2,
"amplitudes": [
1.0,
1.0,
1.0,
1.0
]
},
"badlands_pillar_roof": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"badlands_surface": {
"firstOctave": -6,
"amplitudes": [
1.0,
1.0,
1.0
]
},
"calcite": {
"firstOctave": -9,
"amplitudes": [
1.0,
1.0,
1.0,
1.0
]
},
"cave_cheese": {
"firstOctave": -8,
"amplitudes": [
0.5,
1.0,
2.0,
1.0,
2.0,
1.0,
0.0,
2.0,
0.0
]
},
"cave_entrance": {
"firstOctave": -7,
"amplitudes": [
0.4,
0.5,
1.0
]
},
"cave_layer": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"clay_bands_offset": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"continentalness": {
"firstOctave": -9,
"amplitudes": [
1.0,
1.0,
2.0,
2.0,
2.0,
1.0,
1.0,
1.0,
1.0
]
},
"continentalness_large": {
"firstOctave": -11,
"amplitudes": [
1.0,
1.0,
2.0,
2.0,
2.0,
1.0,
1.0,
1.0,
1.0
]
},
"erosion": {
"firstOctave": -9,
"amplitudes": [
1.0,
1.0,
0.0,
1.0,
1.0
]
},
"erosion_large": {
"firstOctave": -11,
"amplitudes": [
1.0,
1.0,
0.0,
1.0,
1.0
]
},
"gravel": {
"firstOctave": -8,
"amplitudes": [
1.0,
1.0,
1.0,
1.0
]
},
"gravel_layer": {
"firstOctave": -8,
"amplitudes": [
1.0,
1.0,
1.0,
1.0,
0.0,
0.0,
0.0,
0.0,
0.013333333333333334
]
},
"ice": {
"firstOctave": -4,
"amplitudes": [
1.0,
1.0,
1.0,
1.0
]
},
"iceberg_pillar": {
"firstOctave": -6,
"amplitudes": [
1.0,
1.0,
1.0,
1.0
]
},
"iceberg_pillar_roof": {
"firstOctave": -3,
"amplitudes": [
1.0
]
},
"iceberg_surface": {
"firstOctave": -6,
"amplitudes": [
1.0,
1.0,
1.0
]
},
"jagged": {
"firstOctave": -16,
"amplitudes": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"nether_state_selector": {
"firstOctave": -4,
"amplitudes": [
1.0
]
},
"nether_wart": {
"firstOctave": -3,
"amplitudes": [
1.0,
0.0,
0.0,
0.9
]
},
"netherrack": {
"firstOctave": -3,
"amplitudes": [
1.0,
0.0,
0.0,
0.35
]
},
"noodle": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"noodle_ridge_a": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"noodle_ridge_b": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"noodle_thickness": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"offset": {
"firstOctave": -3,
"amplitudes": [
1.0,
1.0,
1.0,
0.0
]
},
"ore_gap": {
"firstOctave": -5,
"amplitudes": [
1.0
]
},
"ore_vein_a": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"ore_vein_b": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"ore_veininess": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"packed_ice": {
"firstOctave": -7,
"amplitudes": [
1.0,
1.0,
1.0,
1.0
]
},
"patch": {
"firstOctave": -5,
"amplitudes": [
1.0,
0.0,
0.0,
0.0,
0.0,
0.013333333333333334
]
},
"pillar": {
"firstOctave": -7,
"amplitudes": [
1.0,
1.0
]
},
"pillar_rareness": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"pillar_thickness": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"powder_snow": {
"firstOctave": -6,
"amplitudes": [
1.0,
1.0,
1.0,
1.0
]
},
"ridge": {
"firstOctave": -7,
"amplitudes": [
1.0,
2.0,
1.0,
0.0,
0.0,
0.0
]
},
"soul_sand_layer": {
"firstOctave": -8,
"amplitudes": [
1.0,
1.0,
1.0,
1.0,
0.0,
0.0,
0.0,
0.0,
0.013333333333333334
]
},
"spaghetti_2d": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"spaghetti_2d_elevation": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"spaghetti_2d_modulator": {
"firstOctave": -11,
"amplitudes": [
1.0
]
},
"spaghetti_2d_thickness": {
"firstOctave": -11,
"amplitudes": [
1.0
]
},
"spaghetti_3d_1": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"spaghetti_3d_2": {
"firstOctave": -7,
"amplitudes": [
1.0
]
},
"spaghetti_3d_rarity": {
"firstOctave": -11,
"amplitudes": [
1.0
]
},
"spaghetti_3d_thickness": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"spaghetti_roughness": {
"firstOctave": -5,
"amplitudes": [
1.0
]
},
"spaghetti_roughness_modulator": {
"firstOctave": -8,
"amplitudes": [
1.0
]
},
"surface": {
"firstOctave": -6,
"amplitudes": [
1.0,
1.0,
1.0
]
},
"surface_secondary": {
"firstOctave": -6,
"amplitudes": [
1.0,
1.0,
0.0,
1.0
]
},
"surface_swamp": {
"firstOctave": -2,
"amplitudes": [
1.0
]
},
"temperature": {
"firstOctave": -10,
"amplitudes": [
1.5,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"temperature_large": {
"firstOctave": -12,
"amplitudes": [
1.5,
0.0,
1.0,
0.0,
0.0,
0.0
]
},
"vegetation": {
"firstOctave": -8,
"amplitudes": [
1.0,
1.0,
0.0,
0.0,
0.0,
0.0
]
},
"vegetation_large": {
"firstOctave": -10,
"amplitudes": [
1.0,
1.0,
0.0,
0.0,
0.0,
0.0
]
}
}
{"aquifer_barrier":{"firstOctave":-3,"amplitudes":[1.0]},"aquifer_fluid_level_floodedness":{"firstOctave":-7,"amplitudes":[1.0]},"aquifer_fluid_level_spread":{"firstOctave":-5,"amplitudes":[1.0]},"aquifer_lava":{"firstOctave":-1,"amplitudes":[1.0]},"badlands_pillar":{"firstOctave":-2,"amplitudes":[1.0,1.0,1.0,1.0]},"badlands_pillar_roof":{"firstOctave":-8,"amplitudes":[1.0]},"badlands_surface":{"firstOctave":-6,"amplitudes":[1.0,1.0,1.0]},"calcite":{"firstOctave":-9,"amplitudes":[1.0,1.0,1.0,1.0]},"cave_cheese":{"firstOctave":-8,"amplitudes":[0.5,1.0,2.0,1.0,2.0,1.0,0.0,2.0,0.0]},"cave_entrance":{"firstOctave":-7,"amplitudes":[0.4,0.5,1.0]},"cave_layer":{"firstOctave":-8,"amplitudes":[1.0]},"clay_bands_offset":{"firstOctave":-8,"amplitudes":[1.0]},"continentalness":{"firstOctave":-9,"amplitudes":[1.0,1.0,2.0,2.0,2.0,1.0,1.0,1.0,1.0]},"continentalness_large":{"firstOctave":-11,"amplitudes":[1.0,1.0,2.0,2.0,2.0,1.0,1.0,1.0,1.0]},"erosion":{"firstOctave":-9,"amplitudes":[1.0,1.0,0.0,1.0,1.0]},"erosion_large":{"firstOctave":-11,"amplitudes":[1.0,1.0,0.0,1.0,1.0]},"gravel":{"firstOctave":-8,"amplitudes":[1.0,1.0,1.0,1.0]},"gravel_layer":{"firstOctave":-8,"amplitudes":[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.013333333333333334]},"ice":{"firstOctave":-4,"amplitudes":[1.0,1.0,1.0,1.0]},"iceberg_pillar":{"firstOctave":-6,"amplitudes":[1.0,1.0,1.0,1.0]},"iceberg_pillar_roof":{"firstOctave":-3,"amplitudes":[1.0]},"iceberg_surface":{"firstOctave":-6,"amplitudes":[1.0,1.0,1.0]},"jagged":{"firstOctave":-16,"amplitudes":[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]},"nether_temperature":{"firstOctave":-7,"amplitudes":[1.0,1.0]},"nether_vegetation":{"firstOctave":-7,"amplitudes":[1.0,1.0]},"nether_state_selector":{"firstOctave":-4,"amplitudes":[1.0]},"nether_wart":{"firstOctave":-3,"amplitudes":[1.0,0.0,0.0,0.9]},"netherrack":{"firstOctave":-3,"amplitudes":[1.0,0.0,0.0,0.35]},"noodle":{"firstOctave":-8,"amplitudes":[1.0]},"noodle_ridge_a":{"firstOctave":-7,"amplitudes":[1.0]},"noodle_ridge_b":{"firstOctave":-7,"amplitudes":[1.0]},"noodle_thickness":{"firstOctave":-8,"amplitudes":[1.0]},"offset":{"firstOctave":-3,"amplitudes":[1.0,1.0,1.0,0.0]},"ore_gap":{"firstOctave":-5,"amplitudes":[1.0]},"ore_vein_a":{"firstOctave":-7,"amplitudes":[1.0]},"ore_vein_b":{"firstOctave":-7,"amplitudes":[1.0]},"ore_veininess":{"firstOctave":-8,"amplitudes":[1.0]},"packed_ice":{"firstOctave":-7,"amplitudes":[1.0,1.0,1.0,1.0]},"patch":{"firstOctave":-5,"amplitudes":[1.0,0.0,0.0,0.0,0.0,0.013333333333333334]},"pillar":{"firstOctave":-7,"amplitudes":[1.0,1.0]},"pillar_rareness":{"firstOctave":-8,"amplitudes":[1.0]},"pillar_thickness":{"firstOctave":-8,"amplitudes":[1.0]},"powder_snow":{"firstOctave":-6,"amplitudes":[1.0,1.0,1.0,1.0]},"ridge":{"firstOctave":-7,"amplitudes":[1.0,2.0,1.0,0.0,0.0,0.0]},"soul_sand_layer":{"firstOctave":-8,"amplitudes":[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.013333333333333334]},"spaghetti_2d":{"firstOctave":-7,"amplitudes":[1.0]},"spaghetti_2d_elevation":{"firstOctave":-8,"amplitudes":[1.0]},"spaghetti_2d_modulator":{"firstOctave":-11,"amplitudes":[1.0]},"spaghetti_2d_thickness":{"firstOctave":-11,"amplitudes":[1.0]},"spaghetti_3d_1":{"firstOctave":-7,"amplitudes":[1.0]},"spaghetti_3d_2":{"firstOctave":-7,"amplitudes":[1.0]},"spaghetti_3d_rarity":{"firstOctave":-11,"amplitudes":[1.0]},"spaghetti_3d_thickness":{"firstOctave":-8,"amplitudes":[1.0]},"spaghetti_roughness":{"firstOctave":-5,"amplitudes":[1.0]},"spaghetti_roughness_modulator":{"firstOctave":-8,"amplitudes":[1.0]},"surface":{"firstOctave":-6,"amplitudes":[1.0,1.0,1.0]},"surface_secondary":{"firstOctave":-6,"amplitudes":[1.0,1.0,0.0,1.0]},"surface_swamp":{"firstOctave":-2,"amplitudes":[1.0]},"temperature":{"firstOctave":-10,"amplitudes":[1.5,0.0,1.0,0.0,0.0,0.0]},"temperature_large":{"firstOctave":-12,"amplitudes":[1.5,0.0,1.0,0.0,0.0,0.0]},"vegetation":{"firstOctave":-8,"amplitudes":[1.0,1.0,0.0,0.0,0.0,0.0]},"vegetation_large":{"firstOctave":-10,"amplitudes":[1.0,1.0,0.0,0.0,0.0,0.0]}}

File diff suppressed because one or more lines are too long

View File

@ -1,117 +1 @@
[
"angry_villager",
"block",
"block_marker",
"bubble",
"cloud",
"copper_fire_flame",
"crit",
"damage_indicator",
"dragon_breath",
"dripping_lava",
"falling_lava",
"landing_lava",
"dripping_water",
"falling_water",
"dust",
"dust_color_transition",
"effect",
"elder_guardian",
"enchanted_hit",
"enchant",
"end_rod",
"entity_effect",
"explosion_emitter",
"explosion",
"gust",
"small_gust",
"gust_emitter_large",
"gust_emitter_small",
"sonic_boom",
"falling_dust",
"firework",
"fishing",
"flame",
"infested",
"cherry_leaves",
"pale_oak_leaves",
"tinted_leaves",
"sculk_soul",
"sculk_charge",
"sculk_charge_pop",
"soul_fire_flame",
"soul",
"flash",
"happy_villager",
"composter",
"heart",
"instant_effect",
"item",
"vibration",
"trail",
"item_slime",
"item_cobweb",
"item_snowball",
"large_smoke",
"lava",
"mycelium",
"note",
"poof",
"portal",
"rain",
"smoke",
"white_smoke",
"sneeze",
"spit",
"squid_ink",
"sweep_attack",
"totem_of_undying",
"underwater",
"splash",
"witch",
"bubble_pop",
"current_down",
"bubble_column_up",
"nautilus",
"dolphin",
"campfire_cosy_smoke",
"campfire_signal_smoke",
"dripping_honey",
"falling_honey",
"landing_honey",
"falling_nectar",
"falling_spore_blossom",
"ash",
"crimson_spore",
"warped_spore",
"spore_blossom_air",
"dripping_obsidian_tear",
"falling_obsidian_tear",
"landing_obsidian_tear",
"reverse_portal",
"white_ash",
"small_flame",
"snowflake",
"dripping_dripstone_lava",
"falling_dripstone_lava",
"dripping_dripstone_water",
"falling_dripstone_water",
"glow_squid_ink",
"glow",
"wax_on",
"wax_off",
"electric_spark",
"scrape",
"shriek",
"egg_crack",
"dust_plume",
"trial_spawner_detection",
"trial_spawner_detection_ominous",
"vault_connection",
"dust_pillar",
"ominous_spawning",
"raid_omen",
"trial_omen",
"block_crumble",
"firefly"
]
["angry_villager","block","block_marker","bubble","cloud","copper_fire_flame","crit","damage_indicator","dragon_breath","dripping_lava","falling_lava","landing_lava","dripping_water","falling_water","dust","dust_color_transition","effect","elder_guardian","enchanted_hit","enchant","end_rod","entity_effect","explosion_emitter","explosion","gust","small_gust","gust_emitter_large","gust_emitter_small","sonic_boom","falling_dust","firework","fishing","flame","infested","cherry_leaves","pale_oak_leaves","tinted_leaves","sculk_soul","sculk_charge","sculk_charge_pop","soul_fire_flame","soul","flash","happy_villager","composter","heart","instant_effect","item","vibration","trail","pause_mob_growth","reset_mob_growth","item_slime","item_cobweb","item_snowball","large_smoke","lava","mycelium","note","poof","portal","rain","smoke","white_smoke","sneeze","spit","squid_ink","sweep_attack","totem_of_undying","underwater","splash","witch","bubble_pop","current_down","bubble_column_up","nautilus","dolphin","campfire_cosy_smoke","campfire_signal_smoke","dripping_honey","falling_honey","landing_honey","falling_nectar","falling_spore_blossom","ash","crimson_spore","warped_spore","spore_blossom_air","dripping_obsidian_tear","falling_obsidian_tear","landing_obsidian_tear","reverse_portal","white_ash","small_flame","snowflake","dripping_dripstone_lava","falling_dripstone_lava","dripping_dripstone_water","falling_dripstone_water","glow_squid_ink","glow","wax_on","wax_off","electric_spark","scrape","shriek","egg_crack","dust_plume","trial_spawner_detection","trial_spawner_detection_ominous","vault_connection","dust_pillar","ominous_spawning","raid_omen","trial_omen","block_crumble","firefly"]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1 @@
{
"1013": 1012,
"1014": 1012,
"1018": 1012,
"1290": 1120,
"1381": 1120
}
{"948":893,"1019":1013,"1122":1121,"1252":893,"1290":893,"1341":893,"1382":1121}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,21 +1 @@
[
"LIST",
"SIDEBAR",
"BELOW_NAME",
"TEAM_BLACK",
"TEAM_DARK_BLUE",
"TEAM_DARK_GREEN",
"TEAM_DARK_AQUA",
"TEAM_DARK_RED",
"TEAM_DARK_PURPLE",
"TEAM_GOLD",
"TEAM_GRAY",
"TEAM_DARK_GRAY",
"TEAM_BLUE",
"TEAM_GREEN",
"TEAM_AQUA",
"TEAM_RED",
"TEAM_LIGHT_PURPLE",
"TEAM_YELLOW",
"TEAM_WHITE"
]
["LIST","SIDEBAR","BELOW_NAME","TEAM_BLACK","TEAM_DARK_BLUE","TEAM_DARK_GREEN","TEAM_DARK_AQUA","TEAM_DARK_RED","TEAM_DARK_PURPLE","TEAM_GOLD","TEAM_GRAY","TEAM_DARK_GRAY","TEAM_BLUE","TEAM_GREEN","TEAM_AQUA","TEAM_RED","TEAM_LIGHT_PURPLE","TEAM_YELLOW","TEAM_WHITE"]

View File

@ -1,27 +1 @@
[
"generic_9x1",
"generic_9x2",
"generic_9x3",
"generic_9x4",
"generic_9x5",
"generic_9x6",
"generic_3x3",
"crafter_3x3",
"anvil",
"beacon",
"blast_furnace",
"brewing_stand",
"crafting",
"enchantment",
"furnace",
"grindstone",
"hopper",
"lectern",
"loom",
"merchant",
"shulker_box",
"smithing",
"smoker",
"cartography_table",
"stonecutter"
]
["generic_9x1","generic_9x2","generic_9x3","generic_9x4","generic_9x5","generic_9x6","generic_3x3","crafter_3x3","anvil","beacon","blast_furnace","brewing_stand","crafting","enchantment","furnace","grindstone","hopper","lectern","loom","merchant","shulker_box","smithing","smoker","cartography_table","stonecutter"]

View File

@ -1,13 +1 @@
[
"MASTER",
"MUSIC",
"RECORDS",
"WEATHER",
"BLOCKS",
"HOSTILE",
"NEUTRAL",
"PLAYERS",
"AMBIENT",
"VOICE",
"UI"
]
["MASTER","MUSIC","RECORDS","WEATHER","BLOCKS","HOSTILE","NEUTRAL","PLAYERS","AMBIENT","VOICE","UI"]

File diff suppressed because one or more lines are too long

View File

@ -1,89 +1 @@
{
"1211": "zoglin",
"1195": "slime",
"1189": "creaking",
"1205": "happy_ghast",
"1213": "ender_dragon",
"1165": "sniffer",
"1168": "snow_golem",
"1181": "wither_skeleton",
"1179": "stray",
"1197": "witch",
"1135": "donkey",
"1153": "dolphin",
"1157": "pufferfish",
"1152": "cod",
"1161": "tropical_fish",
"1203": "blaze",
"1155": "glow_squid",
"1187": "spider",
"1175": "husk",
"1202": "vex",
"1207": "magma_cube",
"1166": "copper_golem",
"1143": "bee",
"1209": "piglin_brute",
"1176": "parched",
"1171": "wandering_trader",
"1215": "endermite",
"1193": "phantom",
"1139": "parrot",
"1167": "iron_golem",
"1210": "strider",
"1214": "enderman",
"1173": "camel_husk",
"1188": "breeze",
"1146": "llama",
"1177": "skeleton",
"1133": "sheep",
"1140": "wolf",
"1159": "squid",
"1158": "salmon",
"1141": "armadillo",
"1142": "bat",
"1174": "drowned",
"1199": "pillager",
"1156": "nautilus",
"1182": "zombie",
"1149": "polar_bear",
"1185": "zombie_villager",
"1212": "zombified_piglin",
"1170": "villager",
"1162": "turtle",
"1132": "pig",
"1163": "allay",
"1172": "bogged",
"1130": "chicken",
"1160": "tadpole",
"1186": "cave_spider",
"1190": "creeper",
"1204": "ghast",
"1216": "shulker",
"1192": "guardian",
"1137": "mule",
"1183": "zombie_horse",
"1148": "panda",
"1196": "warden",
"1144": "fox",
"1136": "horse",
"1164": "mooshroom",
"1200": "ravager",
"1178": "skeleton_horse",
"1154": "frog",
"1169": "trader_llama",
"1147": "ocelot",
"1134": "camel",
"1138": "cat",
"1180": "wither",
"1206": "hoglin",
"1201": "vindicator",
"1208": "piglin",
"1191": "elder_guardian",
"1131": "cow",
"1198": "evoker",
"1150": "rabbit",
"1184": "zombie_nautilus",
"1151": "axolotl",
"1194": "silverfish",
"1145": "goat"
}
{"1197":"witch","1170":"villager","1216":"shulker","1195":"slime","1200":"ravager","1158":"salmon","1138":"cat","1175":"husk","1188":"breeze","1166":"copper_golem","1157":"pufferfish","1184":"zombie_nautilus","1206":"hoglin","1160":"tadpole","1208":"piglin","1201":"vindicator","1190":"creeper","1193":"phantom","1204":"ghast","1161":"tropical_fish","1215":"endermite","1130":"chicken","1162":"turtle","1214":"enderman","1141":"armadillo","1173":"camel_husk","1133":"sheep","1212":"zombified_piglin","1186":"cave_spider","1137":"mule","1196":"warden","1194":"silverfish","1143":"bee","1139":"parrot","1169":"trader_llama","1168":"snow_golem","1135":"donkey","1152":"cod","1207":"magma_cube","1171":"wandering_trader","1144":"fox","1192":"guardian","1213":"ender_dragon","1209":"piglin_brute","1176":"parched","1148":"panda","1153":"dolphin","1159":"squid","1163":"allay","1150":"rabbit","1178":"skeleton_horse","1185":"zombie_villager","1199":"pillager","1146":"llama","1205":"happy_ghast","1140":"wolf","1189":"creaking","1203":"blaze","1147":"ocelot","1179":"stray","1149":"polar_bear","1131":"cow","1156":"nautilus","1142":"bat","1145":"goat","1164":"mooshroom","1167":"iron_golem","1154":"frog","1155":"glow_squid","1181":"wither_skeleton","1191":"elder_guardian","1180":"wither","1187":"spider","1202":"vex","1136":"horse","1132":"pig","1183":"zombie_horse","1210":"strider","1151":"axolotl","1182":"zombie","1177":"skeleton","1211":"zoglin","1134":"camel","1198":"evoker","1165":"sniffer","1172":"bogged","1174":"drowned"}

View File

@ -1,41 +1 @@
[
"speed",
"slowness",
"haste",
"mining_fatigue",
"strength",
"instant_health",
"instant_damage",
"jump_boost",
"nausea",
"regeneration",
"resistance",
"fire_resistance",
"water_breathing",
"invisibility",
"blindness",
"night_vision",
"hunger",
"weakness",
"poison",
"wither",
"health_boost",
"absorption",
"saturation",
"glowing",
"levitation",
"luck",
"unluck",
"slow_falling",
"conduit_power",
"dolphins_grace",
"bad_omen",
"hero_of_the_village",
"darkness",
"trial_omen",
"raid_omen",
"wind_charged",
"weaving",
"oozing",
"infested"
]
["speed","slowness","haste","mining_fatigue","strength","instant_health","instant_damage","jump_boost","nausea","regeneration","resistance","fire_resistance","water_breathing","invisibility","blindness","night_vision","hunger","weakness","poison","wither","health_boost","absorption","saturation","glowing","levitation","luck","unluck","slow_falling","conduit_power","dolphins_grace","bad_omen","hero_of_the_village","darkness","trial_omen","raid_omen","wind_charged","weaving","oozing","infested"]

View File

@ -1,358 +1 @@
{
"ancient_cities": {
"structures": [
{
"structure": "minecraft:ancient_city",
"weight": 1
}
],
"placement": {
"spacing": 24,
"separation": 8,
"salt": 20083232,
"type": "minecraft:random_spread"
}
},
"buried_treasures": {
"structures": [
{
"structure": "minecraft:buried_treasure",
"weight": 1
}
],
"placement": {
"spacing": 1,
"separation": 0,
"locate_offset": [
9,
0,
9
],
"frequency_reduction_method": "legacy_type_2",
"frequency": 0.01,
"salt": 0,
"type": "minecraft:random_spread"
}
},
"desert_pyramids": {
"structures": [
{
"structure": "minecraft:desert_pyramid",
"weight": 1
}
],
"placement": {
"spacing": 32,
"separation": 8,
"salt": 14357617,
"type": "minecraft:random_spread"
}
},
"end_cities": {
"structures": [
{
"structure": "minecraft:end_city",
"weight": 1
}
],
"placement": {
"spacing": 20,
"separation": 11,
"spread_type": "triangular",
"salt": 10387313,
"type": "minecraft:random_spread"
}
},
"igloos": {
"structures": [
{
"structure": "minecraft:igloo",
"weight": 1
}
],
"placement": {
"spacing": 32,
"separation": 8,
"salt": 14357618,
"type": "minecraft:random_spread"
}
},
"jungle_temples": {
"structures": [
{
"structure": "minecraft:jungle_pyramid",
"weight": 1
}
],
"placement": {
"spacing": 32,
"separation": 8,
"salt": 14357619,
"type": "minecraft:random_spread"
}
},
"mineshafts": {
"structures": [
{
"structure": "minecraft:mineshaft",
"weight": 1
},
{
"structure": "minecraft:mineshaft_mesa",
"weight": 1
}
],
"placement": {
"spacing": 1,
"separation": 0,
"frequency_reduction_method": "legacy_type_3",
"frequency": 0.004,
"salt": 0,
"type": "minecraft:random_spread"
}
},
"nether_complexes": {
"structures": [
{
"structure": "minecraft:fortress",
"weight": 2
},
{
"structure": "minecraft:bastion_remnant",
"weight": 3
}
],
"placement": {
"spacing": 27,
"separation": 4,
"salt": 30084232,
"type": "minecraft:random_spread"
}
},
"nether_fossils": {
"structures": [
{
"structure": "minecraft:nether_fossil",
"weight": 1
}
],
"placement": {
"spacing": 2,
"separation": 1,
"salt": 14357921,
"type": "minecraft:random_spread"
}
},
"ocean_monuments": {
"structures": [
{
"structure": "minecraft:monument",
"weight": 1
}
],
"placement": {
"spacing": 32,
"separation": 5,
"spread_type": "triangular",
"salt": 10387313,
"type": "minecraft:random_spread"
}
},
"ocean_ruins": {
"structures": [
{
"structure": "minecraft:ocean_ruin_cold",
"weight": 1
},
{
"structure": "minecraft:ocean_ruin_warm",
"weight": 1
}
],
"placement": {
"spacing": 20,
"separation": 8,
"salt": 14357621,
"type": "minecraft:random_spread"
}
},
"pillager_outposts": {
"structures": [
{
"structure": "minecraft:pillager_outpost",
"weight": 1
}
],
"placement": {
"exclusion_zone": {
"other_set": "minecraft:villages",
"chunk_count": 10
},
"spacing": 32,
"separation": 8,
"frequency_reduction_method": "legacy_type_1",
"frequency": 0.2,
"salt": 165745296,
"type": "minecraft:random_spread"
}
},
"ruined_portals": {
"structures": [
{
"structure": "minecraft:ruined_portal",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_desert",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_jungle",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_swamp",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_mountain",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_ocean",
"weight": 1
},
{
"structure": "minecraft:ruined_portal_nether",
"weight": 1
}
],
"placement": {
"spacing": 40,
"separation": 15,
"salt": 34222645,
"type": "minecraft:random_spread"
}
},
"shipwrecks": {
"structures": [
{
"structure": "minecraft:shipwreck",
"weight": 1
},
{
"structure": "minecraft:shipwreck_beached",
"weight": 1
}
],
"placement": {
"spacing": 24,
"separation": 4,
"salt": 165745295,
"type": "minecraft:random_spread"
}
},
"strongholds": {
"structures": [
{
"structure": "minecraft:stronghold",
"weight": 1
}
],
"placement": {
"spread": 3,
"count": 128,
"preferred_biomes": "#minecraft:stronghold_biased_to",
"distance": 32,
"salt": 0,
"type": "minecraft:concentric_rings"
}
},
"swamp_huts": {
"structures": [
{
"structure": "minecraft:swamp_hut",
"weight": 1
}
],
"placement": {
"spacing": 32,
"separation": 8,
"salt": 14357620,
"type": "minecraft:random_spread"
}
},
"trail_ruins": {
"structures": [
{
"structure": "minecraft:trail_ruins",
"weight": 1
}
],
"placement": {
"spacing": 34,
"separation": 8,
"salt": 83469867,
"type": "minecraft:random_spread"
}
},
"trial_chambers": {
"structures": [
{
"structure": "minecraft:trial_chambers",
"weight": 1
}
],
"placement": {
"spacing": 34,
"separation": 12,
"salt": 94251327,
"type": "minecraft:random_spread"
}
},
"villages": {
"structures": [
{
"structure": "minecraft:village_plains",
"weight": 1
},
{
"structure": "minecraft:village_desert",
"weight": 1
},
{
"structure": "minecraft:village_savanna",
"weight": 1
},
{
"structure": "minecraft:village_snowy",
"weight": 1
},
{
"structure": "minecraft:village_taiga",
"weight": 1
}
],
"placement": {
"spacing": 34,
"separation": 8,
"salt": 10387312,
"type": "minecraft:random_spread"
}
},
"woodland_mansions": {
"structures": [
{
"structure": "minecraft:mansion",
"weight": 1
}
],
"placement": {
"spacing": 80,
"separation": 20,
"spread_type": "triangular",
"salt": 10387319,
"type": "minecraft:random_spread"
}
}
}
{"minecraft:ancient_cities":{"structures":[{"structure":"minecraft:ancient_city","weight":1}],"placement":{"salt":20083232,"spacing":24,"separation":8,"type":"minecraft:random_spread"}},"minecraft:buried_treasures":{"structures":[{"structure":"minecraft:buried_treasure","weight":1}],"placement":{"locate_offset":[9,0,9],"frequency_reduction_method":"legacy_type_2","frequency":0.01,"salt":0,"spacing":1,"separation":0,"type":"minecraft:random_spread"}},"minecraft:desert_pyramids":{"structures":[{"structure":"minecraft:desert_pyramid","weight":1}],"placement":{"salt":14357617,"spacing":32,"separation":8,"type":"minecraft:random_spread"}},"minecraft:end_cities":{"structures":[{"structure":"minecraft:end_city","weight":1}],"placement":{"salt":10387313,"spacing":20,"separation":11,"spread_type":"triangular","type":"minecraft:random_spread"}},"minecraft:igloos":{"structures":[{"structure":"minecraft:igloo","weight":1}],"placement":{"salt":14357618,"spacing":32,"separation":8,"type":"minecraft:random_spread"}},"minecraft:jungle_temples":{"structures":[{"structure":"minecraft:jungle_pyramid","weight":1}],"placement":{"salt":14357619,"spacing":32,"separation":8,"type":"minecraft:random_spread"}},"minecraft:mineshafts":{"structures":[{"structure":"minecraft:mineshaft","weight":1},{"structure":"minecraft:mineshaft_mesa","weight":1}],"placement":{"frequency_reduction_method":"legacy_type_3","frequency":0.004,"salt":0,"spacing":1,"separation":0,"type":"minecraft:random_spread"}},"minecraft:nether_complexes":{"structures":[{"structure":"minecraft:fortress","weight":2},{"structure":"minecraft:bastion_remnant","weight":3}],"placement":{"salt":30084232,"spacing":27,"separation":4,"type":"minecraft:random_spread"}},"minecraft:nether_fossils":{"structures":[{"structure":"minecraft:nether_fossil","weight":1}],"placement":{"salt":14357921,"spacing":2,"separation":1,"type":"minecraft:random_spread"}},"minecraft:ocean_monuments":{"structures":[{"structure":"minecraft:monument","weight":1}],"placement":{"salt":10387313,"spacing":32,"separation":5,"spread_type":"triangular","type":"minecraft:random_spread"}},"minecraft:ocean_ruins":{"structures":[{"structure":"minecraft:ocean_ruin_cold","weight":1},{"structure":"minecraft:ocean_ruin_warm","weight":1}],"placement":{"salt":14357621,"spacing":20,"separation":8,"type":"minecraft:random_spread"}},"minecraft:pillager_outposts":{"structures":[{"structure":"minecraft:pillager_outpost","weight":1}],"placement":{"frequency_reduction_method":"legacy_type_1","frequency":0.2,"salt":165745296,"exclusion_zone":{"other_set":"minecraft:villages","chunk_count":10},"spacing":32,"separation":8,"type":"minecraft:random_spread"}},"minecraft:ruined_portals":{"structures":[{"structure":"minecraft:ruined_portal","weight":1},{"structure":"minecraft:ruined_portal_desert","weight":1},{"structure":"minecraft:ruined_portal_jungle","weight":1},{"structure":"minecraft:ruined_portal_swamp","weight":1},{"structure":"minecraft:ruined_portal_mountain","weight":1},{"structure":"minecraft:ruined_portal_ocean","weight":1},{"structure":"minecraft:ruined_portal_nether","weight":1}],"placement":{"salt":34222645,"spacing":40,"separation":15,"type":"minecraft:random_spread"}},"minecraft:shipwrecks":{"structures":[{"structure":"minecraft:shipwreck","weight":1},{"structure":"minecraft:shipwreck_beached","weight":1}],"placement":{"salt":165745295,"spacing":24,"separation":4,"type":"minecraft:random_spread"}},"minecraft:strongholds":{"structures":[{"structure":"minecraft:stronghold","weight":1}],"placement":{"salt":0,"distance":32,"spread":3,"count":128,"preferred_biomes":"#minecraft:stronghold_biased_to","type":"minecraft:concentric_rings"}},"minecraft:swamp_huts":{"structures":[{"structure":"minecraft:swamp_hut","weight":1}],"placement":{"salt":14357620,"spacing":32,"separation":8,"type":"minecraft:random_spread"}},"minecraft:trail_ruins":{"structures":[{"structure":"minecraft:trail_ruins","weight":1}],"placement":{"salt":83469867,"spacing":34,"separation":8,"type":"minecraft:random_spread"}},"minecraft:trial_chambers":{"structures":[{"structure":"minecraft:trial_chambers","weight":1}],"placement":{"salt":94251327,"spacing":34,"separation":12,"type":"minecraft:random_spread"}},"minecraft:villages":{"structures":[{"structure":"minecraft:village_plains","weight":1},{"structure":"minecraft:village_desert","weight":1},{"structure":"minecraft:village_savanna","weight":1},{"structure":"minecraft:village_snowy","weight":1},{"structure":"minecraft:village_taiga","weight":1}],"placement":{"salt":10387312,"spacing":34,"separation":8,"type":"minecraft:random_spread"}},"minecraft:woodland_mansions":{"structures":[{"structure":"minecraft:mansion","weight":1}],"placement":{"salt":10387319,"spacing":80,"separation":20,"spread_type":"triangular","type":"minecraft:random_spread"}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"DATA_ID_PADDLE_LEFT":11,"DATA_ID_PADDLE_RIGHT":12,"DATA_ID_BUBBLE_TIME":13,"DATA_ID_HURT":8,"DATA_ID_HURTDIR":9,"DATA_ID_DAMAGE":10,"DATA_SHARED_FLAGS_ID":0,"DATA_AIR_SUPPLY_ID":1,"DATA_CUSTOM_NAME":2,"DATA_CUSTOM_NAME_VISIBLE":3,"DATA_SILENT":4,"DATA_NO_GRAVITY":5,"DATA_POSE":6,"DATA_TICKS_FROZEN":7,"DATA_DANCING":16,"DATA_CAN_DUPLICATE":17,"DATA_MOB_FLAGS_ID":15,"DATA_LIVING_ENTITY_FLAGS":8,"DATA_HEALTH_ID":9,"DATA_EFFECT_PARTICLES":10,"DATA_EFFECT_AMBIENCE_ID":11,"DATA_ARROW_COUNT_ID":12,"DATA_STINGER_COUNT_ID":13,"SLEEPING_POS_ID":14,"DATA_RADIUS":8,"DATA_WAITING":9,"DATA_PARTICLE":10,"ARMADILLO_STATE":18,"DATA_BABY_ID":16,"AGE_LOCKED":17,"DATA_CLIENT_FLAGS":15,"DATA_HEAD_POSE":16,"DATA_BODY_POSE":17,"DATA_LEFT_ARM_POSE":18,"DATA_RIGHT_ARM_POSE":19,"DATA_LEFT_LEG_POSE":20,"DATA_RIGHT_LEG_POSE":21,"ID_EFFECT_COLOR":11,"ID_FLAGS":8,"PIERCE_LEVEL":9,"IN_GROUND":10,"DATA_VARIANT":18,"DATA_PLAYING_DEAD":19,"FROM_BUCKET":16,"DATA_ID_FLAGS":18,"DATA_FLAGS_ID":18,"DATA_ANGER_END_TIME":22,"DATA_BLOCK_STATE_ID":9,"DATA_TRANSFORMATION_INTERPOLATION_START_DELTA_TICKS_ID":8,"DATA_TRANSFORMATION_INTERPOLATION_DURATION_ID":9,"DATA_POS_ROT_INTERPOLATION_DURATION_ID":10,"DATA_TRANSLATION_ID":11,"DATA_SCALE_ID":12,"DATA_LEFT_ROTATION_ID":13,"DATA_RIGHT_ROTATION_ID":14,"DATA_BILLBOARD_RENDER_CONSTRAINTS_ID":15,"DATA_BRIGHTNESS_OVERRIDE_ID":16,"DATA_VIEW_RANGE_ID":17,"DATA_SHADOW_RADIUS_ID":18,"DATA_SHADOW_STRENGTH_ID":19,"DATA_WIDTH_ID":20,"DATA_HEIGHT_ID":21,"DATA_GLOW_COLOR_OVERRIDE_ID":22,"DATA_SHEARED":16,"DASH":20,"LAST_POSE_CHANGE_TICK":20,"DATA_VARIANT_ID":21,"IS_LYING":21,"RELAX_STATE_ONE":22,"DATA_COLLAR_COLOR":21,"DATA_SOUND_VARIANT_ID":24,"DATA_OWNERUUID_ID":19,"DATA_ID_CUSTOM_DISPLAY_BLOCK":11,"DATA_ID_DISPLAY_OFFSET":12,"DATA_WEATHER_STATE":16,"COPPER_GOLEM_STATE":17,"DATA_ID_COMMAND_NAME":13,"DATA_ID_LAST_OUTPUT":14,"CAN_MOVE":16,"IS_ACTIVE":17,"IS_TEARING_DOWN":18,"HOME_POS":19,"DATA_SWELL_DIR":16,"DATA_IS_POWERED":17,"DATA_IS_IGNITED":18,"GOT_FISH":18,"MOISTNESS_LEVEL":19,"DATA_ID_CHEST":19,"DATA_SPECIAL_TYPE_ID":17,"DATA_DROWNED_CONVERSION_ID":18,"DATA_ITEM_STACK":8,"DATA_ID_MOVING":16,"DATA_ID_ATTACK_TARGET":17,"DATA_CARRY_STATE":16,"DATA_CREEPY":17,"DATA_STARED_AT":18,"DATA_PHASE":16,"DATA_BEAM_TARGET":8,"DATA_SHOW_BOTTOM":9,"DATA_SPELL_CASTING_ID":17,"IS_CELEBRATING":16,"DATA_VALUE":8,"DATA_START_POS":8,"DATA_ID_FIREWORKS_ITEM":8,"DATA_ATTACHED_TO_TARGET":9,"DATA_SHOT_AT_ANGLE":10,"DATA_TYPE_ID":18,"DATA_TRUSTED_ID_0":20,"DATA_TRUSTED_ID_1":21,"DATA_TONGUE_TARGET_ID":19,"DATA_ID_FUEL":13,"DATA_IS_CHARGING":16,"IS_LEASH_HOLDER":18,"STAYS_STILL":19,"DATA_ITEM":8,"DATA_ROTATION":10,"DATA_DIRECTION":8,"DATA_DARK_TICKS_REMAINING":18,"DATA_IS_SCREAMING_GOAT":18,"DATA_HAS_LEFT_HORN":19,"DATA_HAS_RIGHT_HORN":20,"DATA_IMMUNE_TO_ZOMBIFICATION":16,"DATA_ID_TYPE_VARIANT":17,"DATA_RESPONSE_ID":10,"DATA_ITEM_STACK_ID":23,"DATA_ITEM_DISPLAY_ID":24,"DATA_STRENGTH_ID":20,"ID_SIZE":16,"DATA_PROFILE":17,"DATA_IMMOVABLE":18,"DATA_DESCRIPTION":19,"DATA_PLAYER_MAIN_HAND":15,"DATA_PLAYER_MODE_CUSTOMISATION":16,"DATA_TYPE":17,"DATA_TRUSTING":18,"DATA_PAINTING_VARIANT_ID":9,"UNHAPPY_COUNTER":18,"SNEEZE_COUNTER":19,"EAT_COUNTER":20,"MAIN_GENE_ID":21,"HIDDEN_GENE_ID":22,"DATA_BOOST_TIME":18,"DATA_IS_CHARGING_CROSSBOW":18,"DATA_IS_DANCING":19,"IS_CHARGING_CROSSBOW":17,"DATA_STANDING_ID":18,"PUFF_STATE":17,"DATA_WOOL_ID":18,"DATA_ATTACH_FACE_ID":16,"DATA_PEEK_ID":17,"DATA_COLOR_ID":18,"DATA_STRAY_CONVERSION_ID":16,"DATA_STATE":18,"DATA_DROP_SEED_AT_TICK":19,"DATA_PUMPKIN_ID":16,"DATA_SUFFOCATING":19,"DATA_TEXT_ID":23,"DATA_LINE_WIDTH_ID":24,"DATA_BACKGROUND_COLOR_ID":25,"DATA_TEXT_OPACITY_ID":26,"DATA_STYLE_FLAGS_ID":27,"DATA_FUSE_ID":8,"ID_LOYALTY":11,"ID_FOIL":12,"HAS_EGG":18,"LAYING_EGG":19,"DATA_VILLAGER_DATA":20,"DATA_VILLAGER_DATA_FINALIZED":21,"DATA_UNHAPPY_COUNTER":18,"CLIENT_ANGER_LEVEL":16,"DATA_USING_ITEM":17,"DATA_TARGET_A":16,"DATA_TARGET_B":17,"DATA_TARGET_C":18,"DATA_ID_INV":19,"DATA_DANGEROUS":8,"DATA_INTERESTED_ID":20,"DATA_CONVERTING_ID":19,"DATA_HOOKED_ENTITY":8,"DATA_BITING":9}

View File

@ -1,83 +1 @@
{
"DISPENSER_DISPENSES": 1000,
"DISPENSER_FAILS": 1001,
"DISPENSER_LAUNCHES_PROJECTILE": 1002,
"FIREWORK_ROCKET_SHOOTS": 1004,
"FIRE_EXTINGUISHED": 1009,
"JUKEBOX_STARTS_PLAYING": 1010,
"JUKEBOX_STOPS_PLAYING": 1011,
"GHAST_WARNS": 1015,
"GHAST_SHOOTS": 1016,
"ENDER_DRAGON_SHOOTS": 1017,
"BLAZE_SHOOTS": 1018,
"ZOMBIE_ATTACKS_WOODEN_DOOR": 1019,
"ZOMBIE_ATTACKS_IRON_DOOR": 1020,
"ZOMBIE_BREAKS_WOODEN_DOOR": 1021,
"WITHER_BREAKS_BLOCK": 1022,
"WITHER_SPAWNS": 1023,
"WITHER_SHOOTS": 1024,
"BAT_TAKES_OFF": 1025,
"ZOMBIE_INFECTS_VILLAGER": 1026,
"ZOMBIE_VILLAGER_CURED": 1027,
"ENDER_DRAGON_DIES": 1028,
"ANVIL_DESTROYED": 1029,
"ANVIL_USED": 1030,
"ANVIL_LANDS": 1031,
"TRAVEL_THROUGH_PORTAL": 1032,
"CHORUS_FLOWER_GROWS": 1033,
"CHORUS_FLOWER_DIES": 1034,
"BREWING_STAND_BREWS": 1035,
"END_PORTAL_OPENED": 1038,
"PHANTOM_BITES": 1039,
"ZOMBIE_CONVERTS_TO_DROWNED": 1040,
"HUSK_CONVERTS_TO_ZOMBIE": 1041,
"GRINDSTONE_USED": 1042,
"LECTERN_BOOK_PAGE_TURNED": 1043,
"SMITHING_TABLE_USED": 1044,
"POINTED_DRIPSTONE_LANDS": 1045,
"POINTED_DRIPSTONE_DRIPS_LAVA_INTO_CAULDRON": 1046,
"POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON": 1047,
"SKELETON_CONVERTS_TO_STRAY": 1048,
"CRAFTER_CRAFTS": 1049,
"CRAFTER_FAILS": 1050,
"COMPOSTER_USED": 1500,
"LAVA_EXTINGUISHED": 1501,
"REDSTONE_TORCH_BURNS_OUT": 1502,
"END_PORTAL_FRAME_FILLED": 1503,
"POINTED_DRIPSTONE_DRIPS": 1504,
"BONE_MEAL_USED": 1505,
"DISPENSER_ACTIVATED": 2000,
"BLOCK_BROKEN": 2001,
"SPLASH_POTION_SPLASHED": 2002,
"EYE_OF_ENDER_BREAKS": 2003,
"SPAWNER_SPAWNS_MOB": 2004,
"DRAGON_BREATH_CLOUD_SPAWNS": 2006,
"INSTANT_SPLASH_POTION_SPLASHED": 2007,
"ENDER_DRAGON_BREAKS_BLOCK": 2008,
"WET_SPONGE_DRIES_OUT": 2009,
"CRAFTER_SHOOTS": 2010,
"BEE_FERTILIZES_PLANT": 2011,
"TURTLE_EGG_PLACED": 2012,
"SMASH_ATTACK": 2013,
"END_GATEWAY_SPAWNS": 3000,
"ENDER_DRAGON_RESURRECTED": 3001,
"ELECTRICITY_SPARKS": 3002,
"BLOCK_WAXED": 3003,
"WAX_REMOVED": 3004,
"BLOCK_SCRAPED": 3005,
"SCULK_CHARGE": 3006,
"SCULK_SHRIEKS": 3007,
"BLOCK_FINISHED_BRUSHING": 3008,
"SNIFFER_EGG_CRACKS": 3009,
"TRIAL_SPAWNER_SPAWNS_MOB": 3011,
"TRIAL_SPAWNER_SPAWNS_MOB_AT_SPAWN_POS": 3012,
"TRIAL_SPAWNER_DETECTS_PLAYER": 3013,
"TRIAL_SPAWNER_EJECTS_ITEM": 3014,
"VAULT_ACTIVATES": 3015,
"VAULT_DEACTIVATES": 3016,
"VAULT_EJECTS_ITEM": 3017,
"COBWEB_WEAVED": 3018,
"OMINOUS_TRIAL_SPAWNER_DETECTS_PLAYER": 3019,
"TRIAL_SPAWNER_TURNS_OMINOUS": 3020,
"OMINOUS_ITEM_SPAWNER_SPAWNS_ITEM": 3021
}
{"SOUND_DISPENSER_DISPENSE":1000,"SOUND_DISPENSER_FAIL":1001,"SOUND_DISPENSER_PROJECTILE_LAUNCH":1002,"SOUND_FIREWORK_SHOOT":1004,"SOUND_EXTINGUISH_FIRE":1009,"SOUND_PLAY_JUKEBOX_SONG":1010,"SOUND_STOP_JUKEBOX_SONG":1011,"SOUND_GHAST_WARNING":1015,"SOUND_GHAST_FIREBALL":1016,"SOUND_DRAGON_FIREBALL":1017,"SOUND_BLAZE_FIREBALL":1018,"SOUND_ZOMBIE_WOODEN_DOOR":1019,"SOUND_ZOMBIE_IRON_DOOR":1020,"SOUND_ZOMBIE_DOOR_CRASH":1021,"SOUND_WITHER_BLOCK_BREAK":1022,"SOUND_WITHER_BOSS_SPAWN":1023,"SOUND_WITHER_BOSS_SHOOT":1024,"SOUND_BAT_LIFTOFF":1025,"SOUND_ZOMBIE_INFECTED":1026,"SOUND_ZOMBIE_CONVERTED":1027,"SOUND_DRAGON_DEATH":1028,"SOUND_ANVIL_BROKEN":1029,"SOUND_ANVIL_USED":1030,"SOUND_ANVIL_LAND":1031,"SOUND_PORTAL_TRAVEL":1032,"SOUND_CHORUS_GROW":1033,"SOUND_CHORUS_DEATH":1034,"SOUND_BREWING_STAND_BREW":1035,"SOUND_END_PORTAL_SPAWN":1038,"SOUND_PHANTOM_BITE":1039,"SOUND_ZOMBIE_TO_DROWNED":1040,"SOUND_HUSK_TO_ZOMBIE":1041,"SOUND_GRINDSTONE_USED":1042,"SOUND_PAGE_TURN":1043,"SOUND_SMITHING_TABLE_USED":1044,"SOUND_POINTED_DRIPSTONE_LAND":1045,"SOUND_DRIP_LAVA_INTO_CAULDRON":1046,"SOUND_DRIP_WATER_INTO_CAULDRON":1047,"SOUND_SKELETON_TO_STRAY":1048,"SOUND_CRAFTER_CRAFT":1049,"SOUND_CRAFTER_FAIL":1050,"SOUND_WIND_CHARGE_SHOOT":1051,"COMPOSTER_FILL":1500,"LAVA_FIZZ":1501,"REDSTONE_TORCH_BURNOUT":1502,"END_PORTAL_FRAME_FILL":1503,"DRIPSTONE_DRIP":1504,"PARTICLES_AND_SOUND_PLANT_GROWTH":1505,"PARTICLES_SHOOT_SMOKE":2000,"PARTICLES_DESTROY_BLOCK":2001,"PARTICLES_SPELL_POTION_SPLASH":2002,"PARTICLES_EYE_OF_ENDER_DEATH":2003,"PARTICLES_MOBBLOCK_SPAWN":2004,"PARTICLES_DRAGON_FIREBALL_SPLASH":2006,"PARTICLES_INSTANT_POTION_SPLASH":2007,"PARTICLES_DRAGON_BLOCK_BREAK":2008,"PARTICLES_WATER_EVAPORATING":2009,"PARTICLES_SHOOT_WHITE_SMOKE":2010,"PARTICLES_BEE_GROWTH":2011,"PARTICLES_TURTLE_EGG_PLACEMENT":2012,"PARTICLES_SMASH_ATTACK":2013,"ANIMATION_END_GATEWAY_SPAWN":3000,"ANIMATION_DRAGON_SUMMON_ROAR":3001,"PARTICLES_ELECTRIC_SPARK":3002,"PARTICLES_AND_SOUND_WAX_ON":3003,"PARTICLES_WAX_OFF":3004,"PARTICLES_SCRAPE":3005,"PARTICLES_SCULK_CHARGE":3006,"PARTICLES_SCULK_SHRIEK":3007,"PARTICLES_AND_SOUND_BRUSH_BLOCK_COMPLETE":3008,"PARTICLES_EGG_CRACK":3009,"PARTICLES_TRIAL_SPAWNER_SPAWN":3011,"PARTICLES_TRIAL_SPAWNER_SPAWN_MOB_AT":3012,"PARTICLES_TRIAL_SPAWNER_DETECT_PLAYER":3013,"ANIMATION_TRIAL_SPAWNER_EJECT_ITEM":3014,"ANIMATION_VAULT_ACTIVATE":3015,"ANIMATION_VAULT_DEACTIVATE":3016,"ANIMATION_VAULT_EJECT_ITEM":3017,"ANIMATION_SPAWN_COBWEB":3018,"PARTICLES_TRIAL_SPAWNER_DETECT_PLAYER_OMINOUS":3019,"PARTICLES_TRIAL_SPAWNER_BECOME_OMINOUS":3020,"PARTICLES_TRIAL_SPAWNER_SPAWN_ITEM":3021}

View File

@ -157,6 +157,20 @@ dependencies = [
"typenum",
]
[[package]]
name = "dashmap"
version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf"
dependencies = [
"cfg-if",
"crossbeam-utils",
"hashbrown 0.14.5",
"lock_api",
"once_cell",
"parking_lot_core",
]
[[package]]
name = "der"
version = "0.7.10"
@ -311,6 +325,12 @@ dependencies = [
"subtle",
]
[[package]]
name = "hashbrown"
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
[[package]]
name = "hashbrown"
version = "0.15.5"
@ -396,6 +416,15 @@ version = "0.2.180"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
[[package]]
name = "lock_api"
version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
dependencies = [
"scopeguard",
]
[[package]]
name = "log"
version = "0.4.29"
@ -472,6 +501,19 @@ dependencies = [
"sha2",
]
[[package]]
name = "parking_lot_core"
version = "0.9.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
"smallvec",
"windows-link",
]
[[package]]
name = "pem-rfc7468"
version = "0.7.0"
@ -568,9 +610,18 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "pumpkin-codecs"
version = "0.1.0-dev+26.1"
dependencies = [
"dashmap",
"serde_json",
"tracing",
]
[[package]]
name = "pumpkin-codegen"
version = "0.1.0-dev+1.21.11"
version = "0.1.0-dev+26.1"
dependencies = [
"heck",
"indexmap",
@ -587,18 +638,20 @@ dependencies = [
[[package]]
name = "pumpkin-nbt"
version = "0.1.0-dev+1.21.11"
version = "0.1.0-dev+26.1"
dependencies = [
"bytes",
"cesu8",
"flate2",
"pumpkin-codecs",
"serde",
"thiserror",
"tracing",
]
[[package]]
name = "pumpkin-util"
version = "0.1.0-dev+1.21.11"
version = "0.1.0-dev+26.1"
dependencies = [
"base64",
"bytes",
@ -622,9 +675,9 @@ dependencies = [
[[package]]
name = "quote"
version = "1.0.44"
version = "1.0.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
dependencies = [
"proc-macro2",
]
@ -664,6 +717,15 @@ dependencies = [
"crossbeam-utils",
]
[[package]]
name = "redox_syscall"
version = "0.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
dependencies = [
"bitflags",
]
[[package]]
name = "rfc6979"
version = "0.4.0"
@ -680,6 +742,12 @@ version = "1.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
[[package]]
name = "scopeguard"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "sec1"
version = "0.7.3"
@ -781,6 +849,12 @@ version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
[[package]]
name = "smallvec"
version = "1.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
[[package]]
name = "spki"
version = "0.7.3"
@ -799,9 +873,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "syn"
version = "2.0.114"
version = "2.0.117"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
dependencies = [
"proc-macro2",
"quote",
@ -837,6 +911,37 @@ dependencies = [
"pin-project-lite",
]
[[package]]
name = "tracing"
version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
dependencies = [
"pin-project-lite",
"tracing-attributes",
"tracing-core",
]
[[package]]
name = "tracing-attributes"
version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "tracing-core"
version = "0.1.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
dependencies = [
"once_cell",
]
[[package]]
name = "typenum"
version = "1.19.0"
@ -851,9 +956,9 @@ checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"
[[package]]
name = "unicode-ident"
version = "1.0.23"
version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "537dd038a89878be9b64dd4bd1b260315c1bb94f4d784956b81e27a088d9a09e"
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "unicode-xid"
@ -863,9 +968,9 @@ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
[[package]]
name = "uuid"
version = "1.22.0"
version = "1.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a68d3c8f01c0cfa54a75291d83601161799e4a89a39e0929f4b0354d88757a37"
checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9"
dependencies = [
"getrandom 0.4.1",
"js-sys",

View File

@ -1,12 +1,11 @@
[package]
name = "pumpkin-codegen"
version = "0.1.0-dev+1.21.11"
version = "0.1.0-dev+26.1"
edition = "2024"
rust-version = "1.89"
license.workspace = true
[dependencies]
indexmap = { version = "2.7", features = ["serde"] }
indexmap = { version = "2.13", features = ["serde"] }
heck = "0.5"
serde = { version = "1.0", features = ["derive"] }

View File

@ -52,8 +52,8 @@ struct SpawnGroups {
}
/// A single entity spawner entry within a spawn group, as defined in `biome.json`.
#[expect(non_snake_case)]
#[derive(Deserialize, Hash, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
struct Spawner {
/// Namespaced entity type ID (e.g. `"minecraft:zombie"`).
r#type: String,

View File

@ -373,7 +373,7 @@ impl ToTokens for BlockPropertyStruct {
for (key, value) in props {
match *key {
#(#from_props_values),*,
_ => panic!("Invalid key: {key}"),
_ => {}, //
}
}
block_props
@ -542,7 +542,7 @@ impl BlockState {
id: #id,
state_flags: #state_flags,
side_flags: #side_flags,
instrument: Instrument::#instrument,
instrument: NoteblockInstrument::#instrument,
luminance: #luminance,
piston_behavior: #piston_behavior,
hardness: #hardness,
@ -595,7 +595,7 @@ impl ToTokens for Block {
fn to_tokens(&self, tokens: &mut TokenStream) {
let id = LitInt::new(&self.id.to_string(), Span::call_site());
let name = LitStr::new(&self.name, Span::call_site());
let translation_key = LitStr::new(&self.translation_key, Span::call_site());
//let translation_key = LitStr::new(&self.translation_key, Span::call_site());
let hardness = &self.hardness;
let blast_resistance = &self.blast_resistance;
let item_id = LitInt::new(&self.item_id.to_string(), Span::call_site());
@ -635,7 +635,6 @@ impl ToTokens for Block {
Block {
id: #id,
name: #name,
translation_key: #translation_key,
hardness: #hardness,
blast_resistance: #blast_resistance,
slipperiness: #slipperiness,
@ -1263,7 +1262,7 @@ pub fn build() -> TokenStream {
}
}
impl StraightRailShape {
impl RailShapeStraight {
pub fn is_ascending(&self) -> bool {
matches!(self, Self::AscendingEast | Self::AscendingWest | Self::AscendingNorth | Self::AscendingSouth)
}

View File

@ -80,9 +80,6 @@ pub enum MaterialRuleStruct {
/// Special Badlands terrain coloring rule.
#[serde(rename = "minecraft:bandlands")]
Badlands,
/// Any material rule type not handled by this codegen.
#[serde(other)]
Unsupported,
}
/// Deserialized surface material condition that gates a material rule.
@ -431,9 +428,6 @@ impl ToTokens for MaterialRuleStruct {
Self::Badlands => {
tokens.extend(quote!(MaterialRule::Badlands(BadLandsMaterialRule)));
}
Self::Unsupported => {
tokens.extend(quote!(MaterialRule::Unsupported));
}
}
}
}
@ -549,7 +543,6 @@ pub fn build() -> TokenStream {
Sequence(SequenceMaterialRule),
Condition(ConditionMaterialRule),
Badlands(BadLandsMaterialRule),
Unsupported,
}

View File

@ -4,8 +4,8 @@ use serde_json::Value;
use std::fs;
use crate::placed_feature::{
value_to_block_direction, value_to_block_predicate, value_to_block_state_codec,
value_to_height_provider, value_to_int_provider,
value_to_block_direction, value_to_block_predicate, value_to_block_state,
value_to_block_state_codec, value_to_height_provider, value_to_int_provider,
};
/// Reads `configured_features.json` and emits a `build_configured_features()` function `TokenStream`.
@ -178,8 +178,8 @@ pub fn value_to_configured_feature(v: &Value) -> TokenStream {
}
}
"minecraft:netherrack_replace_blobs" => {
let target = value_to_block_state_codec(&config["target"]);
let state = value_to_block_state_codec(&config["state"]);
let target = value_to_block_state(&config["target"]);
let state = value_to_block_state(&config["state"]);
let radius = value_to_int_provider(&config["radius"]);
quote! {
ConfiguredFeature::NetherrackReplaceBlobs(ReplaceBlobsFeature {
@ -215,7 +215,7 @@ pub fn value_to_configured_feature(v: &Value) -> TokenStream {
arr.iter()
.map(|t| {
let rule = value_to_rule_test(&t["target"]);
let state = value_to_block_state_codec(&t["state"]);
let state = value_to_block_state(&t["state"]);
quote! { OreTarget { target: #rule, state: #state } }
})
.collect()
@ -238,7 +238,7 @@ pub fn value_to_configured_feature(v: &Value) -> TokenStream {
}
}
"minecraft:spring_feature" => {
let state = value_to_block_state_codec(&config["state"]);
let state = value_to_block_state(&config["state"]);
let req = config["requires_block_below"].as_bool().unwrap_or(true);
let rock = config["rock_count"].as_i64().unwrap_or(4) as i32;
let hole = config["hole_count"].as_i64().unwrap_or(1) as i32;
@ -494,8 +494,12 @@ pub fn value_to_configured_feature(v: &Value) -> TokenStream {
let ground_state = value_to_block_state_provider(&config["ground_state"]);
let vegetation_feature = value_to_inline_placed_feature(&config["vegetation_feature"]);
let surface = match config["surface"].as_str().unwrap_or("floor") {
"ceiling" => quote! { pumpkin_util::math::vertical_surface_type::VerticalSurfaceType::Ceiling },
_ => quote! { pumpkin_util::math::vertical_surface_type::VerticalSurfaceType::Floor },
"ceiling" => {
quote! { pumpkin_util::math::vertical_surface_type::VerticalSurfaceType::Ceiling }
}
_ => {
quote! { pumpkin_util::math::vertical_surface_type::VerticalSurfaceType::Floor }
}
};
let depth = value_to_int_provider(&config["depth"]);
let extra_bottom = config["extra_bottom_block_chance"].as_f64().unwrap_or(0.0) as f32;
@ -669,7 +673,7 @@ fn value_to_block_state_provider(v: &Value) -> TokenStream {
let type_str = v["type"].as_str().unwrap_or("");
match type_str {
"minecraft:simple_state_provider" => {
let state = value_to_block_state_codec(&v["state"]);
let state = value_to_block_state(&v["state"]);
quote! { BlockStateProvider::Simple(SimpleStateProvider { state: #state }) }
}
"minecraft:weighted_state_provider" => {
@ -678,7 +682,7 @@ fn value_to_block_state_provider(v: &Value) -> TokenStream {
.map(|arr| {
arr.iter()
.map(|e| {
let data = value_to_block_state_codec(&e["data"]);
let data = value_to_block_state(&e["data"]);
let weight = e["weight"].as_i64().unwrap_or(1) as i32;
quote! { Weighted { data: #data, weight: #weight } }
})
@ -692,14 +696,14 @@ fn value_to_block_state_provider(v: &Value) -> TokenStream {
}
}
"minecraft:rotated_block_provider" => {
let state = value_to_block_state_codec(&v["state"]);
let state = value_to_block_state(&v["state"]);
quote! { BlockStateProvider::Pillar(PillarBlockStateProvider { state: #state }) }
}
"minecraft:noise_provider" => {
let base = value_to_noise_base(v);
let states: Vec<TokenStream> = v["states"]
.as_array()
.map(|arr| arr.iter().map(value_to_block_state_codec).collect())
.map(|arr| arr.iter().map(value_to_block_state).collect())
.unwrap_or_default();
quote! {
BlockStateProvider::NoiseProvider(NoiseBlockStateProvider {
@ -712,7 +716,7 @@ fn value_to_block_state_provider(v: &Value) -> TokenStream {
let base_provider = value_to_noise_base(v);
let states: Vec<TokenStream> = v["states"]
.as_array()
.map(|arr| arr.iter().map(value_to_block_state_codec).collect())
.map(|arr| arr.iter().map(value_to_block_state).collect())
.unwrap_or_default();
let base_noise_provider = quote! {
NoiseBlockStateProvider { base: #base_provider, states: vec![#(#states),*] }
@ -734,14 +738,14 @@ fn value_to_block_state_provider(v: &Value) -> TokenStream {
let base = value_to_noise_base(v);
let threshold = v["threshold"].as_f64().unwrap_or(0.0) as f32;
let high_chance = v["high_chance"].as_f64().unwrap_or(0.0) as f32;
let default = value_to_block_state_codec(&v["default_state"]);
let default = value_to_block_state(&v["default_state"]);
let low: Vec<TokenStream> = v["low_states"]
.as_array()
.map(|a| a.iter().map(value_to_block_state_codec).collect())
.map(|a| a.iter().map(value_to_block_state).collect())
.unwrap_or_default();
let high: Vec<TokenStream> = v["high_states"]
.as_array()
.map(|a| a.iter().map(value_to_block_state_codec).collect())
.map(|a| a.iter().map(value_to_block_state).collect())
.unwrap_or_default();
quote! {
BlockStateProvider::NoiseThreshold(NoiseThresholdBlockStateProvider {
@ -770,7 +774,7 @@ fn value_to_block_state_provider(v: &Value) -> TokenStream {
// Default to air
quote! {
BlockStateProvider::Simple(SimpleStateProvider {
state: BlockStateCodec { name: &pumpkin_data::Block::AIR, properties: None },
state: pumpkin_data::Block::AIR.default_state,
})
}
}
@ -824,7 +828,7 @@ fn value_to_rule_test(v: &Value) -> TokenStream {
quote! { RuleTest::BlockMatch(BlockMatchRuleTest { block: #block.to_string() }) }
}
"minecraft:blockstate_match" => {
let state = value_to_block_state_codec(&v["block_state"]);
let state = value_to_block_state(&v["block_state"]);
quote! { RuleTest::BlockStateMatch(BlockStateMatchRuleTest { block_state: #state }) }
}
"minecraft:tag_match" => {
@ -837,7 +841,7 @@ fn value_to_rule_test(v: &Value) -> TokenStream {
quote! { RuleTest::RandomBlockMatch(RandomBlockMatchRuleTest { block: #block.to_string(), probability: #prob }) }
}
"minecraft:random_blockstate_match" => {
let state = value_to_block_state_codec(&v["block_state"]);
let state = value_to_block_state(&v["block_state"]);
let prob = v["probability"].as_f64().unwrap_or(0.5) as f32;
quote! { RuleTest::RandomBlockStateMatch(RandomBlockStateMatchRuleTest { block_state: #state, probability: #prob }) }
}

View File

@ -72,7 +72,7 @@ pub fn build() -> TokenStream {
let dimensions: BTreeMap<String, Dimension> = serde_json::from_str(
&fs::read_to_string("../assets/dimension.json").expect("Missing dimension.json"),
)
.expect("Failed to parse dimension.json");
.expect("Failed to parse dimension.json");
let mut variants = TokenStream::new();
let mut name_to_type = TokenStream::new();

View File

@ -1,6 +1,6 @@
use heck::{ToShoutySnakeCase, ToUpperCamelCase};
use proc_macro2::{Span, TokenStream};
use quote::{format_ident, quote, ToTokens};
use quote::{ToTokens, format_ident, quote};
use serde::Deserialize;
use std::{
collections::{BTreeMap, HashSet},

View File

@ -257,29 +257,45 @@ impl ToTokens for ItemComponents {
.sound
.clone()
.unwrap_or("minecraft:entity.generic.eat".to_string());
let variant_name = format_ident!("{}", sound_id.strip_prefix("minecraft:").unwrap().to_pascal_case());
let effects: Vec<ConsumeEffect> = consumable.on_consume_effects.clone().unwrap_or(vec![]);
let variant_name = format_ident!(
"{}",
sound_id
.strip_prefix("minecraft:")
.unwrap()
.to_pascal_case()
);
let effects: Vec<ConsumeEffect> =
consumable.on_consume_effects.clone().unwrap_or(vec![]);
let mut effect_tokens = TokenStream::new();
for effect in effects {
match effect.r#type.as_str() {
"minecraft:clear_all_effects" => {
effect_tokens.extend(quote! { ConsumeEffect::ClearAllEffects, });
},
}
"minecraft:teleport_randomly" => {
let diameter = effect.diameter.unwrap_or(16.);
effect_tokens.extend(quote! { ConsumeEffect::TeleportRandomly(#diameter), });
},
effect_tokens
.extend(quote! { ConsumeEffect::TeleportRandomly(#diameter), });
}
"minecraft:play_sound" => {
let sound = format_ident!(
"{}",
effect.sound.unwrap().strip_prefix("minecraft:").unwrap().to_pascal_case()
effect
.sound
.unwrap()
.strip_prefix("minecraft:")
.unwrap()
.to_pascal_case()
);
effect_tokens.extend(quote! { ConsumeEffect::PlaySound(IdOr::Id(Sound::#sound)), });
},
effect_tokens
.extend(quote! { ConsumeEffect::PlaySound(IdOr::Id(Sound::#sound)), });
}
"minecraft:apply_effects" => {
let probability = effect.probability.unwrap_or(1.);
if let StringOrStatusEffects::Effects(status_effect_instances) = effect.effects.unwrap() {
if let StringOrStatusEffects::Effects(status_effect_instances) =
effect.effects.unwrap()
{
let mut status_tokens = TokenStream::new();
for status in status_effect_instances {
@ -304,20 +320,23 @@ impl ToTokens for ItemComponents {
ConsumeEffect::ApplyEffects((Cow::Borrowed(&[#status_tokens]), #probability)),
});
}
},
}
"minecraft:remove_effects" => {
if let StringOrStatusEffects::String(id) = effect.effects.unwrap() {
let effect_id = format_ident!(
"{}",
id.strip_prefix("minecraft:").unwrap().to_pascal_case().to_uppercase()
id.strip_prefix("minecraft:")
.unwrap()
.to_pascal_case()
.to_uppercase()
);
effect_tokens.extend(quote! {
ConsumeEffect::RemoveEffects(IDSet::IDs(Cow::Borrowed(&[&StatusEffect::#effect_id]))),
});
}
},
_ => println!("Unknown CustomEffect type: {}", effect.r#type)
}
_ => println!("Unknown CustomEffect type: {}", effect.r#type),
}
}
@ -339,7 +358,10 @@ impl ToTokens for ItemComponents {
}
if let Some(weapon) = &self.weapon {
let damage = LitInt::new(&weapon.item_damage_per_attack.to_string(), Span::call_site());
let damage = LitInt::new(
&weapon.item_damage_per_attack.to_string(),
Span::call_site(),
);
tokens.extend(quote! { (Weapon, &WeaponImpl { item_damage_per_attack: #damage }), });
}
@ -460,7 +482,8 @@ impl ToTokens for ItemComponents {
.equip_sound
.as_ref()
.map(|s| {
let variant_name = format_ident!("{}", s.strip_prefix("minecraft:").unwrap().to_pascal_case());
let variant_name =
format_ident!("{}", s.strip_prefix("minecraft:").unwrap().to_pascal_case());
quote! { IdOr::Id(Sound::#variant_name) }
})
.unwrap_or(quote! { IdOr::Id(Sound::ItemArmorEquipGeneric) });
@ -499,7 +522,7 @@ impl ToTokens for ItemComponents {
IDSet::IDs(Cow::Borrowed(&[&crate::entity_type::EntityType::#ident]))
});
}
},
}
StringOrList::List(items) => {
let mut ids = TokenStream::new();
for x in items {
@ -513,7 +536,7 @@ impl ToTokens for ItemComponents {
allowed_entities.extend(quote! {
IDSet::IDs(Cow::Borrowed(&[#ids]))
});
},
}
}
entities_option.extend(quote! { Some(#allowed_entities) });
@ -529,7 +552,8 @@ impl ToTokens for ItemComponents {
.shearing_sound
.as_ref()
.map(|s| {
let variant_name = format_ident!("{}", s.strip_prefix("minecraft:").unwrap().to_pascal_case());
let variant_name =
format_ident!("{}", s.strip_prefix("minecraft:").unwrap().to_pascal_case());
quote! { IdOr::Id(Sound::#variant_name) }
})
.unwrap_or(quote! { IdOr::Id(Sound::ItemShearsSnip) });
@ -637,7 +661,7 @@ pub struct Consumable {
has_consume_particles: Option<bool>,
animation: Option<String>,
sound: Option<String>,
on_consume_effects: Option<Vec<ConsumeEffect>>
on_consume_effects: Option<Vec<ConsumeEffect>>,
}
#[derive(Deserialize, Clone)]
pub struct ConsumeEffect {
@ -645,7 +669,7 @@ pub struct ConsumeEffect {
probability: Option<f32>,
diameter: Option<f32>,
sound: Option<String>,
effects: Option<StringOrStatusEffects>
effects: Option<StringOrStatusEffects>,
}
#[derive(Deserialize, Clone)]
pub struct StatusEffectInstance {
@ -660,7 +684,7 @@ pub struct StatusEffectInstance {
#[serde(untagged)]
pub enum StringOrStatusEffects {
String(String),
Effects(Vec<StatusEffectInstance>)
Effects(Vec<StatusEffectInstance>),
}
/// Deserialized death-protection component (e.g., totem of undying); fields are unimplemented.
@ -693,7 +717,7 @@ pub struct DamageResistantComponent {
#[serde(untagged)]
pub enum StringOrList {
String(String),
List(Vec<String>)
List(Vec<String>),
}
/// Deserialized equippable component describing how an item is worn or equipped.

View File

@ -63,11 +63,7 @@ pub struct LootPoolStruct {
impl ToTokens for LootPoolStruct {
/// Emits a `LootPool { … }` struct literal token stream for code generation.
fn to_tokens(&self, tokens: &mut TokenStream) {
let entries_tokens: Vec<_> = self
.entries
.iter()
.map(ToTokens::to_token_stream)
.collect();
let entries_tokens: Vec<_> = self.entries.iter().map(ToTokens::to_token_stream).collect();
let rolls = &self.rolls;
let bonus_rolls = &self.bonus_rolls;
let conditions_tokens = if let Some(conds) = &self.conditions {

View File

@ -16,6 +16,7 @@ pub fn build() -> TokenStream {
(MinecraftVersion::V_1_21_7, "1_21_7_meta_data_type.json"),
(MinecraftVersion::V_1_21_9, "1_21_9_meta_data_type.json"),
(MinecraftVersion::V_1_21_11, "1_21_11_meta_data_type.json"),
(MinecraftVersion::V_26_1, "26_1_meta_data_type.json"),
];
let mut handlers_map: BTreeMap<String, BTreeMap<MinecraftVersion, i32>> = BTreeMap::new();

View File

@ -7,7 +7,7 @@ use std::{
use heck::ToShoutySnakeCase;
use proc_macro2::{Punct, Spacing, Span, TokenStream};
use quote::{quote, ToTokens, TokenStreamExt};
use quote::{ToTokens, TokenStreamExt, quote};
use serde::Deserialize;
use syn::Ident;
@ -246,6 +246,9 @@ impl LinearOperation {
/// Single-argument transformation applied to a density value.
#[derive(Deserialize, Hash, Copy, Clone)]
enum UnaryOperation {
/// Returns the reciprocal (1/x) of the value.
#[serde(rename(deserialize = "INVERT"))]
Invert,
/// Returns the absolute value.
#[serde(rename(deserialize = "ABS"))]
Abs,
@ -270,6 +273,11 @@ impl UnaryOperation {
/// Emits the token stream for this unary operation variant.
fn into_token_stream(self) -> TokenStream {
match self {
Self::Invert => {
quote! {
UnaryOperation::Invert
}
}
Self::Abs => {
quote! {
UnaryOperation::Abs
@ -496,6 +504,16 @@ struct LinearData {
max_value: HashableF64,
}
#[derive(Deserialize, Hash)]
struct FindTopSurfaceData {
/// Lower Y bound to stop searching at.
#[serde(rename(deserialize = "lowerBound"))]
lower_bound: i32,
/// Step size between Y levels when searching.
#[serde(rename(deserialize = "cellHeight"))]
cell_height: i32,
}
/// Deserialized parameters for a unary density function transformation.
#[derive(Deserialize, Hash)]
struct UnaryData {
@ -560,6 +578,16 @@ enum DensityFunctionRepr {
/// The inner density function to blend.
input: Box<Self>,
},
FindTopSurface {
/// The density function to test for solidity.
density: Box<Self>,
/// The density function providing the upper Y bound.
#[serde(rename(deserialize = "upperBound"))]
upper_bound: Box<Self>,
/// Lower bound and step size parameters.
#[serde(flatten)]
data: FindTopSurfaceData,
},
/// End-islands noise sampler, seeded at runtime.
EndIslands,
/// A standard noise sampler.
@ -746,6 +774,28 @@ impl DensityFunctionRepr {
}
}
}
Self::FindTopSurface {
density,
upper_bound,
data,
} => {
let density_index = density.get_index_for_component(stack, hash_to_index_map);
let upper_bound_index =
upper_bound.get_index_for_component(stack, hash_to_index_map);
let lower_bound = data.lower_bound;
let cell_height = data.cell_height;
quote! {
BaseNoiseFunctionComponent::FindTopSurface {
density_index: #density_index,
upper_bound_index: #upper_bound_index,
data: &FindTopSurfaceData {
lower_bound: #lower_bound,
cell_height: #cell_height,
},
}
}
}
Self::EndIslands => quote! {
BaseNoiseFunctionComponent::EndIslands
},
@ -1045,8 +1095,8 @@ struct NoiseRouterRepr {
/// Density function for terrain ridge shaping.
ridges: DensityFunctionRepr,
/// Preliminary surface density used for above-surface checks (without jaggedness).
#[serde(rename(deserialize = "initialDensityWithoutJaggedness"))]
initial_density_without_jaggedness: DensityFunctionRepr,
#[serde(rename(deserialize = "preliminarySurfaceLevel"))]
preliminary_surface_level: DensityFunctionRepr,
/// Final solid/air density used for block placement.
#[serde(rename(deserialize = "finalDensity"))]
final_density: DensityFunctionRepr,
@ -1106,7 +1156,7 @@ impl NoiseRouterRepr {
let mut surface_component_stack = Vec::new();
let mut surface_lookup_map = BTreeMap::new();
let _ = self
.initial_density_without_jaggedness
.preliminary_surface_level
.get_index_for_component(&mut surface_component_stack, &mut surface_lookup_map);
let mut multinoise_component_stack = Vec::new();
@ -1209,6 +1259,11 @@ pub fn build() -> TokenStream {
pub y_scale: f64,
}
pub struct FindTopSurfaceData {
pub lower_bound: i32,
pub cell_height: i32,
}
pub struct ShiftedNoiseData {
pub xz_scale: f64,
pub y_scale: f64,
@ -1322,6 +1377,7 @@ pub fn build() -> TokenStream {
HalfNegative,
QuarterNegative,
Squeeze,
Invert, // new in 26.1
}
pub struct UnaryData {
@ -1353,6 +1409,9 @@ pub fn build() -> TokenStream {
let clamped = density.clamp(-1.0, 1.0);
clamped / 2.0 - clamped * clamped * clamped / 24.0
}
UnaryOperation::Invert => {
if density == 0.0 { f64::INFINITY } else { 1.0 / density }
},
}
}
}
@ -1406,6 +1465,11 @@ pub fn build() -> TokenStream {
BlendDensity {
input_index: usize,
},
FindTopSurface {
density_index: usize,
upper_bound_index: usize,
data: &'static FindTopSurfaceData,
},
EndIslands,
Noise {
data: &'static NoiseData,

View File

@ -6,7 +6,7 @@ use std::{collections::BTreeMap, fs};
use crate::version::MinecraftVersion;
/// The newest protocol version used as the fallback for unknown versions in `PacketId::to_id`.
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_1_21_11;
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_26_1;
/// Raw deserialization shape for a single versioned packet mapping file.
#[derive(Deserialize)]
@ -32,13 +32,13 @@ pub(crate) fn build() -> TokenStream {
(MinecraftVersion::V_1_21_7, "1_21_7_packets.json"),
(MinecraftVersion::V_1_21_9, "1_21_9_packets.json"),
(MinecraftVersion::V_1_21_11, "1_21_11_packets.json"),
(MinecraftVersion::V_26_1, "26_1_packets.json"),
];
// Parse available packet files into a BTreeMap keyed by MinecraftVersion
let mut versions = BTreeMap::new();
for (ver, file) in assets {
let path = format!("../assets/packet/{file}");
println!("cargo:rerun-if-changed={path}");
let content = fs::read_to_string(&path)
.unwrap_or_else(|_| panic!("Failed to read packet JSON file: {path}"));

View File

@ -658,6 +658,31 @@ pub fn value_to_block_state_codec(v: &Value) -> TokenStream {
}
}
pub fn value_to_block_state(v: &Value) -> TokenStream {
let name = v["Name"].as_str().unwrap_or("minecraft:air");
let name_stripped = name.strip_prefix("minecraft:").unwrap_or(name);
let block_ident =
quote::format_ident!("{}", name_stripped.to_uppercase().replace([':', '-'], "_"));
if let Some(props) = v["Properties"].as_object() {
let keys: Vec<&str> = props.keys().map(|k| k.as_str()).collect();
let vals: Vec<&str> = props.values().filter_map(|v| v.as_str()).collect();
quote! {
{
let mut props = std::collections::HashMap::new();
#(props.insert(#keys.to_string(), #vals.to_string());)*
BlockStateCodec {
name: &pumpkin_data::Block::#block_ident,
properties: Some(props),
}.get_state()
}
}
} else {
quote! {
pumpkin_data::Block::#block_ident.default_state
}
}
}
/// Converts a nullable JSON integer into an `Option<i32>` token stream.
///
/// # Arguments

View File

@ -7,7 +7,7 @@ use std::fs;
use crate::version::MinecraftVersion;
/// The newest protocol version whose registry data is used as the fallback for unknown versions.
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_1_21_11;
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_26_1;
/// Generates the `TokenStream` for the `Registry` and `StaticRegistry` structs, version-keyed
/// static registry data, and the `Registry::get_synced` method.
@ -24,6 +24,7 @@ pub(crate) fn build() -> TokenStream {
MinecraftVersion::V_1_21_11,
"1_21_11_synced_registries.json",
),
(MinecraftVersion::V_26_1, "26_1_synced_registries.json"),
];
let process_version = |path: &str| -> TokenStream {
@ -76,7 +77,6 @@ pub(crate) fn build() -> TokenStream {
for (ver, file) in assets {
let path = format!("../assets/registry/{file}");
println!("cargo:rerun-if-changed={path}");
let registries = process_version(&path);

View File

@ -44,7 +44,7 @@ pub fn build() -> TokenStream {
};
let remapper: Remapper<_, Option<Vec<u16>>> = Remapper {
version: MinecraftVersion::V_1_21_11,
version: MinecraftVersion::V_26_1,
remapper: |first, second| match (first, second) {
(Some(first), Some(second)) => Some(
first

View File

@ -44,7 +44,7 @@ pub fn build() -> TokenStream {
};
let remapper: Remapper<_, Option<Vec<u16>>> = Remapper {
version: MinecraftVersion::V_1_21_11,
version: MinecraftVersion::V_26_1,
remapper: |first, second| match (first, second) {
(Some(first), Some(second)) => Some(
first

View File

@ -60,7 +60,7 @@ pub fn build() -> TokenStream {
};
let remapper: Remapper<_, Option<Vec<u16>>> = Remapper {
version: MinecraftVersion::V_1_21_11,
version: MinecraftVersion::V_26_1,
remapper: |first, second| match (first, second) {
(Some(first), Some(second)) => Some(
first

View File

@ -11,7 +11,7 @@ use crate::item::Item;
use crate::{biome::Biome, version::MinecraftVersion};
use heck::ToPascalCase;
use proc_macro2::TokenStream;
use quote::{format_ident, quote, ToTokens};
use quote::{ToTokens, format_ident, quote};
/// Builder that generates an enum with `from_string` and `identifier_string` methods.
pub struct EnumCreator {
@ -66,17 +66,12 @@ impl ToTokens for EnumCreator {
}
/// The newest protocol version whose tag data is served as the latest-version fallback.
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_1_21_11;
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_26_1;
/// Generates the `TokenStream` for the `Tag` type, `RegistryKey` enum, all per-version tag
/// modules, and the `Taggable` trait with its lookup helpers.
pub(crate) fn build() -> TokenStream {
// --- Rerun Triggers ---
println!("cargo:rerun-if-changed=../assets/blocks.json");
println!("cargo:rerun-if-changed=../assets/items.json");
println!("cargo:rerun-if-changed=../assets/biome.json");
println!("cargo:rerun-if-changed=../assets/fluids.json");
println!("cargo:rerun-if-changed=../assets/entities.json");
// Watch specific tag versions
let assets = [
@ -89,6 +84,7 @@ pub(crate) fn build() -> TokenStream {
(MinecraftVersion::V_1_21_7, "1_21_7_tags.json"),
(MinecraftVersion::V_1_21_9, "1_21_9_tags.json"),
(MinecraftVersion::V_1_21_11, "1_21_11_tags.json"),
(MinecraftVersion::V_26_1, "26_1_tags.json"),
];
// --- Load Global Assets ---
@ -151,7 +147,6 @@ pub(crate) fn build() -> TokenStream {
for (ver, file) in assets {
let file_path = format!("../assets/tags/{file}");
println!("cargo:rerun-if-changed={file_path}");
let tags: BTreeMap<String, BTreeMap<String, Vec<String>>> =
serde_json::from_str(&fs::read_to_string(&file_path).unwrap()).unwrap();

View File

@ -5,7 +5,7 @@ use std::{collections::BTreeMap, fs};
use crate::version::MinecraftVersion;
/// The newest protocol version used as the fallback for unknown versions in `TrackedId::get`.
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_1_21_11;
const LATEST_VERSION: MinecraftVersion = MinecraftVersion::V_26_1;
/// Generates the `TokenStream` for `TrackedId`, `TrackedData`, and all per-entity tracking constants.
pub(crate) fn build() -> TokenStream {
@ -18,12 +18,12 @@ pub(crate) fn build() -> TokenStream {
(MinecraftVersion::V_1_21_7, "1_21_7_tracked_data.json"),
(MinecraftVersion::V_1_21_9, "1_21_9_tracked_data.json"),
(MinecraftVersion::V_1_21_11, "1_21_11_tracked_data.json"),
(MinecraftVersion::V_26_1, "26_1_tracked_data.json"),
];
let mut versions = BTreeMap::new();
for (ver, file) in assets {
let path = format!("../assets/tracked_data/{file}");
println!("cargo:rerun-if-changed={path}");
let content = fs::read_to_string(&path)
.unwrap_or_else(|e| panic!("Failed to read JSON file: {path} {e}"));
@ -96,10 +96,22 @@ fn generate_struct<T>(versions: &BTreeMap<MinecraftVersion, T>) -> TokenStream {
/// Generates `TrackedId` constants for every tracked data key present in the latest version.
fn generate_consts(versions: &BTreeMap<MinecraftVersion, BTreeMap<String, u8>>) -> TokenStream {
let mut constants = TokenStream::new();
let mut generated_names = std::collections::HashSet::new();
let latest_data = versions.get(&LATEST_VERSION).unwrap();
for name in latest_data.keys() {
let ident = format_ident!("DATA_{}", name.to_uppercase());
let name_upper = name.to_uppercase();
let final_name = if let Some(stripped) = name_upper.strip_prefix("DATA_") {
stripped.to_string()
} else {
name_upper.to_string()
};
if !generated_names.insert(final_name.clone()) {
continue;
}
let ident = format_ident!("{}", final_name);
let mut fields = TokenStream::new();
for (ver, data) in versions.iter() {

View File

@ -73,6 +73,7 @@ pub enum MinecraftVersion {
V_1_21_7,
V_1_21_9,
V_1_21_11,
V_26_1,
}
impl MinecraftVersion {
@ -131,6 +132,7 @@ impl MinecraftVersion {
Self::V_1_21_7 => format_ident!("v1_21_7"),
Self::V_1_21_9 => format_ident!("v1_21_9"),
Self::V_1_21_11 => format_ident!("v1_21_11"),
Self::V_26_1 => format_ident!("v26_1"),
}
}
}
@ -188,6 +190,7 @@ impl ToTokens for MinecraftVersion {
Self::V_1_21_7 => quote! { pumpkin_util::version::MinecraftVersion::V_1_21_7 },
Self::V_1_21_9 => quote! { pumpkin_util::version::MinecraftVersion::V_1_21_9 },
Self::V_1_21_11 => quote! { pumpkin_util::version::MinecraftVersion::V_1_21_11 },
Self::V_26_1 => quote! { pumpkin_util::version::MinecraftVersion::V_26_1 },
});
}
}

View File

@ -1,7 +1,7 @@
use pumpkin_util::math::boundingbox::BoundingBox;
use pumpkin_util::math::vector3::Vector3;
use crate::block_properties::{COLLISION_SHAPES, Instrument};
use crate::block_properties::{COLLISION_SHAPES, NoteblockInstrument};
use crate::{Block, BlockDirection};
/// Represents a specific state of a block, including its properties and physical behaviors.
@ -18,7 +18,7 @@ pub struct BlockState {
/// Cached flags for each of the 6 sides to speed up ambient occlusion and face culling.
pub side_flags: u8,
/// The note block instrument produced when this block is placed underneath one.
pub instrument: Instrument,
pub instrument: NoteblockInstrument,
/// The light level emitted by this block, ranging from 0 to 15.
pub luminance: u8,
/// Defines how the block reacts to being pushed or pulled by a piston.

View File

@ -20,8 +20,6 @@ pub struct Block {
pub id: u16,
/// The unique namespaced ID (e.g., "`diamond_ore`").
pub name: &'static str,
/// The key used for client-side localization (e.g., "`block.minecraft.diamond_ore`").
pub translation_key: &'static str,
/// How hard the block is to break. A value of -1.0 indicates an unbreakable block (e.g., Bedrock).
pub hardness: f32,
/// The block's resistance to explosions.

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/* This file is generated. Do not edit manually. */
pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21: &[u16] = &[
pub static BLOCK_STATE_REMAP_V_26_1_TO_V_1_21: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 43, 44, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
@ -2101,7 +2101,7 @@ pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21: &[u16] = &[
27304, 27305, 27306, 27307, 27308, 27309, 27310, 27311, 27312, 27313, 27314, 27315, 27316,
27317, 0, 0, 0, 0, 0,
];
pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_2: &[u16] = &[
pub static BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_2: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -4207,7 +4207,7 @@ pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_2: &[u16] = &[
27301, 27302, 27303, 27304, 27305, 27306, 27307, 27308, 27309, 27310, 27311, 27312, 27313,
27314, 27315, 27316, 27317, 27862, 27863, 27864, 27865, 0,
];
pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_4: &[u16] = &[
pub static BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_4: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -6321,7 +6321,7 @@ pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_4: &[u16] = &[
27847, 27848, 27849, 27850, 27851, 27852, 27853, 27854, 27855, 27856, 27857, 27858, 27859,
27860, 27861, 27862, 27863, 27864, 27865, 27913,
];
pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_5: &[u16] = &[
pub static BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_5: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -8435,7 +8435,7 @@ pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_5: &[u16] = &[
27893, 27894, 27895, 27896, 27897, 27898, 27899, 27900, 27901, 27902, 27903, 27904, 27905,
27906, 27907, 27908, 27909, 27910, 27911, 27912, 27913,
];
pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_6: &[u16] = &[
pub static BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_6: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -10549,7 +10549,7 @@ pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_6: &[u16] = &[
27925, 27926, 27927, 27928, 27929, 27930, 27931, 27932, 27933, 27934, 27935, 27936, 27937,
27938, 27939, 27940, 27941, 27942, 27943, 27944, 27945,
];
pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_7: &[u16] = &[
pub static BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_7: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -12663,7 +12663,7 @@ pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_7: &[u16] = &[
27925, 27926, 27927, 27928, 27929, 27930, 27931, 27932, 27933, 27934, 27935, 27936, 27937,
27938, 27939, 27940, 27941, 27942, 27943, 27944, 27945,
];
pub static BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_9: &[u16] = &[
pub static BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_9: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -14799,46 +14799,34 @@ pub fn remap_block_state_for_version(
version: pumpkin_util::version::MinecraftVersion,
) -> u16 {
match version {
pumpkin_util::version::MinecraftVersion::V_1_21 => BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21
pumpkin_util::version::MinecraftVersion::V_1_21 => BLOCK_STATE_REMAP_V_26_1_TO_V_1_21
.get(usize::from(state_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_2 => BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_2
.get(usize::from(state_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_4 => BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_4
.get(usize::from(state_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_5 => BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_5
.get(usize::from(state_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_6 => BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_6
.get(usize::from(state_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_7 => BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_7
.get(usize::from(state_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_9 => BLOCK_STATE_REMAP_V_26_1_TO_V_1_21_9
.get(usize::from(state_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_2 => {
BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_2
.get(usize::from(state_id))
.copied()
.unwrap_or(0)
}
pumpkin_util::version::MinecraftVersion::V_1_21_4 => {
BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_4
.get(usize::from(state_id))
.copied()
.unwrap_or(0)
}
pumpkin_util::version::MinecraftVersion::V_1_21_5 => {
BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_5
.get(usize::from(state_id))
.copied()
.unwrap_or(0)
}
pumpkin_util::version::MinecraftVersion::V_1_21_6 => {
BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_6
.get(usize::from(state_id))
.copied()
.unwrap_or(0)
}
pumpkin_util::version::MinecraftVersion::V_1_21_7 => {
BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_7
.get(usize::from(state_id))
.copied()
.unwrap_or(0)
}
pumpkin_util::version::MinecraftVersion::V_1_21_9 => {
BLOCK_STATE_REMAP_V_1_21_11_TO_V_1_21_9
.get(usize::from(state_id))
.copied()
.unwrap_or(0)
}
_ => state_id,
}
}

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,6 @@ pub enum MaterialRule {
Sequence(SequenceMaterialRule),
Condition(ConditionMaterialRule),
Badlands(BadLandsMaterialRule),
Unsupported,
}
pub struct BiomeMaterialCondition {
pub biome_is: &'static [&'static Biome],

View File

@ -34,7 +34,6 @@ pub const fn get_composter_increase_chance_from_item_id(item_id: u16) -> Option<
211 => Some(0.3f32),
212 => Some(0.65f32),
229 => Some(0.65f32),
230 => Some(0.65f32),
231 => Some(0.65f32),
232 => Some(0.65f32),
233 => Some(0.65f32),
@ -48,75 +47,76 @@ pub const fn get_composter_increase_chance_from_item_id(item_id: u16) -> Option<
241 => Some(0.65f32),
242 => Some(0.65f32),
243 => Some(0.65f32),
244 => Some(0.85f32),
244 => Some(0.65f32),
245 => Some(0.85f32),
246 => Some(0.65f32),
246 => Some(0.85f32),
247 => Some(0.65f32),
248 => Some(0.65f32),
249 => Some(0.65f32),
250 => Some(0.65f32),
251 => Some(0.65f32),
252 => Some(0.65f32),
253 => Some(0.5f32),
253 => Some(0.65f32),
254 => Some(0.5f32),
255 => Some(0.5f32),
256 => Some(0.5f32),
257 => Some(0.3f32),
257 => Some(0.5f32),
258 => Some(0.3f32),
259 => Some(0.3f32),
260 => Some(0.3f32),
261 => Some(0.3f32),
262 => Some(0.65f32),
263 => Some(0.3f32),
262 => Some(0.3f32),
263 => Some(0.65f32),
264 => Some(0.3f32),
265 => Some(0.65f32),
266 => Some(0.3f32),
267 => Some(0.65f32),
268 => Some(0.3f32),
340 => Some(0.5f32),
341 => Some(0.3f32),
356 => Some(0.65f32),
265 => Some(0.3f32),
266 => Some(0.65f32),
267 => Some(0.3f32),
268 => Some(0.65f32),
269 => Some(0.3f32),
341 => Some(0.5f32),
342 => Some(0.3f32),
357 => Some(0.65f32),
387 => Some(0.85f32),
358 => Some(0.65f32),
388 => Some(0.85f32),
389 => Some(0.65f32),
409 => Some(0.65f32),
410 => Some(0.5f32),
389 => Some(0.85f32),
390 => Some(0.65f32),
410 => Some(0.65f32),
411 => Some(0.5f32),
423 => Some(0.65f32),
504 => Some(0.85f32),
524 => Some(0.65f32),
412 => Some(0.5f32),
424 => Some(0.65f32),
505 => Some(0.85f32),
525 => Some(0.65f32),
526 => Some(0.65f32),
527 => Some(0.65f32),
528 => Some(0.5f32),
529 => Some(0.65f32),
576 => Some(0.85f32),
528 => Some(0.65f32),
529 => Some(0.5f32),
530 => Some(0.65f32),
577 => Some(0.85f32),
893 => Some(0.65f32),
951 => Some(0.3f32),
952 => Some(0.65f32),
953 => Some(0.85f32),
1027 => Some(0.5f32),
1065 => Some(0.65f32),
1085 => Some(1f32),
1102 => Some(0.85f32),
1106 => Some(0.5f32),
1107 => Some(0.3f32),
578 => Some(0.85f32),
894 => Some(0.65f32),
952 => Some(0.3f32),
953 => Some(0.65f32),
954 => Some(0.85f32),
1028 => Some(0.5f32),
1066 => Some(0.65f32),
1086 => Some(1f32),
1103 => Some(0.85f32),
1107 => Some(0.5f32),
1108 => Some(0.3f32),
1109 => Some(0.3f32),
1119 => Some(0.65f32),
1227 => Some(0.65f32),
1110 => Some(0.3f32),
1120 => Some(0.65f32),
1228 => Some(0.65f32),
1229 => Some(0.85f32),
1241 => Some(1f32),
1285 => Some(0.3f32),
1229 => Some(0.65f32),
1230 => Some(0.85f32),
1242 => Some(1f32),
1286 => Some(0.3f32),
1287 => Some(0.65f32),
1288 => Some(0.3f32),
1373 => Some(0.3f32),
1287 => Some(0.3f32),
1288 => Some(0.65f32),
1289 => Some(0.3f32),
1374 => Some(0.3f32),
1377 => Some(0.65f32),
1375 => Some(0.3f32),
1378 => Some(0.65f32),
_ => None,
}
}

File diff suppressed because it is too large Load Diff

View File

@ -44,69 +44,75 @@ pub enum DataComponent {
PiercingWeapon = 38u8,
KineticWeapon = 39u8,
SwingAnimation = 40u8,
StoredEnchantments = 41u8,
DyedColor = 42u8,
MapColor = 43u8,
MapId = 44u8,
MapDecorations = 45u8,
MapPostProcessing = 46u8,
ChargedProjectiles = 47u8,
BundleContents = 48u8,
PotionContents = 49u8,
PotionDurationScale = 50u8,
SuspiciousStewEffects = 51u8,
WritableBookContent = 52u8,
WrittenBookContent = 53u8,
Trim = 54u8,
DebugStickState = 55u8,
EntityData = 56u8,
BucketEntityData = 57u8,
BlockEntityData = 58u8,
Instrument = 59u8,
ProvidesTrimMaterial = 60u8,
OminousBottleAmplifier = 61u8,
JukeboxPlayable = 62u8,
ProvidesBannerPatterns = 63u8,
Recipes = 64u8,
LodestoneTracker = 65u8,
FireworkExplosion = 66u8,
Fireworks = 67u8,
Profile = 68u8,
NoteBlockSound = 69u8,
BannerPatterns = 70u8,
BaseColor = 71u8,
PotDecorations = 72u8,
Container = 73u8,
BlockState = 74u8,
Bees = 75u8,
Lock = 76u8,
ContainerLoot = 77u8,
BreakSound = 78u8,
VillagerVariant = 79u8,
WolfVariant = 80u8,
WolfSoundVariant = 81u8,
WolfCollar = 82u8,
FoxVariant = 83u8,
SalmonSize = 84u8,
ParrotVariant = 85u8,
TropicalFishPattern = 86u8,
TropicalFishBaseColor = 87u8,
TropicalFishPatternColor = 88u8,
MooshroomVariant = 89u8,
RabbitVariant = 90u8,
PigVariant = 91u8,
CowVariant = 92u8,
ChickenVariant = 93u8,
ZombieNautilusVariant = 94u8,
FrogVariant = 95u8,
HorseVariant = 96u8,
PaintingVariant = 97u8,
LlamaVariant = 98u8,
AxolotlVariant = 99u8,
CatVariant = 100u8,
CatCollar = 101u8,
SheepColor = 102u8,
ShulkerColor = 103u8,
AdditionalTradeCost = 41u8,
StoredEnchantments = 42u8,
Dye = 43u8,
DyedColor = 44u8,
MapColor = 45u8,
MapId = 46u8,
MapDecorations = 47u8,
MapPostProcessing = 48u8,
ChargedProjectiles = 49u8,
BundleContents = 50u8,
PotionContents = 51u8,
PotionDurationScale = 52u8,
SuspiciousStewEffects = 53u8,
WritableBookContent = 54u8,
WrittenBookContent = 55u8,
Trim = 56u8,
DebugStickState = 57u8,
EntityData = 58u8,
BucketEntityData = 59u8,
BlockEntityData = 60u8,
Instrument = 61u8,
ProvidesTrimMaterial = 62u8,
OminousBottleAmplifier = 63u8,
JukeboxPlayable = 64u8,
ProvidesBannerPatterns = 65u8,
Recipes = 66u8,
LodestoneTracker = 67u8,
FireworkExplosion = 68u8,
Fireworks = 69u8,
Profile = 70u8,
NoteBlockSound = 71u8,
BannerPatterns = 72u8,
BaseColor = 73u8,
PotDecorations = 74u8,
Container = 75u8,
BlockState = 76u8,
Bees = 77u8,
Lock = 78u8,
ContainerLoot = 79u8,
BreakSound = 80u8,
VillagerVariant = 81u8,
WolfVariant = 82u8,
WolfSoundVariant = 83u8,
WolfCollar = 84u8,
FoxVariant = 85u8,
SalmonSize = 86u8,
ParrotVariant = 87u8,
TropicalFishPattern = 88u8,
TropicalFishBaseColor = 89u8,
TropicalFishPatternColor = 90u8,
MooshroomVariant = 91u8,
RabbitVariant = 92u8,
PigVariant = 93u8,
PigSoundVariant = 94u8,
CowVariant = 95u8,
CowSoundVariant = 96u8,
ChickenVariant = 97u8,
ChickenSoundVariant = 98u8,
ZombieNautilusVariant = 99u8,
FrogVariant = 100u8,
HorseVariant = 101u8,
PaintingVariant = 102u8,
LlamaVariant = 103u8,
AxolotlVariant = 104u8,
CatVariant = 105u8,
CatSoundVariant = 106u8,
CatCollar = 107u8,
SheepColor = 108u8,
ShulkerColor = 109u8,
}
impl DataComponent {
pub const fn to_id(self) -> u8 {
@ -155,69 +161,75 @@ impl DataComponent {
38u8 => Some(DataComponent::PiercingWeapon),
39u8 => Some(DataComponent::KineticWeapon),
40u8 => Some(DataComponent::SwingAnimation),
41u8 => Some(DataComponent::StoredEnchantments),
42u8 => Some(DataComponent::DyedColor),
43u8 => Some(DataComponent::MapColor),
44u8 => Some(DataComponent::MapId),
45u8 => Some(DataComponent::MapDecorations),
46u8 => Some(DataComponent::MapPostProcessing),
47u8 => Some(DataComponent::ChargedProjectiles),
48u8 => Some(DataComponent::BundleContents),
49u8 => Some(DataComponent::PotionContents),
50u8 => Some(DataComponent::PotionDurationScale),
51u8 => Some(DataComponent::SuspiciousStewEffects),
52u8 => Some(DataComponent::WritableBookContent),
53u8 => Some(DataComponent::WrittenBookContent),
54u8 => Some(DataComponent::Trim),
55u8 => Some(DataComponent::DebugStickState),
56u8 => Some(DataComponent::EntityData),
57u8 => Some(DataComponent::BucketEntityData),
58u8 => Some(DataComponent::BlockEntityData),
59u8 => Some(DataComponent::Instrument),
60u8 => Some(DataComponent::ProvidesTrimMaterial),
61u8 => Some(DataComponent::OminousBottleAmplifier),
62u8 => Some(DataComponent::JukeboxPlayable),
63u8 => Some(DataComponent::ProvidesBannerPatterns),
64u8 => Some(DataComponent::Recipes),
65u8 => Some(DataComponent::LodestoneTracker),
66u8 => Some(DataComponent::FireworkExplosion),
67u8 => Some(DataComponent::Fireworks),
68u8 => Some(DataComponent::Profile),
69u8 => Some(DataComponent::NoteBlockSound),
70u8 => Some(DataComponent::BannerPatterns),
71u8 => Some(DataComponent::BaseColor),
72u8 => Some(DataComponent::PotDecorations),
73u8 => Some(DataComponent::Container),
74u8 => Some(DataComponent::BlockState),
75u8 => Some(DataComponent::Bees),
76u8 => Some(DataComponent::Lock),
77u8 => Some(DataComponent::ContainerLoot),
78u8 => Some(DataComponent::BreakSound),
79u8 => Some(DataComponent::VillagerVariant),
80u8 => Some(DataComponent::WolfVariant),
81u8 => Some(DataComponent::WolfSoundVariant),
82u8 => Some(DataComponent::WolfCollar),
83u8 => Some(DataComponent::FoxVariant),
84u8 => Some(DataComponent::SalmonSize),
85u8 => Some(DataComponent::ParrotVariant),
86u8 => Some(DataComponent::TropicalFishPattern),
87u8 => Some(DataComponent::TropicalFishBaseColor),
88u8 => Some(DataComponent::TropicalFishPatternColor),
89u8 => Some(DataComponent::MooshroomVariant),
90u8 => Some(DataComponent::RabbitVariant),
91u8 => Some(DataComponent::PigVariant),
92u8 => Some(DataComponent::CowVariant),
93u8 => Some(DataComponent::ChickenVariant),
94u8 => Some(DataComponent::ZombieNautilusVariant),
95u8 => Some(DataComponent::FrogVariant),
96u8 => Some(DataComponent::HorseVariant),
97u8 => Some(DataComponent::PaintingVariant),
98u8 => Some(DataComponent::LlamaVariant),
99u8 => Some(DataComponent::AxolotlVariant),
100u8 => Some(DataComponent::CatVariant),
101u8 => Some(DataComponent::CatCollar),
102u8 => Some(DataComponent::SheepColor),
103u8 => Some(DataComponent::ShulkerColor),
41u8 => Some(DataComponent::AdditionalTradeCost),
42u8 => Some(DataComponent::StoredEnchantments),
43u8 => Some(DataComponent::Dye),
44u8 => Some(DataComponent::DyedColor),
45u8 => Some(DataComponent::MapColor),
46u8 => Some(DataComponent::MapId),
47u8 => Some(DataComponent::MapDecorations),
48u8 => Some(DataComponent::MapPostProcessing),
49u8 => Some(DataComponent::ChargedProjectiles),
50u8 => Some(DataComponent::BundleContents),
51u8 => Some(DataComponent::PotionContents),
52u8 => Some(DataComponent::PotionDurationScale),
53u8 => Some(DataComponent::SuspiciousStewEffects),
54u8 => Some(DataComponent::WritableBookContent),
55u8 => Some(DataComponent::WrittenBookContent),
56u8 => Some(DataComponent::Trim),
57u8 => Some(DataComponent::DebugStickState),
58u8 => Some(DataComponent::EntityData),
59u8 => Some(DataComponent::BucketEntityData),
60u8 => Some(DataComponent::BlockEntityData),
61u8 => Some(DataComponent::Instrument),
62u8 => Some(DataComponent::ProvidesTrimMaterial),
63u8 => Some(DataComponent::OminousBottleAmplifier),
64u8 => Some(DataComponent::JukeboxPlayable),
65u8 => Some(DataComponent::ProvidesBannerPatterns),
66u8 => Some(DataComponent::Recipes),
67u8 => Some(DataComponent::LodestoneTracker),
68u8 => Some(DataComponent::FireworkExplosion),
69u8 => Some(DataComponent::Fireworks),
70u8 => Some(DataComponent::Profile),
71u8 => Some(DataComponent::NoteBlockSound),
72u8 => Some(DataComponent::BannerPatterns),
73u8 => Some(DataComponent::BaseColor),
74u8 => Some(DataComponent::PotDecorations),
75u8 => Some(DataComponent::Container),
76u8 => Some(DataComponent::BlockState),
77u8 => Some(DataComponent::Bees),
78u8 => Some(DataComponent::Lock),
79u8 => Some(DataComponent::ContainerLoot),
80u8 => Some(DataComponent::BreakSound),
81u8 => Some(DataComponent::VillagerVariant),
82u8 => Some(DataComponent::WolfVariant),
83u8 => Some(DataComponent::WolfSoundVariant),
84u8 => Some(DataComponent::WolfCollar),
85u8 => Some(DataComponent::FoxVariant),
86u8 => Some(DataComponent::SalmonSize),
87u8 => Some(DataComponent::ParrotVariant),
88u8 => Some(DataComponent::TropicalFishPattern),
89u8 => Some(DataComponent::TropicalFishBaseColor),
90u8 => Some(DataComponent::TropicalFishPatternColor),
91u8 => Some(DataComponent::MooshroomVariant),
92u8 => Some(DataComponent::RabbitVariant),
93u8 => Some(DataComponent::PigVariant),
94u8 => Some(DataComponent::PigSoundVariant),
95u8 => Some(DataComponent::CowVariant),
96u8 => Some(DataComponent::CowSoundVariant),
97u8 => Some(DataComponent::ChickenVariant),
98u8 => Some(DataComponent::ChickenSoundVariant),
99u8 => Some(DataComponent::ZombieNautilusVariant),
100u8 => Some(DataComponent::FrogVariant),
101u8 => Some(DataComponent::HorseVariant),
102u8 => Some(DataComponent::PaintingVariant),
103u8 => Some(DataComponent::LlamaVariant),
104u8 => Some(DataComponent::AxolotlVariant),
105u8 => Some(DataComponent::CatVariant),
106u8 => Some(DataComponent::CatSoundVariant),
107u8 => Some(DataComponent::CatCollar),
108u8 => Some(DataComponent::SheepColor),
109u8 => Some(DataComponent::ShulkerColor),
_ => None,
}
}
@ -264,7 +276,9 @@ impl DataComponent {
"minecraft:piercing_weapon" => Some(DataComponent::PiercingWeapon),
"minecraft:kinetic_weapon" => Some(DataComponent::KineticWeapon),
"minecraft:swing_animation" => Some(DataComponent::SwingAnimation),
"minecraft:additional_trade_cost" => Some(DataComponent::AdditionalTradeCost),
"minecraft:stored_enchantments" => Some(DataComponent::StoredEnchantments),
"minecraft:dye" => Some(DataComponent::Dye),
"minecraft:dyed_color" => Some(DataComponent::DyedColor),
"minecraft:map_color" => Some(DataComponent::MapColor),
"minecraft:map_id" => Some(DataComponent::MapId),
@ -317,8 +331,11 @@ impl DataComponent {
"minecraft:mooshroom/variant" => Some(DataComponent::MooshroomVariant),
"minecraft:rabbit/variant" => Some(DataComponent::RabbitVariant),
"minecraft:pig/variant" => Some(DataComponent::PigVariant),
"minecraft:pig/sound_variant" => Some(DataComponent::PigSoundVariant),
"minecraft:cow/variant" => Some(DataComponent::CowVariant),
"minecraft:cow/sound_variant" => Some(DataComponent::CowSoundVariant),
"minecraft:chicken/variant" => Some(DataComponent::ChickenVariant),
"minecraft:chicken/sound_variant" => Some(DataComponent::ChickenSoundVariant),
"minecraft:zombie_nautilus/variant" => Some(DataComponent::ZombieNautilusVariant),
"minecraft:frog/variant" => Some(DataComponent::FrogVariant),
"minecraft:horse/variant" => Some(DataComponent::HorseVariant),
@ -326,6 +343,7 @@ impl DataComponent {
"minecraft:llama/variant" => Some(DataComponent::LlamaVariant),
"minecraft:axolotl/variant" => Some(DataComponent::AxolotlVariant),
"minecraft:cat/variant" => Some(DataComponent::CatVariant),
"minecraft:cat/sound_variant" => Some(DataComponent::CatSoundVariant),
"minecraft:cat/collar" => Some(DataComponent::CatCollar),
"minecraft:sheep/color" => Some(DataComponent::SheepColor),
"minecraft:shulker/color" => Some(DataComponent::ShulkerColor),
@ -375,7 +393,9 @@ impl DataComponent {
Self::PiercingWeapon => "minecraft:piercing_weapon",
Self::KineticWeapon => "minecraft:kinetic_weapon",
Self::SwingAnimation => "minecraft:swing_animation",
Self::AdditionalTradeCost => "minecraft:additional_trade_cost",
Self::StoredEnchantments => "minecraft:stored_enchantments",
Self::Dye => "minecraft:dye",
Self::DyedColor => "minecraft:dyed_color",
Self::MapColor => "minecraft:map_color",
Self::MapId => "minecraft:map_id",
@ -426,8 +446,11 @@ impl DataComponent {
Self::MooshroomVariant => "minecraft:mooshroom/variant",
Self::RabbitVariant => "minecraft:rabbit/variant",
Self::PigVariant => "minecraft:pig/variant",
Self::PigSoundVariant => "minecraft:pig/sound_variant",
Self::CowVariant => "minecraft:cow/variant",
Self::CowSoundVariant => "minecraft:cow/sound_variant",
Self::ChickenVariant => "minecraft:chicken/variant",
Self::ChickenSoundVariant => "minecraft:chicken/sound_variant",
Self::ZombieNautilusVariant => "minecraft:zombie_nautilus/variant",
Self::FrogVariant => "minecraft:frog/variant",
Self::HorseVariant => "minecraft:horse/variant",
@ -435,6 +458,7 @@ impl DataComponent {
Self::LlamaVariant => "minecraft:llama/variant",
Self::AxolotlVariant => "minecraft:axolotl/variant",
Self::CatVariant => "minecraft:cat/variant",
Self::CatSoundVariant => "minecraft:cat/sound_variant",
Self::CatCollar => "minecraft:cat/collar",
Self::SheepColor => "minecraft:sheep/color",
Self::ShulkerColor => "minecraft:shulker/color",

View File

@ -67,6 +67,14 @@ impl StatusEffect {
translation_key: "effect.minecraft.blindness",
attribute_modifiers: &[],
};
pub const BREATH_OF_THE_NAUTILUS: Self = Self {
minecraft_name: "minecraft:breath_of_the_nautilus",
id: 39u8,
category: MobEffectCategory::Beneficial,
color: 65518i32,
translation_key: "effect.minecraft.breath_of_the_nautilus",
attribute_modifiers: &[],
};
pub const CONDUIT_POWER: Self = Self {
minecraft_name: "minecraft:conduit_power",
id: 28u8,
@ -415,6 +423,7 @@ impl StatusEffect {
"absorption" => Some(&Self::ABSORPTION),
"bad_omen" => Some(&Self::BAD_OMEN),
"blindness" => Some(&Self::BLINDNESS),
"breath_of_the_nautilus" => Some(&Self::BREATH_OF_THE_NAUTILUS),
"conduit_power" => Some(&Self::CONDUIT_POWER),
"darkness" => Some(&Self::DARKNESS),
"dolphins_grace" => Some(&Self::DOLPHINS_GRACE),
@ -459,6 +468,7 @@ impl StatusEffect {
"minecraft:absorption" => Some(&Self::ABSORPTION),
"minecraft:bad_omen" => Some(&Self::BAD_OMEN),
"minecraft:blindness" => Some(&Self::BLINDNESS),
"minecraft:breath_of_the_nautilus" => Some(&Self::BREATH_OF_THE_NAUTILUS),
"minecraft:conduit_power" => Some(&Self::CONDUIT_POWER),
"minecraft:darkness" => Some(&Self::DARKNESS),
"minecraft:dolphins_grace" => Some(&Self::DOLPHINS_GRACE),
@ -508,6 +518,7 @@ impl IDSetContent for StatusEffect {
21u16 => Some(&Self::ABSORPTION),
30u16 => Some(&Self::BAD_OMEN),
14u16 => Some(&Self::BLINDNESS),
39u16 => Some(&Self::BREATH_OF_THE_NAUTILUS),
28u16 => Some(&Self::CONDUIT_POWER),
32u16 => Some(&Self::DARKNESS),
29u16 => Some(&Self::DOLPHINS_GRACE),

View File

@ -1,5 +1,5 @@
/* This file is generated. Do not edit manually. */
pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21: &[u16] = &[
pub static ENTITY_ID_REMAP_V_26_1_TO_V_1_21: &[u16] = &[
0, 1, 0, 1, 2, 3, 4, 5, 8, 9, 6, 7, 12, 13, 8, 9, 11, 12, 13, 14, 15, 15, 16, 22, 23, 18, 19,
20, 21, 21, 22, 29, 23, 32, 33, 24, 25, 26, 27, 28, 29, 33, 34, 31, 32, 30, 35, 36, 37, 38, 39,
40, 62, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 72,
@ -8,7 +8,7 @@ pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21: &[u16] = &[
99, 100, 119, 120, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 129, 126, 127, 128, 129,
];
pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_2: &[u16] = &[
pub static ENTITY_ID_REMAP_V_26_1_TO_V_1_21_2: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 22, 23, 24,
25, 26, 27, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
@ -18,7 +18,7 @@ pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_2: &[u16] = &[
131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 149, 146, 147, 148,
149,
];
pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_4: &[u16] = &[
pub static ENTITY_ID_REMAP_V_26_1_TO_V_1_21_4: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 22, 23, 24,
25, 26, 27, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
@ -28,7 +28,7 @@ pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_4: &[u16] = &[
130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 148, 145, 146, 147,
148,
];
pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_5: &[u16] = &[
pub static ENTITY_ID_REMAP_V_26_1_TO_V_1_21_5: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 22, 23, 24,
25, 26, 27, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
@ -38,7 +38,7 @@ pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_5: &[u16] = &[
131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 149, 146, 147, 148,
149,
];
pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_6: &[u16] = &[
pub static ENTITY_ID_REMAP_V_26_1_TO_V_1_21_6: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 22, 23, 24,
25, 26, 27, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
@ -48,7 +48,7 @@ pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_6: &[u16] = &[
132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 150, 147, 148, 149,
150,
];
pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_7: &[u16] = &[
pub static ENTITY_ID_REMAP_V_26_1_TO_V_1_21_7: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 22, 23, 24,
25, 26, 27, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
@ -58,7 +58,7 @@ pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_7: &[u16] = &[
132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 150, 147, 148, 149,
150,
];
pub static ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_9: &[u16] = &[
pub static ENTITY_ID_REMAP_V_26_1_TO_V_1_21_9: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
@ -74,31 +74,31 @@ pub fn remap_entity_id_for_version(
version: pumpkin_util::version::MinecraftVersion,
) -> u16 {
match version {
pumpkin_util::version::MinecraftVersion::V_1_21 => ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21
pumpkin_util::version::MinecraftVersion::V_1_21 => ENTITY_ID_REMAP_V_26_1_TO_V_1_21
.get(usize::from(entity_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_2 => ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_2
pumpkin_util::version::MinecraftVersion::V_1_21_2 => ENTITY_ID_REMAP_V_26_1_TO_V_1_21_2
.get(usize::from(entity_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_4 => ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_4
pumpkin_util::version::MinecraftVersion::V_1_21_4 => ENTITY_ID_REMAP_V_26_1_TO_V_1_21_4
.get(usize::from(entity_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_5 => ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_5
pumpkin_util::version::MinecraftVersion::V_1_21_5 => ENTITY_ID_REMAP_V_26_1_TO_V_1_21_5
.get(usize::from(entity_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_6 => ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_6
pumpkin_util::version::MinecraftVersion::V_1_21_6 => ENTITY_ID_REMAP_V_26_1_TO_V_1_21_6
.get(usize::from(entity_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_7 => ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_7
pumpkin_util::version::MinecraftVersion::V_1_21_7 => ENTITY_ID_REMAP_V_26_1_TO_V_1_21_7
.get(usize::from(entity_id))
.copied()
.unwrap_or(0),
pumpkin_util::version::MinecraftVersion::V_1_21_9 => ENTITY_ID_REMAP_V_1_21_11_TO_V_1_21_9
pumpkin_util::version::MinecraftVersion::V_1_21_9 => ENTITY_ID_REMAP_V_26_1_TO_V_1_21_9
.get(usize::from(entity_id))
.copied()
.unwrap_or(0),

View File

@ -1,64 +1,65 @@
/* This file is generated. Do not edit manually. */
#[repr(u8)]
pub enum EntityStatus {
AddBreedingParticles = 18,
AddBubbleParticles = 67,
AddDeathParticles = 60,
AddDolphinHappyVillagerParticles = 38,
AddNegativePlayerReactionParticles = 6,
AddPortalParticles = 46,
AddPositivePlayerReactionParticles = 7,
AddSplashParticles = 42,
AddSprintingParticlesOrResetSpawnerMinecartSpawnDelay = 1,
AddVillagerAngryParticles = 13,
AddVillagerHappyParticles = 14,
AddVillagerHeartParticles = 12,
AddWitchParticles = 15,
BreakBody = 65,
BreakChest = 50,
BreakFeet = 52,
BreakHead = 49,
BreakLegs = 51,
BreakMainhand = 47,
BreakOffhand = 48,
BreakSaddle = 68,
ConsumeItem = 9,
CreateEatingParticles = 45,
DripHoney = 53,
DripRichHoney = 54,
EarsTwitch = 61,
ExplodeFireworkClient = 17,
FinishRam = 59,
HitArmorStand = 32,
InvulnerableCreakingHit = 66,
KineticAttack = 2,
LookAtVillager = 11,
Peeking = 64,
PlayAttackSound = 4,
PlayCureZombieVillagerSound = 16,
PlayDeathSoundOrAddProjectileHitParticles = 3,
PlayGuardianAttackSound = 21,
PlaySpawnEffects = 20,
PrepareRam = 58,
PullHookedEntity = 31,
RavagerRoar = 69,
ResetSquidThrustTimer = 19,
ResetWolfShake = 56,
SetOpLevel0 = 24,
SetOpLevel1 = 25,
SetOpLevel2 = 26,
SetOpLevel3 = 27,
SetOpLevel4 = 28,
SetSheepEatGrassTimerOrPrimeTntMinecart = 10,
ShakeOffWater = 8,
SonicBoom = 62,
StartDigging = 63,
StopLookingAtVillager = 34,
StunRavager = 39,
ArmadilloPeek = 64,
ArmorstandWobble = 32,
BodyBreak = 65,
CancelShakeWetness = 56,
ChestBreak = 50,
Death = 3,
DolphinLookingForTreasure = 38,
DrownParticles = 67,
EatGrass = 10,
EndRam = 59,
FeetBreak = 52,
FireworksExplode = 17,
FishingRodReelIn = 31,
FoxEat = 45,
FullDebugInfo = 23,
GuardianAttackSound = 21,
HeadBreak = 49,
HoneyJump = 54,
HoneySlide = 53,
InLoveHearts = 18,
Jump = 1,
KineticHit = 2,
LegsBreak = 51,
LoveHearts = 12,
MainhandBreak = 47,
OfferFlower = 11,
OffhandBreak = 48,
PermissionLevelAdmins = 27,
PermissionLevelAll = 24,
PermissionLevelGamemasters = 26,
PermissionLevelModerators = 25,
PermissionLevelOwners = 28,
Poof = 60,
ProtectedFromDeath = 35,
RavagerRoared = 69,
RavagerStunned = 39,
ReducedDebugInfo = 22,
SaddleBreak = 68,
Shake = 66,
ShakeWetness = 8,
SilverfishMergeAnim = 20,
SnifferDiggingSound = 63,
SonicCharge = 62,
SquidAnimSynch = 19,
StartAttacking = 4,
StartRam = 58,
StopAttacking = 5,
StopOfferFlower = 34,
SwapHands = 55,
TameOcelotFailed = 40,
TameOcelotSuccess = 41,
UseFullDebugInfo = 23,
UseReducedDebugInfo = 22,
UseTotemOfUndying = 35,
TamingFailed = 6,
TamingSucceeded = 7,
Teleport = 46,
TendrilsShiver = 61,
TrustingFailed = 40,
TrustingSucceeded = 41,
UseItemComplete = 9,
VillagerAngry = 13,
VillagerHappy = 14,
VillagerSweat = 42,
WitchHatMagic = 15,
ZombieConverting = 16,
}

View File

@ -154,23 +154,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:acacia_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -190,23 +174,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:acacia_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -362,23 +330,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:bamboo_chest_raft",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -398,23 +350,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:bamboo_raft",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -482,23 +418,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:birch_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -518,23 +438,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:birch_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -1010,23 +914,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:cherry_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -1046,23 +934,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:cherry_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -1475,23 +1347,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:dark_oak_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -1511,23 +1367,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:dark_oak_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3137,23 +2977,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:jungle_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3173,23 +2997,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:jungle_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3435,23 +3243,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:mangrove_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3471,23 +3263,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:mangrove_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3746,23 +3522,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:oak_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3782,23 +3542,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:oak_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3882,23 +3626,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:pale_oak_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -3918,23 +3646,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:pale_oak_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -4605,8 +4317,8 @@ impl EntityType {
},
]),
}),
dimension: [0.4f32, 0.5f32],
eye_height: 0.425f32,
dimension: [0.49f32, 0.6f32],
eye_height: 0.59f32,
spawn_restriction: SpawnRestriction {
location: SpawnLocation::OnGround,
heightmap: HeightMap::MotionBlockingNoLeaves,
@ -5399,23 +5111,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:spruce_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {
@ -5435,23 +5131,7 @@ impl EntityType {
fire_immune: false,
category: &MobCategory::MISC,
can_spawn_far_from_player: true,
loot_table: Some(LootTable {
r#type: LootTableType::Entity,
random_sequence: None,
pools: Some(&[LootPool {
entries: &[LootPoolEntry {
content: LootPoolEntryTypes::Item(ItemEntry {
name: "minecraft:spruce_chest_boat",
}),
conditions: None,
functions: None,
}],
rolls: LootNumberProviderTypes::Constant(1f32),
bonus_rolls: 0f32,
conditions: None,
functions: None,
}]),
}),
loot_table: None,
dimension: [1.375f32, 0.5625f32],
eye_height: 0.5625f32,
spawn_restriction: SpawnRestriction {

View File

@ -2,43 +2,44 @@
#[must_use]
pub const fn get_potted_item(item_id: u16) -> u16 {
match item_id {
49 => 412,
50 => 413,
51 => 414,
52 => 415,
53 => 416,
54 => 417,
55 => 418,
56 => 419,
57 => 420,
203 => 421,
205 => 1146,
206 => 1147,
207 => 437,
229 => 422,
230 => 1163,
231 => 1164,
232 => 423,
233 => 424,
234 => 425,
235 => 426,
236 => 427,
237 => 428,
238 => 429,
239 => 430,
240 => 431,
241 => 432,
242 => 433,
243 => 434,
244 => 411,
247 => 436,
248 => 435,
249 => 917,
250 => 918,
251 => 919,
252 => 920,
269 => 791,
340 => 438,
49 => 413,
50 => 414,
51 => 415,
52 => 416,
53 => 417,
54 => 418,
55 => 419,
56 => 420,
57 => 421,
203 => 422,
205 => 1148,
206 => 1149,
207 => 439,
229 => 423,
230 => 424,
231 => 1165,
232 => 1166,
233 => 425,
234 => 426,
235 => 427,
236 => 428,
237 => 429,
238 => 430,
239 => 431,
240 => 432,
241 => 433,
242 => 434,
243 => 435,
244 => 436,
245 => 412,
248 => 438,
249 => 437,
250 => 919,
251 => 920,
252 => 921,
253 => 922,
270 => 793,
341 => 440,
_ => 0,
}
}

View File

@ -81,9 +81,8 @@ pub const FUELS: [(u16, u16); 280usize] = [
(226u16, 100u16),
(227u16, 100u16),
(228u16, 100u16),
(260u16, 100u16),
(269u16, 50u16),
(270u16, 150u16),
(261u16, 100u16),
(270u16, 50u16),
(271u16, 150u16),
(272u16, 150u16),
(273u16, 150u16),
@ -94,22 +93,22 @@ pub const FUELS: [(u16, u16); 280usize] = [
(278u16, 150u16),
(279u16, 150u16),
(280u16, 150u16),
(305u16, 300u16),
(281u16, 150u16),
(306u16, 300u16),
(307u16, 300u16),
(308u16, 300u16),
(310u16, 300u16),
(309u16, 300u16),
(311u16, 300u16),
(312u16, 300u16),
(313u16, 300u16),
(314u16, 300u16),
(315u16, 300u16),
(317u16, 300u16),
(316u16, 300u16),
(318u16, 300u16),
(331u16, 300u16),
(319u16, 300u16),
(332u16, 300u16),
(335u16, 300u16),
(343u16, 300u16),
(333u16, 300u16),
(336u16, 300u16),
(344u16, 300u16),
(345u16, 300u16),
(346u16, 300u16),
@ -120,7 +119,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(351u16, 300u16),
(352u16, 300u16),
(353u16, 300u16),
(441u16, 300u16),
(354u16, 300u16),
(442u16, 300u16),
(443u16, 300u16),
(444u16, 300u16),
@ -131,7 +130,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(449u16, 300u16),
(450u16, 300u16),
(451u16, 300u16),
(505u16, 67u16),
(452u16, 300u16),
(506u16, 67u16),
(507u16, 67u16),
(508u16, 67u16),
@ -147,12 +146,12 @@ pub const FUELS: [(u16, u16); 280usize] = [
(518u16, 67u16),
(519u16, 67u16),
(520u16, 67u16),
(716u16, 50u16),
(730u16, 300u16),
(741u16, 300u16),
(745u16, 300u16),
(748u16, 300u16),
(751u16, 100u16),
(521u16, 67u16),
(717u16, 50u16),
(731u16, 300u16),
(742u16, 300u16),
(746u16, 300u16),
(749u16, 300u16),
(752u16, 100u16),
(753u16, 100u16),
(754u16, 100u16),
@ -162,7 +161,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(758u16, 100u16),
(759u16, 100u16),
(760u16, 100u16),
(767u16, 300u16),
(761u16, 100u16),
(768u16, 300u16),
(769u16, 300u16),
(770u16, 300u16),
@ -172,7 +171,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(774u16, 300u16),
(775u16, 300u16),
(776u16, 300u16),
(780u16, 200u16),
(777u16, 300u16),
(781u16, 200u16),
(782u16, 200u16),
(783u16, 200u16),
@ -182,7 +181,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(787u16, 200u16),
(788u16, 200u16),
(789u16, 200u16),
(801u16, 300u16),
(790u16, 200u16),
(802u16, 300u16),
(803u16, 300u16),
(804u16, 300u16),
@ -192,7 +191,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(808u16, 300u16),
(809u16, 300u16),
(810u16, 300u16),
(821u16, 300u16),
(811u16, 300u16),
(822u16, 300u16),
(823u16, 300u16),
(824u16, 300u16),
@ -202,7 +201,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(828u16, 300u16),
(829u16, 300u16),
(830u16, 300u16),
(863u16, 1200u16),
(831u16, 300u16),
(864u16, 1200u16),
(865u16, 1200u16),
(866u16, 1200u16),
@ -222,17 +221,17 @@ pub const FUELS: [(u16, u16); 280usize] = [
(880u16, 1200u16),
(881u16, 1200u16),
(882u16, 1200u16),
(892u16, 100u16),
(894u16, 300u16),
(896u16, 1600u16),
(883u16, 1200u16),
(893u16, 100u16),
(895u16, 300u16),
(897u16, 1600u16),
(911u16, 200u16),
(898u16, 1600u16),
(912u16, 200u16),
(913u16, 200u16),
(914u16, 200u16),
(915u16, 200u16),
(946u16, 100u16),
(988u16, 200u16),
(916u16, 200u16),
(947u16, 100u16),
(989u16, 200u16),
(990u16, 200u16),
(991u16, 200u16),
@ -242,7 +241,7 @@ pub const FUELS: [(u16, u16); 280usize] = [
(995u16, 200u16),
(996u16, 200u16),
(997u16, 200u16),
(1000u16, 800u16),
(998u16, 200u16),
(1001u16, 800u16),
(1002u16, 800u16),
(1003u16, 800u16),
@ -252,11 +251,11 @@ pub const FUELS: [(u16, u16); 280usize] = [
(1007u16, 800u16),
(1008u16, 800u16),
(1009u16, 800u16),
(1014u16, 20000u16),
(1027u16, 4001u16),
(1053u16, 300u16),
(1116u16, 2400u16),
(1266u16, 300u16),
(1010u16, 800u16),
(1015u16, 20000u16),
(1028u16, 4001u16),
(1054u16, 300u16),
(1117u16, 2400u16),
(1267u16, 300u16),
(1268u16, 300u16),
(1269u16, 300u16),
@ -272,14 +271,15 @@ pub const FUELS: [(u16, u16); 280usize] = [
(1279u16, 300u16),
(1280u16, 300u16),
(1281u16, 300u16),
(1296u16, 200u16),
(1339u16, 300u16),
(1341u16, 300u16),
(1353u16, 300u16),
(1282u16, 300u16),
(1297u16, 200u16),
(1340u16, 300u16),
(1342u16, 300u16),
(1354u16, 300u16),
(1357u16, 300u16),
(1355u16, 300u16),
(1358u16, 300u16),
(1360u16, 300u16),
(1359u16, 300u16),
(1361u16, 300u16),
];
#[must_use]
pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
@ -365,9 +365,8 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
226u16 => Some(100u16),
227u16 => Some(100u16),
228u16 => Some(100u16),
260u16 => Some(100u16),
269u16 => Some(50u16),
270u16 => Some(150u16),
261u16 => Some(100u16),
270u16 => Some(50u16),
271u16 => Some(150u16),
272u16 => Some(150u16),
273u16 => Some(150u16),
@ -378,22 +377,22 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
278u16 => Some(150u16),
279u16 => Some(150u16),
280u16 => Some(150u16),
305u16 => Some(300u16),
281u16 => Some(150u16),
306u16 => Some(300u16),
307u16 => Some(300u16),
308u16 => Some(300u16),
310u16 => Some(300u16),
309u16 => Some(300u16),
311u16 => Some(300u16),
312u16 => Some(300u16),
313u16 => Some(300u16),
314u16 => Some(300u16),
315u16 => Some(300u16),
317u16 => Some(300u16),
316u16 => Some(300u16),
318u16 => Some(300u16),
331u16 => Some(300u16),
319u16 => Some(300u16),
332u16 => Some(300u16),
335u16 => Some(300u16),
343u16 => Some(300u16),
333u16 => Some(300u16),
336u16 => Some(300u16),
344u16 => Some(300u16),
345u16 => Some(300u16),
346u16 => Some(300u16),
@ -404,7 +403,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
351u16 => Some(300u16),
352u16 => Some(300u16),
353u16 => Some(300u16),
441u16 => Some(300u16),
354u16 => Some(300u16),
442u16 => Some(300u16),
443u16 => Some(300u16),
444u16 => Some(300u16),
@ -415,7 +414,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
449u16 => Some(300u16),
450u16 => Some(300u16),
451u16 => Some(300u16),
505u16 => Some(67u16),
452u16 => Some(300u16),
506u16 => Some(67u16),
507u16 => Some(67u16),
508u16 => Some(67u16),
@ -431,12 +430,12 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
518u16 => Some(67u16),
519u16 => Some(67u16),
520u16 => Some(67u16),
716u16 => Some(50u16),
730u16 => Some(300u16),
741u16 => Some(300u16),
745u16 => Some(300u16),
748u16 => Some(300u16),
751u16 => Some(100u16),
521u16 => Some(67u16),
717u16 => Some(50u16),
731u16 => Some(300u16),
742u16 => Some(300u16),
746u16 => Some(300u16),
749u16 => Some(300u16),
752u16 => Some(100u16),
753u16 => Some(100u16),
754u16 => Some(100u16),
@ -446,7 +445,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
758u16 => Some(100u16),
759u16 => Some(100u16),
760u16 => Some(100u16),
767u16 => Some(300u16),
761u16 => Some(100u16),
768u16 => Some(300u16),
769u16 => Some(300u16),
770u16 => Some(300u16),
@ -456,7 +455,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
774u16 => Some(300u16),
775u16 => Some(300u16),
776u16 => Some(300u16),
780u16 => Some(200u16),
777u16 => Some(300u16),
781u16 => Some(200u16),
782u16 => Some(200u16),
783u16 => Some(200u16),
@ -466,7 +465,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
787u16 => Some(200u16),
788u16 => Some(200u16),
789u16 => Some(200u16),
801u16 => Some(300u16),
790u16 => Some(200u16),
802u16 => Some(300u16),
803u16 => Some(300u16),
804u16 => Some(300u16),
@ -476,7 +475,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
808u16 => Some(300u16),
809u16 => Some(300u16),
810u16 => Some(300u16),
821u16 => Some(300u16),
811u16 => Some(300u16),
822u16 => Some(300u16),
823u16 => Some(300u16),
824u16 => Some(300u16),
@ -486,7 +485,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
828u16 => Some(300u16),
829u16 => Some(300u16),
830u16 => Some(300u16),
863u16 => Some(1200u16),
831u16 => Some(300u16),
864u16 => Some(1200u16),
865u16 => Some(1200u16),
866u16 => Some(1200u16),
@ -506,17 +505,17 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
880u16 => Some(1200u16),
881u16 => Some(1200u16),
882u16 => Some(1200u16),
892u16 => Some(100u16),
894u16 => Some(300u16),
896u16 => Some(1600u16),
883u16 => Some(1200u16),
893u16 => Some(100u16),
895u16 => Some(300u16),
897u16 => Some(1600u16),
911u16 => Some(200u16),
898u16 => Some(1600u16),
912u16 => Some(200u16),
913u16 => Some(200u16),
914u16 => Some(200u16),
915u16 => Some(200u16),
946u16 => Some(100u16),
988u16 => Some(200u16),
916u16 => Some(200u16),
947u16 => Some(100u16),
989u16 => Some(200u16),
990u16 => Some(200u16),
991u16 => Some(200u16),
@ -526,7 +525,7 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
995u16 => Some(200u16),
996u16 => Some(200u16),
997u16 => Some(200u16),
1000u16 => Some(800u16),
998u16 => Some(200u16),
1001u16 => Some(800u16),
1002u16 => Some(800u16),
1003u16 => Some(800u16),
@ -536,11 +535,11 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
1007u16 => Some(800u16),
1008u16 => Some(800u16),
1009u16 => Some(800u16),
1014u16 => Some(20000u16),
1027u16 => Some(4001u16),
1053u16 => Some(300u16),
1116u16 => Some(2400u16),
1266u16 => Some(300u16),
1010u16 => Some(800u16),
1015u16 => Some(20000u16),
1028u16 => Some(4001u16),
1054u16 => Some(300u16),
1117u16 => Some(2400u16),
1267u16 => Some(300u16),
1268u16 => Some(300u16),
1269u16 => Some(300u16),
@ -556,14 +555,15 @@ pub const fn get_item_burn_ticks(item_id: u16) -> Option<u16> {
1279u16 => Some(300u16),
1280u16 => Some(300u16),
1281u16 => Some(300u16),
1296u16 => Some(200u16),
1339u16 => Some(300u16),
1341u16 => Some(300u16),
1353u16 => Some(300u16),
1282u16 => Some(300u16),
1297u16 => Some(200u16),
1340u16 => Some(300u16),
1342u16 => Some(300u16),
1354u16 => Some(300u16),
1357u16 => Some(300u16),
1355u16 => Some(300u16),
1358u16 => Some(300u16),
1360u16 => Some(300u16),
1359u16 => Some(300u16),
1361u16 => Some(300u16),
_ => None,
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
/* This file is generated. Do not edit manually. */
use pumpkin_util::version::MinecraftVersion;
const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21: &[u16] = &[
const ITEM_ID_REMAP_V_26_1_TO_V_1_21: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 43, 44, 45, 46, 47, 48,
49, 50, 51, 52, 53, 54, 56, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
@ -84,7 +84,7 @@ const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21: &[u16] = &[
1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474,
1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1327, 1328, 1329, 1330, 1331,
];
const ITEM_ID_REMAP_V_1_21_TO_V_1_21_11: &[u16] = &[
const ITEM_ID_REMAP_V_1_21_TO_V_26_1: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
@ -166,7 +166,7 @@ const ITEM_ID_REMAP_V_1_21_TO_V_1_21_11: &[u16] = &[
1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
];
const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_2: &[u16] = &[
const ITEM_ID_REMAP_V_26_1_TO_V_1_21_2: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -251,7 +251,7 @@ const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_2: &[u16] = &[
1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1370,
1371, 1372, 1373, 1374,
];
const ITEM_ID_REMAP_V_1_21_2_TO_V_1_21_11: &[u16] = &[
const ITEM_ID_REMAP_V_1_21_2_TO_V_26_1: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -334,7 +334,7 @@ const ITEM_ID_REMAP_V_1_21_2_TO_V_1_21_11: &[u16] = &[
1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
];
const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_4: &[u16] = &[
const ITEM_ID_REMAP_V_26_1_TO_V_1_21_4: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -419,7 +419,7 @@ const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_4: &[u16] = &[
1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482,
1380, 1381, 1382, 1383, 1384,
];
const ITEM_ID_REMAP_V_1_21_4_TO_V_1_21_11: &[u16] = &[
const ITEM_ID_REMAP_V_1_21_4_TO_V_26_1: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -502,7 +502,7 @@ const ITEM_ID_REMAP_V_1_21_4_TO_V_1_21_11: &[u16] = &[
1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
];
const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_5: &[u16] = &[
const ITEM_ID_REMAP_V_26_1_TO_V_1_21_5: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -587,7 +587,7 @@ const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_5: &[u16] = &[
1389, 1390, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480,
1481, 1482, 1391, 1392, 1393, 1394, 1395,
];
const ITEM_ID_REMAP_V_1_21_5_TO_V_1_21_11: &[u16] = &[
const ITEM_ID_REMAP_V_1_21_5_TO_V_26_1: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -670,7 +670,7 @@ const ITEM_ID_REMAP_V_1_21_5_TO_V_1_21_11: &[u16] = &[
0, 0, 0, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497,
1498, 1499, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
];
const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_6: &[u16] = &[
const ITEM_ID_REMAP_V_26_1_TO_V_1_21_6: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -755,7 +755,7 @@ const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_6: &[u16] = &[
1405, 1406, 1407, 1408, 1409, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477,
1478, 1479, 1480, 1481, 1482, 1410, 1411, 1412, 1413, 1414,
];
const ITEM_ID_REMAP_V_1_21_6_TO_V_1_21_11: &[u16] = &[
const ITEM_ID_REMAP_V_1_21_6_TO_V_26_1: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -839,7 +839,7 @@ const ITEM_ID_REMAP_V_1_21_6_TO_V_1_21_11: &[u16] = &[
1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
];
const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_7: &[u16] = &[
const ITEM_ID_REMAP_V_26_1_TO_V_1_21_7: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -924,7 +924,7 @@ const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_7: &[u16] = &[
1406, 1407, 1408, 1409, 1410, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477,
1478, 1479, 1480, 1481, 1482, 1411, 1412, 1413, 1414, 1415,
];
const ITEM_ID_REMAP_V_1_21_7_TO_V_1_21_11: &[u16] = &[
const ITEM_ID_REMAP_V_1_21_7_TO_V_26_1: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -1008,7 +1008,7 @@ const ITEM_ID_REMAP_V_1_21_7_TO_V_1_21_11: &[u16] = &[
1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
];
const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_9: &[u16] = &[
const ITEM_ID_REMAP_V_26_1_TO_V_1_21_9: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -1094,7 +1094,7 @@ const ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_9: &[u16] = &[
1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486,
1487,
];
const ITEM_ID_REMAP_V_1_21_9_TO_V_1_21_11: &[u16] = &[
const ITEM_ID_REMAP_V_1_21_9_TO_V_26_1: &[u16] = &[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
@ -1182,31 +1182,31 @@ const ITEM_ID_REMAP_V_1_21_9_TO_V_1_21_11: &[u16] = &[
#[must_use]
pub fn remap_item_id_for_version(item_id: u16, version: MinecraftVersion) -> u16 {
match version {
pumpkin_util::version::MinecraftVersion::V_1_21 => ITEM_ID_REMAP_V_1_21_11_TO_V_1_21
pumpkin_util::version::MinecraftVersion::V_1_21 => ITEM_ID_REMAP_V_26_1_TO_V_1_21
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_2 => ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_2
pumpkin_util::version::MinecraftVersion::V_1_21_2 => ITEM_ID_REMAP_V_26_1_TO_V_1_21_2
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_4 => ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_4
pumpkin_util::version::MinecraftVersion::V_1_21_4 => ITEM_ID_REMAP_V_26_1_TO_V_1_21_4
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_5 => ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_5
pumpkin_util::version::MinecraftVersion::V_1_21_5 => ITEM_ID_REMAP_V_26_1_TO_V_1_21_5
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_6 => ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_6
pumpkin_util::version::MinecraftVersion::V_1_21_6 => ITEM_ID_REMAP_V_26_1_TO_V_1_21_6
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_7 => ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_7
pumpkin_util::version::MinecraftVersion::V_1_21_7 => ITEM_ID_REMAP_V_26_1_TO_V_1_21_7
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_9 => ITEM_ID_REMAP_V_1_21_11_TO_V_1_21_9
pumpkin_util::version::MinecraftVersion::V_1_21_9 => ITEM_ID_REMAP_V_26_1_TO_V_1_21_9
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
@ -1216,31 +1216,31 @@ pub fn remap_item_id_for_version(item_id: u16, version: MinecraftVersion) -> u16
#[must_use]
pub fn remap_item_id_from_version(item_id: u16, version: MinecraftVersion) -> u16 {
match version {
pumpkin_util::version::MinecraftVersion::V_1_21 => ITEM_ID_REMAP_V_1_21_TO_V_1_21_11
pumpkin_util::version::MinecraftVersion::V_1_21 => ITEM_ID_REMAP_V_1_21_TO_V_26_1
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_2 => ITEM_ID_REMAP_V_1_21_2_TO_V_1_21_11
pumpkin_util::version::MinecraftVersion::V_1_21_2 => ITEM_ID_REMAP_V_1_21_2_TO_V_26_1
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_4 => ITEM_ID_REMAP_V_1_21_4_TO_V_1_21_11
pumpkin_util::version::MinecraftVersion::V_1_21_4 => ITEM_ID_REMAP_V_1_21_4_TO_V_26_1
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_5 => ITEM_ID_REMAP_V_1_21_5_TO_V_1_21_11
pumpkin_util::version::MinecraftVersion::V_1_21_5 => ITEM_ID_REMAP_V_1_21_5_TO_V_26_1
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_6 => ITEM_ID_REMAP_V_1_21_6_TO_V_1_21_11
pumpkin_util::version::MinecraftVersion::V_1_21_6 => ITEM_ID_REMAP_V_1_21_6_TO_V_26_1
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_7 => ITEM_ID_REMAP_V_1_21_7_TO_V_1_21_11
pumpkin_util::version::MinecraftVersion::V_1_21_7 => ITEM_ID_REMAP_V_1_21_7_TO_V_26_1
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),
pumpkin_util::version::MinecraftVersion::V_1_21_9 => ITEM_ID_REMAP_V_1_21_9_TO_V_1_21_11
pumpkin_util::version::MinecraftVersion::V_1_21_9 => ITEM_ID_REMAP_V_1_21_9_TO_V_26_1
.get(usize::from(item_id))
.copied()
.unwrap_or(item_id),

View File

@ -9,6 +9,7 @@ pub struct MetaDataType {
v1_21_7: i32,
v1_21_9: i32,
v1_21_11: i32,
v26_1: i32,
}
impl MetaDataType {
pub const ARM: MetaDataType = MetaDataType {
@ -20,6 +21,7 @@ impl MetaDataType {
v1_21_7: -1i32,
v1_21_9: -1i32,
v1_21_11: 38i32,
v26_1: -1i32,
};
pub const ARMADILLO_STATE: MetaDataType = MetaDataType {
v1_21: 28i32,
@ -30,6 +32,7 @@ impl MetaDataType {
v1_21_7: 32i32,
v1_21_9: 31i32,
v1_21_11: 32i32,
v26_1: -1i32,
};
pub const BLOCK_POS: MetaDataType = MetaDataType {
v1_21: 10i32,
@ -40,6 +43,7 @@ impl MetaDataType {
v1_21_7: 10i32,
v1_21_9: 10i32,
v1_21_11: 10i32,
v26_1: -1i32,
};
pub const BLOCK_STATE: MetaDataType = MetaDataType {
v1_21: 14i32,
@ -50,6 +54,7 @@ impl MetaDataType {
v1_21_7: 14i32,
v1_21_9: 14i32,
v1_21_11: 14i32,
v26_1: -1i32,
};
pub const BOOLEAN: MetaDataType = MetaDataType {
v1_21: 8i32,
@ -60,6 +65,7 @@ impl MetaDataType {
v1_21_7: 8i32,
v1_21_9: 8i32,
v1_21_11: 8i32,
v26_1: -1i32,
};
pub const BYTE: MetaDataType = MetaDataType {
v1_21: 0i32,
@ -70,6 +76,7 @@ impl MetaDataType {
v1_21_7: 0i32,
v1_21_9: 0i32,
v1_21_11: 0i32,
v26_1: -1i32,
};
pub const CAT_VARIANT: MetaDataType = MetaDataType {
v1_21: 22i32,
@ -80,6 +87,7 @@ impl MetaDataType {
v1_21_7: 22i32,
v1_21_9: 21i32,
v1_21_11: 21i32,
v26_1: -1i32,
};
pub const CHICKEN_VARIANT: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -90,6 +98,7 @@ impl MetaDataType {
v1_21_7: 28i32,
v1_21_9: 27i32,
v1_21_11: 27i32,
v26_1: -1i32,
};
pub const COPPER_GOLEM_STATE: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -100,6 +109,7 @@ impl MetaDataType {
v1_21_7: -1i32,
v1_21_9: 32i32,
v1_21_11: 33i32,
v26_1: -1i32,
};
pub const COW_VARIANT: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -110,6 +120,7 @@ impl MetaDataType {
v1_21_7: 23i32,
v1_21_9: 22i32,
v1_21_11: 22i32,
v26_1: -1i32,
};
pub const ENTITY_POSE: MetaDataType = MetaDataType {
v1_21: 21i32,
@ -120,6 +131,7 @@ impl MetaDataType {
v1_21_7: 21i32,
v1_21_9: 20i32,
v1_21_11: 20i32,
v26_1: -1i32,
};
pub const FACING: MetaDataType = MetaDataType {
v1_21: 12i32,
@ -130,6 +142,7 @@ impl MetaDataType {
v1_21_7: 12i32,
v1_21_9: 12i32,
v1_21_11: 12i32,
v26_1: -1i32,
};
pub const FLOAT: MetaDataType = MetaDataType {
v1_21: 3i32,
@ -140,6 +153,7 @@ impl MetaDataType {
v1_21_7: 3i32,
v1_21_9: 3i32,
v1_21_11: 3i32,
v26_1: -1i32,
};
pub const FROG_VARIANT: MetaDataType = MetaDataType {
v1_21: 24i32,
@ -150,6 +164,7 @@ impl MetaDataType {
v1_21_7: 26i32,
v1_21_9: 25i32,
v1_21_11: 25i32,
v26_1: -1i32,
};
pub const INTEGER: MetaDataType = MetaDataType {
v1_21: 1i32,
@ -160,6 +175,7 @@ impl MetaDataType {
v1_21_7: 1i32,
v1_21_9: 1i32,
v1_21_11: 1i32,
v26_1: -1i32,
};
pub const ITEM_STACK: MetaDataType = MetaDataType {
v1_21: 7i32,
@ -170,6 +186,7 @@ impl MetaDataType {
v1_21_7: 7i32,
v1_21_9: 7i32,
v1_21_11: 7i32,
v26_1: -1i32,
};
pub const LAZY_ENTITY_REFERENCE: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -180,6 +197,7 @@ impl MetaDataType {
v1_21_7: 13i32,
v1_21_9: 13i32,
v1_21_11: 13i32,
v26_1: -1i32,
};
pub const LONG: MetaDataType = MetaDataType {
v1_21: 2i32,
@ -190,6 +208,7 @@ impl MetaDataType {
v1_21_7: 2i32,
v1_21_9: 2i32,
v1_21_11: 2i32,
v26_1: -1i32,
};
pub const NBT_COMPOUND: MetaDataType = MetaDataType {
v1_21: 16i32,
@ -200,6 +219,7 @@ impl MetaDataType {
v1_21_7: 16i32,
v1_21_9: -1i32,
v1_21_11: -1i32,
v26_1: -1i32,
};
pub const OPTIONAL_BLOCK_POS: MetaDataType = MetaDataType {
v1_21: 11i32,
@ -210,6 +230,7 @@ impl MetaDataType {
v1_21_7: 11i32,
v1_21_9: 11i32,
v1_21_11: 11i32,
v26_1: -1i32,
};
pub const OPTIONAL_BLOCK_STATE: MetaDataType = MetaDataType {
v1_21: 15i32,
@ -220,6 +241,7 @@ impl MetaDataType {
v1_21_7: 15i32,
v1_21_9: 15i32,
v1_21_11: 15i32,
v26_1: -1i32,
};
pub const OPTIONAL_GLOBAL_POS: MetaDataType = MetaDataType {
v1_21: 25i32,
@ -230,6 +252,7 @@ impl MetaDataType {
v1_21_7: 29i32,
v1_21_9: 28i32,
v1_21_11: 29i32,
v26_1: -1i32,
};
pub const OPTIONAL_INT: MetaDataType = MetaDataType {
v1_21: 20i32,
@ -240,6 +263,7 @@ impl MetaDataType {
v1_21_7: 20i32,
v1_21_9: 19i32,
v1_21_11: 19i32,
v26_1: -1i32,
};
pub const OPTIONAL_TEXT_COMPONENT: MetaDataType = MetaDataType {
v1_21: 6i32,
@ -250,6 +274,7 @@ impl MetaDataType {
v1_21_7: 6i32,
v1_21_9: 6i32,
v1_21_11: 6i32,
v26_1: -1i32,
};
pub const OPTIONAL_UUID: MetaDataType = MetaDataType {
v1_21: 13i32,
@ -260,6 +285,7 @@ impl MetaDataType {
v1_21_7: -1i32,
v1_21_9: -1i32,
v1_21_11: -1i32,
v26_1: -1i32,
};
pub const OXIDATION_LEVEL: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -270,6 +296,7 @@ impl MetaDataType {
v1_21_7: -1i32,
v1_21_9: 33i32,
v1_21_11: 34i32,
v26_1: -1i32,
};
pub const PAINTING_VARIANT: MetaDataType = MetaDataType {
v1_21: 26i32,
@ -280,6 +307,7 @@ impl MetaDataType {
v1_21_7: 30i32,
v1_21_9: 29i32,
v1_21_11: 30i32,
v26_1: -1i32,
};
pub const PARTICLE: MetaDataType = MetaDataType {
v1_21: 17i32,
@ -290,6 +318,7 @@ impl MetaDataType {
v1_21_7: 17i32,
v1_21_9: 16i32,
v1_21_11: 16i32,
v26_1: -1i32,
};
pub const PARTICLE_LIST: MetaDataType = MetaDataType {
v1_21: 18i32,
@ -300,6 +329,7 @@ impl MetaDataType {
v1_21_7: 18i32,
v1_21_9: 17i32,
v1_21_11: 17i32,
v26_1: -1i32,
};
pub const PIG_VARIANT: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -310,6 +340,7 @@ impl MetaDataType {
v1_21_7: 27i32,
v1_21_9: 26i32,
v1_21_11: 26i32,
v26_1: -1i32,
};
pub const PROFILE: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -320,6 +351,7 @@ impl MetaDataType {
v1_21_7: -1i32,
v1_21_9: 36i32,
v1_21_11: 37i32,
v26_1: -1i32,
};
pub const QUATERNION_F: MetaDataType = MetaDataType {
v1_21: 30i32,
@ -330,6 +362,7 @@ impl MetaDataType {
v1_21_7: 34i32,
v1_21_9: 35i32,
v1_21_11: 36i32,
v26_1: -1i32,
};
pub const ROTATION: MetaDataType = MetaDataType {
v1_21: 9i32,
@ -340,6 +373,7 @@ impl MetaDataType {
v1_21_7: 9i32,
v1_21_9: 9i32,
v1_21_11: 9i32,
v26_1: -1i32,
};
pub const SNIFFER_STATE: MetaDataType = MetaDataType {
v1_21: 27i32,
@ -350,6 +384,7 @@ impl MetaDataType {
v1_21_7: 31i32,
v1_21_9: 30i32,
v1_21_11: 31i32,
v26_1: -1i32,
};
pub const STRING: MetaDataType = MetaDataType {
v1_21: 4i32,
@ -360,6 +395,7 @@ impl MetaDataType {
v1_21_7: 4i32,
v1_21_9: 4i32,
v1_21_11: 4i32,
v26_1: -1i32,
};
pub const TEXT_COMPONENT: MetaDataType = MetaDataType {
v1_21: 5i32,
@ -370,6 +406,7 @@ impl MetaDataType {
v1_21_7: 5i32,
v1_21_9: 5i32,
v1_21_11: 5i32,
v26_1: -1i32,
};
pub const VECTOR_3F: MetaDataType = MetaDataType {
v1_21: 29i32,
@ -380,6 +417,7 @@ impl MetaDataType {
v1_21_7: 33i32,
v1_21_9: 34i32,
v1_21_11: 35i32,
v26_1: -1i32,
};
pub const VILLAGER_DATA: MetaDataType = MetaDataType {
v1_21: 19i32,
@ -390,6 +428,7 @@ impl MetaDataType {
v1_21_7: 19i32,
v1_21_9: 18i32,
v1_21_11: 18i32,
v26_1: -1i32,
};
pub const WOLF_SOUND_VARIANT: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -400,6 +439,7 @@ impl MetaDataType {
v1_21_7: 25i32,
v1_21_9: 24i32,
v1_21_11: 24i32,
v26_1: -1i32,
};
pub const WOLF_VARIANT: MetaDataType = MetaDataType {
v1_21: 23i32,
@ -410,6 +450,7 @@ impl MetaDataType {
v1_21_7: 24i32,
v1_21_9: 23i32,
v1_21_11: 23i32,
v26_1: -1i32,
};
pub const ZOMBIE_NAUTILUS_VARIANT: MetaDataType = MetaDataType {
v1_21: -1i32,
@ -420,6 +461,7 @@ impl MetaDataType {
v1_21_7: -1i32,
v1_21_9: -1i32,
v1_21_11: 28i32,
v26_1: -1i32,
};
pub const fn id(&self, version: pumpkin_util::version::MinecraftVersion) -> i32 {
match version {
@ -431,6 +473,7 @@ impl MetaDataType {
pumpkin_util::version::MinecraftVersion::V_1_21_7 => self.v1_21_7,
pumpkin_util::version::MinecraftVersion::V_1_21_9 => self.v1_21_9,
pumpkin_util::version::MinecraftVersion::V_1_21_11 => self.v1_21_11,
pumpkin_util::version::MinecraftVersion::V_26_1 => self.v26_1,
_ => -1i32,
}
}

View File

@ -41,6 +41,8 @@ impl DoublePerlinNoiseParameters {
"iceberg_surface" => &Self::ICEBERG_SURFACE,
"jagged" => &Self::JAGGED,
"nether_state_selector" => &Self::NETHER_STATE_SELECTOR,
"nether_temperature" => &Self::NETHER_TEMPERATURE,
"nether_vegetation" => &Self::NETHER_VEGETATION,
"nether_wart" => &Self::NETHER_WART,
"netherrack" => &Self::NETHERRACK,
"noodle" => &Self::NOODLE,
@ -172,6 +174,10 @@ impl DoublePerlinNoiseParameters {
);
pub const NETHER_STATE_SELECTOR: DoublePerlinNoiseParameters =
DoublePerlinNoiseParameters::new(-4i32, &[1f64], "minecraft:nether_state_selector");
pub const NETHER_TEMPERATURE: DoublePerlinNoiseParameters =
DoublePerlinNoiseParameters::new(-7i32, &[1f64, 1f64], "minecraft:nether_temperature");
pub const NETHER_VEGETATION: DoublePerlinNoiseParameters =
DoublePerlinNoiseParameters::new(-7i32, &[1f64, 1f64], "minecraft:nether_vegetation");
pub const NETHER_WART: DoublePerlinNoiseParameters = DoublePerlinNoiseParameters::new(
-3i32,
&[1f64, 0f64, 0f64, 0.9f64],

File diff suppressed because it is too large Load Diff

View File

@ -51,6 +51,8 @@ pub enum Particle {
Item,
Vibration,
Trail,
PauseMobGrowth,
ResetMobGrowth,
ItemSlime,
ItemCobweb,
ItemSnowball,
@ -171,6 +173,8 @@ impl Particle {
"item" => Some(Self::Item),
"vibration" => Some(Self::Vibration),
"trail" => Some(Self::Trail),
"pause_mob_growth" => Some(Self::PauseMobGrowth),
"reset_mob_growth" => Some(Self::ResetMobGrowth),
"item_slime" => Some(Self::ItemSlime),
"item_cobweb" => Some(Self::ItemCobweb),
"item_snowball" => Some(Self::ItemSnowball),
@ -291,6 +295,8 @@ impl Particle {
Self::Item => "item",
Self::Vibration => "vibration",
Self::Trail => "trail",
Self::PauseMobGrowth => "pause_mob_growth",
Self::ResetMobGrowth => "reset_mob_growth",
Self::ItemSlime => "item_slime",
Self::ItemCobweb => "item_cobweb",
Self::ItemSnowball => "item_snowball",

View File

@ -2,11 +2,13 @@
#[must_use]
pub const fn get_recipe_remainder_id(item_id: u16) -> Option<u16> {
match item_id {
1013 => Some(1012),
1014 => Some(1012),
1018 => Some(1012),
1290 => Some(1120),
1381 => Some(1120),
948 => Some(893),
1019 => Some(1013),
1122 => Some(1121),
1252 => Some(893),
1290 => Some(893),
1341 => Some(893),
1382 => Some(1121),
_ => None,
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -279,15 +279,33 @@ pub enum Sound {
BlockCandleHit,
BlockCandlePlace,
BlockCandleStep,
EntityBabyCatAmbient,
EntityBabyCatStrayAmbient,
EntityBabyCatDeath,
EntityBabyCatEat,
EntityBabyCatHiss,
EntityBabyCatBegForFood,
EntityBabyCatHurt,
EntityBabyCatPurr,
EntityBabyCatPurreow,
EntityCatAmbient,
EntityCatStrayAmbient,
EntityCatHiss,
EntityCatHurt,
EntityCatDeath,
EntityCatEat,
EntityCatHiss,
EntityCatBegForFood,
EntityCatHurt,
EntityCatPurr,
EntityCatPurreow,
EntityCatRoyalAmbient,
EntityCatRoyalStrayAmbient,
EntityCatRoyalHiss,
EntityCatRoyalHurt,
EntityCatRoyalDeath,
EntityCatRoyalEat,
EntityCatRoyalBegForFood,
EntityCatRoyalPurr,
EntityCatRoyalPurreow,
BlockCaveVinesBreak,
BlockCaveVinesFall,
BlockCaveVinesHit,
@ -332,11 +350,18 @@ pub enum Sound {
BlockChestClose,
BlockChestLocked,
BlockChestOpen,
EntityChickenAmbient,
EntityChickenDeath,
EntityBabyChickenAmbient,
EntityBabyChickenDeath,
EntityChickenEgg,
EntityChickenHurt,
EntityBabyChickenHurt,
EntityChickenStep,
EntityBabyChickenStep,
EntityChickenAmbient,
EntityChickenHurt,
EntityChickenDeath,
EntityChickenPickyAmbient,
EntityChickenPickyHurt,
EntityChickenPickyDeath,
BlockChiseledBookshelfBreak,
BlockChiseledBookshelfFall,
BlockChiseledBookshelfHit,
@ -424,11 +449,15 @@ pub enum Sound {
BlockCoralBlockHit,
BlockCoralBlockPlace,
BlockCoralBlockStep,
EntityCowAmbient,
EntityCowDeath,
EntityCowHurt,
EntityCowMilk,
EntityCowAmbient,
EntityCowHurt,
EntityCowDeath,
EntityCowStep,
EntityCowMoodyAmbient,
EntityCowMoodyHurt,
EntityCowMoodyDeath,
EntityCowMoodyStep,
BlockCrafterCraft,
BlockCrafterFail,
EntityCreakingAmbient,
@ -724,6 +753,8 @@ pub enum Sound {
EntityGoatScreamingPrepareRam,
EntityGoatScreamingRamImpact,
EntityGoatStep,
ItemGoldenDandelionUse,
ItemGoldenDandelionUnuse,
BlockGrassBreak,
BlockGrassFall,
BlockGrassHit,
@ -819,18 +850,26 @@ pub enum Sound {
ItemGoatHornSound6,
ItemGoatHornSound7,
EntityHorseAmbient,
EntityBabyHorseAmbient,
EntityHorseAngry,
EntityBabyHorseAngry,
EntityHorseArmor,
ItemHorseArmorUnequip,
EntityHorseBreathe,
EntityBabyHorseBreathe,
EntityHorseDeath,
EntityBabyHorseDeath,
EntityHorseEat,
EntityBabyHorseEat,
EntityHorseGallop,
EntityHorseHurt,
EntityBabyHorseHurt,
EntityHorseJump,
EntityHorseLand,
EntityBabyHorseLand,
EntityHorseSaddle,
EntityHorseStep,
EntityBabyHorseStep,
EntityHorseStepWood,
EntityHostileBigFall,
EntityHostileDeath,
@ -1130,6 +1169,10 @@ pub enum Sound {
BlockNoteBlockHat,
BlockNoteBlockPling,
BlockNoteBlockSnare,
BlockNoteBlockTrumpet,
BlockNoteBlockTrumpetExposed,
BlockNoteBlockTrumpetOxidized,
BlockNoteBlockTrumpetWeathered,
BlockNoteBlockXylophone,
BlockNoteBlockIronXylophone,
BlockNoteBlockCowBell,
@ -1216,11 +1259,25 @@ pub enum Sound {
EntityPhantomFlap,
EntityPhantomHurt,
EntityPhantomSwoop,
EntityPigAmbient,
EntityPigDeath,
EntityPigHurt,
EntityPigSaddle,
EntityPigStep,
EntityBabyPigStep,
EntityBabyPigAmbient,
EntityBabyPigEat,
EntityBabyPigHurt,
EntityBabyPigDeath,
EntityPigAmbient,
EntityPigHurt,
EntityPigDeath,
EntityPigEat,
EntityPigMiniAmbient,
EntityPigMiniHurt,
EntityPigMiniDeath,
EntityPigMiniEat,
EntityPigBigAmbient,
EntityPigBigHurt,
EntityPigBigDeath,
EntityPigBigEat,
EntityPiglinAdmiringItem,
EntityPiglinAmbient,
EntityPiglinAngry,
@ -1726,11 +1783,18 @@ pub enum Sound {
EntityWitherSkeletonStep,
EntityWitherSpawn,
ItemWolfArmorBreak,
EntityBabyWolfAmbient,
ItemWolfArmorCrack,
ItemWolfArmorDamage,
ItemWolfArmorRepair,
EntityBabyWolfDeath,
EntityBabyWolfGrowl,
EntityBabyWolfHurt,
EntityBabyWolfPant,
EntityWolfShake,
EntityWolfStep,
EntityBabyWolfStep,
EntityBabyWolfWhine,
EntityWolfAmbient,
EntityWolfDeath,
EntityWolfGrowl,
@ -2120,15 +2184,33 @@ impl Sound {
"block.candle.hit",
"block.candle.place",
"block.candle.step",
"entity.baby_cat.ambient",
"entity.baby_cat.stray_ambient",
"entity.baby_cat.death",
"entity.baby_cat.eat",
"entity.baby_cat.hiss",
"entity.baby_cat.beg_for_food",
"entity.baby_cat.hurt",
"entity.baby_cat.purr",
"entity.baby_cat.purreow",
"entity.cat.ambient",
"entity.cat.stray_ambient",
"entity.cat.hiss",
"entity.cat.hurt",
"entity.cat.death",
"entity.cat.eat",
"entity.cat.hiss",
"entity.cat.beg_for_food",
"entity.cat.hurt",
"entity.cat.purr",
"entity.cat.purreow",
"entity.cat_royal.ambient",
"entity.cat_royal.stray_ambient",
"entity.cat_royal.hiss",
"entity.cat_royal.hurt",
"entity.cat_royal.death",
"entity.cat_royal.eat",
"entity.cat_royal.beg_for_food",
"entity.cat_royal.purr",
"entity.cat_royal.purreow",
"block.cave_vines.break",
"block.cave_vines.fall",
"block.cave_vines.hit",
@ -2173,11 +2255,18 @@ impl Sound {
"block.chest.close",
"block.chest.locked",
"block.chest.open",
"entity.chicken.ambient",
"entity.chicken.death",
"entity.baby_chicken.ambient",
"entity.baby_chicken.death",
"entity.chicken.egg",
"entity.chicken.hurt",
"entity.baby_chicken.hurt",
"entity.chicken.step",
"entity.baby_chicken.step",
"entity.chicken.ambient",
"entity.chicken.hurt",
"entity.chicken.death",
"entity.chicken_picky.ambient",
"entity.chicken_picky.hurt",
"entity.chicken_picky.death",
"block.chiseled_bookshelf.break",
"block.chiseled_bookshelf.fall",
"block.chiseled_bookshelf.hit",
@ -2265,11 +2354,15 @@ impl Sound {
"block.coral_block.hit",
"block.coral_block.place",
"block.coral_block.step",
"entity.cow.ambient",
"entity.cow.death",
"entity.cow.hurt",
"entity.cow.milk",
"entity.cow.ambient",
"entity.cow.hurt",
"entity.cow.death",
"entity.cow.step",
"entity.cow_moody.ambient",
"entity.cow_moody.hurt",
"entity.cow_moody.death",
"entity.cow_moody.step",
"block.crafter.craft",
"block.crafter.fail",
"entity.creaking.ambient",
@ -2565,6 +2658,8 @@ impl Sound {
"entity.goat.screaming.prepare_ram",
"entity.goat.screaming.ram_impact",
"entity.goat.step",
"item.golden_dandelion.use",
"item.golden_dandelion.unuse",
"block.grass.break",
"block.grass.fall",
"block.grass.hit",
@ -2660,18 +2755,26 @@ impl Sound {
"item.goat_horn.sound.6",
"item.goat_horn.sound.7",
"entity.horse.ambient",
"entity.baby_horse.ambient",
"entity.horse.angry",
"entity.baby_horse.angry",
"entity.horse.armor",
"item.horse_armor.unequip",
"entity.horse.breathe",
"entity.baby_horse.breathe",
"entity.horse.death",
"entity.baby_horse.death",
"entity.horse.eat",
"entity.baby_horse.eat",
"entity.horse.gallop",
"entity.horse.hurt",
"entity.baby_horse.hurt",
"entity.horse.jump",
"entity.horse.land",
"entity.baby_horse.land",
"entity.horse.saddle",
"entity.horse.step",
"entity.baby_horse.step",
"entity.horse.step_wood",
"entity.hostile.big_fall",
"entity.hostile.death",
@ -2971,6 +3074,10 @@ impl Sound {
"block.note_block.hat",
"block.note_block.pling",
"block.note_block.snare",
"block.note_block.trumpet",
"block.note_block.trumpet_exposed",
"block.note_block.trumpet_oxidized",
"block.note_block.trumpet_weathered",
"block.note_block.xylophone",
"block.note_block.iron_xylophone",
"block.note_block.cow_bell",
@ -3057,11 +3164,25 @@ impl Sound {
"entity.phantom.flap",
"entity.phantom.hurt",
"entity.phantom.swoop",
"entity.pig.ambient",
"entity.pig.death",
"entity.pig.hurt",
"entity.pig.saddle",
"entity.pig.step",
"entity.baby_pig.step",
"entity.baby_pig.ambient",
"entity.baby_pig.eat",
"entity.baby_pig.hurt",
"entity.baby_pig.death",
"entity.pig.ambient",
"entity.pig.hurt",
"entity.pig.death",
"entity.pig.eat",
"entity.pig_mini.ambient",
"entity.pig_mini.hurt",
"entity.pig_mini.death",
"entity.pig_mini.eat",
"entity.pig_big.ambient",
"entity.pig_big.hurt",
"entity.pig_big.death",
"entity.pig_big.eat",
"entity.piglin.admiring_item",
"entity.piglin.ambient",
"entity.piglin.angry",
@ -3567,11 +3688,18 @@ impl Sound {
"entity.wither_skeleton.step",
"entity.wither.spawn",
"item.wolf_armor.break",
"entity.baby_wolf.ambient",
"item.wolf_armor.crack",
"item.wolf_armor.damage",
"item.wolf_armor.repair",
"entity.baby_wolf.death",
"entity.baby_wolf.growl",
"entity.baby_wolf.hurt",
"entity.baby_wolf.pant",
"entity.wolf.shake",
"entity.wolf.step",
"entity.baby_wolf.step",
"entity.baby_wolf.whine",
"entity.wolf.ambient",
"entity.wolf.death",
"entity.wolf.growl",
@ -4614,6 +4742,19 @@ impl Sound {
),
("block.note_block.pling", Self::BlockNoteBlockPling),
("block.note_block.snare", Self::BlockNoteBlockSnare),
("block.note_block.trumpet", Self::BlockNoteBlockTrumpet),
(
"block.note_block.trumpet_exposed",
Self::BlockNoteBlockTrumpetExposed,
),
(
"block.note_block.trumpet_oxidized",
Self::BlockNoteBlockTrumpetOxidized,
),
(
"block.note_block.trumpet_weathered",
Self::BlockNoteBlockTrumpetWeathered,
),
("block.note_block.xylophone", Self::BlockNoteBlockXylophone),
("block.nylium.break", Self::BlockNyliumBreak),
("block.nylium.fall", Self::BlockNyliumFall),
@ -5138,6 +5279,36 @@ impl Sound {
("entity.axolotl.idle_water", Self::EntityAxolotlIdleWater),
("entity.axolotl.splash", Self::EntityAxolotlSplash),
("entity.axolotl.swim", Self::EntityAxolotlSwim),
("entity.baby_cat.ambient", Self::EntityBabyCatAmbient),
(
"entity.baby_cat.beg_for_food",
Self::EntityBabyCatBegForFood,
),
("entity.baby_cat.death", Self::EntityBabyCatDeath),
("entity.baby_cat.eat", Self::EntityBabyCatEat),
("entity.baby_cat.hiss", Self::EntityBabyCatHiss),
("entity.baby_cat.hurt", Self::EntityBabyCatHurt),
("entity.baby_cat.purr", Self::EntityBabyCatPurr),
("entity.baby_cat.purreow", Self::EntityBabyCatPurreow),
(
"entity.baby_cat.stray_ambient",
Self::EntityBabyCatStrayAmbient,
),
(
"entity.baby_chicken.ambient",
Self::EntityBabyChickenAmbient,
),
("entity.baby_chicken.death", Self::EntityBabyChickenDeath),
("entity.baby_chicken.hurt", Self::EntityBabyChickenHurt),
("entity.baby_chicken.step", Self::EntityBabyChickenStep),
("entity.baby_horse.ambient", Self::EntityBabyHorseAmbient),
("entity.baby_horse.angry", Self::EntityBabyHorseAngry),
("entity.baby_horse.breathe", Self::EntityBabyHorseBreathe),
("entity.baby_horse.death", Self::EntityBabyHorseDeath),
("entity.baby_horse.eat", Self::EntityBabyHorseEat),
("entity.baby_horse.hurt", Self::EntityBabyHorseHurt),
("entity.baby_horse.land", Self::EntityBabyHorseLand),
("entity.baby_horse.step", Self::EntityBabyHorseStep),
(
"entity.baby_nautilus.ambient",
Self::EntityBabyNautilusAmbient,
@ -5158,6 +5329,18 @@ impl Sound {
Self::EntityBabyNautilusHurtLand,
),
("entity.baby_nautilus.swim", Self::EntityBabyNautilusSwim),
("entity.baby_pig.ambient", Self::EntityBabyPigAmbient),
("entity.baby_pig.death", Self::EntityBabyPigDeath),
("entity.baby_pig.eat", Self::EntityBabyPigEat),
("entity.baby_pig.hurt", Self::EntityBabyPigHurt),
("entity.baby_pig.step", Self::EntityBabyPigStep),
("entity.baby_wolf.ambient", Self::EntityBabyWolfAmbient),
("entity.baby_wolf.death", Self::EntityBabyWolfDeath),
("entity.baby_wolf.growl", Self::EntityBabyWolfGrowl),
("entity.baby_wolf.hurt", Self::EntityBabyWolfHurt),
("entity.baby_wolf.pant", Self::EntityBabyWolfPant),
("entity.baby_wolf.step", Self::EntityBabyWolfStep),
("entity.baby_wolf.whine", Self::EntityBabyWolfWhine),
("entity.bat.ambient", Self::EntityBatAmbient),
("entity.bat.death", Self::EntityBatDeath),
("entity.bat.hurt", Self::EntityBatHurt),
@ -5228,11 +5411,32 @@ impl Sound {
("entity.cat.purr", Self::EntityCatPurr),
("entity.cat.purreow", Self::EntityCatPurreow),
("entity.cat.stray_ambient", Self::EntityCatStrayAmbient),
("entity.cat_royal.ambient", Self::EntityCatRoyalAmbient),
(
"entity.cat_royal.beg_for_food",
Self::EntityCatRoyalBegForFood,
),
("entity.cat_royal.death", Self::EntityCatRoyalDeath),
("entity.cat_royal.eat", Self::EntityCatRoyalEat),
("entity.cat_royal.hiss", Self::EntityCatRoyalHiss),
("entity.cat_royal.hurt", Self::EntityCatRoyalHurt),
("entity.cat_royal.purr", Self::EntityCatRoyalPurr),
("entity.cat_royal.purreow", Self::EntityCatRoyalPurreow),
(
"entity.cat_royal.stray_ambient",
Self::EntityCatRoyalStrayAmbient,
),
("entity.chicken.ambient", Self::EntityChickenAmbient),
("entity.chicken.death", Self::EntityChickenDeath),
("entity.chicken.egg", Self::EntityChickenEgg),
("entity.chicken.hurt", Self::EntityChickenHurt),
("entity.chicken.step", Self::EntityChickenStep),
(
"entity.chicken_picky.ambient",
Self::EntityChickenPickyAmbient,
),
("entity.chicken_picky.death", Self::EntityChickenPickyDeath),
("entity.chicken_picky.hurt", Self::EntityChickenPickyHurt),
("entity.cod.ambient", Self::EntityCodAmbient),
("entity.cod.death", Self::EntityCodDeath),
("entity.cod.flop", Self::EntityCodFlop),
@ -5300,6 +5504,10 @@ impl Sound {
("entity.cow.hurt", Self::EntityCowHurt),
("entity.cow.milk", Self::EntityCowMilk),
("entity.cow.step", Self::EntityCowStep),
("entity.cow_moody.ambient", Self::EntityCowMoodyAmbient),
("entity.cow_moody.death", Self::EntityCowMoodyDeath),
("entity.cow_moody.hurt", Self::EntityCowMoodyHurt),
("entity.cow_moody.step", Self::EntityCowMoodyStep),
("entity.creaking.activate", Self::EntityCreakingActivate),
("entity.creaking.ambient", Self::EntityCreakingAmbient),
("entity.creaking.attack", Self::EntityCreakingAttack),
@ -5942,9 +6150,18 @@ impl Sound {
("entity.phantom.swoop", Self::EntityPhantomSwoop),
("entity.pig.ambient", Self::EntityPigAmbient),
("entity.pig.death", Self::EntityPigDeath),
("entity.pig.eat", Self::EntityPigEat),
("entity.pig.hurt", Self::EntityPigHurt),
("entity.pig.saddle", Self::EntityPigSaddle),
("entity.pig.step", Self::EntityPigStep),
("entity.pig_big.ambient", Self::EntityPigBigAmbient),
("entity.pig_big.death", Self::EntityPigBigDeath),
("entity.pig_big.eat", Self::EntityPigBigEat),
("entity.pig_big.hurt", Self::EntityPigBigHurt),
("entity.pig_mini.ambient", Self::EntityPigMiniAmbient),
("entity.pig_mini.death", Self::EntityPigMiniDeath),
("entity.pig_mini.eat", Self::EntityPigMiniEat),
("entity.pig_mini.hurt", Self::EntityPigMiniHurt),
(
"entity.piglin.admiring_item",
Self::EntityPiglinAdmiringItem,
@ -6621,6 +6838,11 @@ impl Sound {
("item.goat_horn.sound.5", Self::ItemGoatHornSound5),
("item.goat_horn.sound.6", Self::ItemGoatHornSound6),
("item.goat_horn.sound.7", Self::ItemGoatHornSound7),
(
"item.golden_dandelion.unuse",
Self::ItemGoldenDandelionUnuse,
),
("item.golden_dandelion.use", Self::ItemGoldenDandelionUse),
("item.hoe.till", Self::ItemHoeTill),
("item.honey_bottle.drink", Self::ItemHoneyBottleDrink),
("item.honeycomb.wax_on", Self::ItemHoneycombWaxOn),
@ -7082,15 +7304,33 @@ impl Sound {
Self::BlockCandleHit,
Self::BlockCandlePlace,
Self::BlockCandleStep,
Self::EntityBabyCatAmbient,
Self::EntityBabyCatStrayAmbient,
Self::EntityBabyCatDeath,
Self::EntityBabyCatEat,
Self::EntityBabyCatHiss,
Self::EntityBabyCatBegForFood,
Self::EntityBabyCatHurt,
Self::EntityBabyCatPurr,
Self::EntityBabyCatPurreow,
Self::EntityCatAmbient,
Self::EntityCatStrayAmbient,
Self::EntityCatHiss,
Self::EntityCatHurt,
Self::EntityCatDeath,
Self::EntityCatEat,
Self::EntityCatHiss,
Self::EntityCatBegForFood,
Self::EntityCatHurt,
Self::EntityCatPurr,
Self::EntityCatPurreow,
Self::EntityCatRoyalAmbient,
Self::EntityCatRoyalStrayAmbient,
Self::EntityCatRoyalHiss,
Self::EntityCatRoyalHurt,
Self::EntityCatRoyalDeath,
Self::EntityCatRoyalEat,
Self::EntityCatRoyalBegForFood,
Self::EntityCatRoyalPurr,
Self::EntityCatRoyalPurreow,
Self::BlockCaveVinesBreak,
Self::BlockCaveVinesFall,
Self::BlockCaveVinesHit,
@ -7135,11 +7375,18 @@ impl Sound {
Self::BlockChestClose,
Self::BlockChestLocked,
Self::BlockChestOpen,
Self::EntityChickenAmbient,
Self::EntityChickenDeath,
Self::EntityBabyChickenAmbient,
Self::EntityBabyChickenDeath,
Self::EntityChickenEgg,
Self::EntityChickenHurt,
Self::EntityBabyChickenHurt,
Self::EntityChickenStep,
Self::EntityBabyChickenStep,
Self::EntityChickenAmbient,
Self::EntityChickenHurt,
Self::EntityChickenDeath,
Self::EntityChickenPickyAmbient,
Self::EntityChickenPickyHurt,
Self::EntityChickenPickyDeath,
Self::BlockChiseledBookshelfBreak,
Self::BlockChiseledBookshelfFall,
Self::BlockChiseledBookshelfHit,
@ -7227,11 +7474,15 @@ impl Sound {
Self::BlockCoralBlockHit,
Self::BlockCoralBlockPlace,
Self::BlockCoralBlockStep,
Self::EntityCowAmbient,
Self::EntityCowDeath,
Self::EntityCowHurt,
Self::EntityCowMilk,
Self::EntityCowAmbient,
Self::EntityCowHurt,
Self::EntityCowDeath,
Self::EntityCowStep,
Self::EntityCowMoodyAmbient,
Self::EntityCowMoodyHurt,
Self::EntityCowMoodyDeath,
Self::EntityCowMoodyStep,
Self::BlockCrafterCraft,
Self::BlockCrafterFail,
Self::EntityCreakingAmbient,
@ -7527,6 +7778,8 @@ impl Sound {
Self::EntityGoatScreamingPrepareRam,
Self::EntityGoatScreamingRamImpact,
Self::EntityGoatStep,
Self::ItemGoldenDandelionUse,
Self::ItemGoldenDandelionUnuse,
Self::BlockGrassBreak,
Self::BlockGrassFall,
Self::BlockGrassHit,
@ -7622,18 +7875,26 @@ impl Sound {
Self::ItemGoatHornSound6,
Self::ItemGoatHornSound7,
Self::EntityHorseAmbient,
Self::EntityBabyHorseAmbient,
Self::EntityHorseAngry,
Self::EntityBabyHorseAngry,
Self::EntityHorseArmor,
Self::ItemHorseArmorUnequip,
Self::EntityHorseBreathe,
Self::EntityBabyHorseBreathe,
Self::EntityHorseDeath,
Self::EntityBabyHorseDeath,
Self::EntityHorseEat,
Self::EntityBabyHorseEat,
Self::EntityHorseGallop,
Self::EntityHorseHurt,
Self::EntityBabyHorseHurt,
Self::EntityHorseJump,
Self::EntityHorseLand,
Self::EntityBabyHorseLand,
Self::EntityHorseSaddle,
Self::EntityHorseStep,
Self::EntityBabyHorseStep,
Self::EntityHorseStepWood,
Self::EntityHostileBigFall,
Self::EntityHostileDeath,
@ -7933,6 +8194,10 @@ impl Sound {
Self::BlockNoteBlockHat,
Self::BlockNoteBlockPling,
Self::BlockNoteBlockSnare,
Self::BlockNoteBlockTrumpet,
Self::BlockNoteBlockTrumpetExposed,
Self::BlockNoteBlockTrumpetOxidized,
Self::BlockNoteBlockTrumpetWeathered,
Self::BlockNoteBlockXylophone,
Self::BlockNoteBlockIronXylophone,
Self::BlockNoteBlockCowBell,
@ -8019,11 +8284,25 @@ impl Sound {
Self::EntityPhantomFlap,
Self::EntityPhantomHurt,
Self::EntityPhantomSwoop,
Self::EntityPigAmbient,
Self::EntityPigDeath,
Self::EntityPigHurt,
Self::EntityPigSaddle,
Self::EntityPigStep,
Self::EntityBabyPigStep,
Self::EntityBabyPigAmbient,
Self::EntityBabyPigEat,
Self::EntityBabyPigHurt,
Self::EntityBabyPigDeath,
Self::EntityPigAmbient,
Self::EntityPigHurt,
Self::EntityPigDeath,
Self::EntityPigEat,
Self::EntityPigMiniAmbient,
Self::EntityPigMiniHurt,
Self::EntityPigMiniDeath,
Self::EntityPigMiniEat,
Self::EntityPigBigAmbient,
Self::EntityPigBigHurt,
Self::EntityPigBigDeath,
Self::EntityPigBigEat,
Self::EntityPiglinAdmiringItem,
Self::EntityPiglinAmbient,
Self::EntityPiglinAngry,
@ -8529,11 +8808,18 @@ impl Sound {
Self::EntityWitherSkeletonStep,
Self::EntityWitherSpawn,
Self::ItemWolfArmorBreak,
Self::EntityBabyWolfAmbient,
Self::ItemWolfArmorCrack,
Self::ItemWolfArmorDamage,
Self::ItemWolfArmorRepair,
Self::EntityBabyWolfDeath,
Self::EntityBabyWolfGrowl,
Self::EntityBabyWolfHurt,
Self::EntityBabyWolfPant,
Self::EntityWolfShake,
Self::EntityWolfStep,
Self::EntityBabyWolfStep,
Self::EntityBabyWolfWhine,
Self::EntityWolfAmbient,
Self::EntityWolfDeath,
Self::EntityWolfGrowl,

File diff suppressed because it is too large Load Diff

View File

@ -4037,6 +4037,8 @@ pub const BLOCK_MINECRAFT_GLOWSTONE: &str = "block.minecraft.glowstone";
pub const BLOCK_MINECRAFT_GOLD_BLOCK: &str = "block.minecraft.gold_block";
#[doc = "Gold Ore"]
pub const BLOCK_MINECRAFT_GOLD_ORE: &str = "block.minecraft.gold_ore";
#[doc = "Golden Dandelion"]
pub const BLOCK_MINECRAFT_GOLDEN_DANDELION: &str = "block.minecraft.golden_dandelion";
#[doc = "Granite"]
pub const BLOCK_MINECRAFT_GRANITE: &str = "block.minecraft.granite";
#[doc = "Granite Slab"]
@ -4804,6 +4806,8 @@ pub const BLOCK_MINECRAFT_POTTED_FERN: &str = "block.minecraft.potted_fern";
#[doc = "Potted Flowering Azalea"]
pub const BLOCK_MINECRAFT_POTTED_FLOWERING_AZALEA_BUSH: &str =
"block.minecraft.potted_flowering_azalea_bush";
#[doc = "Potted Golden Dandelion"]
pub const BLOCK_MINECRAFT_POTTED_GOLDEN_DANDELION: &str = "block.minecraft.potted_golden_dandelion";
#[doc = "Potted Jungle Sapling"]
pub const BLOCK_MINECRAFT_POTTED_JUNGLE_SAPLING: &str = "block.minecraft.potted_jungle_sapling";
#[doc = "Potted Lily of the Valley"]
@ -5665,8 +5669,12 @@ pub const BOOK_SIGN_TITLEBOX: &str = "book.sign.titlebox";
pub const BOOK_SIGNBUTTON: &str = "book.signButton";
#[doc = "Book View Screen"]
pub const BOOK_VIEW_TITLE: &str = "book.view.title";
#[doc = "%s is under spawn protection"]
pub const BUILD_SPAWN_PROTECTION: &str = "build.spawn_protection";
#[doc = "Height limit for building is %s"]
pub const BUILD_TOOHIGH: &str = "build.tooHigh";
#[doc = "Minimum height for building is %s"]
pub const BUILD_TOOLOW: &str = "build.tooLow";
#[doc = "Cannot send chat message"]
pub const CHAT_CANNOTSEND: &str = "chat.cannotSend";
#[doc = "%s, %s, %s"]
@ -5753,8 +5761,32 @@ pub const CHAT_TYPE_TEXT: &str = "chat.type.text";
pub const CHAT_TYPE_TEXT_NARRATE: &str = "chat.type.text.narrate";
#[doc = "Chat validation error"]
pub const CHAT_VALIDATION_ERROR: &str = "chat.validation_error";
#[doc = "Chat is restricted in client settings."]
pub const CHAT_RESTRICTION_CHAT_AND_COMMANDS_DISABLED_BY_OPTIONS: &str =
"chat_restriction.chat_and_commands_disabled_by_options";
#[doc = "Player chat is restricted in client settings."]
pub const CHAT_RESTRICTION_CHAT_DISABLED_BY_OPTIONS: &str =
"chat_restriction.chat_disabled_by_options";
#[doc = "Go to the Chat Settings screen"]
pub const CHAT_RESTRICTION_CHAT_DISABLED_BY_OPTIONS_ACTION: &str =
"chat_restriction.chat_disabled_by_options.action";
#[doc = "Chat is restricted by the launcher"]
pub const CHAT_RESTRICTION_DISABLED_BY_LAUNCHER: &str = "chat_restriction.disabled_by_launcher";
#[doc = "Chat is restricted by profile settings."]
pub const CHAT_RESTRICTION_DISABLED_BY_PROFILE: &str = "chat_restriction.disabled_by_profile";
#[doc = "Go to your profile settings"]
pub const CHAT_RESTRICTION_DISABLED_BY_PROFILE_ACTION: &str =
"chat_restriction.disabled_by_profile.action";
#[doc = "Sending commands is not allowed"]
pub const CHAT_SCREEN_COMMANDS_NOT_ALLOWED: &str = "chat_screen.commands_not_allowed";
#[doc = "Message to send: %s"]
pub const CHAT_SCREEN_MESSAGE: &str = "chat_screen.message";
#[doc = "Sending chat messages is not allowed"]
pub const CHAT_SCREEN_MESSAGES_NOT_ALLOWED: &str = "chat_screen.messages_not_allowed";
#[doc = "Chat is restricted. Click this message for details."]
pub const CHAT_SCREEN_RESTRICTED: &str = "chat_screen.restricted";
#[doc = "Chat is restricted. Go to the Restrictions screen in World Options."]
pub const CHAT_SCREEN_RESTRICTED_NARRATION: &str = "chat_screen.restricted.narration";
#[doc = "Chat screen"]
pub const CHAT_SCREEN_TITLE: &str = "chat_screen.title";
#[doc = "Input message and press Enter to send"]
@ -5817,6 +5849,8 @@ pub const COMMAND_EXPECTED_SEPARATOR: &str = "command.expected.separator";
pub const COMMAND_FAILED: &str = "command.failed";
#[doc = "Maximum number of contexts (%s) reached"]
pub const COMMAND_FORKLIMIT: &str = "command.forkLimit";
#[doc = "Trailing data found: %s"]
pub const COMMAND_TRAILING_DATA: &str = "command.trailing_data";
#[doc = "Incorrect argument for command"]
pub const COMMAND_UNKNOWN_ARGUMENT: &str = "command.unknown.argument";
#[doc = "Unknown or incomplete command. See below for error"]
@ -6243,6 +6277,8 @@ pub const COMMANDS_EXPERIENCE_SET_POINTS_SUCCESS_SINGLE: &str =
pub const COMMANDS_FETCHPROFILE_COPY_COMPONENT: &str = "commands.fetchprofile.copy_component";
#[doc = "Copy %s"]
pub const COMMANDS_FETCHPROFILE_COPY_TEXT: &str = "commands.fetchprofile.copy_text";
#[doc = "Resolved profile for entity %s: %s"]
pub const COMMANDS_FETCHPROFILE_ENTITY_SUCCESS: &str = "commands.fetchprofile.entity.success";
#[doc = "Failed to serialize profile: %s"]
pub const COMMANDS_FETCHPROFILE_FAILED_TO_SERIALIZE: &str =
"commands.fetchprofile.failed_to_serialize";
@ -6256,6 +6292,8 @@ pub const COMMANDS_FETCHPROFILE_ID_SUCCESS: &str = "commands.fetchprofile.id.suc
pub const COMMANDS_FETCHPROFILE_NAME_FAILURE: &str = "commands.fetchprofile.name.failure";
#[doc = "Resolved profile for name %s: %s"]
pub const COMMANDS_FETCHPROFILE_NAME_SUCCESS: &str = "commands.fetchprofile.name.success";
#[doc = "Entity %s has no profile"]
pub const COMMANDS_FETCHPROFILE_NO_PROFILE: &str = "commands.fetchprofile.no_profile";
#[doc = "Summon Mannequin"]
pub const COMMANDS_FETCHPROFILE_SUMMON_MANNEQUIN: &str = "commands.fetchprofile.summon_mannequin";
#[doc = "No blocks were filled"]
@ -6777,6 +6815,12 @@ pub const COMMANDS_SUMMON_FAILED_UUID: &str = "commands.summon.failed.uuid";
pub const COMMANDS_SUMMON_INVALIDPOSITION: &str = "commands.summon.invalidPosition";
#[doc = "Summoned new %s"]
pub const COMMANDS_SUMMON_SUCCESS: &str = "commands.summon.success";
#[doc = "No living entities were found to swing"]
pub const COMMANDS_SWING_FAILED_NOTLIVING: &str = "commands.swing.failed.notliving";
#[doc = "Made %s entities swing their arms"]
pub const COMMANDS_SWING_SUCCESS_MULTIPLE: &str = "commands.swing.success.multiple";
#[doc = "Made %s swing an arm"]
pub const COMMANDS_SWING_SUCCESS_SINGLE: &str = "commands.swing.success.single";
#[doc = "Target either already has the tag or has too many tags"]
pub const COMMANDS_TAG_ADD_FAILED: &str = "commands.tag.add.failed";
#[doc = "Added tag '%s' to %s entities"]
@ -6978,10 +7022,35 @@ pub const COMMANDS_TICK_STEP_STOP_FAIL: &str = "commands.tick.step.stop.fail";
pub const COMMANDS_TICK_STEP_STOP_SUCCESS: &str = "commands.tick.step.stop.success";
#[doc = "Stepping %s tick(s)"]
pub const COMMANDS_TICK_STEP_SUCCESS: &str = "commands.tick.step.success";
#[doc = "There is no default clock in dimension %s"]
pub const COMMANDS_TIME_NO_DEFAULT_CLOCK: &str = "commands.time.no_default_clock";
#[doc = "Time marker %s does not exist for clock %s"]
pub const COMMANDS_TIME_NO_TIME_MARKER_FOUND: &str = "commands.time.no_time_marker_found";
#[doc = "Paused clock %s"]
pub const COMMANDS_TIME_PAUSE: &str = "commands.time.pause";
#[doc = "The time is %s"]
pub const COMMANDS_TIME_QUERY: &str = "commands.time.query";
#[doc = "Clock %s is at %s tick(s)"]
pub const COMMANDS_TIME_QUERY_ABSOLUTE: &str = "commands.time.query.absolute";
#[doc = "The game time is %s tick(s)"]
pub const COMMANDS_TIME_QUERY_GAMETIME: &str = "commands.time.query.gametime";
#[doc = "Timeline %s is at %s tick(s)"]
pub const COMMANDS_TIME_QUERY_TIMELINE: &str = "commands.time.query.timeline";
#[doc = "Timeline %s has passed %s repetition(s)"]
pub const COMMANDS_TIME_QUERY_TIMELINE_REPETITIONS: &str =
"commands.time.query.timeline.repetitions";
#[doc = "Clock %s will now advance at %sx normal rate"]
pub const COMMANDS_TIME_RATE: &str = "commands.time.rate";
#[doc = "Resumed clock %s"]
pub const COMMANDS_TIME_RESUME: &str = "commands.time.resume";
#[doc = "Set the time to %s"]
pub const COMMANDS_TIME_SET: &str = "commands.time.set";
#[doc = "Set %s to %s tick(s)"]
pub const COMMANDS_TIME_SET_ABSOLUTE: &str = "commands.time.set.absolute";
#[doc = "Set %s to time marker %s"]
pub const COMMANDS_TIME_SET_TIME_MARKER: &str = "commands.time.set.time_marker";
#[doc = "Timeline %s is not valid for clock %s"]
pub const COMMANDS_TIME_WRONG_TIMELINE_FOR_CLOCK: &str = "commands.time.wrong_timeline_for_clock";
#[doc = "Cleared titles for %s players"]
pub const COMMANDS_TITLE_CLEARED_MULTIPLE: &str = "commands.title.cleared.multiple";
#[doc = "Cleared titles for %s"]
@ -7787,6 +7856,19 @@ pub const DOWNLOAD_PACK_PROGRESS_PERCENT: &str = "download.pack.progress.percent
pub const DOWNLOAD_PACK_TITLE: &str = "download.pack.title";
#[doc = "Default: %s"]
pub const EDITGAMERULE_DEFAULT: &str = "editGamerule.default";
#[doc = "Edit Game Rules..."]
pub const EDITGAMERULE_INGAME_BUTTON: &str = "editGamerule.inGame.button";
#[doc = "Updating game rules requires operator permissions."]
pub const EDITGAMERULE_INGAME_DISABLED_TOOLTIP: &str = "editGamerule.inGame.disabled.tooltip";
#[doc = "Are you sure you want to discard your pending game rule changes?"]
pub const EDITGAMERULE_INGAME_DISCARDCHANGES_MESSAGE: &str =
"editGamerule.inGame.discardChanges.message";
#[doc = "Game rule Changes"]
pub const EDITGAMERULE_INGAME_DISCARDCHANGES_TITLE: &str =
"editGamerule.inGame.discardChanges.title";
#[doc = "Retrieving game rules..."]
pub const EDITGAMERULE_INGAME_DOWNLOADINGGAMERULES: &str =
"editGamerule.inGame.downloadingGamerules";
#[doc = "Edit Game Rules"]
pub const EDITGAMERULE_TITLE: &str = "editGamerule.title";
#[doc = "∞"]
@ -8684,6 +8766,9 @@ pub const GAMERULE_MINECRAFT_PLAYER_MOVEMENT_CHECK: &str =
"gamerule.minecraft.player_movement_check";
#[doc = "Do raids"]
pub const GAMERULE_MINECRAFT_RAIDS: &str = "gamerule.minecraft.raids";
#[doc = "Angered neutral mobs attack any nearby player, not just the player that angered them. Works best if forgive_dead_players is disabled."]
pub const GAMERULE_MINECRAFT_UNIVERSAL_ANGER_DESCRIPTION: &str =
"gamerule.minecraft.universal_anger.description";
#[doc = "In mob explosions, some blocks won't drop their loot"]
pub const GAMERULE_MOBEXPLOSIONDROPDECAY: &str = "gamerule.mobExplosionDropDecay";
#[doc = "Some of the drops from blocks destroyed by explosions caused by mobs are lost in the explosion."]
@ -9101,6 +9186,8 @@ pub const GUI_EXPERIENCE_LEVEL: &str = "gui.experience.level";
pub const GUI_FILEDROPFAILURE_DETAIL: &str = "gui.fileDropFailure.detail";
#[doc = "Failed to add files"]
pub const GUI_FILEDROPFAILURE_TITLE: &str = "gui.fileDropFailure.title";
#[doc = "Search..."]
pub const GUI_GAME_RULE_SEARCH: &str = "gui.game_rule.search";
#[doc = "%s hour(s)"]
pub const GUI_HOURS: &str = "gui.hours";
#[doc = "Search..."]
@ -9211,6 +9298,9 @@ pub const GUI_SOCIALINTERACTIONS_TITLE: &str = "gui.socialInteractions.title";
pub const GUI_SOCIALINTERACTIONS_TOOLTIP_HIDE: &str = "gui.socialInteractions.tooltip.hide";
#[doc = "Report player"]
pub const GUI_SOCIALINTERACTIONS_TOOLTIP_REPORT: &str = "gui.socialInteractions.tooltip.report";
#[doc = "This player can't be reported because chat is disabled or blocked"]
pub const GUI_SOCIALINTERACTIONS_TOOLTIP_REPORT_CHAT_DISABLED_OR_BLOCKED: &str =
"gui.socialInteractions.tooltip.report.chat_disabled_or_blocked";
#[doc = "The reporting service is unavailable"]
pub const GUI_SOCIALINTERACTIONS_TOOLTIP_REPORT_DISABLED: &str =
"gui.socialInteractions.tooltip.report.disabled";
@ -11162,6 +11252,8 @@ pub const KEY_DEBUG_DUMPVERSION: &str = "key.debug.dumpVersion";
pub const KEY_DEBUG_FOCUSPAUSE: &str = "key.debug.focusPause";
#[doc = "FPS Charts"]
pub const KEY_DEBUG_FPSCHARTS: &str = "key.debug.fpsCharts";
#[doc = "Lightmap Texture"]
pub const KEY_DEBUG_LIGHTMAPTEXTURE: &str = "key.debug.lightmapTexture";
#[doc = "Debug Modifier Key"]
pub const KEY_DEBUG_MODIFIER: &str = "key.debug.modifier";
#[doc = "Network Charts"]
@ -13058,6 +13150,11 @@ pub const OPTIONS_DISCRETE_MOUSE_SCROLL: &str = "options.discrete_mouse_scroll";
pub const OPTIONS_ENTITYDISTANCESCALING: &str = "options.entityDistanceScaling";
#[doc = "Entity Shadows"]
pub const OPTIONS_ENTITYSHADOWS: &str = "options.entityShadows";
#[doc = "Exclusive Fullscreen"]
pub const OPTIONS_EXCLUSIVEFULLSCREEN: &str = "options.exclusiveFullscreen";
#[doc = "This option might prevent some input methods from working."]
pub const OPTIONS_EXCLUSIVEFULLSCREEN_WARNINGTOOLTIP: &str =
"options.exclusiveFullscreen.warningTooltip";
#[doc = "Font Settings..."]
pub const OPTIONS_FONT: &str = "options.font";
#[doc = "Font Settings"]
@ -13270,6 +13367,8 @@ pub const OPTIONS_NARRATOR_NOTAVAILABLE: &str = "options.narrator.notavailable";
pub const OPTIONS_NARRATOR_OFF: &str = "options.narrator.off";
#[doc = "Narrates System"]
pub const OPTIONS_NARRATOR_SYSTEM: &str = "options.narrator.system";
#[doc = "Option will be applied after restart."]
pub const OPTIONS_NEEDSRESTART: &str = "options.needsRestart";
#[doc = "Notification Time"]
pub const OPTIONS_NOTIFICATIONS_DISPLAY_TIME: &str = "options.notifications.display_time";
#[doc = "Affects the length of time that all notifications stay visible on the screen."]
@ -13437,6 +13536,10 @@ pub const OPTIONS_VSYNC: &str = "options.vsync";
pub const OPTIONS_WEATHERRADIUS: &str = "options.weatherRadius";
#[doc = "Radius of the area where rain and snow effects are visible. Very low performance impact."]
pub const OPTIONS_WEATHERRADIUS_TOOLTIP: &str = "options.weatherRadius.tooltip";
#[doc = "World Options..."]
pub const OPTIONS_WORLDOPTIONS_BUTTON: &str = "options.worldOptions.button";
#[doc = "World Options"]
pub const OPTIONS_WORLDOPTIONS_TITLE: &str = "options.worldOptions.title";
#[doc = "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 world 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."]
pub const OUTOFMEMORY_MESSAGE: &str = "outOfMemory.message";
#[doc = "Out of memory!"]
@ -13888,6 +13991,34 @@ pub const RESOURCEPACK_DOWNLOADING: &str = "resourcepack.downloading";
pub const RESOURCEPACK_PROGRESS: &str = "resourcepack.progress";
#[doc = "Making Request..."]
pub const RESOURCEPACK_REQUESTING: &str = "resourcepack.requesting";
#[doc = "Restrictions..."]
pub const RESTRICTIONS_SCREEN_BUTTON: &str = "restrictions_screen.button";
#[doc = "You can receive messages from players"]
pub const RESTRICTIONS_SCREEN_PERMISSION_RECEIVE_PLAYER_MESSAGES_ALLOWED: &str =
"restrictions_screen.permission.receive_player_messages.allowed";
#[doc = "You can't receive messages from players"]
pub const RESTRICTIONS_SCREEN_PERMISSION_RECEIVE_PLAYER_MESSAGES_DENIED: &str =
"restrictions_screen.permission.receive_player_messages.denied";
#[doc = "You can receive system messages from the server"]
pub const RESTRICTIONS_SCREEN_PERMISSION_RECEIVE_SYSTEM_MESSAGES_ALLOWED: &str =
"restrictions_screen.permission.receive_system_messages.allowed";
#[doc = "You can't receive system messages from the server"]
pub const RESTRICTIONS_SCREEN_PERMISSION_RECEIVE_SYSTEM_MESSAGES_DENIED: &str =
"restrictions_screen.permission.receive_system_messages.denied";
#[doc = "You can send commands"]
pub const RESTRICTIONS_SCREEN_PERMISSION_SEND_COMMANDS_ALLOWED: &str =
"restrictions_screen.permission.send_commands.allowed";
#[doc = "You can't send commands"]
pub const RESTRICTIONS_SCREEN_PERMISSION_SEND_COMMANDS_DENIED: &str =
"restrictions_screen.permission.send_commands.denied";
#[doc = "You can send chat messages"]
pub const RESTRICTIONS_SCREEN_PERMISSION_SEND_MESSAGES_ALLOWED: &str =
"restrictions_screen.permission.send_messages.allowed";
#[doc = "You can't send chat messages"]
pub const RESTRICTIONS_SCREEN_PERMISSION_SEND_MESSAGES_DENIED: &str =
"restrictions_screen.permission.send_messages.denied";
#[doc = "Restrictions"]
pub const RESTRICTIONS_SCREEN_TITLE: &str = "restrictions_screen.title";
#[doc = "Couldn't save screenshot: %s"]
pub const SCREENSHOT_FAILURE: &str = "screenshot.failure";
#[doc = "Saved screenshot as %s"]
@ -13934,6 +14065,9 @@ pub const SELECTWORLD_BACKUPQUESTION_CUSTOMIZED: &str = "selectWorld.backupQuest
pub const SELECTWORLD_BACKUPQUESTION_DOWNGRADE: &str = "selectWorld.backupQuestion.downgrade";
#[doc = "Worlds using Experimental Settings are not supported"]
pub const SELECTWORLD_BACKUPQUESTION_EXPERIMENTAL: &str = "selectWorld.backupQuestion.experimental";
#[doc = "Create a backup before upgrading this world?"]
pub const SELECTWORLD_BACKUPQUESTION_FILE_FIXING_REQUIRED: &str =
"selectWorld.backupQuestion.file_fixing_required";
#[doc = "Do you really want to load this world?"]
pub const SELECTWORLD_BACKUPQUESTION_SNAPSHOT: &str = "selectWorld.backupQuestion.snapshot";
#[doc = "Unfortunately, we do not support customized worlds in this version of Minecraft. We can still load this world and keep everything the way it was, but any newly generated terrain will no longer be customized. We're sorry for the inconvenience!"]
@ -13942,7 +14076,10 @@ pub const SELECTWORLD_BACKUPWARNING_CUSTOMIZED: &str = "selectWorld.backupWarnin
pub const SELECTWORLD_BACKUPWARNING_DOWNGRADE: &str = "selectWorld.backupWarning.downgrade";
#[doc = "This world uses experimental settings that could stop working at any time. We cannot guarantee it will load or work. Here be dragons!"]
pub const SELECTWORLD_BACKUPWARNING_EXPERIMENTAL: &str = "selectWorld.backupWarning.experimental";
#[doc = "This world was last played in version %s; you are on version %s. Please make a backup in case you experience world corruptions."]
#[doc = "This world needs to be upgraded before you can play it. We strongly suggest creating a backup before continuing in case you experience world corruption."]
pub const SELECTWORLD_BACKUPWARNING_FILE_FIXING_REQUIRED: &str =
"selectWorld.backupWarning.file_fixing_required";
#[doc = "This world was last played in version %s; you are on version %s. Please make a backup in case you experience world corruption."]
pub const SELECTWORLD_BACKUPWARNING_SNAPSHOT: &str = "selectWorld.backupWarning.snapshot";
#[doc = "Bonus Chest"]
pub const SELECTWORLD_BONUSITEMS: &str = "selectWorld.bonusItems";
@ -14116,6 +14253,15 @@ pub const SELECTWORLD_RECREATE_CUSTOMIZED_TITLE: &str = "selectWorld.recreate.cu
pub const SELECTWORLD_RECREATE_ERROR_TEXT: &str = "selectWorld.recreate.error.text";
#[doc = "An error occurred!"]
pub const SELECTWORLD_RECREATE_ERROR_TITLE: &str = "selectWorld.recreate.error.title";
#[doc = "This world needs to be upgraded to the latest version before you can edit it due to underlying changes to the world format."]
pub const SELECTWORLD_REQUIRESFILEFIXINGTOOLTIP_EDIT: &str =
"selectWorld.requiresFileFixingTooltip.edit";
#[doc = "This world needs to be upgraded to the latest version before you can play it due to underlying changes to the world format."]
pub const SELECTWORLD_REQUIRESFILEFIXINGTOOLTIP_PLAY: &str =
"selectWorld.requiresFileFixingTooltip.play";
#[doc = "This world needs to be upgraded to the latest version before you can recreate it due to underlying changes to the world format."]
pub const SELECTWORLD_REQUIRESFILEFIXINGTOOLTIP_RECREATE: &str =
"selectWorld.requiresFileFixingTooltip.recreate";
#[doc = "Preparing Resources..."]
pub const SELECTWORLD_RESOURCE_LOAD: &str = "selectWorld.resource_load";
#[doc = "Will be saved in:"]
@ -14140,6 +14286,8 @@ pub const SELECTWORLD_TOOLTIP_SNAPSHOT1: &str = "selectWorld.tooltip.snapshot1";
pub const SELECTWORLD_TOOLTIP_SNAPSHOT2: &str = "selectWorld.tooltip.snapshot2";
#[doc = "Unable to load worlds"]
pub const SELECTWORLD_UNABLE_TO_LOAD: &str = "selectWorld.unable_to_load";
#[doc = "Upgrade and Play"]
pub const SELECTWORLD_UPGRADE_AND_PLAY: &str = "selectWorld.upgrade_and_play";
#[doc = "Version:"]
pub const SELECTWORLD_VERSION: &str = "selectWorld.version";
#[doc = "Load Anyway"]
@ -14150,6 +14298,10 @@ pub const SELECTWORLD_VERSIONQUESTION: &str = "selectWorld.versionQuestion";
pub const SELECTWORLD_VERSIONUNKNOWN: &str = "selectWorld.versionUnknown";
#[doc = "This world was last played in version %s and loading it in this version could cause corruption!"]
pub const SELECTWORLD_VERSIONWARNING: &str = "selectWorld.versionWarning";
#[doc = "Depending on the size of your world, this may take a while. Please do not close the game or shut off your device."]
pub const SELECTWORLD_WAITINGFORBACKUP_MESSAGE: &str = "selectWorld.waitingForBackup.message";
#[doc = "Creating Backup"]
pub const SELECTWORLD_WAITINGFORBACKUP_TITLE: &str = "selectWorld.waitingForBackup.title";
#[doc = "Some features used are deprecated and will stop working in the future. Do you wish to proceed?"]
pub const SELECTWORLD_WARNING_DEPRECATED_QUESTION: &str = "selectWorld.warning.deprecated.question";
#[doc = "Warning! These settings are using deprecated features"]
@ -14166,6 +14318,10 @@ pub const SELECTWORLD_WARNING_LOWDISKSPACE_DESCRIPTION: &str =
pub const SELECTWORLD_WARNING_LOWDISKSPACE_TITLE: &str = "selectWorld.warning.lowDiskSpace.title";
#[doc = "World"]
pub const SELECTWORLD_WORLD: &str = "selectWorld.world";
#[doc = "Unable to read or access the world gen settings file! %s"]
pub const SELECTWORLD_WORLD_GEN_SETTINGS_ACCESS: &str = "selectWorld.world_gen_settings_access";
#[doc = "Loading the world requires taking a backup first"]
pub const SELECTEWORLD_BACKUPREQUIREDTOOLTIP: &str = "selecteWorld.backupRequiredTooltip";
#[doc = "Edit Sign Message"]
pub const SIGN_EDIT: &str = "sign.edit";
#[doc = "No amount of rest can pass this night"]
@ -14970,6 +15126,40 @@ pub const SUBTITLES_ENTITY_AXOLOTL_IDLE_WATER: &str = "subtitles.entity.axolotl.
pub const SUBTITLES_ENTITY_AXOLOTL_SPLASH: &str = "subtitles.entity.axolotl.splash";
#[doc = "Axolotl swims"]
pub const SUBTITLES_ENTITY_AXOLOTL_SWIM: &str = "subtitles.entity.axolotl.swim";
#[doc = "Kitten meows"]
pub const SUBTITLES_ENTITY_BABY_CAT_AMBIENT: &str = "subtitles.entity.baby_cat.ambient";
#[doc = "Kitten begs"]
pub const SUBTITLES_ENTITY_BABY_CAT_BEG_FOR_FOOD: &str = "subtitles.entity.baby_cat.beg_for_food";
#[doc = "Kitten dies"]
pub const SUBTITLES_ENTITY_BABY_CAT_DEATH: &str = "subtitles.entity.baby_cat.death";
#[doc = "Kitten eats"]
pub const SUBTITLES_ENTITY_BABY_CAT_EAT: &str = "subtitles.entity.baby_cat.eat";
#[doc = "Kitten hisses"]
pub const SUBTITLES_ENTITY_BABY_CAT_HISS: &str = "subtitles.entity.baby_cat.hiss";
#[doc = "Kitten hurts"]
pub const SUBTITLES_ENTITY_BABY_CAT_HURT: &str = "subtitles.entity.baby_cat.hurt";
#[doc = "Kitten purrs"]
pub const SUBTITLES_ENTITY_BABY_CAT_PURR: &str = "subtitles.entity.baby_cat.purr";
#[doc = "Chick peeps"]
pub const SUBTITLES_ENTITY_BABY_CHICKEN_AMBIENT: &str = "subtitles.entity.baby_chicken.ambient";
#[doc = "Chick dies"]
pub const SUBTITLES_ENTITY_BABY_CHICKEN_DEATH: &str = "subtitles.entity.baby_chicken.death";
#[doc = "Chick hurts"]
pub const SUBTITLES_ENTITY_BABY_CHICKEN_HURTS: &str = "subtitles.entity.baby_chicken.hurts";
#[doc = "Foal neighs"]
pub const SUBTITLES_ENTITY_BABY_HORSE_AMBIENT: &str = "subtitles.entity.baby_horse.ambient";
#[doc = "Foal neighs"]
pub const SUBTITLES_ENTITY_BABY_HORSE_ANGRY: &str = "subtitles.entity.baby_horse.angry";
#[doc = "Foal breathes"]
pub const SUBTITLES_ENTITY_BABY_HORSE_BREATHE: &str = "subtitles.entity.baby_horse.breathe";
#[doc = "Foal dies"]
pub const SUBTITLES_ENTITY_BABY_HORSE_DEATH: &str = "subtitles.entity.baby_horse.death";
#[doc = "Foal eats"]
pub const SUBTITLES_ENTITY_BABY_HORSE_EAT: &str = "subtitles.entity.baby_horse.eat";
#[doc = "Foal hurts"]
pub const SUBTITLES_ENTITY_BABY_HORSE_HURT: &str = "subtitles.entity.baby_horse.hurt";
#[doc = "Foal lands"]
pub const SUBTITLES_ENTITY_BABY_HORSE_LAND: &str = "subtitles.entity.baby_horse.land";
#[doc = "Baby Nautilus chitters"]
pub const SUBTITLES_ENTITY_BABY_NAUTILUS_AMBIENT: &str = "subtitles.entity.baby_nautilus.ambient";
#[doc = "Baby Nautilus chitters"]
@ -14989,6 +15179,26 @@ pub const SUBTITLES_ENTITY_BABY_NAUTILUS_HURT_LAND: &str =
"subtitles.entity.baby_nautilus.hurt_land";
#[doc = "Baby Nautilus swims"]
pub const SUBTITLES_ENTITY_BABY_NAUTILUS_SWIM: &str = "subtitles.entity.baby_nautilus.swim";
#[doc = "Baby Pig oinks"]
pub const SUBTITLES_ENTITY_BABY_PIG_AMBIENT: &str = "subtitles.entity.baby_pig.ambient";
#[doc = "Baby Pig dies"]
pub const SUBTITLES_ENTITY_BABY_PIG_DEATH: &str = "subtitles.entity.baby_pig.death";
#[doc = "Baby Pig eats"]
pub const SUBTITLES_ENTITY_BABY_PIG_EAT: &str = "subtitles.entity.baby_pig.eat";
#[doc = "Baby Pig hurts"]
pub const SUBTITLES_ENTITY_BABY_PIG_HURT: &str = "subtitles.entity.baby_pig.hurt";
#[doc = "Puppy yips"]
pub const SUBTITLES_ENTITY_BABY_WOLF_AMBIENT: &str = "subtitles.entity.baby_wolf.ambient";
#[doc = "Puppy dies"]
pub const SUBTITLES_ENTITY_BABY_WOLF_DEATH: &str = "subtitles.entity.baby_wolf.death";
#[doc = "Puppy growls"]
pub const SUBTITLES_ENTITY_BABY_WOLF_GROWL: &str = "subtitles.entity.baby_wolf.growl";
#[doc = "Puppy hurts"]
pub const SUBTITLES_ENTITY_BABY_WOLF_HURT: &str = "subtitles.entity.baby_wolf.hurt";
#[doc = "Puppy pants"]
pub const SUBTITLES_ENTITY_BABY_WOLF_PANT: &str = "subtitles.entity.baby_wolf.pant";
#[doc = "Puppy whines"]
pub const SUBTITLES_ENTITY_BABY_WOLF_WHINE: &str = "subtitles.entity.baby_wolf.whine";
#[doc = "Bat screeches"]
pub const SUBTITLES_ENTITY_BAT_AMBIENT: &str = "subtitles.entity.bat.ambient";
#[doc = "Bat dies"]
@ -15809,6 +16019,8 @@ pub const SUBTITLES_ENTITY_PHANTOM_SWOOP: &str = "subtitles.entity.phantom.swoop
pub const SUBTITLES_ENTITY_PIG_AMBIENT: &str = "subtitles.entity.pig.ambient";
#[doc = "Pig dies"]
pub const SUBTITLES_ENTITY_PIG_DEATH: &str = "subtitles.entity.pig.death";
#[doc = "Pig eats"]
pub const SUBTITLES_ENTITY_PIG_EAT: &str = "subtitles.entity.pig.eat";
#[doc = "Pig hurts"]
pub const SUBTITLES_ENTITY_PIG_HURT: &str = "subtitles.entity.pig.hurt";
#[doc = "Saddle equips"]
@ -16482,6 +16694,10 @@ pub const SUBTITLES_ITEM_FLINTANDSTEEL_USE: &str = "subtitles.item.flintandsteel
pub const SUBTITLES_ITEM_GLOW_INK_SAC_USE: &str = "subtitles.item.glow_ink_sac.use";
#[doc = "Goat Horn plays"]
pub const SUBTITLES_ITEM_GOAT_HORN_PLAY: &str = "subtitles.item.goat_horn.play";
#[doc = "Golden Dandelion starts aging"]
pub const SUBTITLES_ITEM_GOLDEN_DANDELION_UNUSE: &str = "subtitles.item.golden_dandelion.unuse";
#[doc = "Golden Dandelion halts aging"]
pub const SUBTITLES_ITEM_GOLDEN_DANDELION_USE: &str = "subtitles.item.golden_dandelion.use";
#[doc = "Hoe tills"]
pub const SUBTITLES_ITEM_HOE_TILL: &str = "subtitles.item.hoe.till";
#[doc = "Gulping"]
@ -16756,6 +16972,8 @@ pub const TEST_ERROR_ENTITY_PROPERTY: &str = "test.error.entity_property";
pub const TEST_ERROR_ENTITY_PROPERTY_DETAILS: &str = "test.error.entity_property_details";
#[doc = "Expected block %s: got %s"]
pub const TEST_ERROR_EXPECTED_BLOCK: &str = "test.error.expected_block";
#[doc = "Expected block %s to be present"]
pub const TEST_ERROR_EXPECTED_BLOCK_PRESENT: &str = "test.error.expected_block_present";
#[doc = "Expected block in #%s: got %s"]
pub const TEST_ERROR_EXPECTED_BLOCK_TAG: &str = "test.error.expected_block_tag";
#[doc = "Container should contain: %s"]
@ -16798,6 +17016,8 @@ pub const TEST_ERROR_FAIL: &str = "test.error.fail";
pub const TEST_ERROR_INVALID_BLOCK_TYPE: &str = "test.error.invalid_block_type";
#[doc = "Missing block entity"]
pub const TEST_ERROR_MISSING_BLOCK_ENTITY: &str = "test.error.missing_block_entity";
#[doc = "Given block is not a block item"]
pub const TEST_ERROR_NOT_A_BLOCK_ITEM: &str = "test.error.not_a_block_item";
#[doc = "%s at %s, %s, %s (relative: %s, %s, %s) on tick %s"]
pub const TEST_ERROR_POSITION: &str = "test.error.position";
#[doc = "Condition already triggered at %s"]
@ -16808,6 +17028,8 @@ pub const TEST_ERROR_SEQUENCE_CONDITION_NOT_TRIGGERED: &str =
"test.error.sequence.condition_not_triggered";
#[doc = "Succeeded in invalid tick: expected %s"]
pub const TEST_ERROR_SEQUENCE_INVALID_TICK: &str = "test.error.sequence.invalid_tick";
#[doc = "Succeeded before expected tick: expected to wait %s"]
pub const TEST_ERROR_SEQUENCE_MINIMUM_TICK: &str = "test.error.sequence.minimum_tick";
#[doc = "Test timed out before sequence completed"]
pub const TEST_ERROR_SEQUENCE_NOT_COMPLETED: &str = "test.error.sequence.not_completed";
#[doc = "Failed to set biome for test"]
@ -17045,3 +17267,44 @@ pub const TUTORIAL_SOCIALINTERACTIONS_DESCRIPTION: &str = "tutorial.socialIntera
pub const TUTORIAL_SOCIALINTERACTIONS_TITLE: &str = "tutorial.socialInteractions.title";
#[doc = "Netherite Upgrade"]
pub const UPGRADE_MINECRAFT_NETHERITE_UPGRADE: &str = "upgrade.minecraft.netherite_upgrade";
#[doc = "This may happen if another program accessed the world during the upgrade.\nIt may help to restart your computer and try again. If the issue persists, please consider reporting a bug."]
pub const UPGRADEWORLD_ABORTED_MESSAGE: &str = "upgradeWorld.aborted.message";
#[doc = "Report a Bug"]
pub const UPGRADEWORLD_ABORTED_REPORTBUG: &str = "upgradeWorld.aborted.reportBug";
#[doc = "Failed to upgrade the world"]
pub const UPGRADEWORLD_ABORTED_TITLE: &str = "upgradeWorld.aborted.title";
#[doc = "Your world remains as it was before."]
pub const UPGRADEWORLD_CANCELED_MESSAGE: &str = "upgradeWorld.canceled.message";
#[doc = "World upgrade canceled"]
pub const UPGRADEWORLD_CANCELED_TITLE: &str = "upgradeWorld.canceled.title";
#[doc = "Upgrading World Completed"]
pub const UPGRADEWORLD_DONE: &str = "upgradeWorld.done";
#[doc = "The world was successfully upgraded to the current version and is now available in the world list.\nWe encountered issues when cleaning up outdated data, therefore the name of the world folder has changed to %s."]
pub const UPGRADEWORLD_FAILED_CLEANUP_MESSAGE: &str = "upgradeWorld.failed_cleanup.message";
#[doc = "Successfully upgraded the world"]
pub const UPGRADEWORLD_FAILED_CLEANUP_TITLE: &str = "upgradeWorld.failed_cleanup.title";
#[doc = "Upgraded: %s"]
pub const UPGRADEWORLD_INFO_CONVERTED: &str = "upgradeWorld.info.converted";
#[doc = "Stage: %s/%s"]
pub const UPGRADEWORLD_INFO_FILE_FIX_STAGE: &str = "upgradeWorld.info.file_fix_stage";
#[doc = "Scanning files..."]
pub const UPGRADEWORLD_INFO_SCANNING: &str = "upgradeWorld.info.scanning";
#[doc = "Total: %s"]
pub const UPGRADEWORLD_INFO_TOTAL: &str = "upgradeWorld.info.total";
#[doc = "Do you want to join the world now?"]
pub const UPGRADEWORLD_JOINNOW: &str = "upgradeWorld.joinNow";
#[doc = "%s%%"]
pub const UPGRADEWORLD_PROGRESS_PERCENTAGE: &str = "upgradeWorld.progress.percentage";
#[doc = "Moving files"]
pub const UPGRADEWORLD_PROGRESS_TYPE_FILES: &str = "upgradeWorld.progress.type.files";
#[doc = "Upgrading legacy structures"]
pub const UPGRADEWORLD_PROGRESS_TYPE_LEGACY_STRUCTURES: &str =
"upgradeWorld.progress.type.legacy_structures";
#[doc = "Upgrading regions"]
pub const UPGRADEWORLD_PROGRESS_TYPE_REGION: &str = "upgradeWorld.progress.type.region";
#[doc = "The selected world contains symbolic links.\nThe required steps to upgrade the world to the current version do not support the use of symbolic links. To upgrade the world, the links need to be resolved first."]
pub const UPGRADEWORLD_SYMLINK_MESSAGE: &str = "upgradeWorld.symlink.message";
#[doc = "Can't upgrade the world"]
pub const UPGRADEWORLD_SYMLINK_TITLE: &str = "upgradeWorld.symlink.title";
#[doc = "Upgrading World Files"]
pub const UPGRADEWORLD_TITLE: &str = "upgradeWorld.title";

View File

@ -1,85 +1,86 @@
/* This file is generated. Do not edit manually. */
#[repr(u16)]
pub enum WorldEvent {
AnvilDestroyed = 1029u16,
AnvilLands = 1031u16,
AnvilUsed = 1030u16,
BatTakesOff = 1025u16,
BeeFertilizesPlant = 2011u16,
BlazeShoots = 1018u16,
BlockBroken = 2001u16,
BlockFinishedBrushing = 3008u16,
BlockScraped = 3005u16,
BlockWaxed = 3003u16,
BoneMealUsed = 1505u16,
BrewingStandBrews = 1035u16,
ChorusFlowerDies = 1034u16,
ChorusFlowerGrows = 1033u16,
CobwebWeaved = 3018u16,
ComposterUsed = 1500u16,
CrafterCrafts = 1049u16,
CrafterFails = 1050u16,
CrafterShoots = 2010u16,
DispenserActivated = 2000u16,
DispenserDispenses = 1000u16,
DispenserFails = 1001u16,
DispenserLaunchesProjectile = 1002u16,
DragonBreathCloudSpawns = 2006u16,
ElectricitySparks = 3002u16,
EnderDragonBreaksBlock = 2008u16,
EnderDragonDies = 1028u16,
EnderDragonResurrected = 3001u16,
EnderDragonShoots = 1017u16,
EndGatewaySpawns = 3000u16,
EndPortalFrameFilled = 1503u16,
EndPortalOpened = 1038u16,
EyeOfEnderBreaks = 2003u16,
FireworkRocketShoots = 1004u16,
FireExtinguished = 1009u16,
GhastShoots = 1016u16,
GhastWarns = 1015u16,
GrindstoneUsed = 1042u16,
HuskConvertsToZombie = 1041u16,
InstantSplashPotionSplashed = 2007u16,
JukeboxStartsPlaying = 1010u16,
JukeboxStopsPlaying = 1011u16,
LavaExtinguished = 1501u16,
LecternBookPageTurned = 1043u16,
OminousItemSpawnerSpawnsItem = 3021u16,
OminousTrialSpawnerDetectsPlayer = 3019u16,
PhantomBites = 1039u16,
PointedDripstoneDrips = 1504u16,
PointedDripstoneDripsLavaIntoCauldron = 1046u16,
PointedDripstoneDripsWaterIntoCauldron = 1047u16,
PointedDripstoneLands = 1045u16,
RedstoneTorchBurnsOut = 1502u16,
SculkCharge = 3006u16,
SculkShrieks = 3007u16,
SkeletonConvertsToStray = 1048u16,
SmashAttack = 2013u16,
SmithingTableUsed = 1044u16,
SnifferEggCracks = 3009u16,
SpawnerSpawnsMob = 2004u16,
SplashPotionSplashed = 2002u16,
TravelThroughPortal = 1032u16,
TrialSpawnerDetectsPlayer = 3013u16,
TrialSpawnerEjectsItem = 3014u16,
TrialSpawnerSpawnsMob = 3011u16,
TrialSpawnerSpawnsMobAtSpawnPos = 3012u16,
TrialSpawnerTurnsOminous = 3020u16,
TurtleEggPlaced = 2012u16,
VaultActivates = 3015u16,
VaultDeactivates = 3016u16,
VaultEjectsItem = 3017u16,
WaxRemoved = 3004u16,
WetSpongeDriesOut = 2009u16,
WitherBreaksBlock = 1022u16,
WitherShoots = 1024u16,
WitherSpawns = 1023u16,
ZombieAttacksIronDoor = 1020u16,
ZombieAttacksWoodenDoor = 1019u16,
ZombieBreaksWoodenDoor = 1021u16,
ZombieConvertsToDrowned = 1040u16,
ZombieInfectsVillager = 1026u16,
ZombieVillagerCured = 1027u16,
AnimationDragonSummonRoar = 3001u16,
AnimationEndGatewaySpawn = 3000u16,
AnimationSpawnCobweb = 3018u16,
AnimationTrialSpawnerEjectItem = 3014u16,
AnimationVaultActivate = 3015u16,
AnimationVaultDeactivate = 3016u16,
AnimationVaultEjectItem = 3017u16,
ComposterFill = 1500u16,
DripstoneDrip = 1504u16,
EndPortalFrameFill = 1503u16,
LavaFizz = 1501u16,
ParticlesAndSoundBrushBlockComplete = 3008u16,
ParticlesAndSoundPlantGrowth = 1505u16,
ParticlesAndSoundWaxOn = 3003u16,
ParticlesBeeGrowth = 2011u16,
ParticlesDestroyBlock = 2001u16,
ParticlesDragonBlockBreak = 2008u16,
ParticlesDragonFireballSplash = 2006u16,
ParticlesEggCrack = 3009u16,
ParticlesElectricSpark = 3002u16,
ParticlesEyeOfEnderDeath = 2003u16,
ParticlesInstantPotionSplash = 2007u16,
ParticlesMobblockSpawn = 2004u16,
ParticlesScrape = 3005u16,
ParticlesSculkCharge = 3006u16,
ParticlesSculkShriek = 3007u16,
ParticlesShootSmoke = 2000u16,
ParticlesShootWhiteSmoke = 2010u16,
ParticlesSmashAttack = 2013u16,
ParticlesSpellPotionSplash = 2002u16,
ParticlesTrialSpawnerBecomeOminous = 3020u16,
ParticlesTrialSpawnerDetectPlayer = 3013u16,
ParticlesTrialSpawnerDetectPlayerOminous = 3019u16,
ParticlesTrialSpawnerSpawn = 3011u16,
ParticlesTrialSpawnerSpawnItem = 3021u16,
ParticlesTrialSpawnerSpawnMobAt = 3012u16,
ParticlesTurtleEggPlacement = 2012u16,
ParticlesWaterEvaporating = 2009u16,
ParticlesWaxOff = 3004u16,
RedstoneTorchBurnout = 1502u16,
SoundAnvilBroken = 1029u16,
SoundAnvilLand = 1031u16,
SoundAnvilUsed = 1030u16,
SoundBatLiftoff = 1025u16,
SoundBlazeFireball = 1018u16,
SoundBrewingStandBrew = 1035u16,
SoundChorusDeath = 1034u16,
SoundChorusGrow = 1033u16,
SoundCrafterCraft = 1049u16,
SoundCrafterFail = 1050u16,
SoundDispenserDispense = 1000u16,
SoundDispenserFail = 1001u16,
SoundDispenserProjectileLaunch = 1002u16,
SoundDragonDeath = 1028u16,
SoundDragonFireball = 1017u16,
SoundDripLavaIntoCauldron = 1046u16,
SoundDripWaterIntoCauldron = 1047u16,
SoundEndPortalSpawn = 1038u16,
SoundExtinguishFire = 1009u16,
SoundFireworkShoot = 1004u16,
SoundGhastFireball = 1016u16,
SoundGhastWarning = 1015u16,
SoundGrindstoneUsed = 1042u16,
SoundHuskToZombie = 1041u16,
SoundPageTurn = 1043u16,
SoundPhantomBite = 1039u16,
SoundPlayJukeboxSong = 1010u16,
SoundPointedDripstoneLand = 1045u16,
SoundPortalTravel = 1032u16,
SoundSkeletonToStray = 1048u16,
SoundSmithingTableUsed = 1044u16,
SoundStopJukeboxSong = 1011u16,
SoundWindChargeShoot = 1051u16,
SoundWitherBlockBreak = 1022u16,
SoundWitherBossShoot = 1024u16,
SoundWitherBossSpawn = 1023u16,
SoundZombieConverted = 1027u16,
SoundZombieDoorCrash = 1021u16,
SoundZombieInfected = 1026u16,
SoundZombieIronDoor = 1020u16,
SoundZombieToDrowned = 1040u16,
SoundZombieWoodenDoor = 1019u16,
}

View File

@ -61,6 +61,8 @@ impl ClientPacket for CChunkData<'_> {
for (block_palette, biome_palette) in block_sections.iter().zip(biome_sections.iter()) {
let non_empty_block_count = block_palette.non_air_block_count() as i16;
blocks_and_biomes_buf.write_i16_be(non_empty_block_count)?;
// TODO: New in 26.1, fluid count
blocks_and_biomes_buf.write_i16_be(0)?;
let mut block_network = block_palette.convert_network();
match &mut block_network.palette {

View File

@ -59,7 +59,7 @@ impl ClientPacket for CLevelEvent {
write.write_i32_be(self.event)?;
write.write_block_pos(&self.location)?;
let data = if self.event == WorldEvent::BlockBroken as i32 {
let data = if self.event == WorldEvent::ParticlesDestroyBlock as i32 {
u16::try_from(self.data).map_or(self.data, |state_id| {
i32::from(remap_block_state_for_version(state_id, *version))
})

Some files were not shown because too many files have changed in this diff Show More