Closed 00Hrtz closed 3 years ago
recipes:
anvil_repair:
ruby_sword:
permission: itemsadder.ruby_sword
ingredient: itemsadder:ruby
item: itemsadder:ruby_sword
recipes:
anvil_repair:
ruby_sword_test_no_bug:
permission: itemsadder.ruby_sword
ingredient: itemsadder:ruby_sword
item: itemsadder:ruby_sword
I fixed your configuration, it was missing the recipes
attribute and the permissions.
info:
namespace: customitems
recipes:
anvil_repair:
magma_sword:
permission: magma_sword
ingredient: EMERALD
item: customitems:magma_sword
items:
magma_sword:
display_name: '&aMagma Sword'
permission: magma_sword
resource:
material: STONE_SWORD
generate: true
model_path: item/weapons/magma_sword
durability:
max_custom_durability: 2980
attribute_modifiers:
mainhand:
attackDamage: 8.0
attackSpeed: 2.0
ALWAYS use the IDE https://ide.devs.beer/itemsadder/
ia.user.repair.YOURPERMISSION
is the permission for anvil repair in case anyone has an issue with it too.
ia.user.repair.YOURPERMISSION
is the permission for anvil repair in case anyone has an issue with it too.
Should be ia.user.craft.YOURPERMISSION
, like very other recipe
in the plugin, try it also
yep,
ia.user.craft.PERMISSION
works also.
Anvil Repair is not working for anything.
Also there's an issue with Items that do not have recipes, showing empty recipes and items that do have anvil repair set, not showing anvil repair in the ia menu.
Here's an example of how it's setup https://paste.helpch.at/uqukimaheg.bash
but just like the screenshot below it only shows an empty recipe and no anvil repair in the menu.
Screenshots As you can see here the Cutlass has an empty recipe but no tab for anvil repair, despite having no recipe in it's yml and having anvil repair present in its yml
Server version: (paper 1.17.1)
Client version: (minecraft 1.17.1)
ItemsAdder version: (example: 2.4.5)
LightAPI Fork version: (example: 3.5.2)
LoneLibs version: (example: 1.0.14)
ProtocolLib version: (# 513)
I don't use the Ores so no problem with Protocolib