Skip to content

Commit a8be81f

Browse files
committed
fix: bosses
1 parent 815e5f8 commit a8be81f

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

entities/iron_golem.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
"minecraft:boss": {
3737
"should_darken_sky": true,
3838
"hud_range": 55
39+
},
40+
"minecraft:nameable": {
41+
"allow_name_tag_renaming": true,
42+
"always_show": true
3943
}
4044
},
4145
"minecraft:player_created": {

entities/wither.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
},
1616
"minecraft:loot": {
1717
"table": "loot_tables/empty.json"
18+
},
19+
"minecraft:nameable": {
20+
"allow_name_tag_renaming": true,
21+
"always_show": true
1822
}
1923
}
2024
},

src/modules/places/stone-quarry/stone-quarry.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { MinecraftBlockTypes, MinecraftEntityTypes } from '@minecraft/vanilla-data'
22
import { Boss, Loot, ms } from 'lib'
33
import { City } from '../lib/city'
4-
import { Stoner } from '../lib/npc/stoner'
54
import { Furnacer } from './furnacer'
65
import { Gunsmith } from './gunsmith'
76

@@ -16,7 +15,7 @@ class StoneQuarryBuilder extends City {
1615
id: 'wither',
1716
name: 'Камнедробилка',
1817
entityTypeId: MinecraftEntityTypes.Wither,
19-
bossEvent: false,
18+
bossEvent: true,
2019
respawnTime: ms.from('hour', 1),
2120
loot: new Loot('wither drop').item('NetherStar').build,
2221
})

tools/build/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function out(dir, file) {
5454
fs.rmSync(dir, { force: true, recursive: true })
5555
fs.mkdirSync(dir)
5656
} catch (e) {
57-
logger.warn('Failed to empty out dir', e)
57+
if (!(e instanceof Error && 'code' in e && e.code === 'EACESS')) logger.warn('Failed to empty out dir', e)
5858
}
5959

6060
return { outdir: dir, outfile: path.join(dir, file) }

0 commit comments

Comments
 (0)