Skip to content

Commit

Permalink
fix: add DamageType to namespace, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
RitikShah authored and vberlier committed Apr 24, 2023
1 parent 3c5bb3c commit 9dd44e7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions beet/library/data_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"DataPack",
"DataPackNamespace",
"Advancement",
"DamageType",
"Function",
"ItemModifier",
"LootTable",
Expand Down Expand Up @@ -262,6 +263,7 @@ class DataPackNamespace(Namespace):

# fmt: off
advancements: NamespacePin[Advancement] = NamespacePin(Advancement)
damage_type: NamespacePin[DamageType] = NamespacePin(DamageType)
functions: NamespacePin[Function] = NamespacePin(Function)
loot_tables: NamespacePin[LootTable] = NamespacePin(LootTable)
predicates: NamespacePin[Predicate] = NamespacePin(Predicate)
Expand Down Expand Up @@ -296,6 +298,7 @@ class DataPack(Pack[DataPackNamespace]):

# fmt: off
advancements: NamespaceProxyDescriptor[Advancement] = NamespaceProxyDescriptor(Advancement)
damage_type: NamespaceProxyDescriptor[DamageType] = NamespaceProxyDescriptor(DamageType)
functions: NamespaceProxyDescriptor[Function] = NamespaceProxyDescriptor(Function)
loot_tables: NamespaceProxyDescriptor[LootTable] = NamespaceProxyDescriptor(LootTable)
predicates: NamespaceProxyDescriptor[Predicate] = NamespaceProxyDescriptor(Predicate)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"exhaustion": 0.1,
"message_id": "tcc.boomerang",
"scaling": "never"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"exhaustion": 0.0,
"message_id": "tcc.swordfish",
"scaling": "never"
}

0 comments on commit 9dd44e7

Please sign in to comment.