mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
Remove the need for ToolPartHidden.
This commit is contained in:
1 parent
74c92e5939
commit
1e8c0097b3
4 files changed
+18
-1
No files matched your search
@@ -238,7 +238,7 @@ public class TinkerTools
|
||||
TinkerTools.handGuard = new DynamicToolPart("_medium_guard", "MediumGuard");
|
||||
TinkerTools.crossbar = new DynamicToolPart("_crossbar", "Crossbar");
|
||||
TinkerTools.knifeBlade = new DynamicToolPart("_knife_blade", "KnifeBlade");
|
||||
TinkerTools.fullGuard = new ToolPartHidden("_full_guard", "FullGuard").setUnlocalizedName("tconstruct.FullGuard"); // todo
|
||||
TinkerTools.fullGuard = new DynamicToolPart("_full_guard", "FullGuard").hide();
|
||||
|
||||
TinkerTools.frypanHead = new DynamicToolPart("_frypan_head", "FrypanHead");
|
||||
TinkerTools.signHead = new DynamicToolPart("_battlesign_head", "SignHead");
|
||||
|
||||
@@ -9,6 +9,7 @@ import tconstruct.library.TConstructRegistry;
|
||||
import tconstruct.library.util.IToolPart;
|
||||
import tconstruct.tools.TinkerTools;
|
||||
|
||||
@Deprecated
|
||||
public class ToolPart extends CraftingItem implements IToolPart
|
||||
{
|
||||
public String partName;
|
||||
|
||||
@@ -4,6 +4,7 @@ import java.util.List;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
@Deprecated
|
||||
public class ToolPartHidden extends ToolPart
|
||||
{
|
||||
|
||||
|
||||
Reference in new issue
Block a user