StartupEvents.registry("villager_type", event => {
event.create("ascendet_weaponsmith")
})
StartupEvents.registry("point_of_interest_type", event => {
event.create("ascendet_weaponsmith_poi")
.block("minecraft:bedrock")
.maxTickets(1)
.validRange(16)
})
StartupEvents.registry("villager_profession", event => {
event.create("ascendet_weaponsmith")
.poiType("kubejs:ascendet_weaponsmith_poi")
.workSound("minecraft:block.anvil.use")
})
when i remove everything that has to do with the poi it doesn't crash but when i spawn the villager it spawns with out a job