mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-24 05:54:34 +00:00
quick fix : Explicit type can be replaced with <>
This commit is contained in:
1 parent
7abe2f5182
commit
60f7add07f
55 files changed
+132
-132
No files matched your search
@@ -14,11 +14,11 @@ import tconstruct.library.util.IPattern;
|
||||
public class PatternBuilder {
|
||||
public static PatternBuilder instance = new PatternBuilder();
|
||||
// Map items to their parts with a hashmap
|
||||
public List<ItemKey> materials = new ArrayList<ItemKey>();
|
||||
public HashMap<String, MaterialSet> materialSets = new HashMap<String, MaterialSet>();
|
||||
public List<ItemKey> materials = new ArrayList<>();
|
||||
public HashMap<String, MaterialSet> materialSets = new HashMap<>();
|
||||
|
||||
// We could use IRecipe if it wasn't tied to InventoryCrafting
|
||||
public List<IPattern> toolPatterns = new ArrayList<IPattern>();
|
||||
public List<IPattern> toolPatterns = new ArrayList<>();
|
||||
|
||||
/* Register methods */
|
||||
public void registerMaterial(ItemStack material, int value, String key) {
|
||||
|
||||
Reference in new issue
Block a user