BlockPos
Link to blockpos
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 Copyimport crafttweaker.api.util.math.BlockPos;
Extending Vec3i
Link to extending-vec3i
BlockPos extends Vec3i. That means all methods available in Vec3i are also available in BlockPos
Methoden
Link to methoden
Name: above
Return Type: BlockPos
ZenScript CopyBlockPos.above(distance as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter distance | Type int | Beschreibung No Description Provided |
Name: asImmutable
Return Type: BlockPos
ZenScript Copy// BlockPos.asImmutable() as BlockPos
myBlockPos.asImmutable();
Name: asLong
Return Type: long
ZenScript Copy// BlockPos.asLong() as long
myBlockPos.asLong();
Name: asMutable
Return Type: MutableBlockPos
ZenScript Copy// BlockPos.asMutable() as MutableBlockPos
myBlockPos.asMutable();
Name: atY
Return Type: BlockPos
ZenScript CopyBlockPos.atY(value as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter value | Type int | Beschreibung No Description Provided |
Name: below
Return Type: BlockPos
ZenScript CopyBlockPos.below(distance as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter distance | Type int | Beschreibung No Description Provided |
Name: east
Return Type: BlockPos
ZenScript CopyBlockPos.east(distance as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter distance | Type int | Beschreibung No Description Provided |
Name: multiply
Return Type: BlockPos
ZenScript CopyBlockPos.multiply(scalar as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter scalar | Type int | Beschreibung No Description Provided |
Name: north
Return Type: BlockPos
ZenScript CopyBlockPos.north(distance as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter distance | Type int | Beschreibung No Description Provided |
Name: offset
Return Type: BlockPos
ZenScript CopyBlockPos.offset(x as double, y as double, z as double) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
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: offset
Return Type: BlockPos
ZenScript CopyBlockPos.offset(x as int, y as int, z as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
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: south
Return Type: BlockPos
ZenScript CopyBlockPos.south(distance as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter distance | Type int | Beschreibung No Description Provided |
Name: west
Return Type: BlockPos
ZenScript CopyBlockPos.west(distance as int) as BlockPos
Parameter | Type | Beschreibung |
---|---|---|
Parameter distance | Type int | Beschreibung No Description Provided |