1
0

chore: 更新 ProbeJS 生成的文件

This commit is contained in:
2022-11-12 12:13:49 +08:00
parent bdfa9bb83a
commit 13fb345aa2
11 changed files with 73550 additions and 70016 deletions

View File

@@ -1,6 +1,13 @@
{
"compilerOptions": {
"lib": ["ES5", "ES2015"],
"typeRoots": ["./probe/generated", "./probe/user"]
"lib": [
"ES5",
"ES2015"
],
"typeRoots": [
"./probe/generated",
"./probe/user"
],
"target": "ES2015"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
/// <reference path="./globals.d.ts" />
const Vec3d: typeof Vec3
const Direction: typeof Facing
const Text: typeof Component
const Direction: typeof Facing

4
kubejs/probe/generated/raw.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
interface String {
readonly namespace: string,
readonly path: string
}

View File

@@ -1,6 +1,6 @@
/// <reference path="./globals.d.ts" />
declare namespace Registry {
class Sound_event extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class SoundEvent extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.SoundEventBuilder;
create(id: string): Internal.SoundEventBuilder;
}
@@ -42,19 +42,19 @@ declare namespace Registry {
create(id: string, type: "basic"): Internal.EnchantmentBuilder;
create(id: string): Internal.EnchantmentBuilder;
}
class Mob_effect extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class MobEffect extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.BasicMobEffect$Builder;
create(id: string): Internal.BasicMobEffect$Builder;
}
class Entity_type extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class EntityType extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
}
class Block_entity_type extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class BlockEntityType extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
}
class Potion extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.PotionBuilder;
create(id: string): Internal.PotionBuilder;
}
class Particle_type extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class ParticleType extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.ParticleTypeBuilder;
create(id: string): Internal.ParticleTypeBuilder;
}
@@ -62,19 +62,19 @@ declare namespace Registry {
create(id: string, type: "basic"): Internal.MotiveBuilder;
create(id: string): Internal.MotiveBuilder;
}
class Custom_stat extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class CustomStat extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.CustomStatBuilder;
create(id: string): Internal.CustomStatBuilder;
}
class Point_of_interest_type extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class PointOfInterestType extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.PoiTypeBuilder;
create(id: string): Internal.PoiTypeBuilder;
}
class Villager_type extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class VillagerType extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.VillagerTypeBuilder;
create(id: string): Internal.VillagerTypeBuilder;
}
class Villager_profession extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
class VillagerProfession extends Internal.RegistryObjectBuilderTypes$RegistryEventJS<any> {
create(id: string, type: "basic"): Internal.VillagerProfessionBuilder;
create(id: string): Internal.VillagerProfessionBuilder;
}