java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnAction<net.minecraft.world.entity.item.ItemEntity>
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.items.SpawnActionItem

public class SpawnActionItem extends SpawnAction<net.minecraft.world.entity.item.ItemEntity>
SpawnAction for item entities.
  • Field Details

    • stack

      public net.minecraft.world.item.ItemStack stack
  • Constructor Details

  • Method Details

    • createEntity

      protected net.minecraft.world.entity.item.ItemEntity createEntity()
      Description copied from class: SpawnAction
      Creates the entity and returns the result. Returning null if the spawn should fail is safe in default implementations.
      Specified by:
      createEntity in class SpawnAction<net.minecraft.world.entity.item.ItemEntity>