Skip to content

Commit

Permalink
Re-add block assignments, fixes weird errors on startup?
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Jun 13, 2017
1 parent b4a5374 commit 011c560
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/main/java/mod/chiselsandbits/render/SmartModelManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,25 @@ public class SmartModelManager
public SmartModelManager()
{
ChiseledBlockSmartModel smartModel = new ChiseledBlockSmartModel();
add( new ResourceLocation( ChiselsAndBits.MODID, "models/item/block_chiseled" ), smartModel );
ChiselsAndBits.getInstance().addClearable( smartModel );

add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_iron" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_clay" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_cloth" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_packedIce" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_ice" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_wood" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_rock" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_glass" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_ground" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_sand" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_grass" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_fluid" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_snow" ), smartModel );
add( new ResourceLocation( ChiselsAndBits.MODID, "chiseled_leaves" ), smartModel );

add( new ResourceLocation( ChiselsAndBits.MODID, "models/item/block_chiseled" ), smartModel );

add( new ResourceLocation( ChiselsAndBits.MODID, "models/item/block_bit" ), new BitItemSmartModel() );
add( new ResourceLocation( ChiselsAndBits.MODID, "models/item/positiveprint_written_preview" ), new PrintSmartModel( "positiveprint", ChiselsAndBits.getItems().itemPositiveprint ) );
add( new ResourceLocation( ChiselsAndBits.MODID, "models/item/negativeprint_written_preview" ), new PrintSmartModel( "negativeprint", ChiselsAndBits.getItems().itemNegativeprint ) );
Expand Down

0 comments on commit 011c560

Please sign in to comment.