net.minecraft.world.level.portal

public class PortalShape

dui
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
net.minecraft.src.C_2762_
net.minecraft.world.level.portal.BlockPortalShape

Field summary

Modifier and TypeField
private static final int
c
MIN_WIDTH
field_31825
f_rmlfmqaw
MIN_WIDTH
f_164752_
public static final int
a
MAX_WIDTH
field_31823
f_yjpwcxth
MAX_WIDTH
f_164750_
private static final int
d
MIN_HEIGHT
field_31826
f_zcaohfhf
field_31826
f_164753_
public static final int
b
MAX_HEIGHT
field_31824
f_idqfohso
field_31824
f_164751_
private static final BlockBehaviour$StatePredicate
e
FRAME
field_25883
f_ystwyyzs
IS_VALID_FRAME_BLOCK
IS_VALID_FRAME_BLOCK
f_77685_
private static final float
f
SAFE_TRAVEL_MAX_ENTITY_XY
field_41086
f_abcqscxw
FALLBACK_THRESHOLD
f_256985_
private static final double
g
SAFE_TRAVEL_MAX_VERTICAL_DELTA
field_41087
f_hhtarqlp
HEIGHT_STRETCH
f_256802_
private final LevelAccessor
h
level
field_11318
f_jjtwimrs
world
world
f_77686_
private final Direction$Axis
i
axis
field_11317
f_nwethuet
axis
axis
f_77687_
private final Direction
j
rightDir
field_11314
f_zvtnohue
negativeDir
negativeDir
f_77688_
private int
k
numPortalBlocks
field_11313
f_sxkghobs
foundPortalBlocks
foundPortalBlocks
f_77689_
private BlockPos
l
bottomLeft
field_11316
f_jrndrlow
lowerCorner
lowerCorner
f_77690_
private int
m
height
field_11312
f_ujvdvssv
height
height
f_77691_
private final int
n
width
field_11311
f_axvqzzis
width
width
f_77692_

Constructor summary

ModifierConstructor
public (LevelAccessor world, BlockPos pos, Direction$Axis axis)

Method summary

Modifier and TypeMethod
public static Optional<PortalShape>
a(cjx arg0, gp arg1, gv$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 axis)
getNewPortal(WorldAccess world, BlockPos pos, Direction$Axis axis)
m_77708_(C_1598_ p_77709_, C_4675_ p_77710_, C_4687_$C_4689_ p_77711_)
public static Optional<PortalShape>
a(cjx arg0, gp arg1, Predicate<dui> arg2, gv$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 axis)
getOrEmpty(WorldAccess world, BlockPos pos, Predicate<AreaHelper> arg2, Direction$Axis axis)
m_77712_(C_1598_ p_77713_, C_4675_ p_77714_, Predicate<C_2762_> p_77715_, C_4687_$C_4689_ p_77716_)
private BlockPos
a(gp arg0)
calculateBottomLeft(BlockPos arg0)
method_30492(class_2338 arg0)
m_rnrlifot(C_hynzadkk arg0)
getLowerCorner(BlockPos pos)
getLowerCorner(BlockPos pos)
m_77733_(C_4675_ arg0)
private int
d()
calculateWidth()
method_30495()
m_wkxzsnxo()
getWidth()
getWidth()
m_77745_()
private int
a(gp arg0, gv arg1)
getDistanceUntilEdgeAboveFrame(BlockPos arg0, Direction arg1)
method_30493(class_2338 arg0, class_2350 arg1)
m_tejwutit(C_hynzadkk arg0, C_xpuuihxf arg1)
getWidth(BlockPos pos, Direction direction)
getWidth(BlockPos pos, Direction direction)
m_77735_(C_4675_ p_77737_, C_4687_ arg1)
private int
e()
calculateHeight()
method_30496()
m_zanwjosv()
getHeight()
getHeight()
m_77746_()
private boolean
a(gp$a arg0, int arg1)
hasTopFrame(BlockPos$MutableBlockPos arg0, int arg1)
method_30491(class_2338$class_2339 arg0, int arg1)
m_beqllhzk(C_hynzadkk$C_egqitdjk arg0, int arg1)
isHorizontalFrameValid(BlockPos$Mutable pos, int height)
m_beqllhzk(BlockPos$Mutable pos, int arg1)
m_77730_(C_4675_$C_4681_ p_77732_, int arg1)
private int
a(gp$a arg0)
getDistanceUntilTop(BlockPos$MutableBlockPos arg0)
method_30490(class_2338$class_2339 arg0)
m_fqjhrxgm(C_hynzadkk$C_egqitdjk arg0)
getPotentialHeight(BlockPos$Mutable pos)
m_fqjhrxgm(BlockPos$Mutable pos)
m_77728_(C_4675_$C_4681_ arg0)
private static boolean
a(cyt arg0)
isEmpty(BlockState arg0)
method_10359(class_2680 arg0)
m_tmadtmrl(C_txtbiemp arg0)
validStateInsidePortal(BlockState state)
validStateInsidePortal(BlockState state)
m_77717_(C_2064_ p_77718_)
public boolean
a()
isValid()
method_10360()
m_qrrwzrao()
isValid()
isValid()
m_77698_()
public void
b()
createPortalBlocks()
method_10363()
m_cirawvkj()
createPortal()
createPortal()
m_77743_()
public boolean
c()
isComplete()
method_10362()
m_zogcrlny()
wasAlreadyValid()
wasAlreadyValid()
m_77744_()
public static Vec3
a(k$a arg0, gv$a arg1, eae arg2, bds 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)
m_77738_(C_4777_$C_4778_ p_77739_, C_4687_$C_4689_ p_77740_, C_3046_ p_77741_, C_510_ p_77742_)
public static PortalInfo
a(ahm arg0, k$a arg1, gv$a arg2, eae arg3, bdr arg4, eae arg5, float arg6, float arg7)
createPortalInfo(ServerLevel arg0, BlockUtil$FoundRectangle arg1, Direction$Axis arg2, Vec3 arg3, Entity arg4, Vec3 arg5, float arg6, float arg7)
method_30484(class_3218 arg0, class_5459$class_5460 arg1, class_2350$class_2351 arg2, class_243 arg3, class_1297 arg4, class_243 arg5, float arg6, float arg7)
m_kxfqgler(C_bdwnwhiu arg0, C_wauhtoaq$C_tqypnjit arg1, C_xpuuihxf$C_rmpfouoz arg2, C_vgpupfxx arg3, C_astfners arg4, C_vgpupfxx arg5, float arg6, float arg7)
getNetherTeleportTarget(ServerWorld destination, BlockLocating$Rectangle portalRect, Direction$Axis portalAxis, Vec3d offset, Entity entity, Vec3d velocity, float yaw, float pitch)
getNetherTeleportTarget(ServerWorld destination, BlockLocating$Rectangle portalRect, Direction$Axis portalAxis, Vec3d offset, Entity arg4, Vec3d velocity, float yaw, float pitch)
m_257966_(C_12_ p_259301_, C_4777_$C_4778_ p_259931_, C_4687_$C_4689_ p_259901_, C_3046_ p_259630_, C_507_ p_259166_, C_3046_ p_260043_, float p_259853_, float p_259667_)
private static Vec3
a(eae arg0, ahm arg1, bdr arg2, bds 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)
m_jbhuyvuh(Vec3d arg0, ServerWorld world, Entity arg2, EntityDimensions arg3)
m_257963_(C_3046_ p_260315_, C_12_ p_259704_, C_507_ p_259626_, C_510_ p_259816_)