Class PokemonSpecification

java.lang.Object
com.pixelmonmod.api.AbstractSpecification<Pokemon,PixelmonEntity>
com.pixelmonmod.api.pokemon.PokemonSpecification
All Implemented Interfaces:
Specification<Pokemon,PixelmonEntity>, Cloneable

public class PokemonSpecification extends AbstractSpecification<Pokemon,PixelmonEntity>
Implementation of the abstract specification for the Pokemon and PixelmonEntity types for Pixelmon
  • Field Details

  • Constructor Details

  • Method Details

    • clone

      public PokemonSpecification clone()
      Overrides:
      clone in class Object
    • create

      public Pokemon create()
      Description copied from interface: Specification
      Creates an instance of the reforged data object
      Returns:
      An instance
    • create

      public Pokemon create(boolean shallow)
      Description copied from interface: Specification
      Creates an instance of the reforged data object
      If shallow is true not all fields will be instantiated - shallow should be false by default
      Returns:
    • create

      public PixelmonEntity create(net.minecraft.world.level.Level world)