Download TFC Origins compat — Minecraft Mods — ModStock

TFC Origins compat

Active

Downloads

0

Last update

5 months ago
Client
Addons

This is a compat mod between tfc and origins, adding new powers that work well with both mods.

Such as a modify food power that works with tfc food, including nutrition
proper documentation for the powers and what not

ok so i looked at it, the current powers that are in are 

tfcorigins:modify_tfc_food 

 and

tfcorigins:dehydrate

,dehydrate works exactly like base origins, exhaust but for water, modify_tfc_food works like the normal Modify Food, just with a 

water_modifier,
grain_modifier,
fruit_modifier,
vegetable_modifier,
protien_modifier,
dairy_modifier field which all work the same as the base food_modifier.
There is also a "ignore_rotten" Boolean field, however the replace stack field doesn't seem to work atm.

There are also 3 entity conditions, 
tfcorigins:rainfall_condition
tfcorigins:current_temperature_condition
tfcorigins:average_temperature_condition

 which should be self explanatory and are FloatComparison, similar to the health condition

 

There is an item condition that is 

tfcorigins:is_rotten

 which will return true if the item is rotten, note that with the power "origins:prevent_item_use" and this condition, the player will still do the eating animation but will never finish using the item.

And finally there are 2 entity actions

tfcorigins:tfc_feed
tfcorigins:add_nutrients

 work similarly to the base origins action as well as the modify food from before, where it takes in a specific field and a number (the "food" field needs an int where the rest need a float) and applies that when you activate that action. it's a little jank atm so ill look into that

Project members
redstoneguy10ls

redstoneguy10ls