Перейти к содержимому
Mineforgian

CustomGive

`CustomGive Mod` is a Minecraft utility that lets you quickly obtain custom items with specific NBT data from your clipboard. Simply use the `/customgive` command to receive the custom stone block in Creative mode.

Загрузки
568
Подписчики
3
Обновлён
7 октября 2023 г.
Лицензия
MIT

Опубликован 4 августа 2023 г.


🌍 Want Your Own Minecraft Server?

Running an SMP, playing with friends, or testing mods and plugins?
ByteBuilders Hosting delivers fast, reliable Minecraft servers at affordable prices.

🚀 Features include:

  • ⚡ High-performance nodes
  • 💾 Unlimited storage*
  • 🔄 Unlimited backups*
  • 🛠️ Simple control panel
  • 🤝 Helpful support

🎁 Get 20% OFF your server using this affiliate link:
👉 Click here to get 20% off at ByteBuilders Hosting


CustomGive Mod

The CustomGive mod is a utility mod for Minecraft that allows you to quickly obtain custom items with specific NBT data directly from your clipboard.

Features

  • Execute /customgive command to receive a custom stone block with NBT data from your clipboard.
  • Seamless integration with the system clipboard for easy customization of items.
  • Designed for use with Fabric Loader.

Installation

  1. Make sure you have Fabric Loader installed for your Minecraft version.
  2. Download the latest release of the CustomGive mod from the Releases page.
  3. Place the downloaded JAR file into your Minecraft mods folder.
  4. Launch Minecraft using the Fabric profile.

Usage

  1. Launch Minecraft and enter Creative mode.
  2. Open your clipboard and copy an item's NBT data.
  3. In the game, execute the /customgive command.
  4. A stone block with the copied NBT data will be added to your inventory.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

This mod is licensed under the MIT License.

Ченджлог

1.0.3Релиз1.20.1, 1.20.2 · 7 октября 2023 г.
  1. Command Arguments Added:

    • The customgive command now accepts two arguments:
      • block_or_item: Expects a string representing the block or item name.
      • amount: Expects an integer representing the amount of the custom item to give.
    • This change allows for more flexibility in specifying the custom item and its quantity.
  2. Item Mapping Method Added:

    • Added getItemByName method to map item names (block_or_item) to their respective Item instances.
    • This method takes the lowercase item name as input and returns the corresponding Item object.
    • The mapping includes several default items like "stone," "diamond," "iron_ingot," and others.
  3. Usage of Block/Item Name and Amount:

    • The giveCustomItemFromClipboard method now takes blockOrItem and amount parameters to determine which item to create and how many to give.
  4. Error Message Update:

    • In case of invalid NBT data or an unrecognized block/item name, the error message has been updated to "Invalid NBT data or block/item name."
  5. ItemStack Amount:

    • The createItemStackFromNBT method now sets the amount of the ItemStack based on the amount parameter passed to it.
  6. Expanded Item Mapping:

    • The getItemByName method includes a switch-case block that covers a variety of common items. You can extend this mapping as needed to support more items.

These changes enhance the functionality and configurability of the customgive command, making it more versatile for giving custom items in the game.

1.0.2Релиз1.20.1 · 4 августа 2023 г.

CustomGive Mod v1.0.2 - Final Configuration Fixes

The CustomGive mod is a utility mod for Minecraft, designed to enhance your creative gameplay experience. This initial release brings you the ability to quickly obtain custom items with specific NBT data directly from your clipboard.

Key Features:

  • /customgive command: Simply execute this command to instantly receive a custom stone block in your inventory.
  • Clipboard Integration: The mod seamlessly integrates with your system clipboard, allowing you to specify custom NBT data for the item.

Compatibility:

  • Fabric Version: 1.20.1 (Tested and verified)
  • Minecraft Version: Compatible with Minecraft versions that support Fabric Loader.

Instructions:

  1. Install Fabric Loader: Make sure you have Fabric Loader installed for your Minecraft version.
  2. Install CustomGive Mod: Download and place the CustomGive mod JAR file in your Minecraft mods folder.
  3. Launch Minecraft: Start Minecraft with the Fabric profile.
  4. Obtain Custom Item: In Creative mode, run the /customgive command to instantly receive a stone block with NBT data copied from your clipboard.

Your feedback and suggestions are greatly appreciated. Enjoy customizing your Minecraft experience with the CustomGive mod!

For more information and updates, please visit the GitHub repository.

Комментарии

Загружаем…