net.minecraft.world.level.portal

public class PortalShape

cxn
net.minecraft.world.level.portal.PortalShape
net.minecraft.class_2424
net.minecraft.unmapped.C_roraysyx
net.minecraft.world.dimension.AreaHelper
net.minecraft.block.PortalSize
net.minecraft.server.v1_16_R3.BlockPortalShape

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Optional<PortalShape>
a(bry 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)
m_fqfqbwyi(C_vdvbsyle arg0, C_hynzadkk arg1, C_xpuuihxf$C_rmpfouoz 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(bry arg0, fx arg1, Predicate<cxn> 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)
m_ahtuozfx(C_vdvbsyle arg0, C_hynzadkk arg1, Predicate<C_roraysyx> arg2, C_xpuuihxf$C_rmpfouoz 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)
m_rnrlifot(C_hynzadkk arg0)
method_30492(BlockPos arg0)
func_242971_a(BlockPos arg0)
private int
d()
calculateWidth()
method_30495()
m_wkxzsnxo()
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)
m_tejwutit(C_hynzadkk arg0, C_xpuuihxf arg1)
method_30493(BlockPos arg0, Direction arg1)
func_242972_a(BlockPos arg0, Direction arg1)
private int
e()
calculateHeight()
method_30496()
m_zanwjosv()
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)
m_beqllhzk(C_hynzadkk$C_egqitdjk 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)
m_fqjhrxgm(C_hynzadkk$C_egqitdjk arg0)
method_30490(BlockPos$Mutable arg0)
func_242969_a(BlockPos$Mutable arg0)
private static boolean
a(ceh arg0)
isEmpty(BlockState arg0)
method_10359(class_2680 arg0)
m_tmadtmrl(C_txtbiemp arg0)
validStateInsidePortal(BlockState state)
func_196900_a(BlockState arg0)
public boolean
a()
isValid()
method_10360()
m_qrrwzrao()
isValid()
func_150860_b()
public void
b()
createPortalBlocks()
method_10363()
m_cirawvkj()
createPortal()
func_150859_c()
createPortal()
public boolean
c()
isComplete()
method_10362()
m_zogcrlny()
wasAlreadyValid()
func_208508_f()
public static Vec3
a(i$a arg0, gc$a arg1, dcn arg2, aqb 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)
method_30494(PortalUtil$Rectangle 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, dcn arg3, aqb arg4, dcn 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)
m_kxfqgler(C_bdwnwhiu arg0, C_wauhtoaq$C_tqypnjit arg1, C_xpuuihxf$C_rmpfouoz arg2, C_vgpupfxx arg3, C_sszpscpo arg4, C_vgpupfxx arg5, float arg6, float arg7)
method_30484(ServerWorld arg0, PortalUtil$Rectangle 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)