Class ExpandChargedProjectiles
java.lang.Object
com.blamejared.crafttweaker.natives.item.component.ExpandChargedProjectiles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontains(net.minecraft.world.item.component.ChargedProjectiles internal, net.minecraft.world.item.Item item) Checks if the ChargedProjectiles contains the given item.static List<IItemStack> getItems(net.minecraft.world.item.component.ChargedProjectiles internal) Gets the items of the ChargedProjectiles.static booleanisEmpty(net.minecraft.world.item.component.ChargedProjectiles internal) Checks if the ChargedProjectiles is empty.static net.minecraft.world.item.component.ChargedProjectilesof(IItemStack stack) Creates a new ChargedProjectiles with the given item.static net.minecraft.world.item.component.ChargedProjectilesof(List<IItemStack> stacks) Creates a new ChargedProjectiles with the given items.
-
Constructor Details
-
ExpandChargedProjectiles
public ExpandChargedProjectiles()
-
-
Method Details
-
of
Creates a new ChargedProjectiles with the given item.- Parameters:
stack- The item to create the ChargedProjectiles from.- Returns:
- The new ChargedProjectiles.
-
of
Creates a new ChargedProjectiles with the given items.- Parameters:
stacks- The items to create the ChargedProjectiles from.- Returns:
- The new ChargedProjectiles.
-
contains
public static boolean contains(net.minecraft.world.item.component.ChargedProjectiles internal, net.minecraft.world.item.Item item) Checks if the ChargedProjectiles contains the given item.- Parameters:
internal- The ChargedProjectiles.item- The item to check for.- Returns:
- Whether the ChargedProjectiles contains the given item.
-
getItems
public static List<IItemStack> getItems(net.minecraft.world.item.component.ChargedProjectiles internal) Gets the items of the ChargedProjectiles.- Parameters:
internal- The ChargedProjectiles.- Returns:
- The items of the ChargedProjectiles.
-
isEmpty
public static boolean isEmpty(net.minecraft.world.item.component.ChargedProjectiles internal) Checks if the ChargedProjectiles is empty.- Parameters:
internal- The ChargedProjectiles.- Returns:
- Whether the ChargedProjectiles is empty.
-