net.minecraft.world.level.portal

public class PortalShape

exn
net.minecraft.world.level.portal.PortalShape
net.minecraft.class_2424
net.minecraft.unmapped.C_roraysyx
net.minecraft.world.dimension.NetherPortal
net.minecraft.world.dimension.AreaHelper

Field summary

Modifier and TypeField
private static final int
c
MIN_WIDTH
field_31825
f_rmlfmqaw
MIN_WIDTH
MIN_WIDTH
public static final int
a
MAX_WIDTH
field_31823
f_yjpwcxth
MAX_WIDTH
MAX_WIDTH
private static final int
d
MIN_HEIGHT
field_31826
f_zcaohfhf
MIN_HEIGHT
MIN_HEIGHT
public static final int
b
MAX_HEIGHT
field_31824
f_idqfohso
MAX_HEIGHT
MAX_HEIGHT
private static final BlockBehaviour$StatePredicate
e
FRAME
field_25883
f_ystwyyzs
IS_VALID_FRAME_BLOCK
IS_VALID_FRAME_BLOCK
private static final float
f
SAFE_TRAVEL_MAX_ENTITY_XY
field_41086
f_abcqscxw
FALLBACK_THRESHOLD
MAX_SAFE_ENTITY_XY
private static final double
g
SAFE_TRAVEL_MAX_VERTICAL_DELTA
field_41087
f_hhtarqlp
HEIGHT_STRETCH
MAX_VERTICAL_TRAVEL_DELTA
private final Direction$Axis
h
axis
field_11317
f_nwethuet
axis
axis
private final Direction
i
rightDir
field_11314
f_zvtnohue
negativeDir
negativeDir
private final int
j
numPortalBlocks
field_11313
f_sxkghobs
foundPortalBlocks
foundPortalBlocks
private final BlockPos
k
bottomLeft
field_11316
f_jrndrlow
lowerCorner
lowerCorner
private final int
l
height
field_11312
f_ujvdvssv
height
height
private final int
m
width
field_11311
f_axvqzzis
width
width

Constructor summary

ModifierConstructor
private (Direction$Axis axis, int foundPortalBlocks, Direction negativeDir, BlockPos lowerCorner, int width, int height)

Method summary

Modifier and TypeMethod
public static Optional<PortalShape>
a(djb arg0, iu arg1, ja$a arg2)
findEmptyPortalShape(LevelAccessor arg0, BlockPos arg1, Direction$Axis arg2)
method_30485(class_1936 arg0, class_2338 arg1, class_2350$class_2351 arg2)
m_fqfqbwyi(C_vdvbsyle arg0, C_hynzadkk arg1, C_xpuuihxf$C_rmpfouoz arg2)
getNewPortal(WorldAccess world, BlockPos pos, Direction$Axis firstCheckedAxis)
getNewPortal(WorldAccess world, BlockPos pos, Direction$Axis axis)
public static Optional<PortalShape>
a(djb arg0, iu arg1, Predicate<exn> arg2, ja$a arg3)
findPortalShape(LevelAccessor arg0, BlockPos arg1, Predicate<PortalShape> arg2, Direction$Axis arg3)
method_30486(class_1936 arg0, class_2338 arg1, Predicate<class_2424> arg2, class_2350$class_2351 arg3)
m_ahtuozfx(C_vdvbsyle arg0, C_hynzadkk arg1, Predicate<C_roraysyx> arg2, C_xpuuihxf$C_rmpfouoz arg3)
getOrEmpty(WorldAccess world, BlockPos pos, Predicate<NetherPortal> validator, Direction$Axis firstCheckedAxis)
getOrEmpty(WorldAccess world, BlockPos pos, Predicate<AreaHelper> predicate, Direction$Axis axis)
public static PortalShape
a(dig arg0, iu arg1, ja$a arg2)
findAnyShape(BlockGetter arg0, BlockPos arg1, Direction$Axis arg2)
method_64314(class_1922 arg0, class_2338 arg1, class_2350$class_2351 arg2)
m_cyhouxyy(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf$C_rmpfouoz arg2)
getOnAxis(BlockView world, BlockPos pos, Direction$Axis axis)
m_cyhouxyy(BlockView world, BlockPos pos, Direction$Axis arg2)
private static BlockPos
a(dig arg0, ja arg1, iu arg2)
calculateBottomLeft(BlockGetter arg0, Direction arg1, BlockPos arg2)
method_30492(class_1922 arg0, class_2350 arg1, class_2338 arg2)
m_rnrlifot(C_peaveboq arg0, C_xpuuihxf arg1, C_hynzadkk arg2)
getLowerCorner(BlockView world, Direction direction, BlockPos pow)
getLowerCorner(BlockView world, Direction direction, BlockPos pos)
private static int
a(dig arg0, iu arg1, ja arg2)
calculateWidth(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_30495(class_1922 arg0, class_2338 arg1, class_2350 arg2)
m_wkxzsnxo(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
getValidatedWidth(BlockView world, BlockPos lowerCorner, Direction negativeDir)
getWidth(BlockView world, BlockPos pos, Direction direction)
private static int
b(dig arg0, iu arg1, ja arg2)
getDistanceUntilEdgeAboveFrame(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_30493(class_1922 arg0, class_2338 arg1, class_2350 arg2)
m_tejwutit(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
getWidth(BlockView world, BlockPos lowerCorner, Direction negativeDir)
getPotentialWidth(BlockView world, BlockPos pos, Direction direction)
private static int
a(dig arg0, iu arg1, ja arg2, int arg3, org.apache.commons.lang3.mutable.MutableInt arg4)
calculateHeight(BlockGetter arg0, BlockPos arg1, Direction arg2, int arg3, org.apache.commons.lang3.mutable.MutableInt arg4)
method_30496(class_1922 arg0, class_2338 arg1, class_2350 arg2, int arg3, org.apache.commons.lang3.mutable.MutableInt arg4)
m_zanwjosv(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2, int arg3, org.apache.commons.lang3.mutable.MutableInt arg4)
getHeight(BlockView world, BlockPos lowerCorner, Direction negativeDir, int width, org.apache.commons.lang3.mutable.MutableInt foundPortalBlocks)
getHeight(BlockView world, BlockPos pos, Direction direction, int arg3, org.apache.commons.lang3.mutable.MutableInt arg4)
private static boolean
a(dig arg0, iu arg1, ja arg2, iu$a arg3, int arg4, int arg5)
hasTopFrame(BlockGetter arg0, BlockPos arg1, Direction arg2, BlockPos$MutableBlockPos arg3, int arg4, int arg5)
method_30491(class_1922 arg0, class_2338 arg1, class_2350 arg2, class_2338$class_2339 arg3, int arg4, int arg5)
m_beqllhzk(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2, C_hynzadkk$C_egqitdjk arg3, int arg4, int arg5)
isHorizontalFrameValid(BlockView world, BlockPos lowerCorner, Direction direction, BlockPos$Mutable pos, int width, int height)
hasTopFrame(BlockView world, BlockPos pos, Direction direction, BlockPos$Mutable mutablePos, int height, int arg5)
private static int
a(dig arg0, iu arg1, ja arg2, iu$a arg3, int arg4, org.apache.commons.lang3.mutable.MutableInt arg5)
getDistanceUntilTop(BlockGetter arg0, BlockPos arg1, Direction arg2, BlockPos$MutableBlockPos arg3, int arg4, org.apache.commons.lang3.mutable.MutableInt arg5)
method_30490(class_1922 arg0, class_2338 arg1, class_2350 arg2, class_2338$class_2339 arg3, int arg4, org.apache.commons.lang3.mutable.MutableInt arg5)
m_fqjhrxgm(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2, C_hynzadkk$C_egqitdjk arg3, int arg4, org.apache.commons.lang3.mutable.MutableInt arg5)
getPotentialHeight(BlockView world, BlockPos lowerCorner, Direction negativeDir, BlockPos$Mutable pos, int width, org.apache.commons.lang3.mutable.MutableInt foundPortalBlocks)
getPotentialHeight(BlockView world, BlockPos pos, Direction direction, BlockPos$Mutable mutablePos, int arg4, org.apache.commons.lang3.mutable.MutableInt arg5)
private static boolean
a(eah arg0)
isEmpty(BlockState arg0)
method_10359(class_2680 arg0)
m_tmadtmrl(C_txtbiemp arg0)
validStateInsidePortal(BlockState state)
validStateInsidePortal(BlockState state)
public boolean
a()
isValid()
method_10360()
m_qrrwzrao()
isValid()
isValid()
public void
a(djb arg0)
createPortalBlocks(LevelAccessor arg0)
method_10363(class_1936 arg0)
m_cirawvkj(C_vdvbsyle arg0)
createPortal(WorldAccess world)
createPortal(WorldAccess arg0)
public boolean
b()
isComplete()
method_10362()
m_zogcrlny()
wasAlreadyValid()
wasAlreadyValid()
public static Vec3
a(l$a arg0, ja$a arg1, feq arg2, bwi arg3)
getRelativePosition(BlockUtil$FoundRectangle arg0, Direction$Axis arg1, Vec3 arg2, EntityDimensions arg3)
method_30494(class_5459$class_5460 arg0, class_2350$class_2351 arg1, class_243 arg2, class_4048 arg3)
m_wkjoosdm(C_wauhtoaq$C_tqypnjit arg0, C_xpuuihxf$C_rmpfouoz arg1, C_vgpupfxx arg2, C_sszpscpo arg3)
entityPosInPortal(BlockLocating$Rectangle portalRect, Direction$Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)
entityPosInPortal(BlockLocating$Rectangle portalRect, Direction$Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)
public static Vec3
a(feq arg0, arq arg1, bwf arg2, bwi arg3)
findCollisionFreePosition(Vec3 arg0, ServerLevel arg1, Entity arg2, EntityDimensions arg3)
method_47382(class_243 arg0, class_3218 arg1, class_1297 arg2, class_4048 arg3)
m_jbhuyvuh(C_vgpupfxx arg0, C_bdwnwhiu arg1, C_astfners arg2, C_sszpscpo arg3)
findOpenPosition(Vec3d fallback, ServerWorld world, Entity entity, EntityDimensions dimensions)
findOpenPosition(Vec3d fallback, ServerWorld world, Entity entity, EntityDimensions dimensions)