Class ObeliskFuelBuilder
java.lang.Object
com.github.minecraftschurlimods.arsmagicalegacy.api.data.ObeliskFuelBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(BiConsumer<net.minecraft.resources.ResourceLocation, ObeliskFuel> consumer) 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
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
Builds this builder.
-