Class ItemMapBehavior

java.lang.Object
org.cloudburstmc.server.item.behavior.CloudItemBehavior
org.cloudburstmc.server.item.behavior.ItemMapBehavior
All Implemented Interfaces:
org.cloudburstmc.api.item.behavior.ItemBehavior

public class ItemMapBehavior extends CloudItemBehavior
Created by CreeperFace on 18.3.2017.
  • Field Details

    • mapIdAllocator

      public static final AtomicLong mapIdAllocator
  • Constructor Details

    • ItemMapBehavior

      public ItemMapBehavior()
  • Method Details

    • canBeActivated

      public boolean canBeActivated()
      Specified by:
      canBeActivated in interface org.cloudburstmc.api.item.behavior.ItemBehavior
      Overrides:
      canBeActivated in class CloudItemBehavior
    • getMaxStackSize

      public int getMaxStackSize(org.cloudburstmc.api.item.ItemStack item)
      Specified by:
      getMaxStackSize in interface org.cloudburstmc.api.item.behavior.ItemBehavior
      Overrides:
      getMaxStackSize in class CloudItemBehavior