Diese Klasse importieren

Link to diese-klasse-importieren

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.util.math.MutableBlockPos;

Extending BlockPos

Link to extending-blockpos

MutableBlockPos extends BlockPos. That means all methods available in BlockPos are also available in MutableBlockPos

Name: clamp

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.clamp(axis as Axis, min as int, max as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
axis
Type
Axis
Beschreibung
No Description Provided
Parameter
min
Type
int
Beschreibung
No Description Provided
Parameter
max
Type
int
Beschreibung
No Description Provided

Name: move

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.move(direction as Direction) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
direction
Type
Direction
Beschreibung
No Description Provided

Name: move

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.move(other as Vec3i) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
other
Type
Vec3i
Beschreibung
No Description Provided

Name: move

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.move(direction as Direction, distance as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
direction
Type
Direction
Beschreibung
No Description Provided
Parameter
distance
Type
int
Beschreibung
No Description Provided

Name: move

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.move(x as int, y as int, z as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
x
Type
int
Beschreibung
No Description Provided
Parameter
y
Type
int
Beschreibung
No Description Provided
Parameter
z
Type
int
Beschreibung
No Description Provided

Name: mutable

Return Type: MutableBlockPos

ZenScript
Copy
// MutableBlockPos.mutable() as MutableBlockPos

myMutableBlockPos.mutable();

Name: setValue

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setValue(value as long) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
value
Type
long
Beschreibung
No Description Provided

Name: setValue

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setValue(value as Vec3i) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
value
Type
Vec3i
Beschreibung
No Description Provided

Name: setValue

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setValue(x as double, y as double, z as double) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
x
Type
double
Beschreibung
No Description Provided
Parameter
y
Type
double
Beschreibung
No Description Provided
Parameter
z
Type
double
Beschreibung
No Description Provided

Name: setValue

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setValue(x as int, y as int, z as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
x
Type
int
Beschreibung
No Description Provided
Parameter
y
Type
int
Beschreibung
No Description Provided
Parameter
z
Type
int
Beschreibung
No Description Provided

Name: setValue

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setValue(axisCycle as AxisCycle, x as int, y as int, z as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
axisCycle
Type
AxisCycle
Beschreibung
No Description Provided
Parameter
x
Type
int
Beschreibung
No Description Provided
Parameter
y
Type
int
Beschreibung
No Description Provided
Parameter
z
Type
int
Beschreibung
No Description Provided

Name: setWithOffset

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setWithOffset(other as Vec3i, direction as Direction) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
other
Type
Vec3i
Beschreibung
No Description Provided
Parameter
direction
Type
Direction
Beschreibung
No Description Provided

Name: setWithOffset

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setWithOffset(other as Vec3i, offset as Vec3i) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
other
Type
Vec3i
Beschreibung
No Description Provided
Parameter
offset
Type
Vec3i
Beschreibung
No Description Provided

Name: setWithOffset

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setWithOffset(other as Vec3i, x as int, y as int, z as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
other
Type
Vec3i
Beschreibung
No Description Provided
Parameter
x
Type
int
Beschreibung
No Description Provided
Parameter
y
Type
int
Beschreibung
No Description Provided
Parameter
z
Type
int
Beschreibung
No Description Provided

Name: setX

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setX(x as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
x
Type
int
Beschreibung
No Description Provided

Name: setY

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setY(y as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
y
Type
int
Beschreibung
No Description Provided

Name: setZ

Return Type: MutableBlockPos

ZenScript
Copy
MutableBlockPos.setZ(z as int) as MutableBlockPos
ParameterTypeBeschreibung
Parameter
z
Type
int
Beschreibung
No Description Provided