sonicboiz123

can you help me make a custom texturepack that works with the mace dash plugin you helped me make?

Kodari AI
KodariJul 20 at 6:18 pm 4
AstralMaceDashPack
A Minecraft 1.21.4 resource pack that gives the Mace Dash ability an astral visual identity. It detects the plugin's custom model data value, keeps the standard mace appearance as the fallback, and switches to a glowing amethyst-inspired dash mace during ability use. The pack includes modern item-model definitions, legacy model override support, clean third-person and first-person handling, and requires no external client-side mods.

Place the files inside a resource-pack folder with pack.mcmeta at its root, then place that folder or its ZIP in .minecraft/resourcepacks/. The plugin must apply CustomModelData 1001 to the mace during the dash; otherwise, change 1001 in both model definition files to the value used by your Mace Dash plugin.

sonicboiz123

is it possible for me to upload my texture here so you could add it for me?

Kodari AI
KodariJul 20 at 6:19 pm 1

Yes. Upload the texture here—preferably as a PNG—and I can add it to the resource pack, create or update the required model files, and tell you exactly where each file belongs.

For the best result, include:

  • The texture PNG, ideally 16×16, 32×32, or 64×64

  • Your Minecraft version

  • Whether it should replace the normal mace or appear only while dashing

  • The CustomModelData value used by the Mace Dash plugin, if known

If you upload only the texture, I can use the previously discussed CustomModelData: 1001 setup unless your plugin uses a different value.

sonicboiz123

this is the mace texture I want to use

1 image attached
Kodari AI
KodariJul 20 at 6:19 pm 2

I can see the texture preview, but I need the actual image file to add it to the pack. Please upload it as a PNG attachment rather than an inline preview.

I’ll place it at:

Plain Text
assets/minecraft/textures/item/mace_dash.png

and update assets/minecraft/models/item/mace_dash.json to use it. The existing setup will make it appear when the plugin applies CustomModelData 1001 during the dash.

sonicboiz123

I should only replace the mace if the name lines up with the maces name inside of the mace dash plugin

Kodari AI
KodariJul 20 at 6:21 pm 1

Yes—that is the correct setup.

The resource pack itself cannot reliably check an item’s display name. It should replace the model only when the plugin marks the correctly named mace with a unique CustomModelData value, such as 1001.

The plugin should use logic like:

Java
if (item.getType() == Material.MACE
        && item.hasItemMeta()
        && item.getItemMeta().hasDisplayName()
        && item.getItemMeta().getDisplayName().equals("EXACT MACE NAME")) {
    item.getItemMeta().setCustomModelData(1001);
}

Then:

  • Correctly named mace + CustomModelData: 1001 → custom texture

  • Any other mace → normal vanilla mace

  • Renaming or modifying another mace will not automatically give it the custom texture

The current resource-pack model is already configured for CustomModelData: 1001. To finish this accurately, upload the Mace Dash plugin source/JAR or provide the exact mace name, including capitalization and color codes.

sonicboiz123

which folder do I put the mace png into?

Kodari AI
KodariJul 20 at 6:23 pm 1

Place the PNG in your resource pack at:

Plain Text
assets/minecraft/textures/item/mace_dash.png

Your resource pack should look like this:

Plain Text
AstralMaceDashPack/
├── pack.mcmeta
└── assets/
    └── minecraft/
        ├── items/
        │   └── mace.json
        ├── models/
        │   └── item/
        │       ├── mace.json
        │       └── mace_dash.json
        └── textures/
            └── item/
                └── mace_dash.png

Do not place it in the plugin’s folder. Put the finished AstralMaceDashPack folder or ZIP in:

Plain Text
.minecraft/resourcepacks/

The filename must match the texture path referenced by mace_dash.json.

sonicboiz123

is there a plugin I can use to add this straight to the server?

Kodari AI
KodariJul 20 at 6:31 pm 1

Yes, but you usually do not need a plugin for a single custom mace. Minecraft can automatically send a server resource pack to players.

Simplest method

  1. Zip the resource pack so pack.mcmeta is at the ZIP’s root:

Plain Text
AstralMaceDashPack.zip
├── pack.mcmeta
└── assets/
  1. Upload the ZIP to a direct HTTPS download location, such as a GitHub Release or your web host.

  2. Add this to server.properties:

Properties
resource-pack=https://example.com/AstralMaceDashPack.zip
resource-pack-sha1=YOUR_ZIP_SHA1_HASH
resource-pack-required=false

Generate the SHA-1 hash with:

Shell
sha1sum AstralMaceDashPack.zip
  1. Restart the server. Players will receive a prompt to download the pack.

Plugin options

If you want a plugin to manage and generate the pack, use:

  • Oraxen — good for custom items and resource-pack generation

  • ItemsAdder — user-friendly, but more feature-heavy

For your setup, these plugins are probably unnecessary unless you plan to add many custom items. The Mace Dash plugin still needs to assign the custom model data or item model to the correctly named mace; the resource pack alone cannot identify an item by its name.

Kodari can make mistakes. Review important code before using.
Files
assets
pack.mcmeta
Code
4 115
assets/minecraft/models/item/mace_dash.json
{
  "parent": "minecraft:item/handheld",
  "textures": {
    "layer0": "minecraft:block/amethyst_block"
  },
  "display": {
    "thirdperson_righthand": {
      "rotation": [
        0,
        90,
        -35
      ],
      "translation": [
        0,
        3,
        1
      ],
      "scale": [
        1.15,
        1.15,
        1.15
      ]
    },
    "thirdperson_lefthand": {
      "rotation": [
        0,
        -90,
        35
      ],
      "translation": [
        0,
        3,
        1
      ],
      "scale": [
        1.15,
        1.15,
        1.15
      ]
    },
    "firstperson_righthand": {
      "rotation": [
        0,
        90,
        -25
      ],
      "translation": [
        0,
        2,
        0
      ],
      "scale": [
        1.1,
        1.1,
        1.1
      ]
    },
    "firstperson_lefthand": {
      "rotation": [
        0,
        -90,
        25
      ],
      "translation": [
        0,
        2,
        0
      ],
      "scale": [
        1.1,
        1.1,
        1.1
      ]
    }
  }
}