Uses of Class
net.minecraft.world.BlockLocating.Rectangle
Packages that use BlockLocating.Rectangle
Package
Description
-
Uses of BlockLocating.Rectangle in net.minecraft.entity
Methods in net.minecraft.entity that return types with arguments of type BlockLocating.RectangleModifier and TypeMethodDescriptionprotected Optional<BlockLocating.Rectangle>Entity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether, WorldBorder worldBorder) Methods in net.minecraft.entity with parameters of type BlockLocating.RectangleModifier and TypeMethodDescriptionprotected Vec3dEntity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) protected Vec3dLivingEntity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) -
Uses of BlockLocating.Rectangle in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type BlockLocating.RectangleModifier and TypeMethodDescriptionprotected Vec3dAbstractMinecartEntity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) protected Vec3dBoatEntity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) -
Uses of BlockLocating.Rectangle in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type BlockLocating.RectangleModifier and TypeMethodDescriptionprotected Optional<BlockLocating.Rectangle>ServerPlayerEntity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether, WorldBorder worldBorder) -
Uses of BlockLocating.Rectangle in net.minecraft.world
Methods in net.minecraft.world that return BlockLocating.RectangleModifier and TypeMethodDescriptionstatic BlockLocating.RectangleBlockLocating.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 BlockLocating.RectangleModifier and TypeMethodDescriptionPortalForcer.createPortal(BlockPos pos, Direction.Axis axis) PortalForcer.getPortalRect(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) -
Uses of BlockLocating.Rectangle in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension with parameters of type BlockLocating.RectangleModifier and TypeMethodDescriptionstatic Vec3dAreaHelper.entityPosInPortal(BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions) static TeleportTargetAreaHelper.getNetherTeleportTarget(ServerWorld destination, BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch) Determines aTeleportTargetbased on a specific portal.