Class ItemBuffer

java.lang.Object
mindustry.world.ItemBuffer

public class ItemBuffer extends Object
  • Constructor Details

    • ItemBuffer

      public ItemBuffer(int capacity)
  • Method Details

    • accepts

      public boolean accepts()
    • accept

      public void accept(Item item, short data)
    • accept

      public void accept(Item item)
    • poll

      public Item poll(float speed)
    • remove

      public void remove()
    • write

      public void write(Writes write)
    • read

      public void read(Reads read)