Skip to content

Commit

Permalink
feat: version 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Apr 28, 2024
1 parent 728859b commit 2fd518d
Show file tree
Hide file tree
Showing 217 changed files with 227 additions and 217 deletions.
12 changes: 11 additions & 1 deletion beet/library/data_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"Advancement",
"DamageType",
"ChatType",
"BannerPattern",
"Function",
"ItemModifier",
"LootTable",
Expand Down Expand Up @@ -72,6 +73,13 @@ class ChatType(JsonFile):
extension: ClassVar[str] = ".json"


class BannerPattern(JsonFile):
"""Class representing a banner pattern."""

scope: ClassVar[Tuple[str, ...]] = ("banner_pattern",)
extension: ClassVar[str] = ".json"


@dataclass(eq=False, repr=False)
class Function(TextFileBase[List[str]]):
"""Class representing a function."""
Expand Down Expand Up @@ -307,6 +315,7 @@ class DataPackNamespace(Namespace):
structures: NamespacePin[Structure] = NamespacePin(Structure)
chat_type: NamespacePin[ChatType] = NamespacePin(ChatType)
damage_type: NamespacePin[DamageType] = NamespacePin(DamageType)
banner_patterns: NamespacePin[BannerPattern] = NamespacePin(BannerPattern)
block_tags: NamespacePin[BlockTag] = NamespacePin(BlockTag)
entity_type_tags: NamespacePin[EntityTypeTag] = NamespacePin(EntityTypeTag)
fluid_tags: NamespacePin[FluidTag] = NamespacePin(FluidTag)
Expand All @@ -331,7 +340,7 @@ class DataPack(Pack[DataPackNamespace]):
(1, 17): 7,
(1, 18): 9,
(1, 19): 12,
(1, 20): 26,
(1, 20): 41,
}
latest_pack_format = pack_format_registry[split_version(LATEST_MINECRAFT_VERSION)]

Expand All @@ -347,6 +356,7 @@ class DataPack(Pack[DataPackNamespace]):
structures: NamespaceProxyDescriptor[Structure] = NamespaceProxyDescriptor(Structure)
chat_type: NamespaceProxyDescriptor[ChatType] = NamespaceProxyDescriptor(ChatType)
damage_type: NamespaceProxyDescriptor[DamageType] = NamespaceProxyDescriptor(DamageType)
banner_patterns: NamespaceProxyDescriptor[BannerPattern] = NamespaceProxyDescriptor(BannerPattern)
block_tags: NamespaceProxyDescriptor[BlockTag] = NamespaceProxyDescriptor(BlockTag)
entity_type_tags: NamespaceProxyDescriptor[EntityTypeTag] = NamespaceProxyDescriptor(EntityTypeTag)
fluid_tags: NamespaceProxyDescriptor[FluidTag] = NamespaceProxyDescriptor(FluidTag)
Expand Down
2 changes: 1 addition & 1 deletion beet/library/resource_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class ResourcePack(Pack[ResourcePackNamespace]):
(1, 17): 7,
(1, 18): 8,
(1, 19): 13,
(1, 20): 22,
(1, 20): 32,
}
latest_pack_format = pack_format_registry[split_version(LATEST_MINECRAFT_VERSION)]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pack":{"pack_format":26,"description":""}}
{"pack":{"pack_format":41,"description":""}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pack":{"pack_format":22,"description":""}}
{"pack":{"pack_format":32,"description":""}}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
},
"language": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": [
"override for ",
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": [
{
"text": "bold description",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": "The description of my project\nAuthor: Example\nVersion: 1.7.4"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": "The description of my project\nAuthor: Example\nVersion: 1.7.4"
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pack":{"pack_format":26,"description":""}}
{"pack":{"pack_format":41,"description":""}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pack":{"pack_format":22,"description":""}}
{"pack":{"pack_format":32,"description":""}}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 26,
"pack_format": 41,
"description": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 22,
"pack_format": 32,
"description": ""
}
}
Loading

0 comments on commit 2fd518d

Please sign in to comment.