Uses of Class
net.minecraft.world.BlockLocating.Rectangle
Package
Description
-
Uses of BlockLocating.Rectangle in net.minecraft.block
Modifier and TypeMethodDescriptionprivate static TeleportTarget
NetherPortalBlock.method_60774
(ServerWorld serverWorld, BlockLocating.Rectangle rectangle, Direction.Axis axis, Vec3d vec3d, Entity entity, Vec3d vec3d2, float float2, float float3) private static TeleportTarget
NetherPortalBlock.method_60777
(Entity entity, BlockPos blockPos, BlockLocating.Rectangle rectangle, ServerWorld serverWorld) -
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.Modifier 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
Modifier and TypeMethodDescriptionstatic Vec3d
NetherPortal.entityPosInPortal
(BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)