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

io.github.sefiraat.slimetinker.itemgroups.DummyItemGroup Maven / Gradle / Ivy

The newest version!
package io.github.sefiraat.slimetinker.itemgroups;

import io.github.thebusybiscuit.slimefun4.api.items.ItemGroup;
import org.bukkit.NamespacedKey;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;

import javax.annotation.Nonnull;

public class DummyItemGroup extends ItemGroup {

    public DummyItemGroup(NamespacedKey key, ItemStack item) {
        super(key, item);
    }

    @Override
    public boolean isHidden(@Nonnull Player p) {
        return true;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy