Package dev.latvian.mods.kubejs.core
Interface FluidStackKJS
- All Superinterfaces:
ComponentFunctions,FluidLike,FluidMatch,JsonSerializable,MutableDataComponentHolderFunctions,NBTSerializable,RegistryObjectKJS<net.minecraft.world.level.material.Fluid>,Replaceable,ReplacementMatch,dev.latvian.mods.rhino.util.SpecialEquality,WithCodec
- All Known Implementing Classes:
FluidStackMixin
public interface FluidStackKJS
extends Replaceable, dev.latvian.mods.rhino.util.SpecialEquality, WithCodec, FluidLike, FluidMatch, MutableDataComponentHolderFunctions, RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
Field Summary
Fields inherited from interface dev.latvian.mods.kubejs.recipe.match.ReplacementMatch
NONE -
Method Summary
Modifier and TypeMethodDescriptiondefault com.mojang.serialization.Codec<?> getCodec(dev.latvian.mods.rhino.Context cx) default net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid> default FluidLikekjs$copy(int amount) default booleankjs$equalsIgnoringCount(net.neoforged.neoforge.fluids.FluidStack stack) default intdefault net.minecraft.world.level.material.Fluiddefault Stringdefault net.minecraft.resources.ResourceLocationdefault net.minecraft.resources.ResourceKey<net.minecraft.world.level.material.Fluid> default Stringdefault net.minecraft.core.Registry<net.minecraft.world.level.material.Fluid> default net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<net.minecraft.world.level.material.Fluid>> default RelativeURLkjs$getWebIconURL(com.mojang.serialization.DynamicOps<net.minecraft.nbt.Tag> ops, int size) default booleandefault net.neoforged.neoforge.fluids.FluidStackkjs$self()default booleanmatches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.crafting.FluidIngredient ingredient, boolean exact) default booleanmatches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.FluidStack s, boolean exact) default ObjectreplaceThisWith(RecipeScriptContext cx, Object with) default booleanspecialEquals(dev.latvian.mods.rhino.Context cx, Object o, boolean shallow) Methods inherited from interface dev.latvian.mods.kubejs.component.ComponentFunctions
kjs$get, kjs$getComponentString, kjs$getCustomData, kjs$getCustomName, kjs$remove, kjs$resetComponents, kjs$set, kjs$setAdditionalTooltipHidden, kjs$setBaseColor, kjs$setBlockStateProperties, kjs$setContainerLootTable, kjs$setContainerLootTable, kjs$setCustomData, kjs$setCustomModelData, kjs$setCustomName, kjs$setDyedColor, kjs$setDyedColorWithTooltip, kjs$setEntityData, kjs$setGlintOverride, kjs$setLockCode, kjs$setLore, kjs$setLore, kjs$setPotionContents, kjs$setPotionId, kjs$setProfile, kjs$setProfile, kjs$setRarity, kjs$setTooltipHidden, kjs$setUnitMethods inherited from interface dev.latvian.mods.kubejs.component.MutableDataComponentHolderFunctions
kjs$getComponentHolder, kjs$getComponentMap, kjs$override, kjs$patch, kjs$setMethods inherited from interface dev.latvian.mods.kubejs.core.RegistryObjectKJS
kjs$getTagKeys, kjs$getTags, kjs$hasTag
-
Method Details
-
kjs$self
default net.neoforged.neoforge.fluids.FluidStack kjs$self() -
specialEquals
- Specified by:
specialEqualsin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>- Specified by:
specialEqualsin interfacedev.latvian.mods.rhino.util.SpecialEquality
-
kjs$equalsIgnoringCount
default boolean kjs$equalsIgnoringCount(net.neoforged.neoforge.fluids.FluidStack stack) -
kjs$getRegistryId
default net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<net.minecraft.world.level.material.Fluid>> kjs$getRegistryId()- Specified by:
kjs$getRegistryIdin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
kjs$getRegistry
default net.minecraft.core.Registry<net.minecraft.world.level.material.Fluid> kjs$getRegistry()- Specified by:
kjs$getRegistryin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
kjs$getIdLocation
default net.minecraft.resources.ResourceLocation kjs$getIdLocation()- Specified by:
kjs$getIdLocationin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
kjs$asHolder
default net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid> kjs$asHolder()- Specified by:
kjs$asHolderin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
kjs$getKey
default net.minecraft.resources.ResourceKey<net.minecraft.world.level.material.Fluid> kjs$getKey()- Specified by:
kjs$getKeyin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
kjs$getId
- Specified by:
kjs$getIdin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
kjs$getMod
- Specified by:
kjs$getModin interfaceRegistryObjectKJS<net.minecraft.world.level.material.Fluid>
-
kjs$getAmount
default int kjs$getAmount()- Specified by:
kjs$getAmountin interfaceFluidLike
-
kjs$isEmpty
default boolean kjs$isEmpty()- Specified by:
kjs$isEmptyin interfaceFluidLike
-
kjs$getFluid
default net.minecraft.world.level.material.Fluid kjs$getFluid()- Specified by:
kjs$getFluidin interfaceFluidLike
-
kjs$copy
-
getCodec
default com.mojang.serialization.Codec<?> getCodec(dev.latvian.mods.rhino.Context cx) -
replaceThisWith
- Specified by:
replaceThisWithin interfaceReplaceable
-
matches
default boolean matches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.FluidStack s, boolean exact) - Specified by:
matchesin interfaceFluidMatch
-
matches
default boolean matches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.crafting.FluidIngredient ingredient, boolean exact) - Specified by:
matchesin interfaceFluidMatch
-
kjs$getWebIconURL
default RelativeURL kjs$getWebIconURL(com.mojang.serialization.DynamicOps<net.minecraft.nbt.Tag> ops, int size)
-