Class CrudeAlloyFurnace
java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.machines.simple.CrudeAlloyFurnace
- All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarBreakHandler, io.github.pylonmc.rebar.block.base.RebarDirectionalBlock, io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock, io.github.pylonmc.rebar.block.base.RebarInventoryBlock, io.github.pylonmc.rebar.block.base.RebarLogisticBlock, io.github.pylonmc.rebar.block.base.RebarNoVanillaInventoryBlock, io.github.pylonmc.rebar.block.base.RebarRecipeProcessor<CrudeAlloyFurnaceRecipe>, io.github.pylonmc.rebar.block.base.RebarTickingBlock, io.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock, io.github.pylonmc.rebar.block.base.RebarVirtualInventoryBlock, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
public class CrudeAlloyFurnace
extends io.github.pylonmc.rebar.block.RebarBlock
implements io.github.pylonmc.rebar.block.base.RebarInventoryBlock, io.github.pylonmc.rebar.block.base.RebarVirtualInventoryBlock, io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock, io.github.pylonmc.rebar.block.base.RebarDirectionalBlock, io.github.pylonmc.rebar.block.base.RebarTickingBlock, io.github.pylonmc.rebar.block.base.RebarLogisticBlock, io.github.pylonmc.rebar.block.base.RebarRecipeProcessor<CrudeAlloyFurnaceRecipe>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.rebar.block.RebarBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarDirectionalBlock
io.github.pylonmc.rebar.block.base.RebarDirectionalBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock
io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarInventoryBlock
io.github.pylonmc.rebar.block.base.RebarInventoryBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
io.github.pylonmc.rebar.block.base.RebarLogisticBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarRecipeProcessor
io.github.pylonmc.rebar.block.base.RebarRecipeProcessor.Companion, io.github.pylonmc.rebar.block.base.RebarRecipeProcessor.RecipeProcessorData<T>Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarTickingBlock
io.github.pylonmc.rebar.block.base.RebarTickingBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarVirtualInventoryBlock
io.github.pylonmc.rebar.block.base.RebarVirtualInventoryBlock.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal io.github.pylonmc.rebar.item.builder.ItemStackBuilderfinal io.github.pylonmc.rebar.item.builder.ItemStackBuilderstatic final org.bukkit.NamespacedKeystatic final org.bukkit.NamespacedKeyfinal io.github.pylonmc.rebar.item.builder.ItemStackBuilderfinal io.github.pylonmc.rebar.item.builder.ItemStackBuilderfinal io.github.pylonmc.rebar.item.builder.ItemStackBuilderfinal io.github.pylonmc.rebar.item.builder.ItemStackBuilderfinal intFields inherited from class io.github.pylonmc.rebar.block.RebarBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarDirectionalBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarInventoryBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarRecipeProcessor
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarTickingBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarVirtualInventoryBlock
Companion -
Constructor Summary
ConstructorsConstructorDescriptionCrudeAlloyFurnace(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context) CrudeAlloyFurnace(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc) -
Method Summary
Modifier and TypeMethodDescription@NotNull xyz.xenondevs.invui.gui.Gui@Nullable io.github.pylonmc.rebar.waila.WailaDisplaygetWaila(@NotNull org.bukkit.entity.Player player) voidonRecipeFinished(@NotNull CrudeAlloyFurnaceRecipe recipe) voidvoidtick()voidvoidbooleantryStartRecipe(@NonNull CrudeAlloyFurnaceRecipe recipe) voidwrite(@NotNull org.bukkit.persistence.PersistentDataContainer pdc) Methods inherited from class io.github.pylonmc.rebar.block.RebarBlock
getBlock, getBlockTextureEntity, getBlockTextureItem, getBlockTextureProperties, getDefaultItem, getDefaultWailaTranslationKey, getDisableBlockTextureEntity, getDropItem, getKey, getLoreTranslationKey, getNameTranslationKey, getPickItem, getRebarBlock, getRebarBlockKeyKey, getRebarBlockPositionKey, getRebarBlockTextureEntityKey, getSchema, getSettings, isVanillaBlock, postLoad, refreshBlockTextureItem, register, scheduleBlockTextureItemRefresh, setDisableBlockTextureEntity, setupBlockTexture, writeDebugInfoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
getKey, keyMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarBreakHandler
postBreak, preBreakMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarDirectionalBlock
getFacing, setFacingMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock
addEntity, addEntity, areAllHeldEntitiesLoaded, getBlock, getHeldEntities, getHeldEntity, getHeldEntity, getHeldEntityOrThrow, getHeldEntityOrThrow, getHeldEntityUuid, getHeldEntityUuidOrThrow, getHeldRebarEntity, getHeldRebarEntity, getHeldRebarEntityOrThrow, isHeldEntityPresent, tryRemoveAllEntities, tryRemoveEntity, whenHeldRebarEntityLoads, whenHeldRebarEntityLoadsMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarInventoryBlock
getGuiTitleMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
createLogisticGroup, createLogisticGroup, createLogisticGroup, createLogisticGroup, getBlock, getLogisticGroup, getLogisticGroupOrThrow, getLogisticGroupsMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarNoVanillaInventoryBlock
onInventoryOpen, onItemMoveFrom, onItemMoveToMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarRecipeProcessor
finishRecipe, getCurrentRecipe, getLastRecipe, getRecipeProgress, getRecipeProgressItem, getRecipeTicksRemaining, getRecipeTimeTicks, isProcessingRecipe, progressRecipe, setRecipeProgressItem, setRecipeType, startRecipe, stopRecipeMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarTickingBlock
getTickInterval, isAsync, setAsync, setTickIntervalMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarVirtualInventoryBlock
onBreak
-
Field Details
-
FUEL_TICKS_TOTAL_KEY
public static final org.bukkit.NamespacedKey FUEL_TICKS_TOTAL_KEY -
FUEL_TICKS_REMAINING_KEY
public static final org.bukkit.NamespacedKey FUEL_TICKS_REMAINING_KEY -
tickInterval
public final int tickInterval -
chamberStack
public final io.github.pylonmc.rebar.item.builder.ItemStackBuilder chamberStack -
chimneyStack
public final io.github.pylonmc.rebar.item.builder.ItemStackBuilder chimneyStack -
fuelLeftStack
public final io.github.pylonmc.rebar.item.builder.ItemStackBuilder fuelLeftStack -
noFuelLeftStack
public final io.github.pylonmc.rebar.item.builder.ItemStackBuilder noFuelLeftStack -
noRecipeStack
public final io.github.pylonmc.rebar.item.builder.ItemStackBuilder noRecipeStack -
fuelStack
public final io.github.pylonmc.rebar.item.builder.ItemStackBuilder fuelStack
-
-
Constructor Details
-
CrudeAlloyFurnace
public CrudeAlloyFurnace(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context) -
CrudeAlloyFurnace
public CrudeAlloyFurnace(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
-
-
Method Details
-
write
public void write(@NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc) - Overrides:
writein classio.github.pylonmc.rebar.block.RebarBlock
-
postInitialise
public void postInitialise()- Overrides:
postInitialisein classio.github.pylonmc.rebar.block.RebarBlock
-
tick
public void tick()- Specified by:
tickin interfaceio.github.pylonmc.rebar.block.base.RebarTickingBlock
-
tryConsumeFuel
public void tryConsumeFuel() -
tryStartRecipe
-
tryStartRecipe
public void tryStartRecipe() -
onRecipeFinished
- Specified by:
onRecipeFinishedin interfaceio.github.pylonmc.rebar.block.base.RebarRecipeProcessor<CrudeAlloyFurnaceRecipe>
-
createGui
@NotNull public @NotNull xyz.xenondevs.invui.gui.Gui createGui()- Specified by:
createGuiin interfaceio.github.pylonmc.rebar.block.base.RebarInventoryBlock
-
getWaila
@Nullable public @Nullable io.github.pylonmc.rebar.waila.WailaDisplay getWaila(@NotNull @NotNull org.bukkit.entity.Player player) - Overrides:
getWailain classio.github.pylonmc.rebar.block.RebarBlock
-
getVirtualInventories
-