Uses of Class
net.minecraft.world.BlockLocating.Rectangle
Package
Description
-
Uses of BlockLocating.Rectangle in net.minecraft.block
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionstatic Vec3d
NetherPortal.entityPosInPortal
(BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)