Class SpawnBehavior<T extends Entity>
java.lang.Object
de.ellpeck.rockbottom.api.entity.spawn.SpawnBehavior<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanbelongsToCap(Entity entity) booleancanSpawnHere(IWorld world, double x, double y) abstract TcreateEntity(IWorld world, double x, double y) abstract intgetEntityCap(IWorld world) abstract doublegetEntityCapArea(IWorld world, AbstractPlayerEntity player) abstract doublegetMaxPlayerDistance(IWorld world, AbstractPlayerEntity player) abstract doublegetMinPlayerDistance(IWorld world, AbstractPlayerEntity player) getName()abstract intgetPackSize(IWorld world, double x, double y) intgetSpawnFrequency(IWorld world) abstract intgetSpawnTries(IWorld world) booleanisReadyToSpawn(IWorld world) register()
-
Field Details
-
name
-
-
Constructor Details
-
SpawnBehavior
-
-
Method Details
-
createEntity
-
getMinPlayerDistance
-
getMaxPlayerDistance
-
getSpawnTries
-
getPackSize
-
belongsToCap
-
getEntityCapArea
-
getEntityCap
-
isReadyToSpawn
-
canSpawnHere
-
getSpawnFrequency
-
getName
-
register
-