Class CaveLevelTweak
java.lang.Object
com.pixelmonmod.pixelmon.spawning.CaveLevelTweak
- All Implemented Interfaces:
SpawningTweak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doTweak
(AbstractSpawner spawner, SpawnAction<? extends net.minecraft.world.entity.Entity> action) Performs the tweak to the given spawn action or its entity.int
getTweakedLevel
(AbstractSpawner spawner, SpawnAction<? extends net.minecraft.world.entity.Entity> action, int level, int min, int max)
-
Constructor Details
-
CaveLevelTweak
public CaveLevelTweak()
-
-
Method Details
-
doTweak
public void doTweak(AbstractSpawner spawner, SpawnAction<? extends net.minecraft.world.entity.Entity> action) Description copied from interface:SpawningTweak
Performs the tweak to the given spawn action or its entity.- Specified by:
doTweak
in interfaceSpawningTweak
-
getTweakedLevel
public int getTweakedLevel(AbstractSpawner spawner, SpawnAction<? extends net.minecraft.world.entity.Entity> action, int level, int min, int max)
-