Lothrazar / Cyclic

Minecraft mod written in Java
MIT License
160 stars 96 forks source link

Whitelist to Brush Scythe #1026

Closed CritFlaw closed 5 years ago

CritFlaw commented 5 years ago

Brush Scythe should have a whitelist where you can add additional things it can harvest. Currently Pam's Wee Flowers, and Natura to name a few, are not scyth-able.

Lothrazar commented 5 years ago

6 New config s will be as follows in upcoming release:


    # If true this will try an auto-detect blocks that are a leaf-type by class type, which means harvesting many blocks that are not explicitly in the whitelist.  This is useful for handling vanilla and most modded blocks.  If you want more precise control you can turn this false which means ONLY the whitelists will be harvested, so you would have to add every block yourself.  [default: true]
    B:tool_harvest_leaves.class_defaults=true

    # If true this will try an auto-detect blocks that are a weed/bush/tallgrass type by class type, which means harvesting many blocks that are not explicitly in the whitelist.  This is useful for handling vanilla and most modded blocks.  If you want more precise control you can turn this false which means ONLY the whitelists will be harvested, so you would have to add every block yourself.  [default: true]
    B:tool_harvest_weeds.class_defaults=true

    # Blocks that the Tree Scythe will attempt to harvest as if they are leaves.  A star is for a wildcard  [default: [extratrees:leaves.decorative.0], [extratrees:leaves.decorative.1], [extratrees:leaves.decorative.2], [extratrees:leaves.decorative.3], [extratrees:leaves.decorative.4], [extratrees:leaves.decorative.5], [forestry:leaves.decorative.0], [forestry:leaves.decorative.1], [terraqueous:foliage3:5], [plants2:nether_leaves], [plants2:crystal_leaves], [plants2:leaves_0], [plants2:bush]]
    S:tool_harvest_leaves.whitelist <
        extratrees:leaves.decorative.0
        extratrees:leaves.decorative.1
        extratrees:leaves.decorative.2
        extratrees:leaves.decorative.3
        extratrees:leaves.decorative.4
        extratrees:leaves.decorative.5
        forestry:leaves.decorative.0
        forestry:leaves.decorative.1
        terraqueous:foliage3:5
        plants2:nether_leaves
        plants2:crystal_leaves
        plants2:leaves_0
        plants2:bush
     >

    # Ore dictionary entries that the Tree Scythe will attempt to harvest as if they are leaves.    [default: [treeLeaves]]
    S:tool_harvest_leaves.whitelist_oredict <
        treeLeaves
     >

    # Blocks that the Brush Scythe will attempt to harvest as if they are leaves.  A star is for a wildcard  [default: [plants2:cosmetic_0], [plants2:cosmetic_1], [plants2:cosmetic_2], [plants2:cosmetic_3], [plants2:cosmetic_4], [plants2:desert_0], [plants2:desert_1], [plants2:double_0], [plants2:cataplant], [botany:flower], [biomesoplenty:bamboo], [biomesoplenty:flower_0], [biomesoplenty:flower_1], [biomesoplenty:plant_0], [biomesoplenty:plant_1], [biomesoplenty:mushroom], [biomesoplenty:doubleplant], [biomesoplenty:flower_vine], [biomesoplenty:ivy], [biomesoplenty:tree_moss], [biomesoplenty:willow_vine], [croparia:fruit_grass], [plants2:androsace_a], [plants2:akebia_q_vine], [plants2:ampelopsis_a_vine], [plants2:adlumia_f], [abyssalcraft:wastelandsthorn], [abyssalcraft:luminousthistle], [harvestcraft:garden], [harvestcraft:windygarden], [minecraft:double_plant], [minecraft:red_flower], [minecraft:yellow_flower], [minecraft:brown_mushroom], [minecraft:red_mushroom], [ferdinandsflowers:block_cff_*], [extraplanets:*_flowers], [primal:cineris_grass], [primal:cineris_bloom], [primal:sinuous_weed], [primal:dry_grass_root], [primal:nether_root], [primal:corypha_stalk], [twilightforest:*_plant], [tconstruct:*_grass_tall], [thebetweenlands:*_flower], [thebetweenlands:*_tallgrass], [thebetweenlands:*_stalk], [thebetweenlands:moss], [thebetweenlands:cattail], [thebetweenlands:*_cattail], [thebetweenlands:*_plant], [thebetweenlands:*_coral], [thebetweenlands:*_bush], [thebetweenlands:*_ivy], [thebetweenlands:algae], [thebetweenlands:hanger], [thebetweenlands:nettle], [thebetweenlands:*_iris], [thebetweenlands:*_kelp], [thebetweenlands:fallen_leaves], [thebetweenlands:swamp_reed_*], [thebetweenlands:*_mushroom], [natura:*_vines], [nex:plant_thornstalk]]
    S:tool_harvest_weeds.whitelist <
        plants2:cosmetic_0
        plants2:cosmetic_1
        plants2:cosmetic_2
        plants2:cosmetic_3
        plants2:cosmetic_4
        plants2:desert_0
        plants2:desert_1
        plants2:double_0
        plants2:cataplant
        botany:flower
        biomesoplenty:bamboo
        biomesoplenty:flower_0
        biomesoplenty:flower_1
        biomesoplenty:plant_0
        biomesoplenty:plant_1
        biomesoplenty:mushroom
        biomesoplenty:doubleplant
        biomesoplenty:flower_vine
        biomesoplenty:ivy
        biomesoplenty:tree_moss
        biomesoplenty:willow_vine
        croparia:fruit_grass
        plants2:androsace_a
        plants2:akebia_q_vine
        plants2:ampelopsis_a_vine
        plants2:adlumia_f
        abyssalcraft:wastelandsthorn
        abyssalcraft:luminousthistle
        harvestcraft:garden
        harvestcraft:windygarden
        minecraft:double_plant
        minecraft:red_flower
        minecraft:yellow_flower
        minecraft:brown_mushroom
        minecraft:red_mushroom
        ferdinandsflowers:block_cff_*
        extraplanets:*_flowers
        primal:cineris_grass
        primal:cineris_bloom
        primal:sinuous_weed
        primal:dry_grass_root
        primal:nether_root
        primal:corypha_stalk
        twilightforest:*_plant
        tconstruct:*_grass_tall
        thebetweenlands:*_flower
        thebetweenlands:*_tallgrass
        thebetweenlands:*_stalk
        thebetweenlands:moss
        thebetweenlands:cattail
        thebetweenlands:*_cattail
        thebetweenlands:*_plant
        thebetweenlands:*_coral
        thebetweenlands:*_bush
        thebetweenlands:*_ivy
        thebetweenlands:algae
        thebetweenlands:hanger
        thebetweenlands:nettle
        thebetweenlands:*_iris
        thebetweenlands:*_kelp
        thebetweenlands:fallen_leaves
        thebetweenlands:swamp_reed_*
        thebetweenlands:*_mushroom
        natura:*_vines
        nex:plant_thornstalk
     >

    # Ore dictionary entries that the Brush Scythe will attempt to harvest as if they are leaves.   [default: [vine], [plant], [flowerYellow], [stickWood]]
    S:tool_harvest_weeds.whitelist_oredict <
        vine
        plant
        flowerYellow
        stickWood
     >
Lothrazar commented 5 years ago

report back if it or something else bugs out https://minecraft.curseforge.com/projects/cyclic/files/2657989

katubug commented 5 years ago

Hey, I'm not sure if you've fixed this already, but NetherEx recently changed the mod name from nex to netherex, in case you wanted to change the default config value. :)