[CraftTweaker2]ZenScriptにおける使用済みアイテムのメタデータ値付与

返信する



Botによる不正利用を防止するため認証を行ってください。
   

展開ビュー トピックのレビュー: [CraftTweaker2]ZenScriptにおける使用済みアイテムのメタデータ値付与

[CraftTweaker2]ZenScriptにおける使用済みアイテムのメタデータ値付与

by こなとーふ » 2020年6月23日(火) 18:14

< 概要 >

 Javaよりは簡単に組めるスクリプトとして、CraftTweaker2(旧MineTweaker3)で採用されているZenScriptは、
 構造は簡単であるが故に、痒いところに手が届かない部分がある為、自身の備忘録の為にも記載。

< 紹介事例 >

 武器や防具などの装備等は使用するたびに耐久値(Durability)が減少する為、アイテムの状態を取得しようとしたが、
 CraftTweaker2には最大耐久値の変更プロパティは存在するものの、メタデータ値をgetするものは存在しない。

 つまりは、使用品含む対象のアイテムをaddRecipeする為には、下記のように全耐久値指定してしまうのが最も容易。
ex. 鉄のシャベルを鉄のインゴット1個に変換するShapeless Recipe

コード: 全て選択

recipes.addShapeless(<minecraft:iron_ingot>, [<minecraft:iron_shovel:*>]);(
< 問題点 >

 しかし、上記のレシピを追加すると、残耐久値に関わらず1個の鉄のインゴットが生成されてしまい、
 ゲームバランスの観点から不都合が発生してしまう。

 仮にダイヤモンドのシャベルだとすると、1個のダイヤモンドがあれば、実質無限にダイヤモンドのシャベルが生成できてしまう。

< 対策案 >

 1.使用パッケージのインポート

コード: 全て選択

import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemCondition;
 2.IItemStackによるアイテム情報配列化
  条件文で要素を取得する際に容易になる。

コード: 全て選択

val craftItems = [
		<minecraft:iron_pickaxe>,
		<minecraft:iron_axe>,
		<minecraft:iron_hoe>,
		<minecraft:iron_shovel>,
		<minecraft:shears>
] as IItemStack;
 3.最大耐久値とクラフティング後アイテムの変数化
  最大耐久値のMetaをgetすることができない為、アイテム毎の最大耐久値用の変数を作成。

コード: 全て選択

//鉄のツール類の耐久値
val durIronTools = 251;

//クラフティング後アイテム
val itemIronIngot = <minecraft:iron_ingot>;
val itemIronNugget = <minecraft:iron_nugget>;
 4.ループ文と条件文によるレシピの追加
  craftItems配列に追加された全アイテムへMetaデータを付与する
Example Sources
Show

コード: 全て選択

//配列分ループする
for reqItems in craftItems {

	//一時変数を初期化
	var i=0;
	
		//該当のアイテムにヒットした場合処理する条件文
		if (reqItems has <minecraft:iron_pickaxe> | 
		reqItems has <minecraft:iron_axe> | 
		reqItems has <minecraft:iron_sword> |
		reqItems has <minecraft:shears> |
		reqItems has <minecraft:iron_shovel>) {
		
		//durIronTools変数で格納された分ループ
		while (i <= durIronTools){
		
			//.withDamageプロパティにて配列へ格納されているアイテムへ耐久値付与
			var reqValItem = reqItems.withDamage(i);
			
				//配列要素にヒットしたアイテムの処理
				//残り耐久値25%、50%、51%以上で得られるアイテムを判断する条件文
				if (reqItems has <minecraft:iron_pickaxe> |
					reqItems has <minecraft:iron_axe>) {
					if (i >= 0 & i <= durIronTools/4) {
						recipes.addSharpless(itemIronIngot*3, [reqValItem]);
					} else if (i >= durIronTools/4+1 & i <= durIronTools/2) {
						recipes.addSharpless(itemIronIngot*2, [reqValItem]);
					} else if (i >= durIronTools/2+1 & i <= durIronTools) {
						recipes.addSharpless(itemIronIngot, [reqValItem]);
					} else {
						//異常処理時ループを抜け、クラッシュログを出力
						print("This script has been crashed.");
						break;
					}
				}
				if (reqItems has <minecraft:iron_sword> |
					reqItems has <minecraft:shears>) {
					if (i >= 0 & i <= durIronTools/4) {
						recipes.addSharpless(itemIronIngot*2,[reqValItem]);
					} else if (i >= durIronTools/4+1 & i <= durIronTools/2) {
						recipes.addSharpless(itemIronIngot, [reqValItem]);
					} else if (i >= durIronTools/2+1 & i <= durIronTools) {
						recipes.addSharpless(itemIronNugget *4, [reqValItem]);
					} else {
						print("This script has been crashed.");
						break;
					}
				}
				if (reqItems has <minecraft:iron_shovel>) {
					if (i >= 0 & i <= durIronTools/4) {
						recipes.addSharpless(itemIronIngot, [reqValItem]);
					} else if (i >= durIronTools/4+1 & i <= durIronTools/2) {
						recipes.addSharpless(itemIronNugget *4, [reqValItem]);
					} else if (i >= durIronTools/2+1 & i <= durIronTools) {
						recipes.addSharpless(itemIronNugget *2, [reqValItem]);
					} else {
						print("This script has been crashed.");
						break;
					}
				}
				//一時変数の値へ1追加
				i += 1;
		}
	}
}	
 5.完成したソース
addShaplessRecipe.zs
Show

コード: 全て選択

//使用パッケージインポート
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemCondition;

//アイテムを配列化
val craftItems = [
		<minecraft:iron_pickaxe>,
		<minecraft:iron_axe>,
		<minecraft:iron_hoe>,
		<minecraft:iron_shovel>,
		<minecraft:shears>
] as IItemStack;

//鉄のツール類の耐久値
val durIronTools = 251;

//クラフティング後アイテム
val itemIronIngot = <minecraft:iron_ingot>;
val itemIronNugget = <minecraft:iron_nugget>;

//配列分ループする
for reqItems in craftItems {

	//一時変数を初期化
	var i=0;
	
		//該当のアイテムにヒットした場合処理する条件文
		if (reqItems has <minecraft:iron_pickaxe> | 
		reqItems has <minecraft:iron_axe> | 
		reqItems has <minecraft:iron_sword> |
		reqItems has <minecraft:shears> |
		reqItems has <minecraft:iron_shovel>) {
		
		//durIronTools変数で格納された分ループ
		while (i <= durIronTools){
		
			//.withDamageプロパティにて配列へ格納されているアイテムへ耐久値付与
			var reqValItem = reqItems.withDamage(i);
			
				//配列要素にヒットしたアイテムの処理
				//残り耐久値25%、50%、51%以上で得られるアイテムを判断する条件文
				if (reqItems has <minecraft:iron_pickaxe> |
					reqItems has <minecraft:iron_axe>) {
					if (i >= 0 & i <= durIronTools/4) {
						recipes.addSharpless(itemIronIngot*3, [reqValItem]);
					} else if (i >= durIronTools/4+1 & i <= durIronTools/2) {
						recipes.addSharpless(itemIronIngot*2, [reqValItem]);
					} else if (i >= durIronTools/2+1 & i <= durIronTools) {
						recipes.addSharpless(itemIronIngot, [reqValItem]);
					} else {
						//異常処理時ループを抜け、クラッシュログを出力
						print("This script has been crashed.");
						break;
					}
				}
				if (reqItems has <minecraft:iron_sword> |
					reqItems has <minecraft:shears>) {
					if (i >= 0 & i <= durIronTools/4) {
						recipes.addSharpless(itemIronIngot*2,[reqValItem]);
					} else if (i >= durIronTools/4+1 & i <= durIronTools/2) {
						recipes.addSharpless(itemIronIngot, [reqValItem]);
					} else if (i >= durIronTools/2+1 & i <= durIronTools) {
						recipes.addSharpless(itemIronNugget *4, [reqValItem]);
					} else {
						print("This script has been crashed.");
						break;
					}
				}
				if (reqItems has <minecraft:iron_shovel>) {
					if (i >= 0 & i <= durIronTools/4) {
						recipes.addSharpless(itemIronIngot, [reqValItem]);
					} else if (i >= durIronTools/4+1 & i <= durIronTools/2) {
						recipes.addSharpless(itemIronNugget *4, [reqValItem]);
					} else if (i >= durIronTools/2+1 & i <= durIronTools) {
						recipes.addSharpless(itemIronNugget *2, [reqValItem]);
					} else {
						print("This script has been crashed.");
						break;
					}
				}
				//一時変数の値へ1追加
				i += 1;
		}
	}
}	
 5.処理結果
  長いので注意
Script Log
Show
(中略)
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:1>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:2>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:3>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:4>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:5>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:6>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:7>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:8>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:9>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:10>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:11>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:12>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:13>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:14>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:15>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:16>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:17>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:18>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:19>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:20>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:21>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:22>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:23>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:24>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:25>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:26>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:27>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:28>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:29>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:30>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:31>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:32>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:33>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:34>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:35>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:36>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:37>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:38>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:39>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:40>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:41>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:42>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:43>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:44>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:45>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:46>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:47>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:48>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:49>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:50>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:51>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:52>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:53>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:54>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:55>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:56>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:57>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:58>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:59>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:60>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:61>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:62>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:63>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:64>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:65>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:66>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:67>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:68>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:69>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:70>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:71>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:72>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:73>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:74>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:75>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:76>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:77>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:78>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:79>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:80>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:81>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:82>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:83>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:84>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:85>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:86>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:87>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:88>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:89>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:90>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:91>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:92>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:93>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:94>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:95>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:96>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:97>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:98>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:99>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:100>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:101>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:102>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:103>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:104>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:105>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:106>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:107>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:108>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:109>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:110>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:111>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:112>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:113>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:114>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:115>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:116>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:117>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:118>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:119>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:120>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:121>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:122>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:123>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:124>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:125>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:126>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:127>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:128>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:129>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:130>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:131>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:132>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:133>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:134>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:135>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:136>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:137>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:138>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:139>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:140>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:141>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:142>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:143>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:144>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:145>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:146>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:147>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:148>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:149>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:150>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:151>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:152>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:153>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:154>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:155>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:156>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:157>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:158>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:159>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:160>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:161>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:162>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:163>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:164>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:165>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:166>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:167>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:168>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:169>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:170>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:171>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:172>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:173>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:174>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:175>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:176>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:177>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:178>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:179>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:180>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:181>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:182>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:183>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:184>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:185>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:186>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:187>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:188>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:189>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:190>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:191>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:192>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:193>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:194>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:195>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:196>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:197>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:198>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:199>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:200>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:201>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:202>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:203>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:204>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:205>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:206>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:207>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:208>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:209>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:210>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:211>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:212>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:213>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:214>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:215>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:216>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:217>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:218>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:219>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:220>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:221>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:222>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:223>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:224>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:225>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:226>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:227>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:228>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:229>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:230>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:231>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:232>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:233>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:234>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:235>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:236>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:237>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:238>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:239>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:240>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:241>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:242>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:243>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:244>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:245>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:246>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:247>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:248>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:249>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:250>
[POSTINITIALIZATION][CLIENT][INFO] Adding shapeless recipe for <minecraft:iron_shovel:251>
< 終わりに >

 CraftTweaker2は連携しているMODも非常に多く、パッケージとして読み込めるので、
 MODでは実装していないこうすればいいのに、が実現できる神MODな気がします(ステマ)

 getDurabilityみたいなプロパティがないので、如何せん力技なコードになりがち(´・ω・`)

ページトップ