Class CoolingUnit
java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.mooy1.infinitylib.machines.MenuBlock
io.github.addoncommunity.galactifun.api.items.ProtectingBlock
io.github.addoncommunity.galactifun.base.items.protection.CoolingUnit
- All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.HologramOwner, io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
-
Field Summary
Fields inherited from class ProtectingBlock
ENABLED, PROTECTINGFields inherited from class io.github.mooy1.infinitylib.machines.MenuBlock
BACKGROUND_ITEM, IDLE_ITEM, INPUT_BORDER, NO_ENERGY_ITEM, NO_ROOM_ITEM, OUTPUT_BORDER, PROCESSING_ITEMFields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionCoolingUnit(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe, int tier) -
Method Summary
Modifier and TypeMethodDescriptionintprotected AtmosphericEffectprotected intintintgetRange()Methods inherited from class ProtectingBlock
getEnergyComponentType, getInputSlots, getOutputSlots, onBreak, onNewInstance, onPlace, setup, tickMethods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock
getInputSlots, getTransportSlots, postRegisterMethods inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addItemHandler, addItemSetting, addOfficialWikipage, bakeTranslatedDisplay, callItemHandler, canUse, decorateBakedTemplate, equals, error, getAddon, getBlockTicker, getById, getByItem, getByItem, getDrops, getDrops, getGuideType, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isTicking, isUseableInWorkbench, load, preRegister, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warnMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent
addCharge, getCharge, getCharge, isChargeable, removeCharge, setChargeMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.HologramOwner
getHologramOffset, removeHologram, updateHologramMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute
getIdMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
useVanillaBlockBreaking
-
Constructor Details
-
CoolingUnit
public CoolingUnit(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe, int tier)
-
-
Method Details
-
getEnergyRequirement
protected int getEnergyRequirement()- Specified by:
getEnergyRequirementin classProtectingBlock- Returns:
- energy per Slimefun tick
-
getEffect
- Specified by:
getEffectin classProtectingBlock
-
getProtection
public int getProtection()- Specified by:
getProtectionin classProtectingBlock
-
getRange
public int getRange()- Specified by:
getRangein classProtectingBlock
-
getCapacity
public int getCapacity()
-