promotional bannermobile promotional banner

Yes Flint Knapping

Fork of No Tree Punching mod for 1.12.2 stripping out most content and adding some CraftTweaker functionality.

This is a fork of the No Tree Punching mod for 1.12.2. Most of the content has been removed, and some additional things have been added.

 

The only things that are left are:

 

1. The knapping mechanic - It received a rework; it's now generic and has CraftTweaker support to knap any item into any other ItemStack, configure the sound effect played, and the block you need to aim at.

2. The chopping mechanic - (Soon the be overhauled - it will be generified to allow any tool + block combo as well as CT support)

3. The knife mechanic - (Soon to be overhauled - it will be generified to allow any main hand + offhand item combo as well as CT support)

4. The mechanic preventing you from mining blocks without the right tool (I kept in the config option from the original version of the mod to disable that if you don't want that)

5. The large clay vessel

6. The tools with the exception of the flint tools

 

This was made for personal modpack reasons, however, feel free to use this in your own pack if you desire similar mechanics.

 

In the future, there will be a config option to disable the clay vessel and the tools because I kept them in for modpack reasons and people might want to use this fork for the CT mechanics.

 

 

 

 

 

 

CraftTweaker methods:
mods.yesflintknapping.Knapping.add(float chance, float chanceSuccess, IIngredient input, IItemStack... output)
mods.yesflintknapping.Knapping.addCustom(String blockOverride, String soundEvent, float chance, float chanceSuccess, IIngredient input, IItemStack... output)
mods.yesflintknapping.Knapping.remove(IIngredient input)

 

If you enter "default" for blockOverride and soundEvent, it will use the default. (Material.ROCK and the usual knapping sound respectively.)

Chance just goes from 0.0 to 1.0.

 

Example code:

import mods.yesflintknapping.Knapping;

Knapping.add(0.6, 0.7, <minecraft:dirt>, <minecraft:diamond>*2, <minecraft:emerald>*5);
// This will knap a dirt block into two diamonds and five emeralds upon a successful knap, which has a 70% chance. An attempt at a knap in the first place has a 60% chance in this example.

The Yes Flint Knapping Team

profile avatar
  • 4
    Followers
  • 9
    Projects
  • 21.2K
    Downloads

More from Gliese_832_cView all

  • Selection GUI Crafting project image

    Selection GUI Crafting

    • 376
    • Mods

    Mod for modpack authors allowing the addition of recipes that are performed with holding the right items and pressing RMB using CraftTweaker.

    • 376
    • November 6, 2023
    • Mods
    • +1
  • Nova Lux Vehiculum project image

    Nova Lux Vehiculum

    • 6.2K
    • Mods

    Immersive Vehicles add-on featuring a variety of vehicles such as ships and hot air balloons.

    • 6.2K
    • August 15, 2023
    • Mods
    • +2
  • Quanta project image

    Quanta

    • 1.6K
    • Modpacks

    A progression tech pack that based around more realistic ore processing and realism

    • 1.6K
    • May 5, 2023
    • Modpacks
  • Bigger Crafting Tables - No Backpacks Edition project image

    Bigger Crafting Tables - No Backpacks Edition

    • 583
    • Mods

    Fork of the Bigger Crafting Tables mod that adds a config option to disable the tables keeping their contents when broken.

    • 583
    • November 29, 2022
    • Mods
  • Selection GUI Crafting project image

    Selection GUI Crafting

    • 376
    • Mods

    Mod for modpack authors allowing the addition of recipes that are performed with holding the right items and pressing RMB using CraftTweaker.

    • 376
    • November 6, 2023
    • Mods
    • +1
  • Nova Lux Vehiculum project image

    Nova Lux Vehiculum

    • 6.2K
    • Mods

    Immersive Vehicles add-on featuring a variety of vehicles such as ships and hot air balloons.

    • 6.2K
    • August 15, 2023
    • Mods
    • +2
  • Quanta project image

    Quanta

    • 1.6K
    • Modpacks

    A progression tech pack that based around more realistic ore processing and realism

    • 1.6K
    • May 5, 2023
    • Modpacks
  • Bigger Crafting Tables - No Backpacks Edition project image

    Bigger Crafting Tables - No Backpacks Edition

    • 583
    • Mods

    Fork of the Bigger Crafting Tables mod that adds a config option to disable the tables keeping their contents when broken.

    • 583
    • November 29, 2022
    • Mods