forked from SlimeKnights/TinkersConstruct
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Added Clay Patterns: Single use patterns for smeltery that supports only tools not requiring a tool forge. Currently unobtainable since I'll leave that to modpack creators. -Added Molten Quartz: A useful material for gating stuff behind the nether. Just melt quartz or quartz block.
- Loading branch information
1 parent
1789e14
commit 18bfeaf
Showing
49 changed files
with
259 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package tconstruct.smeltery.items; | ||
|
||
import java.util.List; | ||
import net.minecraft.creativetab.CreativeTabs; | ||
import net.minecraft.item.*; | ||
import tconstruct.tools.items.Pattern; | ||
|
||
public class ClayPattern extends Pattern | ||
{ | ||
|
||
public ClayPattern(String patternType, String folder) | ||
{ | ||
super(patternName, getPatternNames(patternType), folder); | ||
} | ||
|
||
protected static String[] getPatternNames (String partType) | ||
{ | ||
String[] names = new String[patternName.length]; | ||
for (int i = 0; i < patternName.length; i++) | ||
if (!(patternName[i].equals(""))) | ||
names[i] = partType + patternName[i]; | ||
else | ||
names[i] = ""; | ||
return names; | ||
} | ||
|
||
private static final String[] patternName = new String[] { "ingot", "rod", "pickaxe", "shovel", "axe", "swordblade", "largeguard", "mediumguard", "crossbar", "binding", "frypan", "sign", "knifeblade", "chisel", "", "", "", "", "", "", "", "", "fullguard", "", "", "arrowhead", "gem", "nugget" }; | ||
|
||
@Override | ||
public void getSubItems (Item p_150895_1_, CreativeTabs p_150895_2_, List p_150895_3_) | ||
{ | ||
for (int i = 0; i < patternName.length; i++) | ||
if (!(patternName[i].equals(""))) | ||
p_150895_3_.add(new ItemStack(p_150895_1_, 1, i)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
src/main/java/tconstruct/weaponry/items/WeaponryPatternClay.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package tconstruct.weaponry.items; | ||
|
||
import tconstruct.util.Reference; | ||
import net.minecraft.creativetab.CreativeTabs; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.item.ItemStack; | ||
import tconstruct.tools.items.Pattern; | ||
|
||
import java.util.List; | ||
|
||
public class WeaponryPatternClay extends Pattern { | ||
private static final String[] patternName = new String[] { "", "", "", "bowlimb" }; | ||
|
||
public WeaponryPatternClay(String patternType, String name) { | ||
super(patternName, getPatternNames(patternName, patternType), "patterns/"); | ||
|
||
this.setUnlocalizedName(Reference.prefix(name)); | ||
} | ||
|
||
public static String[] getPatternNames (String[] patternName, String partType) | ||
{ | ||
String[] names = new String[patternName.length]; | ||
for (int i = 0; i < patternName.length; i++) | ||
if (!(patternName[i].equals(""))) | ||
names[i] = partType + patternName[i]; | ||
else | ||
names[i] = ""; | ||
return names; | ||
} | ||
|
||
@Override | ||
public void getSubItems (Item b, CreativeTabs tab, List list) | ||
{ | ||
for (int i = 0; i < patternName.length; i++) | ||
{ | ||
// if (i != 23) | ||
if (!(patternName[i].equals(""))) | ||
list.add(new ItemStack(b, 1, i)); | ||
} | ||
} | ||
|
||
|
||
@Override | ||
public int getPatternCost(ItemStack pattern) { | ||
switch(pattern.getItemDamage()) | ||
{ | ||
case 0: return 1; // shuriken | ||
case 1: return 8; // crossbow limb | ||
case 2: return 10; // crossbow body | ||
case 3: return 3; // bowlimb | ||
} | ||
return 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions
45
src/main/resources/assets/tinker/textures/blocks/liquid_quartz.png.mcmeta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"animation": { | ||
"frametime": 2, | ||
"frames": [ | ||
0, | ||
1, | ||
2, | ||
3, | ||
4, | ||
5, | ||
6, | ||
7, | ||
8, | ||
9, | ||
10, | ||
11, | ||
12, | ||
13, | ||
14, | ||
15, | ||
16, | ||
17, | ||
18, | ||
19, | ||
18, | ||
17, | ||
16, | ||
15, | ||
14, | ||
13, | ||
12, | ||
11, | ||
10, | ||
9, | ||
8, | ||
7, | ||
6, | ||
5, | ||
4, | ||
3, | ||
2, | ||
1 | ||
] | ||
} | ||
} |
Binary file added
BIN
+11.5 KB
src/main/resources/assets/tinker/textures/blocks/liquid_quartz_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions
5
src/main/resources/assets/tinker/textures/blocks/liquid_quartz_flow.png.mcmeta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"animation": { | ||
"frametime": 3 | ||
} | ||
} |
Binary file added
BIN
+1.98 KB
src/main/resources/assets/tinker/textures/items/materials/bucket_quartz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.19 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_arrowhead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.18 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_axe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.29 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_binding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.15 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_bobber.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.01 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_bowstring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.2 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_broadaxe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.24 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_chisel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.15 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_crossbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.26 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_excavator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.01 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_fletching.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.17 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_frypan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_fullguard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.05 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_gem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.16 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_hammerhead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.18 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_ingot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.16 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_knifeblade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.18 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_largeblade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.21 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_largeguard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.1 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_largeplate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.16 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_largerod.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.13 KB
...main/resources/assets/tinker/textures/items/materials/clay_cast_mediumguard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.12 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_nugget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.2 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_pickaxe.png
Oops, something went wrong.
Binary file added
BIN
+2.13 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_rod.png
Oops, something went wrong.
Binary file added
BIN
+2.2 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_scythe.png
Oops, something went wrong.
Binary file added
BIN
+2.16 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_shovel.png
Oops, something went wrong.
Binary file added
BIN
+2.1 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_sign.png
Oops, something went wrong.
Binary file added
BIN
+2.21 KB
src/main/resources/assets/tinker/textures/items/materials/clay_cast_swordblade.png
Oops, something went wrong.
Binary file added
BIN
+2.34 KB
...ain/resources/assets/tinker/textures/items/materials/clay_cast_toughbinding.png
Oops, something went wrong.
Binary file added
BIN
+2.09 KB
src/main/resources/assets/tinker/textures/items/patterns/clay_cast_bowlimb.png
Oops, something went wrong.
Binary file added
BIN
+2.2 KB
...main/resources/assets/tinker/textures/items/patterns/clay_cast_crossbowbody.png
Oops, something went wrong.
Binary file added
BIN
+2.16 KB
...main/resources/assets/tinker/textures/items/patterns/clay_cast_crossbowlimb.png
Oops, something went wrong.
Binary file added
BIN
+2.13 KB
src/main/resources/assets/tinker/textures/items/patterns/clay_cast_shuriken.png
Oops, something went wrong.