AB
Abandoned | LiteSack
1.2Sack to storage vanilla / custom item like sack from Hypixel, custom BlockRegen system,....
1.2latest1.2 - Removed feature pickup item to sack from dropped itemFeb 26, 2023 - Removed feature pickup item to sack from dropped item because of bugging1.11.1 - Add API Support Storage Custom Item / Supported MMOItemsFeb 26, 2023 - Add API Support Storage Custom Item - Supported MMOItems - Fix bug Example for who need add support custom item: Custom Item Class Code (Text): import net.danh.litesack.API.ItemManager.Manager.MItem; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import org.jetbrains.annotations.NotNull; public class CustomItem extends MItem { public CustomItem() { super("CUSTOMITEMS"); } @Override public boolean checkMaterial(@NotNull String item_data) { String[] custom_item = item_data.split("-"); String type = custom_item[0]; String id = custom_item[1]; return CustomItems.get(type, id) != null; } @Override public ItemStack getItemStack(@NotNull String item_data, Integer amount) { String[] custom_item = item_data.split("-"); String type = custom_item[0]; String id = custom_item[1]; ItemStack itemStack = CustomItems.get(type, id); return itemStack != null ? itemStack : new ItemStack(Material.STONE); } @Override public boolean compareItems(ItemStack origin, @NotNull String item_data) { String[] custom_item = item_data.split("-"); String type = custom_item[0]; String id = custom_item[1]; ItemStack itemStack = CustomItems.get(type, id); return itemStack != null && itemStack.equals(origin); } } Main Class Code (Text): @Override public void onLoad() { new CustomItem().register(); }1.0Feb 6, 2023
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta