promotional bannermobile promotional banner

Engraving

Simple tweak utility for SlashBlade mod.
Back to Files

engraving-1.4.jar

File nameengraving-1.4.jar
Uploaded
Sep 23, 2024
Downloads
5.5K
Size
19.5 KB
Mod Loaders
Forge
File ID
5749670
Type
R
Release
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:engraving-961164:5749670")

Learn more about Curse Maven

What's new

Expands CraftTweaker ZenClass IItemDefinition, and adds some new ZenMethods:

isSlashBlade() return true if this item is a SlashBlade.

isSlashBladeTLS() return true if this item is a SlashBlade from The Last Smith mod (This mod is added as a soft dependency now. It should be optional; if not, please let me know.)

isTools(isAxeIncluded as bool) return true if this item is a Pickaxe, Spade, or Hoe. If you consider Axes are tools, feed this method a true, and it will return true when this item is an Axe.

isWeapons(isAxeIncluded as bool) return true if this item is a Sword. If you consider Axes are weapons, feed this method a true, and it will return true when this item is an Axe.

isArmor() return true if this item is a piece of Armor.

isAxes() return true if this item is an Axe.

This mod has no additional files