Package com.griefdefender.api.claim
Interface ClaimSchematic.Builder
- Enclosing interface:
ClaimSchematic
public static interface ClaimSchematic.Builder
-
Method Summary
Modifier and TypeMethodDescription@Nullable ClaimSchematicbuild()Returns theClaimResult.The claim to use for schematic.entities(boolean entities) Whether entities should be copied.The schematic name.nbt(boolean nbt) Whether nbt data should be copied.origin(int x, int y, int z) The origin to use for claim.origin(com.flowpowered.math.vector.Vector3i origin) The origin to use for claim.reset()Resets the builder to default settings.The user'sUUIDcreating the schematic.
-
Method Details
-
claim
The claim to use for schematic.- Parameters:
claim- The claim- Returns:
- The builder
-
name
The schematic name.- Parameters:
name-- Returns:
- The builder
-
origin
The origin to use for claim.- Parameters:
origin- The origin- Returns:
- The builder
-
origin
The origin to use for claim.- Parameters:
x- X coordinatey- Y coordinatez- Z coordinate- Returns:
- The builder
-
entities
Whether entities should be copied.- Parameters:
entities- true if entities should be copied- Returns:
- The builder
-
nbt
Whether nbt data should be copied.- Parameters:
nbt- true if nbt data should be copied- Returns:
- The builder
-
user
The user'sUUIDcreating the schematic.- Parameters:
uuid- The user uuid- Returns:
- The builder
-
reset
ClaimSchematic.Builder reset()Resets the builder to default settings.- Returns:
- The builder
-
build
@Nullable ClaimSchematic build()Returns theClaimResult.- Returns:
- The created schematic, if successful
-