Closed SPGoding closed 4 years ago
Add a new #declare command. #define and #register should be treated as an alias of #declare. All resources can be declared (#597).
#declare
#define
#register
A CacheUnit should now have dcl, def, doc, and ref fields.
CacheUnit
dcl
def
doc
ref
Here's a table showing the possible ways to declare/define each type of resource.
#declare advancement <ID>
#declare worldgen/biome <ID>
#declare tag/block <ID>
#declare bossbar <ID>
bossbar add <ID>
#declare worldgen/configured_carver <ID>
#declare worldgen/configured_feature <ID>
#declare worldgen/configured_structure_feature <ID>
#declare worldgen/configured_surface_builder <ID>
#declare dimension <ID>
#declare dimension_type <ID>
#declare entity <ID>
#declare tag/entity_type <ID>
#declare tag/fluid <ID>
#declare function <ID>
#declare tag/function <ID>
#declare tag/item <ID>
#declare loot_table <ID>
#declare objective <ID>
scoreboard objectives add <ID>
#declare predicate <ID>
#declare worldgen/processor_list <ID>
#declare recipe <ID>
#declare score_holder <ID>
#declare storage <ID>
#declare tag <ID>
#declare team <ID>
#declare worldgen/template_pool <ID>
:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Add a new
#declare
command.#define
and#register
should be treated as an alias of#declare
. All resources can be declared (#597).A
CacheUnit
should now havedcl
,def
,doc
, andref
fields.Here's a table showing the possible ways to declare/define each type of resource.
#declare advancement <ID>
#declare worldgen/biome <ID>
#declare tag/block <ID>
#declare bossbar <ID>
bossbar add <ID>
#declare worldgen/configured_carver <ID>
#declare worldgen/configured_feature <ID>
#declare worldgen/configured_structure_feature <ID>
#declare worldgen/configured_surface_builder <ID>
#declare dimension <ID>
#declare dimension_type <ID>
#declare entity <ID>
#declare tag/entity_type <ID>
#declare tag/fluid <ID>
#declare function <ID>
#declare tag/function <ID>
#declare tag/item <ID>
#declare loot_table <ID>
#declare objective <ID>
scoreboard objectives add <ID>
#declare predicate <ID>
#declare worldgen/processor_list <ID>
#declare recipe <ID>
#declare score_holder <ID>
#declare storage <ID>
#declare tag <ID>
#declare team <ID>
#declare worldgen/template_pool <ID>