Uses of Class
net.minecraft.world.PortalUtil.Rectangle
| Package | Description |
|---|---|
| net.minecraft.entity | |
| net.minecraft.entity.vehicle | |
| net.minecraft.server.network | |
| net.minecraft.world | |
| net.minecraft.world.dimension |
-
Uses of PortalUtil.Rectangle in net.minecraft.entity
Methods in net.minecraft.entity that return types with arguments of type PortalUtil.Rectangle Modifier and Type Method Description protected Optional<PortalUtil.Rectangle>Entity. getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether)Methods in net.minecraft.entity with parameters of type PortalUtil.Rectangle Modifier and Type Method Description protected Vec3dEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)protected Vec3dLivingEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect) -
Uses of PortalUtil.Rectangle in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type PortalUtil.Rectangle Modifier and Type Method Description protected Vec3dAbstractMinecartEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)protected Vec3dBoatEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect) -
Uses of PortalUtil.Rectangle in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type PortalUtil.Rectangle Modifier and Type Method Description protected Optional<PortalUtil.Rectangle>ServerPlayerEntity. getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether) -
Uses of PortalUtil.Rectangle in net.minecraft.world
Methods in net.minecraft.world that return PortalUtil.Rectangle Modifier and Type Method Description static PortalUtil.RectanglePortalUtil. 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.Methods in net.minecraft.world that return types with arguments of type PortalUtil.Rectangle Modifier and Type Method Description Optional<PortalUtil.Rectangle>PortalForcer. createPortal(BlockPos blockPos, Direction.Axis axis)Optional<PortalUtil.Rectangle>PortalForcer. getPortalRect(BlockPos destPos, boolean destIsNether) -
Uses of PortalUtil.Rectangle in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension with parameters of type PortalUtil.Rectangle Modifier and Type Method Description static Vec3dAreaHelper. entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)static TeleportTargetAreaHelper. getNetherTeleportTarget(ServerWorld destination, PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch)