Skip to content

Commit 5a3ecd3

Browse files
committed
chore: run prettier
1 parent e4d1673 commit 5a3ecd3

11 files changed

Lines changed: 70 additions & 93 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
![Commit activity](https://img.shields.io/github/commit-activity/m/LushWay/Scripts)
55
![Build status](https://img.shields.io/github/actions/workflow/status/LushWay/Scripts/cd-scripts.yml)
66

7-
8-
Script API pack for Minecraft Bedrock Server [@LushWay](https://github.com/LushWay).
7+
Script API pack for Minecraft Bedrock Server [@LushWay](https://github.com/LushWay).
98

109
This project uses many code from:
11-
[Bedrock Scripting API](https://discord.gg/wMSBmuBB)
12-
[Herobrine's Chest UI](https://github.com/Herobrine643928/Chest-UI/)
13-
[Smelly API](https://github.com/Smelly-API/Smelly-API)
14-
[Rubedo](https://github.com/smell-of-curry/rubedo)
10+
[Bedrock Scripting API](https://discord.gg/wMSBmuBB)
11+
[Herobrine's Chest UI](https://github.com/Herobrine643928/Chest-UI/)
12+
[Smelly API](https://github.com/Smelly-API/Smelly-API)
13+
[Rubedo](https://github.com/smell-of-curry/rubedo)

entities/chicken.json

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,7 @@
4444
},
4545
"minecraft:ageable": {
4646
"duration": 1200,
47-
"feed_items": [
48-
"wheat_seeds",
49-
"beetroot_seeds",
50-
"melon_seeds",
51-
"pumpkin_seeds"
52-
],
47+
"feed_items": ["wheat_seeds", "beetroot_seeds", "melon_seeds", "pumpkin_seeds"],
5348
"grow_up": {
5449
"event": "minecraft:ageable_grow_up",
5550
"target": "self"
@@ -87,12 +82,7 @@
8782
"target": "baby"
8883
}
8984
},
90-
"breed_items": [
91-
"wheat_seeds",
92-
"beetroot_seeds",
93-
"melon_seeds",
94-
"pumpkin_seeds"
95-
]
85+
"breed_items": ["wheat_seeds", "beetroot_seeds", "melon_seeds", "pumpkin_seeds"]
9686
},
9787
"minecraft:behavior.breed": {
9888
"priority": 3,
@@ -195,12 +185,7 @@
195185
"minecraft:behavior.tempt": {
196186
"priority": 4,
197187
"speed_multiplier": 1.0,
198-
"items": [
199-
"wheat_seeds",
200-
"beetroot_seeds",
201-
"melon_seeds",
202-
"pumpkin_seeds"
203-
]
188+
"items": ["wheat_seeds", "beetroot_seeds", "melon_seeds", "pumpkin_seeds"]
204189
},
205190
"minecraft:behavior.random_stroll": {
206191
"priority": 6,
@@ -239,10 +224,7 @@
239224

240225
"chicken:drop": {
241226
"remove": {
242-
"component_groups": [
243-
"minecraft:chicken_baby",
244-
"minecraft:spawn_adult"
245-
]
227+
"component_groups": ["minecraft:chicken_baby", "minecraft:spawn_adult"]
246228
},
247229
"add": {
248230
"component_groups": ["drop"]

entities/database.json

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
{
2-
"format_version": "1.17.10",
3-
"minecraft:entity": {
4-
"description": {
5-
"identifier": "rubedo:database",
6-
"is_spawnable": false,
7-
"is_summonable": true,
8-
"is_experimental": false
9-
},
10-
"component_groups": {
11-
"despawn": {
12-
"minecraft:instant_despawn": {},
13-
"minecraft:explode": {}
14-
}
15-
},
16-
"components": {
17-
"minecraft:inventory": {
18-
"container_type": "inventory",
19-
"inventory_size": 96,
20-
"private": true
21-
},
22-
"minecraft:collision_box": {
23-
"width": 0,
24-
"height": 0
25-
},
26-
"minecraft:movement": {
27-
"value": 0
28-
},
29-
"minecraft:pushable": {
30-
"is_pushable": false,
31-
"is_pushable_by_piston": false
32-
},
33-
"minecraft:damage_sensor": {
34-
"triggers": {
35-
"cause": "all",
36-
"deals_damage": false
37-
}
38-
},
39-
"minecraft:fire_immune": true,
40-
"minecraft:health": {
41-
"value": 999999,
42-
"min": 1
43-
},
44-
"minecraft:conditional_bandwidth_optimization": {}
45-
},
46-
"events": {
47-
"minecraft:despawn": {
48-
"add": {
49-
"component_groups": ["despawn"]
50-
}
51-
}
52-
}
53-
}
2+
"format_version": "1.17.10",
3+
"minecraft:entity": {
4+
"description": {
5+
"identifier": "rubedo:database",
6+
"is_spawnable": false,
7+
"is_summonable": true,
8+
"is_experimental": false
9+
},
10+
"component_groups": {
11+
"despawn": {
12+
"minecraft:instant_despawn": {},
13+
"minecraft:explode": {}
14+
}
15+
},
16+
"components": {
17+
"minecraft:inventory": {
18+
"container_type": "inventory",
19+
"inventory_size": 96,
20+
"private": true
21+
},
22+
"minecraft:collision_box": {
23+
"width": 0,
24+
"height": 0
25+
},
26+
"minecraft:movement": {
27+
"value": 0
28+
},
29+
"minecraft:pushable": {
30+
"is_pushable": false,
31+
"is_pushable_by_piston": false
32+
},
33+
"minecraft:damage_sensor": {
34+
"triggers": {
35+
"cause": "all",
36+
"deals_damage": false
37+
}
38+
},
39+
"minecraft:fire_immune": true,
40+
"minecraft:health": {
41+
"value": 999999,
42+
"min": 1
43+
},
44+
"minecraft:conditional_bandwidth_optimization": {}
45+
},
46+
"events": {
47+
"minecraft:despawn": {
48+
"add": {
49+
"component_groups": ["despawn"]
50+
}
51+
}
52+
}
53+
}
5454
}

entities/grave.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
},
3333

3434
"minecraft:damage_sensor": {
35-
"triggers": {
36-
"cause": "all",
37-
"deals_damage": false
38-
}
39-
},
35+
"triggers": {
36+
"cause": "all",
37+
"deals_damage": false
38+
}
39+
},
4040

4141
"minecraft:pushable": {
4242
"is_pushable": false,

src/lib/bds/modules.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
22
/* eslint-disable @typescript-eslint/no-unsafe-return */
3-
43

54
interface Modules {
65
Net: null | typeof import('@minecraft/server-net')

src/lib/form/action.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ describe('ActionForm', () => {
3636
})
3737
})
3838
})
39-

src/lib/rpg/loot-table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class Loot {
192192
}
193193

194194
export class LootTable {
195-
static all: LootTable[] =[]
195+
static all: LootTable[] = []
196196

197197
static instances = new Map<string, LootTable>()
198198

src/lib/utils/logger.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ describe('Logger', () => {
3030
`)
3131
})
3232
})
33-
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { Group } from "lib/rpg/place";
1+
import { Group } from 'lib/rpg/place'
22

3-
export const outsideGroup = new Group('outside', 'Внешнее пространство')
3+
export const outsideGroup = new Group('outside', 'Внешнее пространство')

src/modules/test/simulatedPlayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { GameMode, system, world } from '@minecraft/server'
2-
2+
33
import * as GameTest from '@minecraft/server-gametest'
44

55
import { MinecraftBlockTypes } from '@minecraft/vanilla-data'

0 commit comments

Comments
 (0)