Class Slurry
java.lang.Object
io.github.pylonmc.rebar.fluid.RebarFluid
io.github.pylonmc.pylon.content.machines.smelting.Slurry
- All Implemented Interfaces:
io.github.pylonmc.rebar.registry.RegistryHandler, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
public class Slurry
extends io.github.pylonmc.rebar.fluid.RebarFluid
implements io.github.pylonmc.rebar.registry.RegistryHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.pylonmc.rebar.fluid.RebarFluid
io.github.pylonmc.rebar.fluid.RebarFluid.Companion -
Field Summary
Fields inherited from class io.github.pylonmc.rebar.fluid.RebarFluid
Companion -
Constructor Summary
ConstructorsConstructorDescriptionSlurry(@NotNull org.bukkit.NamespacedKey key, @NotNull net.kyori.adventure.text.format.TextColor color, @NotNull org.bukkit.inventory.ItemStack slurryStack, int amount, @NotNull io.github.pylonmc.rebar.fluid.RebarFluidTag @NotNull ... tags) Slurry(@NotNull org.bukkit.NamespacedKey key, @NotNull net.kyori.adventure.text.format.TextColor color, @NotNull org.bukkit.inventory.ItemStack slurryStack, @NotNull io.github.pylonmc.rebar.fluid.RebarFluidTag @NotNull ... tags) -
Method Summary
Modifier and TypeMethodDescriptionintorg.bukkit.inventory.ItemStackvoidonRegister(@NotNull io.github.pylonmc.rebar.registry.RebarRegistry<?> registry) Methods inherited from class io.github.pylonmc.rebar.fluid.RebarFluid
addTag, equals, getAddon, getColor, getItem, getKey, getName, getNameWithoutColor, getTag, hashCode, hasTag, register, removeTag, suppressNameWarnings, toStringMethods inherited from interface org.bukkit.Keyed
keyMethods inherited from interface io.github.pylonmc.rebar.registry.RegistryHandler
onUnregister
-
Constructor Details
-
Slurry
public Slurry(@NotNull @NotNull org.bukkit.NamespacedKey key, @NotNull @NotNull net.kyori.adventure.text.format.TextColor color, @NotNull @NotNull org.bukkit.inventory.ItemStack slurryStack, @NotNull @NotNull io.github.pylonmc.rebar.fluid.RebarFluidTag @NotNull ... tags) -
Slurry
public Slurry(@NotNull @NotNull org.bukkit.NamespacedKey key, @NotNull @NotNull net.kyori.adventure.text.format.TextColor color, @NotNull @NotNull org.bukkit.inventory.ItemStack slurryStack, int amount, @NotNull @NotNull io.github.pylonmc.rebar.fluid.RebarFluidTag @NotNull ... tags)
-
-
Method Details
-
onRegister
public void onRegister(@NotNull @NotNull io.github.pylonmc.rebar.registry.RebarRegistry<?> registry) - Specified by:
onRegisterin interfaceio.github.pylonmc.rebar.registry.RegistryHandler
-
getSlurryStack
public org.bukkit.inventory.ItemStack getSlurryStack() -
getAmount
public int getAmount()
-