UNPKG

@magikcraft/mct1

Version:

Minecraft for Type 1 Diabetes

19 lines (16 loc) 554 B
import * as Locations from './locs' import { QuestConfig, QuestMCT1 } from '@magikcraft/mct1/quests/Quest' import { worldly } from '@magikcraft/mct1/world' export default class QuestMCT1Breakout extends QuestMCT1 { constructor(conf: QuestConfig) { super(conf) this.Locs = Locations.getLocations(this.world) this.endPortalRegion = this.Locs.regions.endPortal } start() { super.start() super.registerEvents() this.setMCT1SuperPowers(true) worldly(this.world).allowMobSpawning() } }