NetherPortal

class NetherPortal(val origin: BlockPos, val down: Boolean, val direction: Direction, rotated: Direction) : MinecraftShortcuts

Constructors

Link copied to clipboard
constructor(origin: BlockPos, down: Boolean, direction: Direction, rotated: Direction)

Properties

Link copied to clipboard
val direction: Direction
Link copied to clipboard
Link copied to clipboard
val enclosedBlocks: Array<BlockPos>
Link copied to clipboard
val frameBlocks: Array<BlockPos>
Link copied to clipboard
open val gpuDevice: GpuDevice
Link copied to clipboard
val ignitePos: BlockPos
Link copied to clipboard
open val interaction: MultiPlayerGameMode
Link copied to clipboard
open val mc: Minecraft
Link copied to clipboard
open val network: ClientPacketListener
Link copied to clipboard
val origin: BlockPos
Link copied to clipboard
open val player: LocalPlayer
Link copied to clipboard
var score: Int
Link copied to clipboard
open val world: ClientLevel

Functions

Link copied to clipboard

Scores the potential portal about how favourable it would be, to find the best place position.

Link copied to clipboard
fun confirmPlacements(): List<BlockPos>

Returns a list with all the positions that should be obsidian but aren't.

Link copied to clipboard

Whether the score is -1, meaning we can't build this portal without additional actions such as breaking.