Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #modloaded tconstruct
- # Written by MoJoCreatior/Player_Athena using crafttweaker gui as a base
- #v2.0
- #Filled Pattern Chest placeholder | makes reading the script much easier
- val patternChest = <tconstruct:tooltables:4>.withTag({
- inventory: {
- Items: [
- {Slot: 0 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:knife_blade"}, Damage: 0 as short},
- {Slot: 1 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:shard"}, Damage: 0 as short},
- {Slot: 2 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:axe_head"}, Damage: 0 as short},
- {Slot: 3 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:sign_head"}, Damage: 0 as short},
- {Slot: 4 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:shovel_head"}, Damage: 0 as short},
- {Slot: 5 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:excavator_head"}, Damage: 0 as short},
- {Slot: 6 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:arrow_shaft"}, Damage: 0 as short},
- {Slot: 7 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:pick_head"}, Damage: 0 as short},
- {Slot: 8 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:large_sword_blade"}, Damage: 0 as short},
- {Slot: 9 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:bow_string"}, Damage: 0 as short},
- {Slot: 10 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:scythe_head"}, Damage: 0 as short},
- {Slot: 11 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:arrow_head"}, Damage: 0 as short},
- {Slot: 12 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:pan_head"}, Damage: 0 as short},
- {Slot: 13 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:tough_binding"}, Damage: 0 as short},
- {Slot: 14 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:broad_axe_head"}, Damage: 0 as short},
- {Slot: 15 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:binding"}, Damage: 0 as short},
- {Slot: 16 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:fletching"}, Damage: 0 as short},
- {Slot: 17 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:sharpening_kit"}, Damage: 0 as short},
- {Slot: 18 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:cross_guard"}, Damage: 0 as short},
- {Slot: 19 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:large_plate"}, Damage: 0 as short},
- {Slot: 20 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:kama_head"}, Damage: 0 as short},
- {Slot: 21 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:wide_guard"}, Damage: 0 as short},
- {Slot: 22 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:tool_rod"}, Damage: 0 as short},
- {Slot: 23 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:hand_guard"}, Damage: 0 as short},
- {Slot: 24 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:hammer_head"}, Damage: 0 as short},
- {Slot: 25 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:tough_tool_rod"}, Damage: 0 as short},
- {Slot: 26 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:sword_blade"}, Damage: 0 as short},
- {Slot: 27 as byte, id: "tconstruct:pattern", Count: 1 as byte, tag: {PartType: "tconstruct:bow_limb"}, Damage: 0 as short}
- ]
- }
- });
- #Filled Casting Chest placeholder | makes reading the script much easier
- val castingChest = <tconstruct:tooltables:4>.withTag({
- inventory: {
- Items: [
- {Slot: 0 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:knife_blade"}, Damage: 0 as short},
- {Slot: 1 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:large_plate"}, Damage: 0 as short},
- {Slot: 2 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:cross_guard"}, Damage: 0 as short},
- {Slot: 3 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:sharpening_kit"}, Damage: 0 as short},
- {Slot: 4 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:binding"}, Damage: 0 as short},
- {Slot: 5 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:broad_axe_head"}, Damage: 0 as short},
- {Slot: 6 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:tough_binding"}, Damage: 0 as short},
- {Slot: 7 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:pan_head"}, Damage: 0 as short},
- {Slot: 8 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:arrow_head"}, Damage: 0 as short},
- {Slot: 9 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:scythe_head"}, Damage: 0 as short},
- {Slot: 10 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:large_sword_blade"}, Damage: 0 as short},
- {Slot: 11 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:pick_head"}, Damage: 0 as short},
- {Slot: 12 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:arrow_shaft"}, Damage: 0 as short},
- {Slot: 13 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:excavator_head"}, Damage: 0 as short},
- {Slot: 14 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:shovel_head"}, Damage: 0 as short},
- {Slot: 15 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:sign_head"}, Damage: 0 as short},
- {Slot: 16 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:axe_head"}, Damage: 0 as short},
- {Slot: 17 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:shard"}, Damage: 0 as short},
- {Slot: 18 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:bow_limb"}, Damage: 0 as short},
- {Slot: 19 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:sword_blade"}, Damage: 0 as short},
- {Slot: 20 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:tough_tool_rod"}, Damage: 0 as short},
- {Slot: 21 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:hammer_head"}, Damage: 0 as short},
- {Slot: 22 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:hand_guard"}, Damage: 0 as short},
- {Slot: 23 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:kama_head"}, Damage: 0 as short},
- {Slot: 24 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:wide_guard"}, Damage: 0 as short},
- {Slot: 25 as byte, id: "tconstruct:cast", Count: 1 as byte, tag: {PartType: "tconstruct:tool_rod"}, Damage: 0 as short},
- {Slot: 26 as byte, id: "tconstruct:cast_custom", Count: 1 as byte, Damage: 4 as short},
- {Slot: 27 as byte, id: "tconstruct:cast_custom", Count: 1 as byte, Damage: 3 as short},
- {Slot: 28 as byte, id: "tconstruct:cast_custom", Count: 1 as byte, Damage: 2 as short},
- {Slot: 29 as byte, id: "tconstruct:cast_custom", Count: 1 as byte, Damage: 1 as short},
- {Slot: 30 as byte, id: "tconstruct:cast_custom", Count: 1 as byte, Damage: 0 as short}
- ]
- }
- });
- #Adds tooltip to the pattern chest in jei so that players will know about the pre-filled recipes whenever they look up the standard recipe.
- <tconstruct:tooltables:4>.addTooltip("
- I have extra recipes for pre-filled patterns and casts.\n
- Filled Pattern Chest can be made with any logs and some blank paterns\n
- Filled Castings Chest can be made with either gold or aluminum brass ingots and blocks."
- );
- # Casting chest made from gold materials
- recipes.addShaped("preFilledCastingChest0", castingChest,
- [[<ore:blockGold>, <ore:ingotGold>, <ore:blockGold>]
- ,[<ore:blockGold>, <ore:chest>, <ore:blockGold>]
- ,[<ore:blockGold>, <ore:blockGold>, <ore:blockGold>]]);
- # Casting chest made from aluminum brass materials
- recipes.addShaped("preFilledCastingChest1", castingChest,
- [[<ore:ingotAlubrass>, <ore:blockAlubrass>, <ore:ingotAlubrass>]
- ,[<ore:blockAlubrass>, <ore:chest>, <ore:blockAlubrass>]
- ,[<ore:ingotAlubrass>, <ore:ingotAlubrass>, <ore:ingotAlubrass>]]);
- # Pattern chest made from logs and patterns
- recipes.addShaped("preFilledPatternChest0", patternChest,
- [[<ore:logWood>, <ore:pattern>, <ore:logWood>]
- ,[<ore:pattern>, <ore:chest>, <ore:pattern>],
- [<ore:logWood>, <ore:logWood>, <ore:logWood>]]);
Add Comment
Please, Sign In to add comment