You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pedro270707 edited this page Jul 16, 2026
·
3 revisions
A portal tester is an algorithm which checks if a portal is valid. Used by the portal generator and after generation to check if the portal is still valid.
Technical information
Class dev.kyanitemods.kyaniteportals.content.testers.PortalTester, registerable via dev.kyanitemods.kyaniteportals.content.registry.PortalTesters#REGISTRY through a type dev.kyanitemods.kyaniteportals.content.testers.PortalTesterType.
JSON format
: The root object.
type: The tester type ID (see below).
Additional fields of the tester, described below.
Tester types
kyanite_portals:rectangle
Tests a rectangular area.
Additional fields:
width: Range in which the width must be contained.
height: Range in which the height must be contained.
axes: (optional, defaults to ["x", "z"]) List of axes to test.
: One of "x", "y", or "z".
frame: Block predicate for the frame of the portal.
replaceable: Block predicate for replaceable blocks inside the frame which are replaced when the portal is generated.
portal: Block predicate for portal blocks.
corners_required: (defaults to false) Determines if corners are required or not.