Class RespawnItem

java.lang.Object
com.blamejared.initialinventory.items.RespawnItem
Direct Known Subclasses:
StartingItem

public class RespawnItem extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,Integer>
     
    protected final BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,com.blamejared.crafttweaker.api.item.IItemStack>
     
    protected final com.blamejared.crafttweaker.api.item.IItemStack
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RespawnItem(com.blamejared.crafttweaker.api.item.IItemStack stack, BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,Integer> index, BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,com.blamejared.crafttweaker.api.item.IItemStack> onGiven)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,Integer>
     
    BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,com.blamejared.crafttweaker.api.item.IItemStack>
     
    com.blamejared.crafttweaker.api.item.IItemStack
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • stack

      protected final com.blamejared.crafttweaker.api.item.IItemStack stack
    • index

      protected final BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,Integer> index
    • onGiven

      protected final BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,com.blamejared.crafttweaker.api.item.IItemStack> onGiven
  • Constructor Details

    • RespawnItem

      public RespawnItem(com.blamejared.crafttweaker.api.item.IItemStack stack, BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,Integer> index, BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,com.blamejared.crafttweaker.api.item.IItemStack> onGiven)
  • Method Details

    • stack

      public com.blamejared.crafttweaker.api.item.IItemStack stack()
    • index

      public BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,Integer> index()
    • onGiven

      public BiFunction<com.blamejared.crafttweaker.api.item.IItemStack,net.minecraft.world.entity.player.Player,com.blamejared.crafttweaker.api.item.IItemStack> onGiven()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object