Package ml.pluto7073.pdapi.specialty
Class SpecialtyDrink
java.lang.Object
ml.pluto7073.pdapi.specialty.SpecialtyDrink
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSpecialtyDrink(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.Item base, net.minecraft.resources.ResourceLocation[] steps, OnDrinkAction[] actions, int color, HashMap<String, Integer> chemicals, @Nullable String name) -
Method Summary
Modifier and TypeMethodDescriptionactions()net.minecraft.world.item.Itembase()net.minecraft.world.item.ItemStackintcolor()net.minecraft.world.item.ItemStacknet.minecraft.world.item.ItemStackgetAsOriginalItemWithAdditions(net.minecraft.world.item.ItemStack source) net.minecraft.resources.ResourceLocationgetId()net.minecraft.resources.ResourceLocationid()booleanmatches(net.minecraft.world.Container container) name()net.minecraft.resources.ResourceLocation[]steps()List<net.minecraft.world.item.crafting.Ingredient> voidtoNetwork(net.minecraft.network.FriendlyByteBuf buf) net.minecraft.resources.ResourceLocationtype()
-
Constructor Details
-
SpecialtyDrink
public SpecialtyDrink(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.Item base, net.minecraft.resources.ResourceLocation[] steps, OnDrinkAction[] actions, int color, HashMap<String, Integer> chemicals, @Nullable @Nullable String name)
-
-
Method Details
-
languageKey
-
id
public net.minecraft.resources.ResourceLocation id() -
base
public net.minecraft.world.item.Item base() -
baseAsStack
public net.minecraft.world.item.ItemStack baseAsStack() -
steps
public net.minecraft.resources.ResourceLocation[] steps() -
actions
-
color
public int color() -
chemicals
-
name
-
type
public net.minecraft.resources.ResourceLocation type() -
serializer
-
getAsItem
public net.minecraft.world.item.ItemStack getAsItem() -
getAsOriginalItemWithAdditions
public net.minecraft.world.item.ItemStack getAsOriginalItemWithAdditions(net.minecraft.world.item.ItemStack source) -
matches
public boolean matches(net.minecraft.world.Container container) -
getId
public net.minecraft.resources.ResourceLocation getId() -
stepsToIngredientList
-
toNetwork
public void toNetwork(net.minecraft.network.FriendlyByteBuf buf)
-