Radiation
Link to radiation
Radiation Scrubber
Link to radiation-scrubber
Importing the Package
Link to importing-the-package
mods.nuclearcraft.RadiationScrubber
Adding Recipes
Link to adding-recipes
ZenScript Copymods.nuclearcraft.RadiationScrubber.addRecipe(IIngredient itemInput, ILiquidStack fluidInput, IIngredient itemOutput, ILiquidStack fluidOutput, int processTime, int processPower, double processEfficiency);
Removing Recipes
Link to removing-recipes
ZenScript Copymods.nuclearcraft.RadiationScrubber.removeRecipeWithInput(IIngredient itemInput, ILiquidStack fluidInput);
mods.nuclearcraft.RadiationScrubber.removeRecipeWithOutput(IIngredient itemOutput, ILiquidStack fluidOutput);
mods.nuclearcraft.RadiationScrubber.removeAllRecipes();
Block Mutation
Link to block-mutation
Importing the Package
Link to importing-the-package-1
mods.nuclearcraft.RadiationBlockMutation
Adding Recipes
Link to adding-recipes-1
ZenScript Copymods.nuclearcraft.RadiationBlockMutation.addRecipe(IIngredient blockInput, IIngredient blockOutput, double radiationThreshold);
Removing Recipes
Link to removing-recipes-1
ZenScript Copymods.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
Adding Recipes
Link to adding-recipes-2
ZenScript Copymods.nuclearcraft.RadiationBlockPurification.addRecipe(IIngredient blockInput, IIngredient blockOutput, double radiationThreshold);
Removing Recipes
Link to removing-recipes-2
ZenScript Copymods.nuclearcraft.RadiationBlockPurification.removeRecipeWithInput(IIngredient blockInput);
mods.nuclearcraft.RadiationBlockPurification.removeRecipeWithOutput(IIngredient blockOutput);
mods.nuclearcraft.RadiationBlockPurification.removeAllRecipes();
Entity Radiation
Link to entity-radiation
Radiation
Link to radiation-1
amount
is the amount of radiation added to the IEntityLivingBase
. useImmunity
controls whether the function occurs even the IEntityLivingBase
is immune.
ZenScript CopyIEntityLivingBase::addRadiation(double amount, @Optional boolean useImmunity);
IEntityLivingBase::setRadiation(double amount, @Optional boolean useImmunity);
IEntityLivingBase::getRadiation();
Radaway Buffer
Link to radaway-buffer
amount
is the amount of Radaway Buffer added to the IEntityLivingBase
. slowBuffer
decides if the Radaway Buffer added is a slow buffer.
ZenScript CopyIEntityLivingBase::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.
Poison
Link to poison
amount
is the amount of Poison Buffer added to the IEntityLivingBase
.
ZenScript CopyIEntityLivingBase::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 CopyIEntityLivingBase::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 CopyIEntityLivingBase::getRawRadiationLevel();
Radiation Level
Link to radiation-level
This method returns the change in radiation level of the IEntityLivingBase
in rads/tick.
ZenScript CopyIEntityLivingBase::getRadiationLevel();
Radiation
Link to radiation-2
Ingredient Radiation
Link to ingredient-radiation
This method gets or sets the radiation of an IIngredient
in rads/tick.
ZenScript Copymods.nuclearcraft.Radiation.getRadiationLevel(IIngredient ingredient);
mods.nuclearcraft.Radiation.setRadiationLevel(IIngredient ingredient, double radiation);
Food Radiation
Link to food-radiation
ZenScript Copymods.nuclearcraft.Radiation.setFoodRadiationStats(IItemStack food, double radiation, double resistance);
Other Radiation
Link to other-radiation
Note: setMaterialRadiationLevel(...)
can accept Unix-style wildcards.
ZenScript Copymods.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 Copymods.nuclearcraft.Radiation.setRadiationImmunityGameStages(boolean defaultImmunity, String[] stageNames);