Skip to content

Commit

Permalink
Add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Dianliang233 committed May 19, 2022
1 parent ebc3739 commit 6da4073
Show file tree
Hide file tree
Showing 289 changed files with 21,355 additions and 21,553 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*]
end_of_line = lf
indent_style = space
indent_size = 4

[*.js]
indent_size = 2
18 changes: 18 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"semi": false,
"useTabs": false,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 80,
"endOfLine": "lf",
"overrides": [
{
"files": "*.json",
"options": {
"tabWidth": 4,
"useTabs": false
}
}
]
}
8 changes: 4 additions & 4 deletions alerts.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"name": "迁移",
"message": "我们正在迁移在线构建网站。<a href='https://meme.teahouse.team/'>访问新网站</a>。"
}
{
"name": "迁移",
"message": "我们正在迁移在线构建网站。<a href='https://meme.teahouse.team/'>访问新网站</a>。"
}
]
232 changes: 116 additions & 116 deletions datapack/data/minecraft/loot_tables/entities/evoker.json
Original file line number Diff line number Diff line change
@@ -1,121 +1,121 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"entries": [
"type": "minecraft:entity",
"pools": [
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800000}"
}
]
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800000}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800001}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800002}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800003}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800004}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800005}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800006}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800007}"
}
]
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800001}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800002}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800003}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800004}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800005}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800006}"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:totem_of_undying",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:10800007}"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 0.0,
"max": 1.0,
"type": "minecraft:uniform"
}
},
{
"function": "minecraft:looting_enchant",
"count": {
"min": 0.0,
"max": 1.0
}
}
],
"name": "minecraft:emerald"
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 0.0,
"max": 1.0,
"type": "minecraft:uniform"
}
},
{
"function": "minecraft:looting_enchant",
"count": {
"min": 0.0,
"max": 1.0
}
}
],
"name": "minecraft:emerald"
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
}
]
}
]
}
]
}
]
}
Loading

0 comments on commit 6da4073

Please sign in to comment.