net.minecraft.world.level.portal

public class PortalShape

cxk
net.minecraft.world.level.portal.PortalShape
net.minecraft.class_2424
net.minecraft.world.dimension.AreaHelper
net.minecraft.block.PortalSize
net.minecraft.server.v1_16_R2.BlockPortalShape

Field summary

Modifier and TypeField
private static final BlockBehaviour$StatePredicate
a
FRAME
field_25883
IS_VALID_FRAME_BLOCK
field_242962_a
private final LevelAccessor
b
level
field_11318
world
field_150867_a
private final Direction$Axis
c
axis
field_11317
axis
field_150865_b
private final Direction
d
rightDir
field_11314
negativeDir
field_150866_c
private int
e
numPortalBlocks
field_11313
foundPortalBlocks
field_150864_e
private BlockPos
f
bottomLeft
field_11316
lowerCorner
field_150861_f
position
private int
g
height
field_11312
height
field_150862_g
height
private int
h
width
field_11311
width
field_150868_h
width

Constructor summary

ModifierConstructor
public (LevelAccessor world, BlockPos arg1, Direction$Axis arg2)

Method summary

Modifier and TypeMethod
public static Optional<PortalShape>
a(brv arg0, fx arg1, gc$a arg2)
findEmptyPortalShape(LevelAccessor arg0, BlockPos arg1, Direction$Axis arg2)
method_30485(class_1936 arg0, class_2338 arg1, class_2350$class_2351 arg2)
method_30485(WorldAccess arg0, BlockPos arg1, Direction$Axis arg2)
func_242964_a(IWorld arg0, BlockPos arg1, Direction$Axis arg2)
public static Optional<PortalShape>
a(brv arg0, fx arg1, Predicate<cxk> arg2, gc$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)
method_30486(WorldAccess arg0, BlockPos arg1, Predicate<AreaHelper> arg2, Direction$Axis arg3)
func_242965_a(IWorld arg0, BlockPos arg1, Predicate<PortalSize> arg2, Direction$Axis arg3)
private BlockPos
a(fx arg0)
calculateBottomLeft(BlockPos arg0)
method_30492(class_2338 arg0)
method_30492(BlockPos arg0)
func_242971_a(BlockPos arg0)
private int
d()
calculateWidth()
method_30495()
method_30495()
func_242974_d()
private int
a(fx arg0, gc arg1)
getDistanceUntilEdgeAboveFrame(BlockPos arg0, Direction arg1)
method_30493(class_2338 arg0, class_2350 arg1)
method_30493(BlockPos arg0, Direction arg1)
func_242972_a(BlockPos arg0, Direction arg1)
private int
e()
calculateHeight()
method_30496()
method_30496()
func_242975_e()
private boolean
a(fx$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)
func_242970_a(BlockPos$Mutable arg0, int arg1)
private int
a(fx$a arg0)
getDistanceUntilTop(BlockPos$MutableBlockPos arg0)
method_30490(class_2338$class_2339 arg0)
method_30490(BlockPos$Mutable arg0)
func_242969_a(BlockPos$Mutable arg0)
private static boolean
a(cee arg0)
isEmpty(BlockState arg0)
method_10359(class_2680 arg0)
validStateInsidePortal(BlockState arg0)
func_196900_a(BlockState arg0)
public boolean
a()
isValid()
method_10360()
isValid()
func_150860_b()
public void
b()
createPortalBlocks()
method_10363()
createPortal()
func_150859_c()
createPortal()
public boolean
c()
isComplete()
method_10362()
wasAlreadyValid()
func_208508_f()
public static Vec3
a(i$a arg0, gc$a arg1, dck arg2, apy 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)
method_30494(class_5459$class_5460 arg0, Direction$Axis arg1, Vec3d arg2, EntityDimensions arg3)
func_242973_a(TeleportationRepositioner$Result arg0, Direction$Axis arg1, Vector3d arg2, EntitySize arg3)
public static PortalInfo
a(aag arg0, i$a arg1, gc$a arg2, dck arg3, apy arg4, dck 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)
method_30484(ServerWorld arg0, class_5459$class_5460 arg1, Direction$Axis arg2, Vec3d arg3, EntityDimensions arg4, Vec3d arg5, float arg6, float arg7)
func_242963_a(ServerWorld arg0, TeleportationRepositioner$Result arg1, Direction$Axis arg2, Vector3d arg3, EntitySize arg4, Vector3d arg5, float arg6, float arg7)