Class ExpandFluid
java.lang.Object
com.blamejared.crafttweaker.natives.fluid.ExpandFluid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.item.ItemgetBucket(net.minecraft.world.level.material.Fluid internal) static StringgetCommandString(net.minecraft.world.level.material.Fluid internal) static net.minecraft.resources.ResourceLocationgetRegistryName(net.minecraft.world.level.material.Fluid internal) static booleanisIn(net.minecraft.world.level.material.Fluid internal, KnownTag<net.minecraft.world.level.material.Fluid> tag) static booleanisSame(net.minecraft.world.level.material.Fluid internal, net.minecraft.world.level.material.Fluid other) static IFluidStackmakeStack(net.minecraft.world.level.material.Fluid internal, int amount) Creates a newIFluidStackwith the given amount of fluid.static IFluidStackmultiply(net.minecraft.world.level.material.Fluid internal, int amount) Creates a newIFluidStackwith the given amount of fluid.
-
Constructor Details
-
ExpandFluid
public ExpandFluid()
-
-
Method Details
-
multiply
Creates a newIFluidStackwith the given amount of fluid.- Returns:
- a new (immutable)
IFluidStack - DocParam:
- amount 1000
-
makeStack
Creates a newIFluidStackwith the given amount of fluid.- Returns:
- a new (immutable)
IFluidStack - DocParam:
- amount 1000
-
getBucket
public static net.minecraft.world.item.Item getBucket(net.minecraft.world.level.material.Fluid internal) -
isSame
public static boolean isSame(net.minecraft.world.level.material.Fluid internal, net.minecraft.world.level.material.Fluid other) -
isIn
public static boolean isIn(net.minecraft.world.level.material.Fluid internal, KnownTag<net.minecraft.world.level.material.Fluid> tag) -
getRegistryName
public static net.minecraft.resources.ResourceLocation getRegistryName(net.minecraft.world.level.material.Fluid internal) -
getCommandString
-