Description
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.
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.