io.github.sefiraat.slimetinker.itemgroups.DummyItemGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SlimeTinker Show documentation
Show all versions of SlimeTinker Show documentation
Slimefun4 Addon SlimeTinker
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;
}
}