类的使用
net.minecraft.util.math.Vec3i
-
-
net.minecraft.block中Vec3i的使用
类型参数类型为Vec3i的net.minecraft.block中的字段 修饰符和类型 字段 说明 private static ImmutableList<Vec3i>RespawnAnchorBlock. VALID_HORIZONTAL_SPAWN_OFFSETSprivate static ImmutableList<Vec3i>RespawnAnchorBlock. VALID_SPAWN_OFFSETS -
net.minecraft.block.entity中Vec3i的使用
声明为Vec3i的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private Vec3iStructureBlockBlockEntity. size返回Vec3i的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 Vec3iStructureBlockBlockEntity. getSize()参数类型为Vec3i的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 voidStructureBlockBlockEntity. setSize(Vec3i size) -
net.minecraft.entity.ai.pathing中Vec3i的使用
声明为Vec3i的net.minecraft.entity.ai.pathing中的字段 修饰符和类型 字段 说明 protected Vec3iEntityNavigation. lastNodePosition -
net.minecraft.entity.vehicle中Vec3i的使用
类型参数类型为Vec3i的net.minecraft.entity.vehicle中的字段 修饰符和类型 字段 说明 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_SHAPE返回变量类型为Vec3i的类型的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.network.packet.c2s.play中Vec3i的使用
声明为Vec3i的net.minecraft.network.packet.c2s.play中的字段 修饰符和类型 字段 说明 private Vec3iUpdateStructureBlockC2SPacket. size返回Vec3i的net.minecraft.network.packet.c2s.play中的方法 修饰符和类型 方法 说明 Vec3iUpdateStructureBlockC2SPacket. getSize()参数类型为Vec3i的net.minecraft.network.packet.c2s.play中的构造器 构造器 说明 UpdateStructureBlockC2SPacket(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) -
net.minecraft.structure中Vec3i的使用
声明为Vec3i的net.minecraft.structure中的字段 修饰符和类型 字段 说明 private Vec3iStructure. size返回Vec3i的net.minecraft.structure中的方法 修饰符和类型 方法 说明 Vec3iStructure. getRotatedSize(BlockRotation rotation)Vec3iStructure. getSize()参数类型为Vec3i的net.minecraft.structure中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.structure.pool中Vec3i的使用
返回Vec3i的net.minecraft.structure.pool中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.test中Vec3i的使用
返回Vec3i的net.minecraft.test中的方法 修饰符和类型 方法 说明 @Nullable Vec3iGameTestState. getSize()参数类型为Vec3i的net.minecraft.test中的方法 修饰符和类型 方法 说明 static voidStructureTestUtil. createTestArea(String structure, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world)static BlockBoxStructureTestUtil. getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation) -
net.minecraft.util.math中Vec3i的使用
net.minecraft.util.math中Vec3i的子类 修饰符和类型 类 说明 classBlockPosRepresents the position of a block in a three-dimensional volume.static classBlockPos.MutableclassChunkSectionPos声明为Vec3i的net.minecraft.util.math中的字段 修饰符和类型 字段 说明 private Vec3iDirection. vectorstatic Vec3iVec3i. ZERO类型参数类型为Vec3i的net.minecraft.util.math中的字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<Vec3i>Vec3i. CODEC返回Vec3i的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 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)参数类型为Vec3i的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 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)参数类型为Vec3i的net.minecraft.util.math中的构造器 构造器 说明 BlockPos(Vec3i pos)Direction(int id, int idOpposite, int idHorizontal, String name, Direction.AxisDirection direction, Direction.Axis axis, Vec3i vector)
-