Package net.risingworld.api.world.batch
Klasse PlantPlaceBatch
java.lang.Object
net.risingworld.api.world.batch.PlantPlaceBatch
A batch to perform multiple vegetation place actions simultaneously. This is useful if you want to place several
plants, because that is a lot more performant than placing them all individually (using the regular
World.createPlant(int, net.risingworld.api.utils.Vector3f, net.risingworld.api.utils.Quaternion, net.risingworld.api.utils.Vector3f)
methods).- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
-
Konstruktordetails
-
PlantPlaceBatch
public PlantPlaceBatch() -
PlantPlaceBatch
public PlantPlaceBatch(int initialCapacity)
-
-
Methodendetails
-
add
-
count
public int count()Gets the current number of entries in this batch.- Gibt zurück:
- the number of entries.
-
clear
public void clear()Clears the batch.
-