promotional bannermobile promotional banner

Content Creator

A mod for creating items, blocks, fluids and more with crafttweaker

File Details

ContentCreator-1.3.91.jar

  • R
  • Nov 15, 2024
  • 286.54 KB
  • 1.8K
  • 1.12.2+1
  • Forge

File Name

ContentCreator-1.3.91.jar

Supported Versions

  • 1.12.2
  • 1.12

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:content-creator-622862:5904441")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

-Added support for the creation of custom enchantments, as well as defining the created enchants' rarity, function, compatibility, and more. Thank you to tttsaurus for the PR.

Examples and additional information below:

.

.

.

.

.

=================================================================

#loader preinit import contentcreator.enchantment.Enchantment; import contentcreator.enchantment.EnchantmentType; import contentcreator.enchantment.EquipmentSlot; import contentcreator.enchantment.Rarity;

var e1 as Enchantment = Enchantment.create("test1", Rarity.common, EnchantmentType.armor, [EquipmentSlot.chest]); e1.setCurse(true).register();

var e2 as Enchantment = Enchantment.create("test2", Rarity.common, EnchantmentType.armor, [EquipmentSlot.chest]); e2.setTreasure(true).register();

=================================================================

For additional information: https://github.com/fullskele/ContentCreator/blob/main/src/main/java/surreal/contentcreator/common/enchantment/EnchantmentBase.java