Uses of Class
net.minecraft.util.math.Vec3i
Packages that use Vec3i
Package
Description
-
Uses of Vec3i in net.minecraft.block
Fields in net.minecraft.block with type parameters of type Vec3iModifier and TypeFieldDescriptionprivate static ImmutableList<Vec3i>RespawnAnchorBlock.VALID_HORIZONTAL_SPAWN_OFFSETSprivate static ImmutableList<Vec3i>RespawnAnchorBlock.VALID_SPAWN_OFFSETS -
Uses of Vec3i in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as Vec3iMethods in net.minecraft.block.entity that return Vec3iMethods in net.minecraft.block.entity with parameters of type Vec3i -
Uses of Vec3i in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as Vec3i -
Uses of Vec3i in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type Vec3iModifier and TypeFieldDescriptionAbstractMinecartEntity.ADJACENT_RAIL_POSITIONS_BY_SHAPEAbstractMinecartEntity.ADJACENT_RAIL_POSITIONS_BY_SHAPEMethods in net.minecraft.entity.vehicle that return types with arguments of type Vec3iModifier and TypeMethodDescriptionAbstractMinecartEntity.getAdjacentRailPositionsByShape(RailShape shape)AbstractMinecartEntity.getAdjacentRailPositionsByShape(RailShape shape) -
Uses of Vec3i in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as Vec3iMethods in net.minecraft.network.packet.c2s.play that return Vec3iConstructors in net.minecraft.network.packet.c2s.play with parameters of type Vec3iModifierConstructorDescriptionUpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of Vec3i in net.minecraft.structure
Fields in net.minecraft.structure declared as Vec3iMethods in net.minecraft.structure that return Vec3iModifier and TypeMethodDescriptionStructure.getRotatedSize(BlockRotation rotation)Structure.getSize()Methods in net.minecraft.structure with parameters of type Vec3iModifier and TypeMethodDescriptionprotected static BlockBoxStructure.method_34400(BlockPos blockPos, BlockRotation blockRotation, BlockPos blockPos2, BlockMirror blockMirror, Vec3i vec3i)voidStructure.saveFromWorld(World world, BlockPos start, Vec3i vec3i, boolean includeEntities, @Nullable Block ignoredBlock) -
Uses of Vec3i in net.minecraft.structure.pool
Methods in net.minecraft.structure.pool that return Vec3iModifier and TypeMethodDescriptionEmptyPoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)FeaturePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)ListPoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)SinglePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)abstract Vec3iStructurePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation) -
Uses of Vec3i in net.minecraft.test
Methods in net.minecraft.test that return Vec3iMethods in net.minecraft.test with parameters of type Vec3iModifier and TypeMethodDescriptionstatic voidStructureTestUtil.createTestArea(String structure, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world)static BlockBoxStructureTestUtil.getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation) -
Uses of Vec3i in net.minecraft.util.math
Subclasses of Vec3i in net.minecraft.util.mathModifier and TypeClassDescriptionclassRepresents the position of a block in a three-dimensional volume.static classclassFields in net.minecraft.util.math declared as Vec3iFields in net.minecraft.util.math with type parameters of type Vec3iMethods in net.minecraft.util.math that return Vec3iModifier and TypeMethodDescriptionVec3i.add(double x, double y, double z)Vec3i.add(int x, int y, int z)Returns another Vec3i whose coordinates have the parameter x, y, and z added to the coordinates of this vector.Vec3i.crossProduct(Vec3i vec)Vec3i.down()Vec3i.down(int distance)Vec3i.east()Vec3i.east(int distance)BlockBox.getDimensions()Direction.getVector()Vec3i.multiply(int scale)Vec3i.north()Vec3i.north(int distance)Vec3i.offset(Direction.Axis axis, int distance)protected Vec3iVec3i.setX(int x)protected Vec3iVec3i.setY(int y)protected Vec3iVec3i.setZ(int z)Vec3i.south()Vec3i.south(int distance)Vec3i.up()Vec3i.up(int distance)Vec3i.west()Vec3i.west(int distance)Methods in net.minecraft.util.math with parameters of type Vec3iModifier and TypeMethodDescriptionintbooleanstatic BlockBoxBlockPos.crossProduct(Vec3i pos)Vec3i.crossProduct(Vec3i vec)intVec3i.getManhattanDistance(Vec3i vec)doubleVec3i.getSquaredDistance(Vec3i vec)doubleVec3i.getSquaredDistance(Vec3i vec, boolean treatAsBlockPos)static longbooleanVec3i.isWithinDistance(Vec3i vec, double distance)static Vec3dCopies the given vector.static Vec3dVec3d.ofBottomCenter(Vec3i vec)Creates a vector representing the bottom center of the given block position.static Vec3dCreates a vector representing the center of the given block position.static Vec3dCreates a vector representing the center of the given block position but with the given offset for the Y coordinate.Sets this mutable block position to the sum of the given position and the given x, y, and z.Sets this mutable block position to the offset position of the given pos by the given direction.Sets this mutable block position to the sum of the given vectors.Constructors in net.minecraft.util.math with parameters of type Vec3iModifierConstructorDescriptionprivateDirection(int id, int idOpposite, int idHorizontal, String name, Direction.AxisDirection direction, Direction.Axis axis, Vec3i vector)