Skip to content

Commit

Permalink
Fix exporting vanilla dat
Browse files Browse the repository at this point in the history
  • Loading branch information
stirante committed Jan 6, 2025
1 parent a03fb7e commit f5cac6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import EntityPulseScheduler from "./scheduling/EntityPulseScheduler";
import PlayerPulseScheduler from "./scheduling/PlayerPulseScheduler";
import CommandUtils, { CameraShakeType, InputPermission } from "./utils/CommandUtils";
import { MolangExpression, MolangValue, sendMolangData } from "./VariableSender";
import type VanillaBlockTags from "./vanilla/VanillaBlockTags.d.ts";
import type VanillaItemTags from "./vanilla/VanillaItemTags.d.ts";
import type TimeOfDay from "./vanilla/TimeOfDay.d.ts";
import VanillaBlockTags from "./vanilla/VanillaBlockTags";
import VanillaItemTags from "./vanilla/VanillaItemTags";
import TimeOfDay from "./vanilla/TimeOfDay";
import DirectionUtils from "./utils/DirectionUtils";

export {
Expand Down
6 changes: 2 additions & 4 deletions src/vanilla/TimeOfDay.d.ts → src/vanilla/TimeOfDay.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
declare class TimeOfDay {
export default class TimeOfDay {
public static readonly Day = 1000;
public static readonly Midnight = 18000;
public static readonly Night = 13000;
public static readonly Noon = 6000;
public static readonly Sunrise = 23000;
public static readonly Sunset = 12000;
}

export default TimeOfDay;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare class VanillaBlockTags {
export default class VanillaBlockTags {
public static readonly Acacia = 'acacia';
public static readonly Birch = 'birch';
public static readonly DarkOak = 'dark_oak';
Expand Down Expand Up @@ -37,6 +37,4 @@ declare class VanillaBlockTags {
public static readonly Trapdoors = 'trapdoors';
public static readonly Water = 'water';
public static readonly Wood = 'wood';
}

export default VanillaBlockTags;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare class VanillaItemTags {
export default class VanillaItemTags {
public static readonly Arrow = 'minecraft:arrow';
public static readonly Banner = 'minecraft:banner';
public static readonly Boat = 'minecraft:boat';
Expand Down Expand Up @@ -57,6 +57,4 @@ declare class VanillaItemTags {
public static readonly WoodenSlabs = 'minecraft:wooden_slabs';
public static readonly WoodenTier = 'minecraft:wooden_tier';
public static readonly Wool = 'minecraft:wool';
}

export default VanillaItemTags;
}

0 comments on commit f5cac6f

Please sign in to comment.