Class NoReplacementLogic

java.lang.Object
com.pixelmonmod.pixelmon.api.replacement.logic.AbstractReplacementLogic
com.pixelmonmod.pixelmon.api.replacement.logic.NoReplacementLogic
All Implemented Interfaces:
SpawnReplacementLogic

public class NoReplacementLogic extends AbstractReplacementLogic
For not replacing the entity at all
  • Constructor Details

    • NoReplacementLogic

      public NoReplacementLogic()
  • Method Details

    • replaceSpawn

      public void replaceSpawn(net.minecraftforge.event.entity.EntityJoinLevelEvent event)
      Description copied from interface: SpawnReplacementLogic
      Handles replacing the spawn
      Parameters:
      event - The spawn event
    • read

      public void read(com.google.gson.Gson context, com.google.gson.JsonElement element)
      Description copied from interface: SpawnReplacementLogic
      Reads the data required from the datapack JSON
      Parameters:
      context - The gson
      element - The json element of the file