mcdex 0.1.0.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mcdex/__init__.py +281 -0
- mcdex/advancements/__init__.py +16 -0
- mcdex/advancements/_mc_advancements.py +3558 -0
- mcdex/advancements/advancements.json +12101 -0
- mcdex/attributes/__init__.py +16 -0
- mcdex/attributes/_mc_attributes.py +83 -0
- mcdex/attributes/attributes.json +289 -0
- mcdex/banner_patterns/__init__.py +16 -0
- mcdex/banner_patterns/_mc_banner_patterns.py +86 -0
- mcdex/banner_patterns/banner_patterns.json +310 -0
- mcdex/base/__init__.py +146 -0
- mcdex/base/_advancement_id.py +22 -0
- mcdex/base/_attribute_id.py +22 -0
- mcdex/base/_banner_pattern_id.py +26 -0
- mcdex/base/_biome_id.py +22 -0
- mcdex/base/_block_entity_id.py +22 -0
- mcdex/base/_block_id.py +35 -0
- mcdex/base/_cat_sound_variant_id.py +23 -0
- mcdex/base/_cat_variant_id.py +22 -0
- mcdex/base/_catalogue_meta.py +38 -0
- mcdex/base/_chicken_sound_variant_id.py +23 -0
- mcdex/base/_chicken_variant_id.py +23 -0
- mcdex/base/_cow_sound_variant_id.py +23 -0
- mcdex/base/_cow_variant_id.py +22 -0
- mcdex/base/_damage_type_id.py +21 -0
- mcdex/base/_dimension_id.py +21 -0
- mcdex/base/_effect_id.py +21 -0
- mcdex/base/_enchantment_id.py +22 -0
- mcdex/base/_entity_id.py +35 -0
- mcdex/base/_equipment_slot.py +34 -0
- mcdex/base/_frog_variant_id.py +22 -0
- mcdex/base/_game_id.py +88 -0
- mcdex/base/_game_rule_id.py +21 -0
- mcdex/base/_item_id.py +98 -0
- mcdex/base/_mc_thing.py +289 -0
- mcdex/base/_mc_version.py +140 -0
- mcdex/base/_music_id.py +25 -0
- mcdex/base/_not_in_version.py +68 -0
- mcdex/base/_painting_variant_id.py +23 -0
- mcdex/base/_particle_id.py +21 -0
- mcdex/base/_pig_sound_variant_id.py +23 -0
- mcdex/base/_pig_variant_id.py +22 -0
- mcdex/base/_potion_id.py +25 -0
- mcdex/base/_potion_modifier.py +30 -0
- mcdex/base/_sound_id.py +21 -0
- mcdex/base/_statistic_id.py +22 -0
- mcdex/base/_structure_id.py +21 -0
- mcdex/base/_trim_material_id.py +26 -0
- mcdex/base/_trim_pattern_id.py +25 -0
- mcdex/base/_version.py +188 -0
- mcdex/base/_villager_profession_id.py +24 -0
- mcdex/base/_villager_type_id.py +25 -0
- mcdex/base/_wolf_sound_variant_id.py +23 -0
- mcdex/base/_wolf_variant_id.py +22 -0
- mcdex/base/_zombie_nautilus_variant_id.py +23 -0
- mcdex/biomes/__init__.py +16 -0
- mcdex/biomes/_mc_biomes.py +137 -0
- mcdex/biomes/biomes.json +652 -0
- mcdex/block_entities/__init__.py +16 -0
- mcdex/block_entities/_mc_block_entities.py +95 -0
- mcdex/block_entities/block_entities.json +331 -0
- mcdex/blocks/__init__.py +16 -0
- mcdex/blocks/_mc_blocks.py +1338 -0
- mcdex/blocks/blocks.json +7770 -0
- mcdex/cat_sound_variants/__init__.py +16 -0
- mcdex/cat_sound_variants/_mc_cat_sound_variants.py +47 -0
- mcdex/cat_sound_variants/cat_sound_variants.json +25 -0
- mcdex/cat_variants/__init__.py +16 -0
- mcdex/cat_variants/_mc_cat_variants.py +54 -0
- mcdex/cat_variants/cat_variants.json +91 -0
- mcdex/chicken_sound_variants/__init__.py +17 -0
- mcdex/chicken_sound_variants/_mc_chicken_sound_variants.py +48 -0
- mcdex/chicken_sound_variants/chicken_sound_variants.json +24 -0
- mcdex/chicken_variants/__init__.py +16 -0
- mcdex/chicken_variants/_mc_chicken_variants.py +47 -0
- mcdex/chicken_variants/chicken_variants.json +30 -0
- mcdex/cow_sound_variants/__init__.py +16 -0
- mcdex/cow_sound_variants/_mc_cow_sound_variants.py +47 -0
- mcdex/cow_sound_variants/cow_sound_variants.json +24 -0
- mcdex/cow_variants/__init__.py +16 -0
- mcdex/cow_variants/_mc_cow_variants.py +47 -0
- mcdex/cow_variants/cow_variants.json +30 -0
- mcdex/damage_types/__init__.py +16 -0
- mcdex/damage_types/_mc_damage_types.py +94 -0
- mcdex/damage_types/damage_types.json +317 -0
- mcdex/dimensions/__init__.py +16 -0
- mcdex/dimensions/_mc_dimensions.py +46 -0
- mcdex/dimensions/dimensions.json +29 -0
- mcdex/effects/__init__.py +16 -0
- mcdex/effects/_mc_effects.py +83 -0
- mcdex/effects/effects.json +251 -0
- mcdex/enchantments/__init__.py +16 -0
- mcdex/enchantments/_mc_enchantments.py +86 -0
- mcdex/enchantments/enchantments.json +270 -0
- mcdex/entities/__init__.py +16 -0
- mcdex/entities/_mc_entities.py +206 -0
- mcdex/entities/entities.json +1042 -0
- mcdex/frog_variants/__init__.py +16 -0
- mcdex/frog_variants/_mc_frog_variants.py +47 -0
- mcdex/frog_variants/frog_variants.json +29 -0
- mcdex/game_rules/__init__.py +16 -0
- mcdex/game_rules/_mc_game_rules.py +110 -0
- mcdex/game_rules/game_rules.json +436 -0
- mcdex/items/__init__.py +16 -0
- mcdex/items/_mc_items.py +1842 -0
- mcdex/items/items.json +20060 -0
- mcdex/music/__init__.py +16 -0
- mcdex/music/_music.py +65 -0
- mcdex/music/music.json +143 -0
- mcdex/painting_variants/__init__.py +16 -0
- mcdex/painting_variants/_mc_painting_variants.py +96 -0
- mcdex/painting_variants/painting_variants.json +369 -0
- mcdex/particles/__init__.py +16 -0
- mcdex/particles/_mc_particles.py +184 -0
- mcdex/particles/particles.json +917 -0
- mcdex/pig_sound_variants/__init__.py +16 -0
- mcdex/pig_sound_variants/_mc_pig_sound_variants.py +48 -0
- mcdex/pig_sound_variants/pig_sound_variants.json +30 -0
- mcdex/pig_variants/__init__.py +16 -0
- mcdex/pig_variants/_mc_pig_variants.py +46 -0
- mcdex/pig_variants/pig_variants.json +30 -0
- mcdex/potions/__init__.py +20 -0
- mcdex/potions/_mc_potions.py +101 -0
- mcdex/potions/_modified_potion.py +129 -0
- mcdex/potions/potions.json +297 -0
- mcdex/py.typed +0 -0
- mcdex/sounds/__init__.py +16 -0
- mcdex/sounds/_mc_sounds.py +2395 -0
- mcdex/sounds/sounds.json +13077 -0
- mcdex/statistics/__init__.py +16 -0
- mcdex/statistics/_mc_statistics.py +123 -0
- mcdex/statistics/statistics.json +521 -0
- mcdex/structures/__init__.py +16 -0
- mcdex/structures/_mc_structures.py +99 -0
- mcdex/structures/structures.json +367 -0
- mcdex/trim_materials/__init__.py +16 -0
- mcdex/trim_materials/_mc_trim_materials.py +54 -0
- mcdex/trim_materials/trim_materials.json +77 -0
- mcdex/trim_patterns/__init__.py +16 -0
- mcdex/trim_patterns/_mc_trim_patterns.py +61 -0
- mcdex/trim_patterns/trim_patterns.json +119 -0
- mcdex/villager_professions/__init__.py +17 -0
- mcdex/villager_professions/_mc_villager_professions.py +61 -0
- mcdex/villager_professions/villager_professions.json +125 -0
- mcdex/villager_types/__init__.py +16 -0
- mcdex/villager_types/_mc_villager_types.py +52 -0
- mcdex/villager_types/villager_types.json +54 -0
- mcdex/wolf_sound_variants/__init__.py +17 -0
- mcdex/wolf_sound_variants/_mc_wolf_sound_variants.py +53 -0
- mcdex/wolf_sound_variants/wolf_sound_variants.json +54 -0
- mcdex/wolf_variants/__init__.py +16 -0
- mcdex/wolf_variants/_mc_wolf_variants.py +53 -0
- mcdex/wolf_variants/wolf_variants.json +66 -0
- mcdex/zombie_nautilus_variants/__init__.py +17 -0
- mcdex/zombie_nautilus_variants/_mc_zombie_nautilus_variants.py +48 -0
- mcdex/zombie_nautilus_variants/zombie_nautilus_variants.json +23 -0
- mcdex-0.1.0.dev0.dist-info/METADATA +1285 -0
- mcdex-0.1.0.dev0.dist-info/RECORD +161 -0
- mcdex-0.1.0.dev0.dist-info/WHEEL +5 -0
- mcdex-0.1.0.dev0.dist-info/licenses/LICENSE +201 -0
- mcdex-0.1.0.dev0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The 'mcdex.frog_variants' package provides the frog variants of the game: the
|
|
3
|
+
'MCFrogVariants' catalogue, an enumeration of every frog variant of the data
|
|
4
|
+
file 'frog_variants.json' that ships with the package.
|
|
5
|
+
|
|
6
|
+
- MCFrogVariants
|
|
7
|
+
"""
|
|
8
|
+
# Apache-2.0 license
|
|
9
|
+
# Copyright (c) 2026 Asger Jon Vistisen
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
from ._mc_frog_variants import MCFrogVariants
|
|
13
|
+
|
|
14
|
+
__all__ = (
|
|
15
|
+
'MCFrogVariants',
|
|
16
|
+
)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""
|
|
2
|
+
MCFrogVariants is the catalogue of the game's frog variants: an enumeration
|
|
3
|
+
with one member for every frog variant of the data file that ships with mcdex,
|
|
4
|
+
each the same frog variant in every version, with the id each version knows it
|
|
5
|
+
by: what /summon takes for a frog of that variant.
|
|
6
|
+
"""
|
|
7
|
+
# Apache-2.0 license
|
|
8
|
+
# Copyright (c) 2026 Asger Jon Vistisen
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
from worktoy.keenum import Kee
|
|
12
|
+
|
|
13
|
+
from ..base import FrogVariantId, MCThing
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class MCFrogVariants(MCThing):
|
|
17
|
+
"""
|
|
18
|
+
The catalogue of the game's frog variants, each a member, found by its name
|
|
19
|
+
in capitals, in any case, or by its unique name:
|
|
20
|
+
|
|
21
|
+
warm = MCFrogVariants.WARM
|
|
22
|
+
warm is MCFrogVariants['warm'] # True
|
|
23
|
+
warm['1.19']
|
|
24
|
+
# FrogVariantId('warm', 'minecraft:frog{variant:"minecraft:warm"}')
|
|
25
|
+
len(MCFrogVariants)
|
|
26
|
+
|
|
27
|
+
Implementation
|
|
28
|
+
--------------
|
|
29
|
+
|
|
30
|
+
All of it is 'MCThing's, reading 'frog_variants.json' beside this module.
|
|
31
|
+
mcdex's tools write the members, one for every name of that file.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
35
|
+
# NAMESPACE # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
36
|
+
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
37
|
+
|
|
38
|
+
# Class Variables
|
|
39
|
+
__data_file__ = 'frog_variants.json'
|
|
40
|
+
__data_key__ = 'frog_variants'
|
|
41
|
+
__id_class__ = FrogVariantId
|
|
42
|
+
__kind__ = 'frog variant'
|
|
43
|
+
|
|
44
|
+
# Members, one for every name of 'frog_variants.json'
|
|
45
|
+
COLD = Kee[str]('cold')
|
|
46
|
+
TEMPERATE = Kee[str]('temperate')
|
|
47
|
+
WARM = Kee[str]('warm')
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"covers": [
|
|
3
|
+
"1.7.2",
|
|
4
|
+
"26.3"
|
|
5
|
+
],
|
|
6
|
+
"legend": {
|
|
7
|
+
"": "vanilla has no such frog variant in this version"
|
|
8
|
+
},
|
|
9
|
+
"frog_variants": {
|
|
10
|
+
"cold": {
|
|
11
|
+
"ids": {
|
|
12
|
+
"1.7.2": "",
|
|
13
|
+
"1.19": "minecraft:frog{variant:\"minecraft:cold\"}"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"temperate": {
|
|
17
|
+
"ids": {
|
|
18
|
+
"1.7.2": "",
|
|
19
|
+
"1.19": "minecraft:frog{variant:\"minecraft:temperate\"}"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"warm": {
|
|
23
|
+
"ids": {
|
|
24
|
+
"1.7.2": "",
|
|
25
|
+
"1.19": "minecraft:frog{variant:\"minecraft:warm\"}"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The 'mcdex.game_rules' package provides the game rules of the game: the
|
|
3
|
+
'MCGameRules' catalogue, an enumeration of every game rule of the data file
|
|
4
|
+
'game_rules.json' that ships with the package.
|
|
5
|
+
|
|
6
|
+
- MCGameRules
|
|
7
|
+
"""
|
|
8
|
+
# Apache-2.0 license
|
|
9
|
+
# Copyright (c) 2026 Asger Jon Vistisen
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
from ._mc_game_rules import MCGameRules
|
|
13
|
+
|
|
14
|
+
__all__ = (
|
|
15
|
+
'MCGameRules',
|
|
16
|
+
)
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"""
|
|
2
|
+
MCGameRules is the catalogue of the game's game rules: an enumeration with one
|
|
3
|
+
member for every game rule of the data file that ships with mcdex, each the
|
|
4
|
+
same game rule in every version, with the id each version knows it by:
|
|
5
|
+
what /gamerule takes.
|
|
6
|
+
"""
|
|
7
|
+
# Apache-2.0 license
|
|
8
|
+
# Copyright (c) 2026 Asger Jon Vistisen
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
from worktoy.keenum import Kee
|
|
12
|
+
|
|
13
|
+
from ..base import GameRuleId, MCThing
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class MCGameRules(MCThing):
|
|
17
|
+
"""
|
|
18
|
+
The catalogue of the game's game rules, each a member, found by its name in
|
|
19
|
+
capitals, in any case, or by its unique name:
|
|
20
|
+
|
|
21
|
+
keepInventory = MCGameRules.KEEP_INVENTORY
|
|
22
|
+
keepInventory is MCGameRules['keep_inventory'] # True
|
|
23
|
+
keepInventory['1.12.2'] # GameRuleId('keep_inventory', 'keepInventory')
|
|
24
|
+
len(MCGameRules)
|
|
25
|
+
|
|
26
|
+
Implementation
|
|
27
|
+
--------------
|
|
28
|
+
|
|
29
|
+
All of it is 'MCThing's, reading 'game_rules.json' beside this module.
|
|
30
|
+
mcdex's tools write the members, one for every name of that file.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
34
|
+
# NAMESPACE # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
35
|
+
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
36
|
+
|
|
37
|
+
# Class Variables
|
|
38
|
+
__data_file__ = 'game_rules.json'
|
|
39
|
+
__data_key__ = 'game_rules'
|
|
40
|
+
__id_class__ = GameRuleId
|
|
41
|
+
__kind__ = 'game rule'
|
|
42
|
+
|
|
43
|
+
# Members, one for every name of 'game_rules.json'
|
|
44
|
+
ADVANCE_TIME = Kee[str]('advance_time')
|
|
45
|
+
ADVANCE_WEATHER = Kee[str]('advance_weather')
|
|
46
|
+
ALLOW_ENTERING_NETHER_USING_PORTALS = Kee[str](
|
|
47
|
+
'allow_entering_nether_using_portals')
|
|
48
|
+
ALLOW_FIRE_TICKS_AWAY_FROM_PLAYER = Kee[str](
|
|
49
|
+
'allow_fire_ticks_away_from_player')
|
|
50
|
+
BLOCK_DROPS = Kee[str]('block_drops')
|
|
51
|
+
BLOCK_EXPLOSION_DROP_DECAY = Kee[str]('block_explosion_drop_decay')
|
|
52
|
+
COMMAND_BLOCK_OUTPUT = Kee[str]('command_block_output')
|
|
53
|
+
COMMAND_BLOCKS_WORK = Kee[str]('command_blocks_work')
|
|
54
|
+
DROWNING_DAMAGE = Kee[str]('drowning_damage')
|
|
55
|
+
ELYTRA_MOVEMENT_CHECK = Kee[str]('elytra_movement_check')
|
|
56
|
+
ENDER_PEARLS_VANISH_ON_DEATH = Kee[str]('ender_pearls_vanish_on_death')
|
|
57
|
+
ENTITY_DROPS = Kee[str]('entity_drops')
|
|
58
|
+
FALL_DAMAGE = Kee[str]('fall_damage')
|
|
59
|
+
FIRE_DAMAGE = Kee[str]('fire_damage')
|
|
60
|
+
FIRE_SPREAD_RADIUS_AROUND_PLAYER = Kee[str](
|
|
61
|
+
'fire_spread_radius_around_player')
|
|
62
|
+
FORGIVE_DEAD_PLAYERS = Kee[str]('forgive_dead_players')
|
|
63
|
+
FREEZE_DAMAGE = Kee[str]('freeze_damage')
|
|
64
|
+
GAME_LOOP_FUNCTION = Kee[str]('game_loop_function')
|
|
65
|
+
GLOBAL_SOUND_EVENTS = Kee[str]('global_sound_events')
|
|
66
|
+
IMMEDIATE_RESPAWN = Kee[str]('immediate_respawn')
|
|
67
|
+
KEEP_INVENTORY = Kee[str]('keep_inventory')
|
|
68
|
+
LAVA_SOURCE_CONVERSION = Kee[str]('lava_source_conversion')
|
|
69
|
+
LIMITED_CRAFTING = Kee[str]('limited_crafting')
|
|
70
|
+
LOCATOR_BAR = Kee[str]('locator_bar')
|
|
71
|
+
LOG_ADMIN_COMMANDS = Kee[str]('log_admin_commands')
|
|
72
|
+
MAX_BLOCK_MODIFICATIONS = Kee[str]('max_block_modifications')
|
|
73
|
+
MAX_COMMAND_FORKS = Kee[str]('max_command_forks')
|
|
74
|
+
MAX_COMMAND_SEQUENCE_LENGTH = Kee[str]('max_command_sequence_length')
|
|
75
|
+
MAX_ENTITY_CRAMMING = Kee[str]('max_entity_cramming')
|
|
76
|
+
MAX_MINECART_SPEED = Kee[str]('max_minecart_speed')
|
|
77
|
+
MAX_SNOW_ACCUMULATION_HEIGHT = Kee[str]('max_snow_accumulation_height')
|
|
78
|
+
MOB_DROPS = Kee[str]('mob_drops')
|
|
79
|
+
MOB_EXPLOSION_DROP_DECAY = Kee[str]('mob_explosion_drop_decay')
|
|
80
|
+
MOB_GRIEFING = Kee[str]('mob_griefing')
|
|
81
|
+
NATURAL_HEALTH_REGENERATION = Kee[str]('natural_health_regeneration')
|
|
82
|
+
PLAYER_MOVEMENT_CHECK = Kee[str]('player_movement_check')
|
|
83
|
+
PLAYERS_NETHER_PORTAL_CREATIVE_DELAY = Kee[str](
|
|
84
|
+
'players_nether_portal_creative_delay')
|
|
85
|
+
PLAYERS_NETHER_PORTAL_DEFAULT_DELAY = Kee[str](
|
|
86
|
+
'players_nether_portal_default_delay')
|
|
87
|
+
PLAYERS_SLEEPING_PERCENTAGE = Kee[str]('players_sleeping_percentage')
|
|
88
|
+
PROJECTILES_CAN_BREAK_BLOCKS = Kee[str]('projectiles_can_break_blocks')
|
|
89
|
+
PVP = Kee[str]('pvp')
|
|
90
|
+
RAIDS = Kee[str]('raids')
|
|
91
|
+
RANDOM_TICK_SPEED = Kee[str]('random_tick_speed')
|
|
92
|
+
REDUCED_DEBUG_INFO = Kee[str]('reduced_debug_info')
|
|
93
|
+
RESPAWN_RADIUS = Kee[str]('respawn_radius')
|
|
94
|
+
SEND_COMMAND_FEEDBACK = Kee[str]('send_command_feedback')
|
|
95
|
+
SHOW_ADVANCEMENT_MESSAGES = Kee[str]('show_advancement_messages')
|
|
96
|
+
SHOW_DEATH_MESSAGES = Kee[str]('show_death_messages')
|
|
97
|
+
SPAWN_CHUNK_RADIUS = Kee[str]('spawn_chunk_radius')
|
|
98
|
+
SPAWN_MOBS = Kee[str]('spawn_mobs')
|
|
99
|
+
SPAWN_MONSTERS = Kee[str]('spawn_monsters')
|
|
100
|
+
SPAWN_PATROLS = Kee[str]('spawn_patrols')
|
|
101
|
+
SPAWN_PHANTOMS = Kee[str]('spawn_phantoms')
|
|
102
|
+
SPAWN_WANDERING_TRADERS = Kee[str]('spawn_wandering_traders')
|
|
103
|
+
SPAWN_WARDENS = Kee[str]('spawn_wardens')
|
|
104
|
+
SPAWNER_BLOCKS_WORK = Kee[str]('spawner_blocks_work')
|
|
105
|
+
SPECTATORS_GENERATE_CHUNKS = Kee[str]('spectators_generate_chunks')
|
|
106
|
+
SPREAD_VINES = Kee[str]('spread_vines')
|
|
107
|
+
TNT_EXPLODES = Kee[str]('tnt_explodes')
|
|
108
|
+
TNT_EXPLOSION_DROP_DECAY = Kee[str]('tnt_explosion_drop_decay')
|
|
109
|
+
UNIVERSAL_ANGER = Kee[str]('universal_anger')
|
|
110
|
+
WATER_SOURCE_CONVERSION = Kee[str]('water_source_conversion')
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
{
|
|
2
|
+
"covers": [
|
|
3
|
+
"1.7.2",
|
|
4
|
+
"26.3"
|
|
5
|
+
],
|
|
6
|
+
"legend": {
|
|
7
|
+
"": "vanilla has no such game rule in this version"
|
|
8
|
+
},
|
|
9
|
+
"game_rules": {
|
|
10
|
+
"advance_time": {
|
|
11
|
+
"ids": {
|
|
12
|
+
"1.7.2": "doDaylightCycle",
|
|
13
|
+
"1.21.11": "minecraft:advance_time"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"advance_weather": {
|
|
17
|
+
"ids": {
|
|
18
|
+
"1.7.2": "",
|
|
19
|
+
"1.11": "doWeatherCycle",
|
|
20
|
+
"1.21.11": "minecraft:advance_weather"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"allow_entering_nether_using_portals": {
|
|
24
|
+
"ids": {
|
|
25
|
+
"1.7.2": "",
|
|
26
|
+
"1.21.9": "allowEnteringNetherUsingPortals",
|
|
27
|
+
"1.21.11": "minecraft:allow_entering_nether_using_portals"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"allow_fire_ticks_away_from_player": {
|
|
31
|
+
"ids": {
|
|
32
|
+
"1.7.2": "",
|
|
33
|
+
"1.21.5": "allowFireTicksAwayFromPlayer",
|
|
34
|
+
"1.21.11": ""
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"block_drops": {
|
|
38
|
+
"ids": {
|
|
39
|
+
"1.7.2": "doTileDrops",
|
|
40
|
+
"1.21.11": "minecraft:block_drops"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"block_explosion_drop_decay": {
|
|
44
|
+
"ids": {
|
|
45
|
+
"1.7.2": "",
|
|
46
|
+
"1.19.3": "blockExplosionDropDecay",
|
|
47
|
+
"1.21.11": "minecraft:block_explosion_drop_decay"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"command_block_output": {
|
|
51
|
+
"ids": {
|
|
52
|
+
"1.7.2": "commandBlockOutput",
|
|
53
|
+
"1.21.11": "minecraft:command_block_output"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"command_blocks_work": {
|
|
57
|
+
"ids": {
|
|
58
|
+
"1.7.2": "",
|
|
59
|
+
"1.21.9": "commandBlocksEnabled",
|
|
60
|
+
"1.21.11": "minecraft:command_blocks_work"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"drowning_damage": {
|
|
64
|
+
"ids": {
|
|
65
|
+
"1.7.2": "",
|
|
66
|
+
"1.15": "drowningDamage",
|
|
67
|
+
"1.21.11": "minecraft:drowning_damage"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"elytra_movement_check": {
|
|
71
|
+
"ids": {
|
|
72
|
+
"1.7.2": "",
|
|
73
|
+
"1.9": "disableElytraMovementCheck",
|
|
74
|
+
"1.21.11": "minecraft:elytra_movement_check"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"ender_pearls_vanish_on_death": {
|
|
78
|
+
"ids": {
|
|
79
|
+
"1.7.2": "",
|
|
80
|
+
"1.20.2": "enderPearlsVanishOnDeath",
|
|
81
|
+
"1.21.11": "minecraft:ender_pearls_vanish_on_death"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"entity_drops": {
|
|
85
|
+
"ids": {
|
|
86
|
+
"1.7.2": "",
|
|
87
|
+
"1.8.1": "doEntityDrops",
|
|
88
|
+
"1.21.11": "minecraft:entity_drops"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"fall_damage": {
|
|
92
|
+
"ids": {
|
|
93
|
+
"1.7.2": "",
|
|
94
|
+
"1.15": "fallDamage",
|
|
95
|
+
"1.21.11": "minecraft:fall_damage"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"fire_damage": {
|
|
99
|
+
"ids": {
|
|
100
|
+
"1.7.2": "",
|
|
101
|
+
"1.15": "fireDamage",
|
|
102
|
+
"1.21.11": "minecraft:fire_damage"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"fire_spread_radius_around_player": {
|
|
106
|
+
"ids": {
|
|
107
|
+
"1.7.2": "doFireTick",
|
|
108
|
+
"1.21.11": "minecraft:fire_spread_radius_around_player"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"forgive_dead_players": {
|
|
112
|
+
"ids": {
|
|
113
|
+
"1.7.2": "",
|
|
114
|
+
"1.16": "forgiveDeadPlayers",
|
|
115
|
+
"1.21.11": "minecraft:forgive_dead_players"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"freeze_damage": {
|
|
119
|
+
"ids": {
|
|
120
|
+
"1.7.2": "",
|
|
121
|
+
"1.17": "freezeDamage",
|
|
122
|
+
"1.21.11": "minecraft:freeze_damage"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"game_loop_function": {
|
|
126
|
+
"ids": {
|
|
127
|
+
"1.7.2": "",
|
|
128
|
+
"1.12": "gameLoopFunction",
|
|
129
|
+
"1.13": ""
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"global_sound_events": {
|
|
133
|
+
"ids": {
|
|
134
|
+
"1.7.2": "",
|
|
135
|
+
"1.19.3": "globalSoundEvents",
|
|
136
|
+
"1.21.11": "minecraft:global_sound_events"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"immediate_respawn": {
|
|
140
|
+
"ids": {
|
|
141
|
+
"1.7.2": "",
|
|
142
|
+
"1.15": "doImmediateRespawn",
|
|
143
|
+
"1.21.11": "minecraft:immediate_respawn"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"keep_inventory": {
|
|
147
|
+
"ids": {
|
|
148
|
+
"1.7.2": "keepInventory",
|
|
149
|
+
"1.21.11": "minecraft:keep_inventory"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"lava_source_conversion": {
|
|
153
|
+
"ids": {
|
|
154
|
+
"1.7.2": "",
|
|
155
|
+
"1.19.3": "lavaSourceConversion",
|
|
156
|
+
"1.21.11": "minecraft:lava_source_conversion"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"limited_crafting": {
|
|
160
|
+
"ids": {
|
|
161
|
+
"1.7.2": "",
|
|
162
|
+
"1.12": "doLimitedCrafting",
|
|
163
|
+
"1.21.11": "minecraft:limited_crafting"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"locator_bar": {
|
|
167
|
+
"ids": {
|
|
168
|
+
"1.7.2": "",
|
|
169
|
+
"1.21.6": "locatorBar",
|
|
170
|
+
"1.21.11": "minecraft:locator_bar"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"log_admin_commands": {
|
|
174
|
+
"ids": {
|
|
175
|
+
"1.7.2": "",
|
|
176
|
+
"1.8": "logAdminCommands",
|
|
177
|
+
"1.21.11": "minecraft:log_admin_commands"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"max_block_modifications": {
|
|
181
|
+
"ids": {
|
|
182
|
+
"1.7.2": "",
|
|
183
|
+
"1.19.4": "commandModificationBlockLimit",
|
|
184
|
+
"1.21.11": "minecraft:max_block_modifications"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"max_command_forks": {
|
|
188
|
+
"ids": {
|
|
189
|
+
"1.7.2": "",
|
|
190
|
+
"1.20.3": "maxCommandForkCount",
|
|
191
|
+
"1.21.11": "minecraft:max_command_forks"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"max_command_sequence_length": {
|
|
195
|
+
"ids": {
|
|
196
|
+
"1.7.2": "",
|
|
197
|
+
"1.12": "maxCommandChainLength",
|
|
198
|
+
"1.21.11": "minecraft:max_command_sequence_length"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"max_entity_cramming": {
|
|
202
|
+
"ids": {
|
|
203
|
+
"1.7.2": "",
|
|
204
|
+
"1.11": "maxEntityCramming",
|
|
205
|
+
"1.21.11": "minecraft:max_entity_cramming"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"max_minecart_speed": {
|
|
209
|
+
"ids": {
|
|
210
|
+
"1.7.2": "",
|
|
211
|
+
"1.21.2": "minecartMaxSpeed",
|
|
212
|
+
"1.21.11": "minecraft:max_minecart_speed"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"max_snow_accumulation_height": {
|
|
216
|
+
"ids": {
|
|
217
|
+
"1.7.2": "",
|
|
218
|
+
"1.19.3": "snowAccumulationHeight",
|
|
219
|
+
"1.21.11": "minecraft:max_snow_accumulation_height"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"mob_drops": {
|
|
223
|
+
"ids": {
|
|
224
|
+
"1.7.2": "doMobLoot",
|
|
225
|
+
"1.21.11": "minecraft:mob_drops"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"mob_explosion_drop_decay": {
|
|
229
|
+
"ids": {
|
|
230
|
+
"1.7.2": "",
|
|
231
|
+
"1.19.3": "mobExplosionDropDecay",
|
|
232
|
+
"1.21.11": "minecraft:mob_explosion_drop_decay"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"mob_griefing": {
|
|
236
|
+
"ids": {
|
|
237
|
+
"1.7.2": "mobGriefing",
|
|
238
|
+
"1.21.11": "minecraft:mob_griefing"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"natural_health_regeneration": {
|
|
242
|
+
"ids": {
|
|
243
|
+
"1.7.2": "naturalRegeneration",
|
|
244
|
+
"1.21.11": "minecraft:natural_health_regeneration"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"player_movement_check": {
|
|
248
|
+
"ids": {
|
|
249
|
+
"1.7.2": "",
|
|
250
|
+
"1.21.2": "disablePlayerMovementCheck",
|
|
251
|
+
"1.21.11": "minecraft:player_movement_check"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"players_nether_portal_creative_delay": {
|
|
255
|
+
"ids": {
|
|
256
|
+
"1.7.2": "",
|
|
257
|
+
"1.20.3": "playersNetherPortalCreativeDelay",
|
|
258
|
+
"1.21.11": "minecraft:players_nether_portal_creative_delay"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"players_nether_portal_default_delay": {
|
|
262
|
+
"ids": {
|
|
263
|
+
"1.7.2": "",
|
|
264
|
+
"1.20.3": "playersNetherPortalDefaultDelay",
|
|
265
|
+
"1.21.11": "minecraft:players_nether_portal_default_delay"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"players_sleeping_percentage": {
|
|
269
|
+
"ids": {
|
|
270
|
+
"1.7.2": "",
|
|
271
|
+
"1.17": "playersSleepingPercentage",
|
|
272
|
+
"1.21.11": "minecraft:players_sleeping_percentage"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"projectiles_can_break_blocks": {
|
|
276
|
+
"ids": {
|
|
277
|
+
"1.7.2": "",
|
|
278
|
+
"1.20.3": "projectilesCanBreakBlocks",
|
|
279
|
+
"1.21.11": "minecraft:projectiles_can_break_blocks"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"pvp": {
|
|
283
|
+
"ids": {
|
|
284
|
+
"1.7.2": "",
|
|
285
|
+
"1.21.9": "pvp",
|
|
286
|
+
"1.21.11": "minecraft:pvp"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"raids": {
|
|
290
|
+
"ids": {
|
|
291
|
+
"1.7.2": "",
|
|
292
|
+
"1.14.3": "disableRaids",
|
|
293
|
+
"1.21.11": "minecraft:raids"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"random_tick_speed": {
|
|
297
|
+
"ids": {
|
|
298
|
+
"1.7.2": "",
|
|
299
|
+
"1.8": "randomTickSpeed",
|
|
300
|
+
"1.21.11": "minecraft:random_tick_speed"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"reduced_debug_info": {
|
|
304
|
+
"ids": {
|
|
305
|
+
"1.7.2": "",
|
|
306
|
+
"1.8": "reducedDebugInfo",
|
|
307
|
+
"1.21.11": "minecraft:reduced_debug_info"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"respawn_radius": {
|
|
311
|
+
"ids": {
|
|
312
|
+
"1.7.2": "",
|
|
313
|
+
"1.9": "spawnRadius",
|
|
314
|
+
"1.21.11": "minecraft:respawn_radius"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"send_command_feedback": {
|
|
318
|
+
"ids": {
|
|
319
|
+
"1.7.2": "",
|
|
320
|
+
"1.8": "sendCommandFeedback",
|
|
321
|
+
"1.21.11": "minecraft:send_command_feedback"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"show_advancement_messages": {
|
|
325
|
+
"ids": {
|
|
326
|
+
"1.7.2": "",
|
|
327
|
+
"1.12": "announceAdvancements",
|
|
328
|
+
"1.21.11": "minecraft:show_advancement_messages"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"show_death_messages": {
|
|
332
|
+
"ids": {
|
|
333
|
+
"1.7.2": "",
|
|
334
|
+
"1.8": "showDeathMessages",
|
|
335
|
+
"1.21.11": "minecraft:show_death_messages"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"spawn_chunk_radius": {
|
|
339
|
+
"ids": {
|
|
340
|
+
"1.7.2": "",
|
|
341
|
+
"1.20.5": "spawnChunkRadius",
|
|
342
|
+
"1.21.9": ""
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"spawn_mobs": {
|
|
346
|
+
"ids": {
|
|
347
|
+
"1.7.2": "doMobSpawning",
|
|
348
|
+
"1.21.11": "minecraft:spawn_mobs"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"spawn_monsters": {
|
|
352
|
+
"ids": {
|
|
353
|
+
"1.7.2": "",
|
|
354
|
+
"1.21.9": "spawnMonsters",
|
|
355
|
+
"1.21.11": "minecraft:spawn_monsters"
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"spawn_patrols": {
|
|
359
|
+
"ids": {
|
|
360
|
+
"1.7.2": "",
|
|
361
|
+
"1.15.2": "doPatrolSpawning",
|
|
362
|
+
"1.21.11": "minecraft:spawn_patrols"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"spawn_phantoms": {
|
|
366
|
+
"ids": {
|
|
367
|
+
"1.7.2": "",
|
|
368
|
+
"1.15": "doInsomnia",
|
|
369
|
+
"1.21.11": "minecraft:spawn_phantoms"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"spawn_wandering_traders": {
|
|
373
|
+
"ids": {
|
|
374
|
+
"1.7.2": "",
|
|
375
|
+
"1.15.2": "doTraderSpawning",
|
|
376
|
+
"1.21.11": "minecraft:spawn_wandering_traders"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"spawn_wardens": {
|
|
380
|
+
"ids": {
|
|
381
|
+
"1.7.2": "",
|
|
382
|
+
"1.19": "doWardenSpawning",
|
|
383
|
+
"1.21.11": "minecraft:spawn_wardens"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"spawner_blocks_work": {
|
|
387
|
+
"ids": {
|
|
388
|
+
"1.7.2": "",
|
|
389
|
+
"1.21.9": "spawnerBlocksEnabled",
|
|
390
|
+
"1.21.11": "minecraft:spawner_blocks_work"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"spectators_generate_chunks": {
|
|
394
|
+
"ids": {
|
|
395
|
+
"1.7.2": "",
|
|
396
|
+
"1.9": "spectatorsGenerateChunks",
|
|
397
|
+
"1.21.11": "minecraft:spectators_generate_chunks"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"spread_vines": {
|
|
401
|
+
"ids": {
|
|
402
|
+
"1.7.2": "",
|
|
403
|
+
"1.19.4": "doVinesSpread",
|
|
404
|
+
"1.21.11": "minecraft:spread_vines"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"tnt_explodes": {
|
|
408
|
+
"ids": {
|
|
409
|
+
"1.7.2": "",
|
|
410
|
+
"1.21.5": "tntExplodes",
|
|
411
|
+
"1.21.11": "minecraft:tnt_explodes"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"tnt_explosion_drop_decay": {
|
|
415
|
+
"ids": {
|
|
416
|
+
"1.7.2": "",
|
|
417
|
+
"1.19.3": "tntExplosionDropDecay",
|
|
418
|
+
"1.21.11": "minecraft:tnt_explosion_drop_decay"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"universal_anger": {
|
|
422
|
+
"ids": {
|
|
423
|
+
"1.7.2": "",
|
|
424
|
+
"1.16": "universalAnger",
|
|
425
|
+
"1.21.11": "minecraft:universal_anger"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"water_source_conversion": {
|
|
429
|
+
"ids": {
|
|
430
|
+
"1.7.2": "",
|
|
431
|
+
"1.19.3": "waterSourceConversion",
|
|
432
|
+
"1.21.11": "minecraft:water_source_conversion"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
mcdex/items/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The 'mcdex.items' package provides the items of the game: the
|
|
3
|
+
'MCItems' catalogue, an enumeration of every item of the data file
|
|
4
|
+
'items.json' that ships with the package.
|
|
5
|
+
|
|
6
|
+
- MCItems
|
|
7
|
+
"""
|
|
8
|
+
# Apache-2.0 license
|
|
9
|
+
# Copyright (c) 2026 Asger Jon Vistisen
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
from ._mc_items import MCItems
|
|
13
|
+
|
|
14
|
+
__all__ = (
|
|
15
|
+
'MCItems',
|
|
16
|
+
)
|