Class ObeliskFuelProvider.ObeliskFuelBuilder
java.lang.Object
com.github.minecraftschurlimods.arsmagicalegacy.api.data.ObeliskFuelProvider.ObeliskFuelBuilder
- Enclosing class:
- ObeliskFuelProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()Builds this builder.setBurntime(int burntime) Sets the burn time of this obelisk fuel entry.setIngredient(net.minecraft.world.item.crafting.Ingredient ingredient) Sets the ingredient of this obelisk fuel entry.setValuePerTick(int valuepertick) Sets the etherium generation per tick of this obelisk fuel entry.
-
Constructor Details
-
ObeliskFuelBuilder
public ObeliskFuelBuilder(net.minecraft.resources.ResourceLocation id)
-
-
Method Details
-
setIngredient
public ObeliskFuelProvider.ObeliskFuelBuilder setIngredient(net.minecraft.world.item.crafting.Ingredient ingredient) Sets the ingredient of this obelisk fuel entry.- Parameters:
ingredient- The ingredient to set.- Returns:
- This builder, for chaining.
-
setBurntime
Sets the burn time of this obelisk fuel entry.- Parameters:
burntime- The burn time to set.- Returns:
- This builder, for chaining.
-
setValuePerTick
Sets the etherium generation per tick of this obelisk fuel entry.- Parameters:
valuepertick- The etherium generation per tick to set.- Returns:
- This builder, for chaining.
-
build
public void build()Builds this builder.
-