Package ml.pluto7073.pdapi.specialty
Class SpecialtyDrink
java.lang.Object
ml.pluto7073.pdapi.specialty.SpecialtyDrink
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpecialtyDrink(net.minecraft.world.item.Item base, List<net.minecraft.resources.ResourceLocation> steps, List<OnDrinkAction> actions, int color, Map<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.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()
-
Field Details
-
CODEC
-
-
Constructor Details
-
SpecialtyDrink
-
-
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) -
stepsToIngredientList
-
toNetwork
public void toNetwork(net.minecraft.network.FriendlyByteBuf buf)
-