InaCentaur
7 months agoStart Member
sanity test, why isn't this console log printing?
import { PropTypes } from 'horizon/core';
import * as hz from 'horizon/core';
//import { Component, Entity, Player, Vec3, CodeBlockEvents } from 'horizon/core';
class Test extends hz.Component<typeof Test> {
static propsDefinition = {
destination: { type: PropTypes.Entity }, // The entity that represents the destination
triggerEntity: { type: PropTypes.Entity }, // The entity that triggers the teleportation
};
start() {
console.log("TeleportComponent TEST started");
}
}
hz.Component.register(Test);