Radiation Scrubber

Link to radiation-scrubber

Importing the Package

Link to importing-the-package

mods.nuclearcraft.RadiationScrubber

ZenScript
Copy
mods.nuclearcraft.RadiationScrubber.addRecipe(IIngredient itemInput, ILiquidStack fluidInput, IIngredient itemOutput, ILiquidStack fluidOutput, int processTime, int processPower, double processEfficiency);

Removing Recipes

Link to removing-recipes

ZenScript
Copy
mods.nuclearcraft.RadiationScrubber.removeRecipeWithInput(IIngredient itemInput, ILiquidStack fluidInput);
mods.nuclearcraft.RadiationScrubber.removeRecipeWithOutput(IIngredient itemOutput, ILiquidStack fluidOutput);
mods.nuclearcraft.RadiationScrubber.removeAllRecipes();

Importing the Package

Link to importing-the-package-1

mods.nuclearcraft.RadiationBlockMutation

ZenScript
Copy
mods.nuclearcraft.RadiationBlockMutation.addRecipe(IIngredient blockInput, IIngredient blockOutput, double radiationThreshold);
ZenScript
Copy
mods.nuclearcraft.RadiationBlockMutation.removeRecipeWithInput(IIngredient blockInput);
mods.nuclearcraft.RadiationBlockMutation.removeRecipeWithOutput(IIngredient blockOutput);
mods.nuclearcraft.RadiationBlockMutation.removeAllRecipes();

Block Purification

Link to block-purification

Importing the Package

Link to importing-the-package-2

mods.nuclearcraft.RadiationBlockPurification

ZenScript
Copy
mods.nuclearcraft.RadiationBlockPurification.addRecipe(IIngredient blockInput, IIngredient blockOutput, double radiationThreshold);
ZenScript
Copy
mods.nuclearcraft.RadiationBlockPurification.removeRecipeWithInput(IIngredient blockInput);
mods.nuclearcraft.RadiationBlockPurification.removeRecipeWithOutput(IIngredient blockOutput);
mods.nuclearcraft.RadiationBlockPurification.removeAllRecipes();

Entity Radiation

Link to entity-radiation

amount is the amount of radiation added to the IEntityLivingBase. useImmunity controls whether the function occurs even the IEntityLivingBase is immune.

ZenScript
Copy
IEntityLivingBase::addRadiation(double amount, @Optional boolean useImmunity);
IEntityLivingBase::setRadiation(double amount, @Optional boolean useImmunity);
IEntityLivingBase::getRadiation();

amount is the amount of Radaway Buffer added to the IEntityLivingBase. slowBuffer decides if the Radaway Buffer added is a slow buffer.

ZenScript
Copy
IEntityLivingBase::addRadawayBuffer(double amount, @Optional boolean slowBuffer);
IEntityLivingBase::setRadawayBuffer(double amount, @Optional boolean slowBuffer);
IEntityLivingBase::getRadawayBuffer(boolean slowBuffer);

Note: If slowBuffer is true, getRadawayBuffer() will return the slow-acting radiation removal buffer instead of the normal one.

amount is the amount of Poison Buffer added to the IEntityLivingBase.

ZenScript
Copy
IEntityLivingBase::addPoisonBuffer(double amount);
IEntityLivingBase::setPoisonBuffer(double amount);
IEntityLivingBase::getPoisonBuffer();

Radiation Resistance

Link to radiation-resistance

amount is the amount of Radiation Resistance added to the IEntityLivingBase.

ZenScript
Copy
IEntityLivingBase::addRadiationResistance(double amount);
IEntityLivingBase::setRadiationResistance(double amount);
IEntityLivingBase::getRadiationResistance();

Radiation Level Getters

Link to radiation-level-getters

Raw Radiation Level

Link to raw-radiation-level

This method returns the radiation of the IEntityLivingBase in rads.

ZenScript
Copy
IEntityLivingBase::getRawRadiationLevel();

This method returns the change in radiation level of the IEntityLivingBase in rads/tick.

ZenScript
Copy
IEntityLivingBase::getRadiationLevel();

Ingredient Radiation

Link to ingredient-radiation

This method gets or sets the radiation of an IIngredient in rads/tick.

ZenScript
Copy
mods.nuclearcraft.Radiation.getRadiationLevel(IIngredient ingredient);
mods.nuclearcraft.Radiation.setRadiationLevel(IIngredient ingredient, double radiation);
ZenScript
Copy
mods.nuclearcraft.Radiation.setFoodRadiationStats(IItemStack food, double radiation, double resistance); 

Note: setMaterialRadiationLevel(...) can accept Unix-style wildcards.

ZenScript
Copy
mods.nuclearcraft.Radiation.addToRadiationBlacklist(IIngredient ingredient); 
mods.nuclearcraft.Radiation.setMaterialRadiationLevel(String oreSuffix, double radiation); 

Radiation Immunity

Link to radiation-immunity

This method gives the ability to control the immunity of players depending on the stage. defaultImmunity is a boolean specifiying the players' immunity without the specified stages. stageNames is an array of the names of all stages that can toggle the immunity of players.

ZenScript
Copy
mods.nuclearcraft.Radiation.setRadiationImmunityGameStages(boolean defaultImmunity, String[] stageNames);