Fixed #264 - Now hiding fluid blocks from NEI
This commit is contained in:
parent
654103b703
commit
3c4808bb6c
2 changed files with 15 additions and 5 deletions
|
@ -63,7 +63,7 @@ public class PartPipe extends PartFramedConnection<EnumPipeMaterial, IFluidPipe,
|
|||
{
|
||||
super.update();
|
||||
|
||||
if (!world().isRemote && markPacket && ticks % 10 == 0)
|
||||
if (!world().isRemote && markPacket)
|
||||
{
|
||||
sendFluidUpdate();
|
||||
markPacket = false;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package resonantinduction.core.nei;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import resonantinduction.core.ResonantInduction;
|
||||
import codechicken.nei.api.API;
|
||||
import codechicken.nei.api.IConfigureNEI;
|
||||
|
||||
|
@ -11,18 +13,26 @@ public class NEIResonantInductionConfig implements IConfigureNEI
|
|||
{
|
||||
API.registerRecipeHandler(new RIGrinderRecipeHandler());
|
||||
API.registerUsageHandler(new RIGrinderRecipeHandler());
|
||||
|
||||
|
||||
API.registerRecipeHandler(new RICrusherRecipeHandler());
|
||||
API.registerUsageHandler(new RICrusherRecipeHandler());
|
||||
|
||||
|
||||
API.registerRecipeHandler(new RIMixerRecipeHandler());
|
||||
API.registerUsageHandler(new RIMixerRecipeHandler());
|
||||
|
||||
|
||||
API.registerRecipeHandler(new RISawmillRecipeHandler());
|
||||
API.registerUsageHandler(new RISawmillRecipeHandler());
|
||||
|
||||
|
||||
API.registerRecipeHandler(new RISmelterRecipeHandler());
|
||||
API.registerUsageHandler(new RISmelterRecipeHandler());
|
||||
|
||||
for (Block block : ResonantInduction.blockFluidMixtures)
|
||||
API.hideItem(block.blockID);
|
||||
|
||||
for (Block block : ResonantInduction.blockFluidMaterials)
|
||||
API.hideItem(block.blockID);
|
||||
|
||||
API.hideItem(ResonantInduction.blockDust.blockID);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue