Allows you to create recipes, blocks, and items from TFC
Example:
onEvent('recipes', event => {
event.recipes.tfc.bloomery('minecraft:oak_log', Fluid.of('tfc:metal/bismuth_bronze', 2), 'minecraft:bucket', 20)
})
See the wiki for a full list of abilities and how to use them
How to Install KubeJS TFC (Mod)
KubeJS TFC by Notenoughmail is verified for Forge, Neoforge across Minecraft versions 1.18.2, 1.20.1, 1.21.1 (latest release: 2.1.0, file size: 764 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.18.2, 1.20.1, 1.21.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded KubeJS TFC file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 11 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- Add support for FirmaLife recipes
- Add events for creating FirmaLife and Beneath data types
- FirmaLife and ArborFirmaCraft recipes types and Beneath and FirmaLife data types can now be used in the data type commands (
/kubejs_tfc <search|describe|list_ids>) - Internal validation for
DataManager/DataTypesynchronicity is now opt-in - Use
systemProperty('kubejs_tfc/assert_all_data_managers_have_data_types', 'true')in your run configs if you wish to enable this in dev environments - Update to TFC 4.2.8, which is now the minimum version
- The nutrient amount in
FoodDatas are now specified by specifying each nutrient name instead of anutrient: number[5] #deposit,#support,#itemDamageResistance, and#entityDamageResistancein theTFCEvents.dataevent now have 1(+1) params to match the majority of the other methods in the event- Also like the majority of the other events, the first param is a map of parameters to values and the second parameter is an optional id
- The old forms of the methods still exist but will log a warning and will be removed in a future version
- As always, see the docs for the new form of the methods
- The models used for
#groundcoverModelShapein the groundcover block builder have been tweaked to respond semi-automatically to TFC makes to its own groundcover models - The driftwood and stick shapes have been split into several different models
- The data type commands (
/kubejs_tfc <search|describe|list_ids>) can now handle *all* TFC recipe types - Configured feature types have been given a full, proper look over to address assorted issues
- Additionally, the extant types are now fully documented on the docs site, though without examples
- Fix issue with the
tfc:leavesblock builder in TFC 4.2.5+ caused by change in constructor signature. TFC 4.2.5 is now the minimum version - Add ability to generate models using TFC's leaves model loader with
tfc:leavesblock builders - The order of child ingredients given to
TFC.ingredient.and(...)no longer impacts which items the ingredient will be displayed as in recipe viewers when using TFC's precise ingredient types - Add
TFC.data.food.setRecipeTransientNonDecaying(...)which may allow some non-TFC recipe types to have non-rotten outputs
- Update to TFC 4.2.0, which is the new minimum version
- Add rock anchor sub-builder as a derived builder of rock spikes
- Add ability to set ids of derived builders
- Configured feature types now require [WorldJS](https://notenoughmail.github.io/worldjs/) to work
- They are still undocumented, I will work on this in the coming days
- Add
#cellular1Dmethod to noise sub-binding - Add
search_for_rockcommand - Add
#prettyPrint()to item stack providers - Produces a string similar to
#toString()but enum modifiers include their class name
- Allow drinkables to allow drinking while a player is at full thirst
- Fix crash (introduced in 1.3.4) that occurred when turning custom axles into windmills
- The tree solver command will now respect the full block state given to the
logandleavesargs, only overriding the necessary properties - The tree solver command now explicitly sets the
persistentproperty to false - Actually* fix default double crop block loot tables, both with and without the stick requirement
- Fix error message of the
search_for_rockcommand when not in TFC-like worlds
- Add forgotten ability to set
combine_forging_bonusin welding recipes - Add
search_for_rockcommand - Fix double tall crops not dropping product items while mature
- Add ability to define the id of all derived blocks
- Update to 1.21.1, TFC 4.0.x, KubeJS 2101.7.2
- All features, in some form, as of 1.3.3 should be available, except as noted below
- Support for addons not yet ported is obviously not included
- Glass operations, food traits, climate models, and ISMs are now registries! They are no longer made through a custom event
- Custom chisel modes can now be registered
- Birthday modifications are no longer possible
- Container limiting now applies upon opening and closing menus
- There is no longer a jar item builder type
- Wild crops have been split into 4 builder types, similar to non-wild crops
- Crop model generation methods have been cut down to be much simpler and concise
- The climbing crop builder has been split from the double crop builder
- Configured & placed features are now made through builders in the
ServerEvents.registryevent instead of theTFCEvents.worldgenDataevent - This relies on an as-yet unmerged & unreleased PR to KubeJS to actually function
- TFC-specific recipe filters & component replacements are currently not implemented
- The sealable inventory attachment does not currently have the ability to function like vessels
- EntityJS, Firmalife compat is currently not included
- Note**: The Crop, bush, moss, and torch block builders have not been documented or tested. I will document them as I have the time to verify they function and/or release updates fixing issues with them. As such, until documented these builder types should be considered extra-beta: methods/functionality may change in a hotfix version without a deprecation cycle
- The list ids command is now paginated
- Add several bindings for noises
- Add some additional helper functions for TFC's
Noise2DandNoise3Dclasses - Add noise inspection commands
- Fix
kubejs_tfc:wrappedchunk generators crashing when trying to find a spawn position - Describing a knapping type via command will now include the texture(s) used by the knapping screen
- Add support for Artisanal recipe types and ISMs
- Deprecate
#notAxisAligned()in ground cover builders as it created invalid block state files - Custom fallen leaves are now included in the
tfc:fallen_leavesblock and item tags by default, making them able to snow pile and turn into hummus by default - Custom (fallen) leaves can now be removed from automatic tinting by calling
#noDynamicTinting()on their builders - Tag ingredients printed via the describe command can now be clicked to use the
/forge tagscommand for that tag - Add TFC-specific recipe filters
- Add metal map in misc sub-binding
- Custom jar items now have the
tfc:jarstag by default - Add
#withoutCraftingRemainder()to the jar item builder - Properly implement input & output replacement for TFC recipe components & delegate recipe types
- Add
LayeredAreaconstructors to the misc sub-binding - Allow access to the chunk generator's
Settingsobject and creation ofRandomSources in the chunk data provider event - [Wiki] Commands now have their own page
- Add
#hasPostProcessand#emissiveRenderingmethods to extended properties - Add fissure, forest, forest entry, overlay tree, random tree, stacked tree, and krummholz worldgen builders
- Add direct wrapper for TFC's
ItemStackProvider - Fix double crops not having yield multipliers in their loot tables
- Add convenience method for setting the dead model of torches
- Add TFC sapling & leaf block builders
- Rename several methods in crop block builders to prevent Rhino throwing a fit when used
#productItem(ResourceLocation)->#existingProductItem(ResourceLocation)#model(number,Consumer)->#setModel(number,Consumer)#model(Consumer)->#setModel(Consumer)#texture(number,String)->#textureAt(number,String)#texture(number,String,String)->#textureAt(number,String,String)- Allow
RecipeJS#getOriginalRecipeIngredients()to work with TFC recipe types - Add ability to change custom crop growth and expiry rates
- Add
alwaysandnevershortcuts for extended property settings that takeStatePredicates - Add tree solver command for modpack makers to easily make tree structures with proper states
- Add event for registering ISM -> json converters. All TFC, Firmalife, and TFCCC ISM types should be handled by default
- Add the ability to retrieve
NormalNoises during the chunk data provider creation event - Adds sealable inventory attachment which applies a food trait to items within it
- "Fix" proto chunks with no
ChunkDatacausing issues when promoted to level chunks with custom chunk data providers - Add custom surface rule source that uses the
RockSettingsat a given position - Fix custom spreading and double crops not respecting custom textures set in scripts
- This involved some reworks for all crop resource gens, the only noticeable effect should all stages looking for the *same* texture instead of unique ones, by default
- Fix supports having broken connecting models by default
- Fix mammals being unable to define their configs
- Add some flexibility to custom waterwheel texture paths
- Add validation to spike and loose blocks of custom defined
RockSettings - Fix noise settings of wrapped chunk generators not being used in production environments
- Add commands to print TFC's level settings and chunk data
- Add setting (default enabled) to deduplicate TFC datapack validation errors that are inserted into the KubeJS console
- Add chunk generator type
kubejs_tfc:wrappedwhich enables adding chunk data to levels without proper TFC-like level generators - New event for creating chunk data, depends on above chunk generator type
- De-hardcode dead crop model generation
- Add
tfc:torchblock builder type - Add
tfc:heatblock entity attachment type - Add
tfc:calendarblock entity attachment type - Deprecated:
#dripsintfc:thin_spikeblock type, same functionality handled by nullable parameter of#dripParticle#hasBubbles&#hasSteamintfc:springfluid type, same functionality handled by nullable parameter of#bubbleParticle&#steamParticle#allModelsin berry bushes, superseded by#models- Remove deprecated methods in custom climate model event
- Remove old, non-functional chunk-data creation mechanism for custom climate models that was added in 1.2.6
- Add support for Kube's ingredient and result modifiers to TFC's advanced crafting recipes
- Fix drinkable description command printing the first effect in place of all-but-the-last effect
- Fix being unable to modify the cane block of spreading bushes
- Add the ability to properly modify the model generation of multi-model blocks (aqueducts, grass, gearboxes, etc.)
- Add TFC Log block builder
- Enable custom climate models to set chunk data for levels without TFC-like generation
- Fix
#simpleBlockStatein the worldgen data event incorrectly serializing propertyless block states
- Fix faulty assumption that climate models will only be added to TFC-like worlds
- Slight rework to how custom climate models are created
- 'Advanced' climate model functionality has been mered into the regular custom model
- Along with this, there is now only a single
.registermethod in the event, the previous registration methods are now deprecated - TFC climate default accessors have been moved from the event to the model builder callback
- The wind vector callback now provides a
LevelandBlockPosinstead of aBlockContainerJS - Custom noises are now created differently:
- First,
.newNoiseis called with a callback where the noise can be modified, this returns an index - This index can be used in
.noiseto get the noise within calculation callbacks - Spreading bush blocks are now tagged with
tfc:any_spreading_bushby default, fixing max height being ignored and cane blocks breaking - Add methods for setting the model and textures of bush blocks
- Cane block models are now named
<parent_id>_side_<lifecycle>_<stage>to match TFC's model naming scheme, previously they were named<parent_id>_cane_side_<lifecycle>_<stage> - Fix the use of
productItemwith a pre-existing item not working as it should - Add
/kubejs_tfc searchcommand, enabling pack makers to determine which data entries are applied to an item/block/fluid
- Fix FirmaLife cheese wheel block builders sharing inside textures
- Fix potential crashes & inconsistencies related to custom entity type's hand & armor items (Thanks Liopyu!)
- Fix custom path navigations not working for custom entity types, update EntityJS version in-dev (Thanks Liopyu!)
- Add the ability to create custom glass operations
- Fix custom horizontal support block loot tables
- Add
TICKS_IN_HOUR,HOURS_IN_DAY,TICKS_IN_DAY,MONTHS_IN_YEAR, andTICKS_IN_MINUTEfields to calendar bindings - Remove deprecated methods in fauna registration, ISM, rock settings, and worldgen data events
- Add independent
getPos()method to events where it makes sense to access
- Add
tfc:jugandtfc:glass_bottleitem types, similar to thetfc:fluid_containeritem type, but can be drunken from - De-hardcode most non-crop resource generation
- Add
/kubejs_tfc list_idsand/kubejs_tfc describecommands which can be used to print info about some of TFC's data types
- Add Beneath nether fertilizer and lost page builders to the
TFCEvents.dataevent if it is installed - Register the previously missing dispenser behaviors for custom
tfc:fluid_containeritems - Fix the
#withPreExistingmethod not working as intended in custom ground cover blocks - Yet more custom crop fixes (hopefully for the last time)