Interface FurnaceBlockEntity
- All Superinterfaces:
- BlockCarrier,- BlockEntity,- Carrier,- CarrierBlockEntity,- CopyableDataHolder,- DataHolder,- DataHolder.Mutable,- DataSerializable,- Locatable,- NameableBlockEntity,- NameableCarrierBlockEntity,- SerializableDataHolder,- SerializableDataHolder.Mutable,- ValueContainer
- All Known Subinterfaces:
- BlastFurnace,- Furnace,- Smoker
Represents the types of furnaces in Vanilla minecraft.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.spongepowered.api.data.DataHolderDataHolder.Immutable<I extends DataHolder.Immutable<I>>, DataHolder.MutableNested classes/interfaces inherited from interface org.spongepowered.api.data.SerializableDataHolderSerializableDataHolder.Immutable<I extends SerializableDataHolder.Immutable<I>>, SerializableDataHolder.Mutable
- 
Method SummaryModifier and TypeMethodDescriptiondefault Value.Mutable<Ticks> Gets theValue.Mutablefor the maximum amount of fuel that can be supplied with the used fuel item.default Value.Mutable<Ticks> Gets theValue.Mutablefor the total time the item stack has to cook until it is cooked.default Value.Mutable<Ticks> Gets theValue.Mutablefor the already passed cook time of the item stack in this furnace.booleanprocess()Attempts to process theRecipefor results.default Value.Mutable<Integer> Gets theValue.Mutablefor the remaining fuel.Methods inherited from interface org.spongepowered.api.item.inventory.BlockCarrierinventoryMethods inherited from interface org.spongepowered.api.block.entity.BlockEntityblock, copy, createArchetype, isRemoved, locatableBlock, mirror, mirror, remove, rotate, rotate, typeMethods inherited from interface org.spongepowered.api.block.entity.carrier.CarrierBlockEntityinventory, lockTokenMethods inherited from interface org.spongepowered.api.data.DataHolder.MutablecopyFrom, copyFrom, offer, offer, offer, offer, offerAll, offerAll, offerAll, offerAll, offerAll, offerAll, offerSingle, offerSingle, offerSingle, offerSingle, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeKey, removeKey, removeSingle, removeSingle, transform, transform, tryOffer, tryOffer, tryOffer, undoMethods inherited from interface org.spongepowered.api.data.persistence.DataSerializablecontentVersion, toContainerMethods inherited from interface org.spongepowered.api.world.LocatableblockPosition, location, serverLocation, worldMethods inherited from interface org.spongepowered.api.block.entity.NameableBlockEntitydisplayNameMethods inherited from interface org.spongepowered.api.data.SerializableDataHoldervalidateRawDataMethods inherited from interface org.spongepowered.api.data.SerializableDataHolder.MutablesetRawData
- 
Method Details- 
processboolean process()Attempts to process theRecipefor results.- Returns:
- If the process was successful.
 
- 
remainingFuelGets theValue.Mutablefor the remaining fuel.- Returns:
- The value for the remaining fuel
 
- 
maxBurnTimeGets theValue.Mutablefor the maximum amount of fuel that can be supplied with the used fuel item.- Returns:
- The value for the maximum amount of fuel that can be supplied with the used fuel item
 
- 
passedCookTimeGets theValue.Mutablefor the already passed cook time of the item stack in this furnace.- Returns:
- The value for the already passed cook time
 
- 
maxCookTimeGets theValue.Mutablefor the total time the item stack has to cook until it is cooked.- Returns:
- The value for the time the item has to cook
 
 
-