Class ExpandItemCost
java.lang.Object
com.blamejared.crafttweaker.natives.villager.ExpandItemCost
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.core.component.DataComponentPredicatecomponents(net.minecraft.world.item.trading.ItemCost internal) static intcount(net.minecraft.world.item.trading.ItemCost internal) static net.minecraft.world.item.Itemitem(net.minecraft.world.item.trading.ItemCost internal) static IItemStackitemStack(net.minecraft.world.item.trading.ItemCost internal) static net.minecraft.world.item.trading.ItemCostof(IItemStack stack) static net.minecraft.world.item.trading.ItemCostof(IItemStack stack, net.minecraft.core.component.DataComponentPredicate predicate) static booleantest(net.minecraft.world.item.trading.ItemCost internal, IItemStack stack) static net.minecraft.world.item.trading.ItemCostwithComponents(net.minecraft.world.item.trading.ItemCost internal, UnaryOperator<net.minecraft.core.component.DataComponentPredicate.Builder> operator)
-
Constructor Details
-
ExpandItemCost
public ExpandItemCost()
-
-
Method Details
-
of
-
of
public static net.minecraft.world.item.trading.ItemCost of(IItemStack stack, net.minecraft.core.component.DataComponentPredicate predicate) -
withComponents
public static net.minecraft.world.item.trading.ItemCost withComponents(net.minecraft.world.item.trading.ItemCost internal, UnaryOperator<net.minecraft.core.component.DataComponentPredicate.Builder> operator) -
test
-
components
public static net.minecraft.core.component.DataComponentPredicate components(net.minecraft.world.item.trading.ItemCost internal) -
count
public static int count(net.minecraft.world.item.trading.ItemCost internal) -
itemStack
-
item
public static net.minecraft.world.item.Item item(net.minecraft.world.item.trading.ItemCost internal)
-