your current location:首页 > news>[COT] Content Tweaker Minecraft

[COT] Content Tweaker Minecraft

2024-12-12 09:26:35|Myriagame |source:minecraft skins

ContentTweaker is an extension of Cracttweaker, which allows the use of Zenscript customized items, squares, fluids, labels, and more content!

Due to the particularity of the ContentTweaker script load, the script containing the ContentTweaker needs to be independent of a special file with other scripts, and the beginning is #Loader ContentTweaker

A script of the official example:

#loader contentttWeakerimport Mods.ContentTweaker.VanillaFactory; Import Mods.Contenttweaker.block; VAR ZSBLOCK = VanillaFactory.createBlock ("ZS_BLOCK", ); zsblock.fullBlock = TRUE; ZSBLOCK. LightOpacity = 255; zsblock.translucent = true; zsblo ck.lightValue = 1.0; zsblock.blockhardness = 5.0; zsblock.blockk Resistance = 5.0; zsblock.toolClass = "Pickaxe"; zsblock.Toollevel = 2; zsblock.blocksoundType = ; zsblock.register (); 

1.16.5 script used

#loader contentttWeakerimport Mods.ContentTweaker.Item.itembuilder; // This is the simplest way to createMsNeww Itmbuilder (). Build ("generic_item"); new it applicationer (). Build ("GENERIC_ITEM_2"); New itembuilder (). Build ("GENERIC_ITEM_3"); 

1.16.5 Add material requires other module help (one can choose one in three):

Open loader

The loader

DRP -Global Data Pack