Added different types of mimic blocks and created their recipes
This commit is contained in:
parent
ebd7b1f8da
commit
0420779e5e
10 changed files with 82 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue