1
Vanilla item replacement/Custom items
Is there way that you can replace vanilla items with custom items - same item but special name, lore, enchantments etc.
For ex:
In creative you have diamond hoe, you click it to get it but when you put it in your inventory it will swap with premade item
with custom name and lore. The item (ID, look...) will be the same just stuff added
This thing works in CrackShot plugin where you can enable to automatically replace the item you use for a gun with actual gun:
Iron hoe > AK-47
Diamond shovel > M4A1
just by getting the item makes you get a special item - gun or other stuff
now if you understand what i mean by that can you help me?
Note: I dont want some java codes or stuff, im not plugin developer, however you could tell me if there is plugin that does it
or make me the plugin or make me a command for it
For ex:
In creative you have diamond hoe, you click it to get it but when you put it in your inventory it will swap with premade item
with custom name and lore. The item (ID, look...) will be the same just stuff added
This thing works in CrackShot plugin where you can enable to automatically replace the item you use for a gun with actual gun:
Iron hoe > AK-47
Diamond shovel > M4A1
just by getting the item makes you get a special item - gun or other stuff
now if you understand what i mean by that can you help me?
Note: I dont want some java codes or stuff, im not plugin developer, however you could tell me if there is plugin that does it
or make me the plugin or make me a command for it
Create an account or sign in to comment.
5
1
My suggestion would be to create a function or use a command block,
and check that the player is holding the item in hand, and if so,
replace it with / replaceitem with the item you want to have.
TomatoCake
1
but the item that replaced the item wouldnt have special stuff i need it to have
1
If you need a Diamond Pickaxe with Effiency 10, use /replaceitem entity @p weapon diamond_pickaxe{Enchantments:[{lvl:10,id:"effiency"}]}
I can't try it out now, but it should work...
I can't try it out now, but it should work...
2
i need something like
iron axe > iron axe =
= name: §fHatchet
lore: §7§oA Hatchet, useful for chopping trees and dismembering corpses.
so everytime i would get iron axe it will be replaced with another iron axe but with the special name and lore
iron axe > iron axe =
= name: §fHatchet
lore: §7§oA Hatchet, useful for chopping trees and dismembering corpses.
so everytime i would get iron axe it will be replaced with another iron axe but with the special name and lore
1
try this: /replaceitem entity @a[nbt={SelectedItem:{id:"minecraft:iron_axe"}}] weapon minecraft:iron_axe{display:{Lore:["{\"text\":\"hey\",\"color\":\"gray\"}"]}}