Recent content by Sheepion

  1. Sheepion

    Plugin Release [1.19] Vane - Immersive and lore friendly enhancements for vanilla Minecraft

    so players need to install the resource pack first? I will look deep into the code tomorrow, thanks for your reply.
  2. Sheepion

    Plugin Release [1.19] Vane - Immersive and lore friendly enhancements for vanilla Minecraft

    i wonder how this plugin added custom models to the game?
  3. Sheepion

    How can I store an object like ArrayList in the persistent data container?

    For example, I can store a list of itemstack in a block's PDC, so I can add the itemstack to the drops when player breaks the block.
  4. Sheepion

    How can I store an object like ArrayList in the persistent data container?

    I am trying to add multiple effect to my item, I have wrote a custom potion api to make my own potion. I stored the potion's effect type into the PDC as a String, and it can only store one string, but I want a list of string so that I can add two or more effect into one potion. So I wonder if I...
  5. Sheepion

    How can I store an object like ArrayList in the persistent data container?

    I want to write something complex into the persistent data container like my own class or an ArrayList
  6. Sheepion

    Plugin Release CustomPotionAPI - make your own potion

    With this api you can create your own custom effect very easily by implements the CustomPotionEffectType interface and register the type with CustomPotionManager#registerPotionEffectType. There are lots of non-abstract methods in the interface as optional effect behaviors, you can override them...
  7. Sheepion

    Solved How to set the hover event for the Component in adventure api?

    I want to send my item's information to the chat channel so every player in the server can see its name and lore, but I can't understand how to use HoverEvent.ShowItem. I am using paper-api 1.18.1-R0.1-SNAPSHOT.
  8. Sheepion

    how to use spawnentity and spaun the entity with custom name

    getWorld().spawnEntity(). To spawn a entity, you need to specify the location and the entity type. Use Entity#customName(), and don't forget to make the custom name visible. @EventHandler(ignoreCancelled = true) public void onPlayerJoin(PlayerJoinEvent event) { Player...
  9. Sheepion

    Solved How can i add a Custom Enchantment?

    check this: https://www.spigotmc.org/threads/custom-enchantments-1-13.346538/ I wrote a CustomEnchantment class to wrap the Enchantment class and a EnchantmentManager to deal with enchant table and anvil, it should be able to work...