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>
  • Method Details

    • kjs$self

      default net.neoforged.neoforge.fluids.FluidStack kjs$self()
    • specialEquals

      default boolean specialEquals(dev.latvian.mods.rhino.Context cx, Object o, boolean shallow)
      Specified by:
      specialEquals in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
      Specified by:
      specialEquals in interface dev.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$getRegistryId in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
    • kjs$getRegistry

      default net.minecraft.core.Registry<net.minecraft.world.level.material.Fluid> kjs$getRegistry()
      Specified by:
      kjs$getRegistry in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
    • kjs$getIdLocation

      default net.minecraft.resources.ResourceLocation kjs$getIdLocation()
      Specified by:
      kjs$getIdLocation in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
    • kjs$asHolder

      default net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid> kjs$asHolder()
      Specified by:
      kjs$asHolder in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
    • kjs$getKey

      default net.minecraft.resources.ResourceKey<net.minecraft.world.level.material.Fluid> kjs$getKey()
      Specified by:
      kjs$getKey in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
    • kjs$getId

      default String kjs$getId()
      Specified by:
      kjs$getId in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
    • kjs$getMod

      default String kjs$getMod()
      Specified by:
      kjs$getMod in interface RegistryObjectKJS<net.minecraft.world.level.material.Fluid>
    • kjs$getAmount

      default int kjs$getAmount()
      Specified by:
      kjs$getAmount in interface FluidLike
    • kjs$isEmpty

      default boolean kjs$isEmpty()
      Specified by:
      kjs$isEmpty in interface FluidLike
    • kjs$getFluid

      default net.minecraft.world.level.material.Fluid kjs$getFluid()
      Specified by:
      kjs$getFluid in interface FluidLike
    • kjs$copy

      default FluidLike kjs$copy(int amount)
      Specified by:
      kjs$copy in interface FluidLike
    • getCodec

      default com.mojang.serialization.Codec<?> getCodec(dev.latvian.mods.rhino.Context cx)
      Specified by:
      getCodec in interface WithCodec
    • replaceThisWith

      default Object replaceThisWith(RecipeScriptContext cx, Object with)
      Specified by:
      replaceThisWith in interface Replaceable
    • matches

      default boolean matches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.FluidStack s, boolean exact)
      Specified by:
      matches in interface FluidMatch
    • matches

      default boolean matches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.crafting.FluidIngredient ingredient, boolean exact)
      Specified by:
      matches in interface FluidMatch
    • kjs$getWebIconURL

      default RelativeURL kjs$getWebIconURL(com.mojang.serialization.DynamicOps<net.minecraft.nbt.Tag> ops, int size)