Uses of Class
net.minecraft.util.math.Vec3i
-
Uses of Vec3i in net.minecraft.block
Fields in net.minecraft.block with type parameters of type Vec3i Modifier and Type Field Description private 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 Vec3i Modifier and Type Field Description private Vec3iStructureBlockBlockEntity. sizeMethods in net.minecraft.block.entity that return Vec3i Modifier and Type Method Description Vec3iStructureBlockBlockEntity. getSize()Methods in net.minecraft.block.entity with parameters of type Vec3i Modifier and Type Method Description voidStructureBlockBlockEntity. setSize(Vec3i size) -
Uses of Vec3i in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as Vec3i Modifier and Type Field Description protected Vec3iEntityNavigation. lastNodePosition -
Uses of Vec3i in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type Vec3i Modifier and Type Field Description private static Map<RailShape,com.mojang.datafixers.util.Pair<Vec3i,Vec3i>>AbstractMinecartEntity. ADJACENT_RAIL_POSITIONS_BY_SHAPEprivate static Map<RailShape,com.mojang.datafixers.util.Pair<Vec3i,Vec3i>>AbstractMinecartEntity. ADJACENT_RAIL_POSITIONS_BY_SHAPEMethods in net.minecraft.entity.vehicle that return types with arguments of type Vec3i Modifier and Type Method Description private static com.mojang.datafixers.util.Pair<Vec3i,Vec3i>AbstractMinecartEntity. getAdjacentRailPositionsByShape(RailShape shape)private static com.mojang.datafixers.util.Pair<Vec3i,Vec3i>AbstractMinecartEntity. getAdjacentRailPositionsByShape(RailShape shape) -
Uses of Vec3i in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as Vec3i Modifier and Type Field Description private Vec3iUpdateStructureBlockC2SPacket. sizeMethods in net.minecraft.network.packet.c2s.play that return Vec3i Modifier and Type Method Description Vec3iUpdateStructureBlockC2SPacket. getSize()Constructors in net.minecraft.network.packet.c2s.play with parameters of type Vec3i Constructor Description UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, BlockPos offset, Vec3i vec3i, 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 Vec3i Modifier and Type Field Description private Vec3iStructure. sizeMethods in net.minecraft.structure that return Vec3i Modifier and Type Method Description Vec3iStructure. getRotatedSize(BlockRotation rotation)Vec3iStructure. getSize()Methods in net.minecraft.structure with parameters of type Vec3i Modifier and Type Method Description protected 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 Vec3i Modifier and Type Method Description Vec3iEmptyPoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)Vec3iFeaturePoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)Vec3iListPoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)Vec3iSinglePoolElement. 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 Vec3i Modifier and Type Method Description @Nullable Vec3iGameTest. getSize()Methods in net.minecraft.test with parameters of type Vec3i Modifier and Type Method Description static 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.math Modifier and Type Class Description classBlockPosRepresents the position of a block in a three-dimensional volume.static classBlockPos.MutableclassChunkSectionPosFields in net.minecraft.util.math declared as Vec3i Modifier and Type Field Description private Vec3iDirection. vectorstatic Vec3iVec3i. ZEROFields in net.minecraft.util.math with type parameters of type Vec3i Modifier and Type Field Description static com.mojang.serialization.Codec<Vec3i>Vec3i. CODECMethods in net.minecraft.util.math that return Vec3i Modifier and Type Method Description Vec3iVec3i. add(double x, double y, double z)Vec3iVec3i. 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.Vec3iVec3i. add(Vec3i vec)Vec3iVec3i. crossProduct(Vec3i vec)Vec3iVec3i. down()Vec3iVec3i. down(int distance)Vec3iVec3i. east()Vec3iVec3i. east(int distance)Vec3iBlockBox. getDimensions()Vec3iDirection. getVector()Vec3iVec3i. multiply(int scale)Vec3iVec3i. north()Vec3iVec3i. north(int distance)Vec3iVec3i. offset(Direction direction)Vec3iVec3i. offset(Direction.Axis axis, int distance)Vec3iVec3i. offset(Direction direction, int distance)protected Vec3iVec3i. setX(int x)protected Vec3iVec3i. setY(int y)protected Vec3iVec3i. setZ(int z)Vec3iVec3i. south()Vec3iVec3i. south(int distance)Vec3iVec3i. subtract(Vec3i vec)Vec3iVec3i. up()Vec3iVec3i. up(int distance)Vec3iVec3i. west()Vec3iVec3i. west(int distance)Methods in net.minecraft.util.math with parameters of type Vec3i Modifier and Type Method Description BlockPosBlockPos. add(Vec3i vec3i)Vec3iVec3i. add(Vec3i vec)intVec3i. compareTo(Vec3i vec3i)booleanBlockBox. contains(Vec3i vec)static BlockBoxBlockBox. create(Vec3i first, Vec3i second)BlockPosBlockPos. crossProduct(Vec3i pos)Vec3iVec3i. crossProduct(Vec3i vec)intVec3i. getManhattanDistance(Vec3i vec)doubleVec3i. getSquaredDistance(Vec3i vec)doubleVec3i. getSquaredDistance(Vec3i vec, boolean treatAsBlockPos)static longMathHelper. hashCode(Vec3i vec)booleanVec3i. isWithinDistance(Vec3i vec, double distance)BlockBoxBlockBox. move(Vec3i vec)BlockPos.MutableBlockPos.Mutable. move(Vec3i vec)static Vec3dVec3d. of(Vec3i vec)static Vec3dVec3d. ofBottomCenter(Vec3i vec)static Vec3dVec3d. ofCenter(Vec3i vec)static Vec3dVec3d. ofCenter(Vec3i vec, double deltaY)BlockPos.MutableBlockPos.Mutable. set(Vec3i pos)BlockPos.MutableBlockPos.Mutable. set(Vec3i pos, int x, int y, int z)Sets this mutable block position to the sum of the given position and the given x, y, and z.BlockPos.MutableBlockPos.Mutable. set(Vec3i pos, Direction direction)Sets this mutable block position to the offset position of the given pos by the given direction.BlockPos.MutableBlockPos.Mutable. set(Vec3i vec1, Vec3i vec2)Sets this mutable block position to the sum of the given vectors.BlockPosBlockPos. subtract(Vec3i vec3i)Vec3iVec3i. subtract(Vec3i vec)Constructors in net.minecraft.util.math with parameters of type Vec3i Constructor Description BlockPos(Vec3i pos)Direction(int id, int idOpposite, int idHorizontal, String name, Direction.AxisDirection direction, Direction.Axis axis, Vec3i vector)