net.minecraft.world.level.portal

public class PortalShape

dhj
net.minecraft.world.level.portal.PortalShape
net.minecraft.class_2424
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
field_31825
f_164752_
public static final int
a
MAX_WIDTH
field_31823
field_31823
f_164750_
private static final int
d
MIN_HEIGHT
field_31826
field_31826
f_164753_
public static final int
b
MAX_HEIGHT
field_31824
field_31824
f_164751_
private static final BlockBehaviour$StatePredicate
e
FRAME
field_25883
IS_VALID_FRAME_BLOCK
f_77685_
private final LevelAccessor
f
level
field_11318
world
f_77686_
private final Direction$Axis
g
axis
field_11317
axis
f_77687_
private final Direction
h
rightDir
field_11314
negativeDir
f_77688_
private int
i
numPortalBlocks
field_11313
foundPortalBlocks
f_77689_
private BlockPos
j
bottomLeft
field_11316
lowerCorner
f_77690_
private int
k
height
field_11312
height
f_77691_
private final int
l
width
field_11311
width
f_77692_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Optional<PortalShape>
a(bwr arg0, gg arg1, gl$a arg2)
findEmptyPortalShape(LevelAccessor arg0, BlockPos arg1, Direction$Axis arg2)
method_30485(class_1936 arg0, class_2338 arg1, class_2350$class_2351 arg2)
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(bwr arg0, gg arg1, Predicate<dhj> arg2, gl$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)
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(gg arg0)
calculateBottomLeft(BlockPos arg0)
method_30492(class_2338 arg0)
getLowerCorner(BlockPos pos)
m_77733_(C_4675_ arg0)
private int
d()
calculateWidth()
method_30495()
getWidth()
m_77745_()
private int
a(gg arg0, gl arg1)
getDistanceUntilEdgeAboveFrame(BlockPos arg0, Direction arg1)
method_30493(class_2338 arg0, class_2350 arg1)
getWidth(BlockPos pos, Direction direction)
m_77735_(C_4675_ p_77737_, C_4687_ arg1)
private int
e()
calculateHeight()
method_30496()
getHeight()
m_77746_()
private boolean
a(gg$a arg0, int arg1)
hasTopFrame(BlockPos$MutableBlockPos arg0, int arg1)
method_30491(class_2338$class_2339 arg0, int arg1)
method_30491(BlockPos$Mutable arg0, int arg1)
m_77730_(C_4675_$C_4681_ p_77732_, int arg1)
private int
a(gg$a arg0)
getDistanceUntilTop(BlockPos$MutableBlockPos arg0)
method_30490(class_2338$class_2339 arg0)
method_30490(BlockPos$Mutable arg0)
m_77728_(C_4675_$C_4681_ arg0)
private static boolean
a(ckt arg0)
isEmpty(BlockState arg0)
method_10359(class_2680 arg0)
validStateInsidePortal(BlockState state)
m_77717_(C_2064_ p_77718_)
public boolean
a()
isValid()
method_10360()
isValid()
m_77698_()
public void
b()
createPortalBlocks()
method_10363()
createPortal()
m_77743_()
createPortal()
public boolean
c()
isComplete()
method_10362()
wasAlreadyValid()
m_77744_()
public static Vec3
a(n$a arg0, gl$a arg1, dna arg2, ath 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)
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(abr arg0, n$a arg1, gl$a arg2, dna arg3, ath arg4, dna arg5, float arg6, float arg7)
createPortalInfo(ServerLevel arg0, BlockUtil$FoundRectangle arg1, Direction$Axis arg2, Vec3 arg3, EntityDimensions 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_4048 arg4, class_243 arg5, float arg6, float arg7)
getNetherTeleportTarget(ServerWorld destination, BlockLocating$Rectangle portalRect, Direction$Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch)
m_77699_(C_12_ p_77700_, C_4777_$C_4778_ p_77701_, C_4687_$C_4689_ p_77702_, C_3046_ p_77703_, C_510_ p_77704_, C_3046_ p_77705_, float p_77706_, float p_77707_)