Class AbstractFurnaceMock
java.lang.Object
be.seeseemelk.mockbukkit.block.state.BlockStateMock
be.seeseemelk.mockbukkit.block.state.TileStateMock
be.seeseemelk.mockbukkit.block.state.ContainerMock
be.seeseemelk.mockbukkit.block.state.AbstractFurnaceMock
- All Implemented Interfaces:
BlockState,Container,Furnace,Lockable,TileState,BlockInventoryHolder,InventoryHolder,Metadatable,Nameable,PersistentDataHolder
- Direct Known Subclasses:
BlastFurnaceMock,SmokerMock
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractFurnaceMock(@NotNull AbstractFurnaceMock state) protectedAbstractFurnaceMock(@NotNull Block block) protectedAbstractFurnaceMock(@NotNull Material material) -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull FurnaceInventoryMockshortdoubleshortint@NotNull FurnaceInventory@NotNull Map<CookingRecipe<?>,Integer> intgetRecipeUsedCount(@NotNull NamespacedKey furnaceRecipe) @NotNull FurnaceInventorybooleanhasRecipeUsedCount(@NotNull NamespacedKey furnaceRecipe) voidsetBurnTime(short burnTime) voidsetCookSpeedMultiplier(double multiplier) voidsetCookTime(short cookTime) voidsetCookTimeTotal(int cookTimeTotal) voidsetRecipesUsed(@NotNull Map<CookingRecipe<?>, Integer> recipesUsed) voidsetRecipeUsedCount(@NotNull CookingRecipe<?> furnaceRecipe, int count) Methods inherited from class be.seeseemelk.mockbukkit.block.state.ContainerMock
customName, customName, getCustomName, getLock, getSnapshot, isLocked, setCustomName, setLockMethods inherited from class be.seeseemelk.mockbukkit.block.state.TileStateMock
getPersistentDataContainer, isSnapshotMethods inherited from class be.seeseemelk.mockbukkit.block.state.BlockStateMock
checkType, checkType, checkType, checkType, equals, getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getWorld, getX, getY, getZ, hashCode, hasMetadata, isCollidable, isPlaced, mockState, removeMetadata, setBlockData, setData, setMetadata, setRawData, setType, update, update, updateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.inventory.BlockInventoryHolder
getBlockMethods inherited from interface org.bukkit.block.BlockState
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isCollidable, isPlaced, setBlockData, setData, setRawData, setType, update, update, updateMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.Nameable
customName, customName, getCustomName, setCustomNameMethods inherited from interface org.bukkit.block.TileState
getPersistentDataContainer, isSnapshot
-
Constructor Details
-
AbstractFurnaceMock
-
AbstractFurnaceMock
-
AbstractFurnaceMock
-
-
Method Details
-
createInventory
- Specified by:
createInventoryin classContainerMock
-
getBurnTime
public short getBurnTime()- Specified by:
getBurnTimein interfaceFurnace
-
setBurnTime
public void setBurnTime(short burnTime) - Specified by:
setBurnTimein interfaceFurnace
-
getCookTime
public short getCookTime()- Specified by:
getCookTimein interfaceFurnace
-
setCookTime
public void setCookTime(short cookTime) - Specified by:
setCookTimein interfaceFurnace
-
getCookTimeTotal
public int getCookTimeTotal()- Specified by:
getCookTimeTotalin interfaceFurnace
-
setCookTimeTotal
public void setCookTimeTotal(int cookTimeTotal) - Specified by:
setCookTimeTotalin interfaceFurnace
-
getRecipesUsed
- Specified by:
getRecipesUsedin interfaceFurnace
-
getCookSpeedMultiplier
public double getCookSpeedMultiplier()- Specified by:
getCookSpeedMultiplierin interfaceFurnace
-
setCookSpeedMultiplier
public void setCookSpeedMultiplier(double multiplier) - Specified by:
setCookSpeedMultiplierin interfaceFurnace
-
getRecipeUsedCount
- Specified by:
getRecipeUsedCountin interfaceFurnace
-
hasRecipeUsedCount
- Specified by:
hasRecipeUsedCountin interfaceFurnace
-
setRecipeUsedCount
- Specified by:
setRecipeUsedCountin interfaceFurnace
-
setRecipesUsed
- Specified by:
setRecipesUsedin interfaceFurnace
-
getInventory
- Specified by:
getInventoryin interfaceContainer- Specified by:
getInventoryin interfaceFurnace- Specified by:
getInventoryin interfaceInventoryHolder- Overrides:
getInventoryin classContainerMock
-
getSnapshotInventory
- Specified by:
getSnapshotInventoryin interfaceContainer- Specified by:
getSnapshotInventoryin interfaceFurnace- Overrides:
getSnapshotInventoryin classContainerMock
-