跳到正文

Yes Flint Knapping

作者:Gliese_832_c

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.

常见问题

Yes Flint Knapping 支持哪些 Minecraft 版本?

Yes Flint Knapping 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Yes Flint Knapping 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Gliese_832_c 的其他作品

查看全部 →