net.minecraft.world.level.portal

public class PortalShape

eqe
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
MIN_WIDTH
f_164752_
public static final int
a
MAX_WIDTH
field_31823
f_yjpwcxth
MAX_WIDTH
MAX_WIDTH
f_164750_
private static final int
d
MIN_HEIGHT
field_31826
f_zcaohfhf
MIN_HEIGHT
MIN_HEIGHT
f_164753_
public static final int
b
MAX_HEIGHT
field_31824
f_idqfohso
MAX_HEIGHT
MAX_HEIGHT
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
MAX_SAFE_ENTITY_XY
f_256985_
private static final double
g
SAFE_TRAVEL_MAX_VERTICAL_DELTA
field_41087
f_hhtarqlp
HEIGHT_STRETCH
MAX_VERTICAL_TRAVEL_DELTA
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(dcx arg0, jd arg1, ji$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(dcx arg0, jd arg1, Predicate<eqe> arg2, ji$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> predicate, 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(jd 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(jd arg0, ji 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(jd$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)
hasTopFrame(BlockPos$Mutable pos, int height)
m_77730_(C_4675_$C_4681_ p_77732_, int arg1)
private int
a(jd$a arg0)
getDistanceUntilTop(BlockPos$MutableBlockPos arg0)
method_30490(class_2338$class_2339 arg0)
m_fqjhrxgm(C_hynzadkk$C_egqitdjk arg0)
getPotentialHeight(BlockPos$Mutable pos)
getPotentialHeight(BlockPos$Mutable pos)
m_77728_(C_4675_$C_4681_ arg0)
private static boolean
a(dtc 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(l$a arg0, ji$a arg1, exc arg2, bsu 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 Vec3
a(exc arg0, aqu arg1, bsr arg2, bsu 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)
m_257963_(C_3046_ p_260315_, C_12_ p_259704_, C_507_ p_259626_, C_510_ p_259816_)