Skip to content

Commit

Permalink
Grass On Patterns is now properly Colored.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Nov 5, 2016
1 parent 3f11a05 commit dcc58c5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main/java/mod/chiselsandbits/core/ClientSide.java
Expand Up @@ -36,6 +36,7 @@
import mod.chiselsandbits.client.CreativeClipboardTab;
import mod.chiselsandbits.client.ItemColorBits;
import mod.chiselsandbits.client.ItemColorChisled;
import mod.chiselsandbits.client.ItemColorPatterns;
import mod.chiselsandbits.client.ModConflictContext;
import mod.chiselsandbits.client.RenderHelper;
import mod.chiselsandbits.client.TapeMeasures;
Expand Down Expand Up @@ -201,6 +202,21 @@ public void postinit(
Minecraft.getMinecraft().getItemColors().registerItemColorHandler( new ItemColorBits(), modItems.itemBlockBit );
}

if ( modItems.itemPositiveprint != null )
{
Minecraft.getMinecraft().getItemColors().registerItemColorHandler( new ItemColorPatterns(), modItems.itemPositiveprint );
}

if ( modItems.itemNegativeprint != null )
{
Minecraft.getMinecraft().getItemColors().registerItemColorHandler( new ItemColorPatterns(), modItems.itemNegativeprint );
}

if ( modItems.itemMirrorprint != null )
{
Minecraft.getMinecraft().getItemColors().registerItemColorHandler( new ItemColorPatterns(), modItems.itemMirrorprint );
}

for ( final BlockChiseled blk : ChiselsAndBits.getBlocks().getConversions().values() )
{
final Item item = Item.getItemFromBlock( blk );
Expand Down

0 comments on commit dcc58c5

Please sign in to comment.