- portal_detector(version): {
addPortalToWorld: ((world, portal, additionalAir, additionalObsidian, setBlockType?) => Promise<any>);
detectFrame: ((world, startingPoint, directionV) => Promise<any[]>);
findBorder: ((world, __namedParameters, directionV) => Promise<null | never[] | {
bottom: any;
left: any[];
right: any[];
top: any[];
}>);
findPotentialLines: ((world, startingPoint, directionV) => Promise<{
direction: Vec3;
line: any[];
}[]>);
generateLine: ((startingPoint, direction, length) => any);
generatePortal: ((bottomLeft, direction, width, height) => {
air: any;
bottom: any;
left: any;
right: any;
top: any;
});
getAir: ((border) => any);
makeWorldWithPortal: ((portal, additionalAir, additionalObsidian) => Promise<any>);
} Returns {
addPortalToWorld: ((world, portal, additionalAir, additionalObsidian, setBlockType?) => Promise<any>);
detectFrame: ((world, startingPoint, directionV) => Promise<any[]>);
findBorder: ((world, __namedParameters, directionV) => Promise<null | never[] | {
bottom: any;
left: any[];
right: any[];
top: any[];
}>);
findPotentialLines: ((world, startingPoint, directionV) => Promise<{
direction: Vec3;
line: any[];
}[]>);
generateLine: ((startingPoint, direction, length) => any);
generatePortal: ((bottomLeft, direction, width, height) => {
air: any;
bottom: any;
left: any;
right: any;
top: any;
});
getAir: ((border) => any);
makeWorldWithPortal: ((portal, additionalAir, additionalObsidian) => Promise<any>);
}
addPortalToWorld: ((world, portal, additionalAir, additionalObsidian, setBlockType?) => Promise<any>)
- (world, portal, additionalAir, additionalObsidian, setBlockType?): Promise<any>
Parameters
world: any
portal: any
additionalAir: any
additionalObsidian: any
setBlockType: any = null
Returns Promise<any>
detectFrame: ((world, startingPoint, directionV) => Promise<any[]>)
- (world, startingPoint, directionV): Promise<any[]>
Parameters
world: any
startingPoint: any
directionV: any
Returns Promise<any[]>
findBorder: ((world, __namedParameters, directionV) => Promise<null | never[] | {
bottom: any;
left: any[];
right: any[];
top: any[];
}>)
- (world, __namedParameters, directionV): Promise<null | never[] | {
bottom: any;
left: any[];
right: any[];
top: any[];
}> Parameters
world: any
__namedParameters: {
direction: any;
line: any;
}
directionV: any
Returns Promise<null | never[] | {
bottom: any;
left: any[];
right: any[];
top: any[];
}>
findPotentialLines: ((world, startingPoint, directionV) => Promise<{
direction: Vec3;
line: any[];
}[]>)
- (world, startingPoint, directionV): Promise<{
direction: Vec3;
line: any[];
}[]> Parameters
world: any
startingPoint: any
directionV: any
Returns Promise<{
direction: Vec3;
line: any[];
}[]>
generateLine: ((startingPoint, direction, length) => any)
- (startingPoint, direction, length): any
Parameters
startingPoint: any
direction: any
length: any
Returns any
generatePortal: ((bottomLeft, direction, width, height) => {
air: any;
bottom: any;
left: any;
right: any;
top: any;
})
- (bottomLeft, direction, width, height): {
air: any;
bottom: any;
left: any;
right: any;
top: any;
} Parameters
bottomLeft: any
direction: any
width: any
height: any
Returns {
air: any;
bottom: any;
left: any;
right: any;
top: any;
}
air: any
bottom: any
left: any
right: any
top: any
getAir: ((border) => any)
makeWorldWithPortal: ((portal, additionalAir, additionalObsidian) => Promise<any>)
- (portal, additionalAir, additionalObsidian): Promise<any>
Parameters
portal: any
additionalAir: any
additionalObsidian: any
Returns Promise<any>