java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.item.ExpandItemEntity

@ZenRegister public class ExpandItemEntity extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static IItemStack
    getItem(net.minecraft.world.entity.item.ItemEntity itemEntity)
    Gets the IItemStack inside this ItemEntity.
    static boolean
    hasPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal)
    Checks if this item entity has a pickup delay.
    static void
    setDefaultPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal)
    Set this item entity to have the default pickup delay.
    static void
    setItem(net.minecraft.world.entity.item.ItemEntity itemEntity, IItemStack stack)
    Sets the IItemStack inside this ItemEntity.
    static void
    setNeverPickUp(net.minecraft.world.entity.item.ItemEntity internal)
    Set this item entity to never be picked up.
    static void
    setNoPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal)
    Set this item entity to not have a pickup delay.
    static void
    setPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal, int ticks)
    Sets the pickup delay in ticks for this item entity.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandItemEntity

      public ExpandItemEntity()
  • Method Details

    • setDefaultPickUpDelay

      public static void setDefaultPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal)
      Set this item entity to have the default pickup delay.
    • setNoPickUpDelay

      public static void setNoPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal)
      Set this item entity to not have a pickup delay.
    • setNeverPickUp

      public static void setNeverPickUp(net.minecraft.world.entity.item.ItemEntity internal)
      Set this item entity to never be picked up.
    • setPickUpDelay

      public static void setPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal, int ticks)
      Sets the pickup delay in ticks for this item entity.
      Parameters:
      ticks - The number of ticks to delay the pickup for.
    • hasPickUpDelay

      public static boolean hasPickUpDelay(net.minecraft.world.entity.item.ItemEntity internal)
      Checks if this item entity has a pickup delay.
      Returns:
      True if this item entity has a pickup delay, false otherwise.
    • getItem

      public static IItemStack getItem(net.minecraft.world.entity.item.ItemEntity itemEntity)
      Gets the IItemStack inside this ItemEntity.
      Returns:
      The IItemStack inside this ItemEntity.
    • setItem

      public static void setItem(net.minecraft.world.entity.item.ItemEntity itemEntity, IItemStack stack)
      Sets the IItemStack inside this ItemEntity.
      Parameters:
      stack - The new IItemStack.
      DocParam:
      stack invalid input: '<'item:minecraft:diamond>