可能包含个人理解内容不懂的都是用的机翻

如果有错,欢迎指出

内含食物腐烂时间与腐烂后的物品教程

# Configuration file


general {

    # Configured items rot over time.

#启用食物腐烂

    B:"Enable rot"=true


    # Ticks between evaluating for rot and preservation.  Increase to reduce CPU expense, in exchange for longer delays seeing rot and preservation.

#在评估腐烂和保存之间打勾。增加以减少 CPU 消耗,以换取看到腐烂和保存的更长延迟。

    # Min: 1

    # Max: 2147483647

    I:"Ticks between evaluation"=90


    ##########################################################################################################

    # rotting

    #--------------------------------------------------------------------------------------------------------#

    # Set rot days and id for items.

    ##########################################################################################################


    rotting {

        # Allows stacking of items created around same time.  Higher values will increase stacking at cost of strange initial rot percentage.

#允许堆叠在一些腐烂程度内的食物,但是会出现奇怪的腐烂值

        # Min: 0

        # Max: 100

        I:"Chunking percentage"=1


        # When a planted rottable grows a stage, rot is reset

 #当种植的腐烂物生长到一个阶段时,腐烂会重置

        B:"Planted rottables refresh on growth"=true


        # Allows non-item melons, pumpkins, potatos, and carrots to rot by replacing them with custom versions.

#通过用自定义版本替换非物品西瓜、南瓜、土豆和胡萝卜,让它们腐烂。

        B:"Replace special vanilla things"=true


        # Allows merging rottable items with different rot times

#允许将不同腐烂度的食物合成以换取更低腐烂度的食物类似于弓和弓合成

        B:"Rottable merge recipe"=true


        ##########################################################################################################

        # days to rot

        #--------------------------------------------------------------------------------------------------------#

        # -1 disables rotting on this item.

#-1让食物不腐烂

        ##########################################################################################################


        "days to rot" {

#格式是I:"食物ID"=腐烂的天数 不配置的任何食物都将是7天腐烂

#举个例子 I:"minecraft:apple"=1

#就是让苹果的腐烂时间为1天

            I:"foodfunk:biodegradable_item"=-1

            I:"foodfunk:rottable"=7

            I:"foodfunk:rotted_item"=-1

            I:"foodfunk:rotten_food"=-1

            I:listAllmelons=14

            I:listAllseedfoods=10

            I:"minecraft:beef"=7

            I:"minecraft:cake"=10

            I:"minecraft:carrot"=10

            I:"minecraft:chicken"=7

            I:"minecraft:cooked_beef"=7

            I:"minecraft:cooked_chicken"=7

            I:"minecraft:cooked_fish"=7

            I:"minecraft:cooked_porkchop"=7

            I:"minecraft:fermented_spider_eye"=10

            I:"minecraft:fish"=7

            I:"minecraft:food"=7

            I:"minecraft:golden_apple"=28

            I:"minecraft:melon_block"=14

            I:"minecraft:milk_bucket"=7

            I:"minecraft:porkchop"=7

            I:"minecraft:potato"=10

            I:"minecraft:pumpkin"=14

            I:"minecraft:rotten_flesh"=-1

            I:"minecraft:speckled_melon"=28

            I:"minecraft:spider_eye"=5

        }


        ##########################################################################################################

        # rotten id

        #--------------------------------------------------------------------------------------------------------#

        # Rots into this item.  Set blank to rot into nothing

#在这里,=号后面不填则消失

        ##########################################################################################################


        "rotten id" {

#这里的格式是 S:"食物D"=腐烂后的物品ID 不配置的任何食物在腐烂后都会变成空气

#举个例子: S:"minecraft:apple"=minecraft:spider_eye

#就是在苹果腐烂后变成蜘蛛眼

            S:"foodfunk:biodegradable_item"=

            S:"foodfunk:rottable"=foodfunk:rotten_food

            S:"foodfunk:rotted_item"=

            S:"foodfunk:rotten_food"=

            S:listAllmelons=foodfunk:rotten_food

            S:listAllseedfoods=foodfunk:rotten_food

            S:"minecraft:beef"=minecraft:rotten_flesh

            S:"minecraft:cake"=foodfunk:rotten_food

            S:"minecraft:carrot"=foodfunk:rotten_food

            S:"minecraft:chicken"=minecraft:rotten_flesh

            S:"minecraft:cooked_beef"=minecraft:rotten_flesh

            S:"minecraft:cooked_chicken"=minecraft:rotten_flesh

            S:"minecraft:cooked_fish"=minecraft:rotten_flesh

            S:"minecraft:cooked_porkchop"=minecraft:rotten_flesh

            S:"minecraft:fermented_spider_eye"=minecraft:rotten_flesh

            S:"minecraft:fish"=minecraft:rotten_flesh

            S:"minecraft:food"=foodfunk:rotten_food

            S:"minecraft:golden_apple"=foodfunk:rotten_food

            S:"minecraft:melon_block"=foodfunk:rotten_food

            S:"minecraft:milk_bucket"=foodfunk:spoiled_milk

            S:"minecraft:porkchop"=minecraft:rotten_flesh

            S:"minecraft:potato"=foodfunk:rotten_food

            S:"minecraft:pumpkin"=foodfunk:rotten_food

            S:"minecraft:rotten_flesh"=

            S:"minecraft:speckled_melon"=foodfunk:rotten_food

            S:"minecraft:spider_eye"=minecraft:fermented_spider_eye

        }


    }


    ##########################################################################################################

    # modifiers

    #--------------------------------------------------------------------------------------------------------#

    # Set values that modify rot speed for preserving containers and dimensions.

#设置修改旋转速度的值以保留容器和尺寸。


    ##########################################################################################################


    modifiers {


        ##########################################################################################################

        # preserving ratio

        #--------------------------------------------------------------------------------------------------------#

        # When in listed container, contents will rot normally at 0, half speed at 50, and never at 100

#在列出的容器可以塞物品的中,设置为0则正常腐烂,设置为50则腐烂速度减半,设置为100则不腐烂

        ##########################################################################################################


        "preserving ratio" {

#格式为 I:"方块名称"=腐烂速度 未添加的容器腐烂速度都为正常腐烂

#举个例子 i:"minecraft:chest"=50

#则物品在箱子中的腐烂速度减半

            I:"cfm:esky"=50

            I:"cfm:freezer"=100

            I:"composter:compost_bin"=-5000

            I:"cookingforblockheads:fridge"=50

            I:"cookingforblockheads:ice_unit"=100

            I:"foodfunk:esky"=50

            I:"foodfunk:freezer"=100

            I:"foodfunk:icebox"=100

            I:"foodfunk:larder"=50

            I:"minecraft:cfmesky"=50

            I:"minecraft:cfmfreezer"=100

            I:"minecraft:cfmfridge"=100

        }


        ##########################################################################################################

        # dimension ratio

        #--------------------------------------------------------------------------------------------------------#

        # When in listed dimension, contents will rot double speed at 200, normally at 100, never at 0, and half speed at -100

#当处于以下维度时,食物的腐烂将与维度的腐烂速度挂钩,200为加速两倍腐烂,通常为100,设置为0的则不会腐烂,在-100时食物腐烂时间减半


        ##########################################################################################################


        "dimension ratio" {

            I:-1=200

            I:0=100

            I:1=0

        }


    }


    ##########################################################################################################

    # rotten

    #--------------------------------------------------------------------------------------------------------#

    # Set values about rotten items.

#设置关于腐烂食物的数值

    ##########################################################################################################


    rotten {

        # Food heal amount for the foodfunk:rotten_food item.

#腐烂食物的饥饿值

        # Min: 0

        # Max: 2147483647

        I:"Food heal amount"=1


        # Mob effect aka potion effect for eating rotten item.

#吃下腐烂的食物后使用的药水效果

        S:"Food mob effect"=minecraft:hunger


        # Duration of mob effect aka potion effect for eating rotten item.

#吃下腐烂食物后的药水效果的持续时间

        # Min: 0

        # Max: 2147483647

        I:"Food mob effect duration"=600


        # Probability of mob effect being applied when rotten item eaten.

#吃下腐烂食物后的得到药水效果的概率

        # Min: 0.0

        # Max: 1.0

        D:"Food mob effect probability"=0.6


        # Food saturation for the foodfunk:rotten_food item.

#腐烂食物的饱和度

        # Min: 0.0

        # Max: 1.7976931348623157E308

        D:"Food saturation amount"=0.1

    }


    ##########################################################################################################

    # debugging

    #--------------------------------------------------------------------------------------------------------#

    # Debugging options

    ##########################################################################################################


    debugging {

        # Enable debug features on this menu, display extra debug info.

#启用调试模式,显示额外信息

        B:"Debug mode"=false


        # Speed or slow all rot. < 1 faster, > 1 slower.

#全局腐烂时间,小于1则块,大于1则慢

        D:"Rot time multiplier"=1.0

    }


}