All Downloads are FREE. Search and download functionalities are using the official Maven repository.

space.maxus.flare.item.StillItemProvider Maven / Gradle / Ivy

The newest version!
package space.maxus.flare.item;

import lombok.Data;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.Nullable;

/**
 * An item provider that constantly returns the same stack.
 * 
* NOTE: the stack returned is not cloned. */ @Data public class StillItemProvider implements ItemProvider { private final @Nullable ItemStack stack; @Override public ItemStack provide() { return stack; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy