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:
org.bukkit.block.BlockState,org.bukkit.block.Container,org.bukkit.block.Furnace,org.bukkit.block.Lockable,org.bukkit.block.TileState,org.bukkit.inventory.BlockInventoryHolder,org.bukkit.inventory.InventoryHolder,org.bukkit.metadata.Metadatable,org.bukkit.Nameable,org.bukkit.persistence.PersistentDataHolder
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractFurnaceMock(@NotNull AbstractFurnaceMock state) protectedAbstractFurnaceMock(@NotNull org.bukkit.block.Block block) protectedAbstractFurnaceMock(@NotNull org.bukkit.Material material) -
Method Summary
Modifier and TypeMethodDescriptionprotected InventoryMockshortdoubleshortint@NotNull org.bukkit.inventory.FurnaceInventoryintgetRecipeUsedCount(@NotNull org.bukkit.NamespacedKey furnaceRecipe) @NotNull org.bukkit.inventory.FurnaceInventorybooleanhasRecipeUsedCount(@NotNull org.bukkit.NamespacedKey furnaceRecipe) voidsetBurnTime(short burnTime) voidsetCookSpeedMultiplier(double multiplier) voidsetCookTime(short cookTime) voidsetCookTimeTotal(int cookTimeTotal) voidsetRecipesUsed(@NotNull Map<org.bukkit.inventory.CookingRecipe<?>, Integer> recipesUsed) voidsetRecipeUsedCount(@NotNull org.bukkit.inventory.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
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.block.Lockable
getLock, isLocked, setLockMethods 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
protected AbstractFurnaceMock(@NotNull @NotNull org.bukkit.Material material) -
AbstractFurnaceMock
protected AbstractFurnaceMock(@NotNull @NotNull org.bukkit.block.Block block) -
AbstractFurnaceMock
-
-
Method Details
-
createInventory
- Specified by:
createInventoryin classContainerMock
-
getBurnTime
public short getBurnTime()- Specified by:
getBurnTimein interfaceorg.bukkit.block.Furnace
-
setBurnTime
public void setBurnTime(short burnTime) - Specified by:
setBurnTimein interfaceorg.bukkit.block.Furnace
-
getCookTime
public short getCookTime()- Specified by:
getCookTimein interfaceorg.bukkit.block.Furnace
-
setCookTime
public void setCookTime(short cookTime) - Specified by:
setCookTimein interfaceorg.bukkit.block.Furnace
-
getCookTimeTotal
public int getCookTimeTotal()- Specified by:
getCookTimeTotalin interfaceorg.bukkit.block.Furnace
-
setCookTimeTotal
public void setCookTimeTotal(int cookTimeTotal) - Specified by:
setCookTimeTotalin interfaceorg.bukkit.block.Furnace
-
getRecipesUsed
- Specified by:
getRecipesUsedin interfaceorg.bukkit.block.Furnace
-
getCookSpeedMultiplier
public double getCookSpeedMultiplier()- Specified by:
getCookSpeedMultiplierin interfaceorg.bukkit.block.Furnace
-
setCookSpeedMultiplier
public void setCookSpeedMultiplier(double multiplier) - Specified by:
setCookSpeedMultiplierin interfaceorg.bukkit.block.Furnace
-
getRecipeUsedCount
public int getRecipeUsedCount(@NotNull @NotNull org.bukkit.NamespacedKey furnaceRecipe) - Specified by:
getRecipeUsedCountin interfaceorg.bukkit.block.Furnace
-
hasRecipeUsedCount
public boolean hasRecipeUsedCount(@NotNull @NotNull org.bukkit.NamespacedKey furnaceRecipe) - Specified by:
hasRecipeUsedCountin interfaceorg.bukkit.block.Furnace
-
setRecipeUsedCount
public void setRecipeUsedCount(@NotNull @NotNull org.bukkit.inventory.CookingRecipe<?> furnaceRecipe, int count) - Specified by:
setRecipeUsedCountin interfaceorg.bukkit.block.Furnace
-
setRecipesUsed
public void setRecipesUsed(@NotNull @NotNull Map<org.bukkit.inventory.CookingRecipe<?>, Integer> recipesUsed) - Specified by:
setRecipesUsedin interfaceorg.bukkit.block.Furnace
-
getInventory
@NotNull public @NotNull org.bukkit.inventory.FurnaceInventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.block.Container- Specified by:
getInventoryin interfaceorg.bukkit.block.Furnace- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder- Overrides:
getInventoryin classContainerMock
-
getSnapshotInventory
@NotNull public @NotNull org.bukkit.inventory.FurnaceInventory getSnapshotInventory()- Specified by:
getSnapshotInventoryin interfaceorg.bukkit.block.Container- Specified by:
getSnapshotInventoryin interfaceorg.bukkit.block.Furnace- Overrides:
getSnapshotInventoryin classContainerMock
-