SquidUtils is a tweak mod that lets you set various properties of Vanilla objects.
The mod has been completely rewritten for Minecraft 1.9. Only a limited number of features are available at the moment.
To get started with the mod, the user has to create a new .conf file in /config/SquidUtils. I’ve not had time to document it yet, but there’s an example file containing all the available tweaks here. The mod prints all IDs you may need to /config/SquidUtils/info.txt at startup. If you want to look at the existing properties of blocks and items, they’re listed on the Minecraft wiki.
Modpack policy:
Just go ahead and use it. Give credit and all that stuff.
Is the website down?
Fixed.
Hey there, I was also wondering when/if you are implementing the change to sword damage in the next version. I've been looking frantically everywhere for a mod that can do this but can't find one for 1.9.4. Really looking forward to changing the sword damage so I can have some mods be more balanced with the vanilla swords! Regardless, thanks for your hard work!
Already implemented. See this gist for details.
Hmm, yeh I've seen that, but when I try:
{
id = "minecraft:diamond_sword"
attackDamage = 10
attackSpeed = 1.6
durability = 1500
}
]
Under the "items = ["
(With the custom HOCON language of course)
underneath the wooden_pickaxe example, (which I have implemented) it crashes the game, and says:
"java.lang.ClassCastException: net.minecraft.item.ItemSword cannot be cast to net.minecraft.item.ItemTool"
and then when I add "ItemTools = [" then try with that, (don't really know what that does, just trying to see if that would stop the crash) it doesn't work :/
Sorry I'm new to this stuff, I just assumed it wasn't implemented yet, I'm not sure what to try.
EDIT: also to note, changing the pickaxe damage does work, so it seems I've done that correctly, but even when using the same layout, changing the swords doesn't work.
Whoops, that's a bug. I forgot that swords aren't normal tools, codewise. A hotfix has been uploaded.
Hmm, still getting the same crash whilst using the newest version:
"java.lang.ClassCastException: net.minecraft.item.ItemSword cannot be cast to net.minecraft.item.ItemTool"
Is there anything I have to change in the .conf? Like a new header or something?
EDIT: Tried, newest version with no mods, still crashes, no idea now.
I just want to let you know that this is such an amazing mod to put out into the world. Thank you so much for coming up with the idea, not giving up on it and actually coding it. This mod is exactly what servers need to be unique and fun.
I just have one question for you: Do you know if there is a way to remove the nbt tag from a weapon in the game by default? For example, the Diamond Sword has +7 Attack Damage but I want to remove that whole line and even remove the fact it does damage to replace with my own damage formula. I'm going to be looking into stuff like this myself very soon but I was wondering if you've come across a way to do this in your coding. This is targeted towards 1.7.10 as well but it's not a feature request, just a curious question.
It is indeed possible to change the damage of a tool, although not with NBT. The damage value is stored in ItemTool.material.attackDamage or something like that. The ability to change it will be implemented in the next version.
Also, I might be backporting the mod to 1.7.10 at some point. Shouldn't be too hard.
Backporting shouldn't be that hard. I don't promise anything though.
any chance you could add an option to disable all forms of durability ?
the one thing I can't stomach in minecraft is the durability system
Can I use this in my FTB pack? They tell me it requires that i request permission.
hey! I get
Caused by: java.lang.NoSuchMethodError: coolsquid.squidapi.mod.BaseMod: method <init>()V not found
Did you download SquidAPI?
got a crash http://pastebin.com/VMMqhmJP
Install SquidAPI.
I did...
Are you using the latest SquidAPI and the latest SquidUtils version?
I'll try again with a fresh download of both and give you a crashlog if it still does