Config to only render routing lines while an INodeRenderer is held
Current INodeRenderer's are the Node Router and all Routing Nodes
This commit is contained in:
parent
507d41111d
commit
3f8cccf056
7 changed files with 111 additions and 80 deletions
|
@ -0,0 +1,13 @@
|
|||
package WayofTime.bloodmagic.item.block;
|
||||
|
||||
import WayofTime.bloodmagic.api.iface.INodeRenderer;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
|
||||
public class ItemBlockRoutingNode extends ItemBlock implements INodeRenderer
|
||||
{
|
||||
public ItemBlockRoutingNode(Block block)
|
||||
{
|
||||
super(block);
|
||||
}
|
||||
}
|
|
@ -3,6 +3,7 @@ package WayofTime.bloodmagic.item.routing;
|
|||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import WayofTime.bloodmagic.api.iface.INodeRenderer;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -21,7 +22,7 @@ import WayofTime.bloodmagic.routing.IRoutingNode;
|
|||
import WayofTime.bloodmagic.util.ChatUtil;
|
||||
import WayofTime.bloodmagic.util.helper.TextHelper;
|
||||
|
||||
public class ItemNodeRouter extends Item
|
||||
public class ItemNodeRouter extends Item implements INodeRenderer
|
||||
{
|
||||
public ItemNodeRouter()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue