Class ExpandItemCost

java.lang.Object
com.blamejared.crafttweaker.natives.villager.ExpandItemCost

@ZenRegister public class ExpandItemCost extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.core.component.DataComponentPredicate
    components(net.minecraft.world.item.trading.ItemCost internal)
     
    static int
    count(net.minecraft.world.item.trading.ItemCost internal)
     
    static net.minecraft.world.item.Item
    item(net.minecraft.world.item.trading.ItemCost internal)
     
    static IItemStack
    itemStack(net.minecraft.world.item.trading.ItemCost internal)
     
    static net.minecraft.world.item.trading.ItemCost
    of(IItemStack stack)
     
    static net.minecraft.world.item.trading.ItemCost
    of(IItemStack stack, net.minecraft.core.component.DataComponentPredicate predicate)
     
    static boolean
    test(net.minecraft.world.item.trading.ItemCost internal, IItemStack stack)
     
    static net.minecraft.world.item.trading.ItemCost
    withComponents(net.minecraft.world.item.trading.ItemCost internal, UnaryOperator<net.minecraft.core.component.DataComponentPredicate.Builder> operator)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandItemCost

      public ExpandItemCost()
  • Method Details

    • of

      public static net.minecraft.world.item.trading.ItemCost of(IItemStack stack)
    • 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

      public static boolean test(net.minecraft.world.item.trading.ItemCost internal, IItemStack stack)
    • 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

      public static IItemStack itemStack(net.minecraft.world.item.trading.ItemCost internal)
    • item

      public static net.minecraft.world.item.Item item(net.minecraft.world.item.trading.ItemCost internal)