promotional bannermobile promotional banner

Content Creator

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

ContentCreator-1.3.95.jar

File nameContentCreator-1.3.95.jar
Uploader
fullskelefullskele
Uploaded
Apr 19, 2025
Downloads
2.4K
Size
311.0 KB
Mod Loaders
Forge
File ID
6441396
Type
R
Release
Supported game versions
  • 1.12.2
  • 1.12

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:content-creator-622862:6441396")

Learn more about Curse Maven

What's new


-Potion effects can now be defined and registered via zenscript.
-Commissioned by xkforce, example script below:


#loader preinit

import contentcreator.potion.Potion;

var p1 as Potion = Potion.create("notifier", false, 0x88CCFF);

p1.setBeneficial(true)

.setEffectApplier(function(entity, amp) {

if (isNull(entity.world) || entity.world.isRemote()) {

return;

}

//send a server-sided potion info message

entity.sendMessage("Potion amplifier level: " + amp);

})

.setPotionReady(function(duration, amp) {

//return true once per second

return duration % 20 == 0;

})

.setShouldRender(false)

.setShouldRenderHUD(false)

.register();


This mod has no additional files