public class CaveLevelTweak extends java.lang.Object implements SpawningTweak
Constructor and Description |
---|
CaveLevelTweak() |
Modifier and Type | Method and Description |
---|---|
void |
doTweak(AbstractSpawner spawner,
SpawnAction<? extends net.minecraft.entity.Entity> action)
Performs the tweak to the given spawn action or its entity.
|
int |
getTweakedLevel(AbstractSpawner spawner,
SpawnAction<? extends net.minecraft.entity.Entity> action,
int level,
int min,
int max) |
public void doTweak(AbstractSpawner spawner, SpawnAction<? extends net.minecraft.entity.Entity> action)
SpawningTweak
doTweak
in interface SpawningTweak
public int getTweakedLevel(AbstractSpawner spawner, SpawnAction<? extends net.minecraft.entity.Entity> action, int level, int min, int max)