TheTurkeyDev / Call_Of_Minecraft-Zombies

A Minecraft plugin designed to recreate the Call of Duty Zombies game mode!
MIT License
22 stars 18 forks source link

Add Custom model data tag to guns #120

Open Maxence621 opened 2 years ago

Maxence621 commented 2 years ago

Hello, so i wanted to change the visual of the diamond hoe and stuff with an optifine ressource pack, but for that i need to setup a custom model data tag to an item. Sadly, the plugin doesn't allow you to add this custom model data tag to an item, so i wonder if you could add it , so we can change the visual of the diamond hoe to a "real gun" Also, your plugin is crazy, it's really good, thank you a lot for that !

TheTurkeyDev commented 2 years ago

Can you provide an example of how said item would be spawned in via like a give command?

Superfudge247 commented 2 years ago
            {
                "name": "M1911",
                "material": "GOLDEN_HOE",
                "sound": "ENTITY_ZOMBIFIED_PIGLIN_HURT",
                                **"CustomModelData": "StandardM1911"**
                "clip_ammo": 15,
                "total_ammo": 80,
                "damage": 7,
                "fire_delay": 7,
                "max_distance": 20.0,
                "particle_color": "808080",
                "multi_hit": false,
                "pack_a_punch_gun": {
                    "name": "Death and Taxes",
                    "material": "GOLDEN_HOE",
                                        **"CustomModelData": "UpgradedM1911"**
                    "material": "SCUTE",
                    "clip_ammo": 25,
                    "total_ammo": 192,
                    "damage": 22,
                    "fire_delay": 7,
                    "max_distance": 20.0,
                    "particle_color": "AA00AA",
                    "multi_hit": false
                }
            },
bluhcops commented 1 year ago

This would be amazing, I was just looking to see if it was possible.

i would even make a resource pack for it :)