Uses of Class
net.minecraft.world.BlockLocating.Rectangle
Packages that use BlockLocating.Rectangle
Package
Description
-
Uses of BlockLocating.Rectangle in net.minecraft.block
Methods in net.minecraft.block with parameters of type BlockLocating.RectangleModifier and TypeMethodDescriptionprivate static TeleportTarget
NetherPortalBlock.getExitPortalTarget
(Entity entity, BlockPos pos, BlockLocating.Rectangle exitPortalRectangle, ServerWorld world, TeleportTarget.PostDimensionTransition postDimensionTransition) private static TeleportTarget
NetherPortalBlock.getExitPortalTarget
(ServerWorld world, BlockLocating.Rectangle exitPortalRectangle, Direction.Axis axis, Vec3d positionInPortal, Entity entity, Vec3d velocity, float yaw, float pitch, TeleportTarget.PostDimensionTransition postDimensionTransition) -
Uses of BlockLocating.Rectangle in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type BlockLocating.RectangleModifier and TypeMethodDescriptionEntity.positionInPortal
(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.LivingEntity.positionInPortal
(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation. -
Uses of BlockLocating.Rectangle in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type BlockLocating.RectangleModifier and TypeMethodDescriptionAbstractMinecartEntity.positionInPortal
(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.BoatEntity.positionInPortal
(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation. -
Uses of BlockLocating.Rectangle in net.minecraft.world
Methods in net.minecraft.world that return BlockLocating.RectangleModifier and TypeMethodDescriptionstatic BlockLocating.Rectangle
BlockLocating.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. -
Uses of BlockLocating.Rectangle in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension that return types with arguments of type BlockLocating.RectangleMethods in net.minecraft.world.dimension with parameters of type BlockLocating.RectangleModifier and TypeMethodDescriptionstatic Vec3d
NetherPortal.entityPosInPortal
(BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)