Uses of Class
net.minecraft.world.PortalUtil.Rectangle
Package
Description
-
Uses of PortalUtil.Rectangle in net.minecraft.entity
Modifier and TypeMethodDescriptionprotected Optional<PortalUtil.Rectangle>
Entity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether)
Modifier and TypeMethodDescriptionprotected Vec3d
Entity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
protected Vec3d
LivingEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
-
Uses of PortalUtil.Rectangle in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionprotected Vec3d
AbstractMinecartEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
protected Vec3d
BoatEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
-
Uses of PortalUtil.Rectangle in net.minecraft.server.network
Modifier and TypeMethodDescriptionprotected Optional<PortalUtil.Rectangle>
ServerPlayerEntity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether)
-
Uses of PortalUtil.Rectangle in net.minecraft.world
Modifier and TypeMethodDescriptionstatic PortalUtil.Rectangle
PortalUtil.getLargestRectangle(BlockPos center, Direction.Axis primaryAxis, int primaryMaxBlocks, Direction.Axis secondaryAxis, int secondaryMaxBlocks, Predicate<BlockPos> predicate)
Gets the largest rectangle of blocks along two axes for which all blocks meet a predicate.Modifier and TypeMethodDescriptionPortalForcer.createPortal(BlockPos blockPos, Direction.Axis axis)
PortalForcer.getPortalRect(BlockPos destPos, boolean destIsNether)
-
Uses of PortalUtil.Rectangle in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic Vec3d
AreaHelper.entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)
static TeleportTarget
AreaHelper.getNetherTeleportTarget(ServerWorld destination, PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch)
Determines aTeleportTarget
based on a specific portal.