#game crashes when i want to create a villager

3 messages · Page 1 of 1 (latest)

zinc tendon
#
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

lapis surgeBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

zinc tendon
#

i would love to post my logs but Discord dousnt let me