Class AbstractReplacementLogic
java.lang.Object
com.pixelmonmod.pixelmon.api.replacement.logic.AbstractReplacementLogic
- All Implemented Interfaces:
SpawnReplacementLogic
- Direct Known Subclasses:
NoReplacementLogic
,SimpleReplacementLogic
,TrainerReplacementLogic
,VillagerReplacementLogic
Abstract implementation oft he spawn replacement logic interface containing the ID
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pixelmonmod.pixelmon.api.replacement.SpawnReplacementLogic
read, replaceSpawn
-
Field Details
-
id
-
-
Constructor Details
-
AbstractReplacementLogic
-
-
Method Details
-
getId
Description copied from interface:SpawnReplacementLogic
The ID to be used for identification in the datapacks- Specified by:
getId
in interfaceSpawnReplacementLogic
- Returns:
- The unique ID
-