Here's how to make a present:
- Get a crafting table, 8 papers, and any dye.
- Open the crafting table.
- Put the dye in the middle of the crafting slot and each paper at each of the other slots
- Congratulation! You just made an empty present!
Here's how to fill in the present:
- Right-click on the present to view a single row inventory GUI.
- Put your present items into the top row of the slots.
- Exit from the GUI.
Here's how to open the present:
- Place the present into the world.
- Mine the present!
- Yay! A present!
Each present item will return its present content and (1 - 4) papers.
Tested versions: 1.13.2 and 1.16.3
Plugin should work for any version between 1.13.2 and 1.16.3, but do include the error message at pastebin if there is any error.
Future plan:
- Separate plugin for 1.8 - 1.12
- Provide an option to store data to a database instead
- Verbose logging or console/file/database
Hmm.. I wonder what would happen if you put the present into its own slot...
Debug:
Ingredients across versions may differ. Refer to the list below for the dye ingredient of any present block.
Format: COLOR("1.16.2 material name", "alternative old material name")
BLACK("BLACK_DYE", "INK_SAC"),
BLUE("BLUE_DYE", "LAPIS_LAZULI"),
BROWN("BROWN_DYE", "COCOA_BEANS"),
CYAN("CYAN_DYE"),
GRAY("GRAY_DYE"),
GREEN("GREEN_DYE", "CACTUS_GREEN"),
LIGHT_BLUE("LIGHT_BLUE_DYE"),
LIGHT_GRAY("LIGHT_GRAY_DYE"),
LIME("LIME_DYE"),
MAGENTA("MAGENTA_DYE"),
ORANGE("ORANGE_DYE"),
PINK("PINK_DYE"),
PURPLE("PURPLE_DYE"),
RED("RED_DYE", "ROSE_RED"),
WHITE("WHITE_DYE", "BONE_MEAL"),
YELLOW("YELLOW_DYE", "DANDELION_YELLOW");
If you are using this plugin on your server, please leave down you IP :], I would like to know how it works on other server.
Disclaimer: All player heads are obtained from https://minecraft-heads.com/custom-heads/search?searchword=present
Thanks to NBTEditor utility class creator too. Resources: https://www.spigotmc.org/threads/1-...s-mobs-and-tile-entities.269621/#post-2639984
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
