Added different types of mimic blocks and created their recipes

This commit is contained in:
WayofTime 2016-08-23 17:35:43 -04:00
parent ebd7b1f8da
commit 0420779e5e
10 changed files with 82 additions and 9 deletions

View file

@ -21,7 +21,7 @@ public class DataProviderMimic implements IWailaDataProvider
public ItemStack getWailaStack(IWailaDataAccessor accessor, IWailaConfigHandler config)
{
TileMimic mimic = (TileMimic) accessor.getTileEntity();
return mimic != null && mimic.getStackInSlot(0) != null ? mimic.getStackInSlot(0) : new ItemStack(ModBlocks.mimic);
return mimic != null && mimic.getStackInSlot(0) != null ? mimic.getStackInSlot(0) : new ItemStack(ModBlocks.mimic, 1, mimic.getBlockMetadata());
}
@Override