Carving (Chisel)
Description
Sets a group of items any item can be converted between freely, in world and in a GUI.
Warning
This compat is not fully documented. Some or all of its features are not present on the wiki. View the source code to gain an accurate understanding of the compat.
Danger
You cannot addVariation/removeVariation to chisel groups based on the oredict, you have to modify the oredict directly.
Identifier
Refer to this via any of the following:
mods.chisel.carving/* Used as page default */
mods.chisel.Carving
Editing Values
Sets the sound of the Chisel Group:
groovymods.chisel.carving.setSound(ICarvingGroup, SoundEvent)
Sets the sound of the Chisel Group:
groovymods.chisel.carving.setSound(String, SoundEvent)
Example
mods.chisel.carving.setSound('demo', sound('minecraft:block.glass.break'))
Adding Entries
Adds a new Chisel Group with the given name:
groovymods.chisel.carving.addGroup(String)
Adds a new Item Variation to the Chisel Group:
groovymods.chisel.carving.addVariation(String, ItemStack)
Example
mods.chisel.carving.addGroup('demo')
mods.chisel.carving.addVariation('demo', item('minecraft:diamond_block'))
mods.chisel.carving.addVariation('demo', item('chisel:antiblock:3'))
mods.chisel.carving.addVariation('demo', item('minecraft:sea_lantern'))
Removing Entries
Removes all Chisel Groups and Variations within each Chisel Group:
groovymods.chisel.carving.removeAll()
Removes a Chisel Group and all Item Variations with that Chisel Group:
groovymods.chisel.carving.removeGroup(String)
Removes an Item Variation from the given Chisel Group:
groovymods.chisel.carving.removeVariation(String, ItemStack)
Example
mods.chisel.carving.removeAll()
mods.chisel.carving.removeGroup('blockDiamond')
mods.chisel.carving.removeVariation('antiblock', item('chisel:antiblock:3'))
mods.chisel.carving.removeVariation('antiblock', item('chisel:antiblock:15'))