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,95 @@
|
|
|
1
|
+
"""
|
|
2
|
+
MCBlockEntities is the catalogue of the game's block entities: an enumeration
|
|
3
|
+
with one member for every block entity of the data file that ships with mcdex,
|
|
4
|
+
each the same block entity in every version, with the id each version knows it
|
|
5
|
+
by: the name it is saved under, the 'id' in its data.
|
|
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 BlockEntityId, MCThing
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class MCBlockEntities(MCThing):
|
|
17
|
+
"""
|
|
18
|
+
The catalogue of the game's block entities, each a member, found by its name
|
|
19
|
+
in capitals, in any case, or by its unique name:
|
|
20
|
+
|
|
21
|
+
chest = MCBlockEntities.CHEST
|
|
22
|
+
chest is MCBlockEntities['chest'] # True
|
|
23
|
+
chest['1.10.2'] # BlockEntityId('chest', 'Chest')
|
|
24
|
+
len(MCBlockEntities)
|
|
25
|
+
|
|
26
|
+
Implementation
|
|
27
|
+
--------------
|
|
28
|
+
|
|
29
|
+
All of it is 'MCThing's, reading 'block_entities.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__ = 'block_entities.json'
|
|
39
|
+
__data_key__ = 'block_entities'
|
|
40
|
+
__id_class__ = BlockEntityId
|
|
41
|
+
__kind__ = 'block entity'
|
|
42
|
+
|
|
43
|
+
# Members, one for every name of 'block_entities.json'
|
|
44
|
+
BANNER = Kee[str]('banner')
|
|
45
|
+
BARREL = Kee[str]('barrel')
|
|
46
|
+
BEACON = Kee[str]('beacon')
|
|
47
|
+
BED = Kee[str]('bed')
|
|
48
|
+
BEEHIVE = Kee[str]('beehive')
|
|
49
|
+
BELL = Kee[str]('bell')
|
|
50
|
+
BLAST_FURNACE = Kee[str]('blast_furnace')
|
|
51
|
+
BREWING_STAND = Kee[str]('brewing_stand')
|
|
52
|
+
BRUSHABLE_BLOCK = Kee[str]('brushable_block')
|
|
53
|
+
CALIBRATED_SCULK_SENSOR = Kee[str]('calibrated_sculk_sensor')
|
|
54
|
+
CAMPFIRE = Kee[str]('campfire')
|
|
55
|
+
CHEST = Kee[str]('chest')
|
|
56
|
+
CHISELED_BOOKSHELF = Kee[str]('chiseled_bookshelf')
|
|
57
|
+
COMMAND_BLOCK = Kee[str]('command_block')
|
|
58
|
+
COMPARATOR = Kee[str]('comparator')
|
|
59
|
+
CONDUIT = Kee[str]('conduit')
|
|
60
|
+
COPPER_GOLEM_STATUE = Kee[str]('copper_golem_statue')
|
|
61
|
+
CRAFTER = Kee[str]('crafter')
|
|
62
|
+
CREAKING_HEART = Kee[str]('creaking_heart')
|
|
63
|
+
DAYLIGHT_DETECTOR = Kee[str]('daylight_detector')
|
|
64
|
+
DECORATED_POT = Kee[str]('decorated_pot')
|
|
65
|
+
DISPENSER = Kee[str]('dispenser')
|
|
66
|
+
DROPPER = Kee[str]('dropper')
|
|
67
|
+
ENCHANTING_TABLE = Kee[str]('enchanting_table')
|
|
68
|
+
END_GATEWAY = Kee[str]('end_gateway')
|
|
69
|
+
END_PORTAL = Kee[str]('end_portal')
|
|
70
|
+
ENDER_CHEST = Kee[str]('ender_chest')
|
|
71
|
+
FLOWER_POT = Kee[str]('flower_pot')
|
|
72
|
+
FURNACE = Kee[str]('furnace')
|
|
73
|
+
HANGING_SIGN = Kee[str]('hanging_sign')
|
|
74
|
+
HOPPER = Kee[str]('hopper')
|
|
75
|
+
JIGSAW = Kee[str]('jigsaw')
|
|
76
|
+
JUKEBOX = Kee[str]('jukebox')
|
|
77
|
+
LECTERN = Kee[str]('lectern')
|
|
78
|
+
MOB_SPAWNER = Kee[str]('mob_spawner')
|
|
79
|
+
NOTEBLOCK = Kee[str]('noteblock')
|
|
80
|
+
PISTON = Kee[str]('piston')
|
|
81
|
+
POTENT_SULFUR = Kee[str]('potent_sulfur')
|
|
82
|
+
SCULK_CATALYST = Kee[str]('sculk_catalyst')
|
|
83
|
+
SCULK_SENSOR = Kee[str]('sculk_sensor')
|
|
84
|
+
SCULK_SHRIEKER = Kee[str]('sculk_shrieker')
|
|
85
|
+
SHELF = Kee[str]('shelf')
|
|
86
|
+
SHULKER_BOX = Kee[str]('shulker_box')
|
|
87
|
+
SIGN = Kee[str]('sign')
|
|
88
|
+
SKULL = Kee[str]('skull')
|
|
89
|
+
SMOKER = Kee[str]('smoker')
|
|
90
|
+
STRUCTURE_BLOCK = Kee[str]('structure_block')
|
|
91
|
+
TEST_BLOCK = Kee[str]('test_block')
|
|
92
|
+
TEST_INSTANCE_BLOCK = Kee[str]('test_instance_block')
|
|
93
|
+
TRAPPED_CHEST = Kee[str]('trapped_chest')
|
|
94
|
+
TRIAL_SPAWNER = Kee[str]('trial_spawner')
|
|
95
|
+
VAULT = Kee[str]('vault')
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
{
|
|
2
|
+
"covers": [
|
|
3
|
+
"1.7.2",
|
|
4
|
+
"26.3"
|
|
5
|
+
],
|
|
6
|
+
"legend": {
|
|
7
|
+
"": "vanilla has no such block entity in this version"
|
|
8
|
+
},
|
|
9
|
+
"block_entities": {
|
|
10
|
+
"banner": {
|
|
11
|
+
"ids": {
|
|
12
|
+
"1.7.2": "",
|
|
13
|
+
"1.8": "Banner",
|
|
14
|
+
"1.11": "minecraft:banner"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"barrel": {
|
|
18
|
+
"ids": {
|
|
19
|
+
"1.7.2": "",
|
|
20
|
+
"1.14": "minecraft:barrel"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"beacon": {
|
|
24
|
+
"ids": {
|
|
25
|
+
"1.7.2": "Beacon",
|
|
26
|
+
"1.11": "minecraft:beacon"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"bed": {
|
|
30
|
+
"ids": {
|
|
31
|
+
"1.7.2": "",
|
|
32
|
+
"1.12": "minecraft:bed",
|
|
33
|
+
"26.2": ""
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"beehive": {
|
|
37
|
+
"ids": {
|
|
38
|
+
"1.7.2": "",
|
|
39
|
+
"1.15": "minecraft:beehive"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"bell": {
|
|
43
|
+
"ids": {
|
|
44
|
+
"1.7.2": "",
|
|
45
|
+
"1.14": "minecraft:bell"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"blast_furnace": {
|
|
49
|
+
"ids": {
|
|
50
|
+
"1.7.2": "",
|
|
51
|
+
"1.14": "minecraft:blast_furnace"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"brewing_stand": {
|
|
55
|
+
"ids": {
|
|
56
|
+
"1.7.2": "Cauldron",
|
|
57
|
+
"1.11": "minecraft:brewing_stand"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"brushable_block": {
|
|
61
|
+
"ids": {
|
|
62
|
+
"1.7.2": "",
|
|
63
|
+
"1.19.4": "minecraft:suspicious_sand",
|
|
64
|
+
"1.20": "minecraft:brushable_block"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"calibrated_sculk_sensor": {
|
|
68
|
+
"ids": {
|
|
69
|
+
"1.7.2": "",
|
|
70
|
+
"1.20": "minecraft:calibrated_sculk_sensor"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"campfire": {
|
|
74
|
+
"ids": {
|
|
75
|
+
"1.7.2": "",
|
|
76
|
+
"1.14": "minecraft:campfire"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"chest": {
|
|
80
|
+
"ids": {
|
|
81
|
+
"1.7.2": "Chest",
|
|
82
|
+
"1.11": "minecraft:chest"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"chiseled_bookshelf": {
|
|
86
|
+
"ids": {
|
|
87
|
+
"1.7.2": "",
|
|
88
|
+
"1.19.3": "minecraft:chiseled_bookshelf"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"command_block": {
|
|
92
|
+
"ids": {
|
|
93
|
+
"1.7.2": "Control",
|
|
94
|
+
"1.11": "minecraft:command_block"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"comparator": {
|
|
98
|
+
"ids": {
|
|
99
|
+
"1.7.2": "Comparator",
|
|
100
|
+
"1.11": "minecraft:comparator"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"conduit": {
|
|
104
|
+
"ids": {
|
|
105
|
+
"1.7.2": "",
|
|
106
|
+
"1.13": "minecraft:conduit"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"copper_golem_statue": {
|
|
110
|
+
"ids": {
|
|
111
|
+
"1.7.2": "",
|
|
112
|
+
"1.21.9": "minecraft:copper_golem_statue"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"crafter": {
|
|
116
|
+
"ids": {
|
|
117
|
+
"1.7.2": "",
|
|
118
|
+
"1.20.3": "minecraft:crafter"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"creaking_heart": {
|
|
122
|
+
"ids": {
|
|
123
|
+
"1.7.2": "",
|
|
124
|
+
"1.21.2": "minecraft:creaking_heart"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"daylight_detector": {
|
|
128
|
+
"ids": {
|
|
129
|
+
"1.7.2": "DLDetector",
|
|
130
|
+
"1.11": "minecraft:daylight_detector"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"decorated_pot": {
|
|
134
|
+
"ids": {
|
|
135
|
+
"1.7.2": "",
|
|
136
|
+
"1.19.4": "minecraft:decorated_pot"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"dispenser": {
|
|
140
|
+
"ids": {
|
|
141
|
+
"1.7.2": "Trap",
|
|
142
|
+
"1.11": "minecraft:dispenser"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"dropper": {
|
|
146
|
+
"ids": {
|
|
147
|
+
"1.7.2": "Dropper",
|
|
148
|
+
"1.11": "minecraft:dropper"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"enchanting_table": {
|
|
152
|
+
"ids": {
|
|
153
|
+
"1.7.2": "EnchantTable",
|
|
154
|
+
"1.11": "minecraft:enchanting_table"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"end_gateway": {
|
|
158
|
+
"ids": {
|
|
159
|
+
"1.7.2": "",
|
|
160
|
+
"1.9": "EndGateway",
|
|
161
|
+
"1.11": "minecraft:end_gateway"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"end_portal": {
|
|
165
|
+
"ids": {
|
|
166
|
+
"1.7.2": "Airportal",
|
|
167
|
+
"1.11": "minecraft:end_portal"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"ender_chest": {
|
|
171
|
+
"ids": {
|
|
172
|
+
"1.7.2": "EnderChest",
|
|
173
|
+
"1.11": "minecraft:ender_chest"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"flower_pot": {
|
|
177
|
+
"ids": {
|
|
178
|
+
"1.7.2": "FlowerPot",
|
|
179
|
+
"1.11": "minecraft:flower_pot",
|
|
180
|
+
"1.13": ""
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"furnace": {
|
|
184
|
+
"ids": {
|
|
185
|
+
"1.7.2": "Furnace",
|
|
186
|
+
"1.11": "minecraft:furnace"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"hanging_sign": {
|
|
190
|
+
"ids": {
|
|
191
|
+
"1.7.2": "",
|
|
192
|
+
"1.19.3": "minecraft:hanging_sign"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"hopper": {
|
|
196
|
+
"ids": {
|
|
197
|
+
"1.7.2": "Hopper",
|
|
198
|
+
"1.11": "minecraft:hopper"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"jigsaw": {
|
|
202
|
+
"ids": {
|
|
203
|
+
"1.7.2": "",
|
|
204
|
+
"1.14": "minecraft:jigsaw"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"jukebox": {
|
|
208
|
+
"ids": {
|
|
209
|
+
"1.7.2": "RecordPlayer",
|
|
210
|
+
"1.11": "minecraft:jukebox"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"lectern": {
|
|
214
|
+
"ids": {
|
|
215
|
+
"1.7.2": "",
|
|
216
|
+
"1.14": "minecraft:lectern"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"mob_spawner": {
|
|
220
|
+
"ids": {
|
|
221
|
+
"1.7.2": "MobSpawner",
|
|
222
|
+
"1.11": "minecraft:mob_spawner"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"noteblock": {
|
|
226
|
+
"ids": {
|
|
227
|
+
"1.7.2": "Music",
|
|
228
|
+
"1.11": "minecraft:noteblock",
|
|
229
|
+
"1.13": ""
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"piston": {
|
|
233
|
+
"ids": {
|
|
234
|
+
"1.7.2": "Piston",
|
|
235
|
+
"1.11": "minecraft:piston"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"potent_sulfur": {
|
|
239
|
+
"ids": {
|
|
240
|
+
"1.7.2": "",
|
|
241
|
+
"26.2": "minecraft:potent_sulfur"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"sculk_catalyst": {
|
|
245
|
+
"ids": {
|
|
246
|
+
"1.7.2": "",
|
|
247
|
+
"1.19": "minecraft:sculk_catalyst"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"sculk_sensor": {
|
|
251
|
+
"ids": {
|
|
252
|
+
"1.7.2": "",
|
|
253
|
+
"1.17": "minecraft:sculk_sensor"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"sculk_shrieker": {
|
|
257
|
+
"ids": {
|
|
258
|
+
"1.7.2": "",
|
|
259
|
+
"1.19": "minecraft:sculk_shrieker"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"shelf": {
|
|
263
|
+
"ids": {
|
|
264
|
+
"1.7.2": "",
|
|
265
|
+
"1.21.9": "minecraft:shelf"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"shulker_box": {
|
|
269
|
+
"ids": {
|
|
270
|
+
"1.7.2": "",
|
|
271
|
+
"1.11": "minecraft:shulker_box"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"sign": {
|
|
275
|
+
"ids": {
|
|
276
|
+
"1.7.2": "Sign",
|
|
277
|
+
"1.11": "minecraft:sign"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"skull": {
|
|
281
|
+
"ids": {
|
|
282
|
+
"1.7.2": "Skull",
|
|
283
|
+
"1.11": "minecraft:skull"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"smoker": {
|
|
287
|
+
"ids": {
|
|
288
|
+
"1.7.2": "",
|
|
289
|
+
"1.14": "minecraft:smoker"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"structure_block": {
|
|
293
|
+
"ids": {
|
|
294
|
+
"1.7.2": "",
|
|
295
|
+
"1.9": "Structure",
|
|
296
|
+
"1.11": "minecraft:structure_block"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"test_block": {
|
|
300
|
+
"ids": {
|
|
301
|
+
"1.7.2": "",
|
|
302
|
+
"1.21.5": "minecraft:test_block"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"test_instance_block": {
|
|
306
|
+
"ids": {
|
|
307
|
+
"1.7.2": "",
|
|
308
|
+
"1.21.5": "minecraft:test_instance_block"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"trapped_chest": {
|
|
312
|
+
"ids": {
|
|
313
|
+
"1.7.2": "Chest",
|
|
314
|
+
"1.11": "minecraft:chest",
|
|
315
|
+
"1.13": "minecraft:trapped_chest"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"trial_spawner": {
|
|
319
|
+
"ids": {
|
|
320
|
+
"1.7.2": "",
|
|
321
|
+
"1.20.3": "minecraft:trial_spawner"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"vault": {
|
|
325
|
+
"ids": {
|
|
326
|
+
"1.7.2": "",
|
|
327
|
+
"1.20.5": "minecraft:vault"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
mcdex/blocks/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The 'mcdex.blocks' package provides the blocks of the game: the
|
|
3
|
+
'MCBlocks' catalogue, an enumeration of every block of the data file
|
|
4
|
+
'blocks.json' that ships with the package.
|
|
5
|
+
|
|
6
|
+
- MCBlocks
|
|
7
|
+
"""
|
|
8
|
+
# Apache-2.0 license
|
|
9
|
+
# Copyright (c) 2026 Asger Jon Vistisen
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
from ._mc_blocks import MCBlocks
|
|
13
|
+
|
|
14
|
+
__all__ = (
|
|
15
|
+
'MCBlocks',
|
|
16
|
+
)
|