public BoxEntity(BoxType type, Vector3 origin, Vector3 angle, int range) { Type = type; Range = range; Entity = MapEdit.SpawnCrate(origin, angle); }