Class GasFluidType

java.lang.Object
net.minecraftforge.fluids.FluidType
net.jcm.vsch.fluid.GasFluidType

public class GasFluidType extends net.minecraftforge.fluids.FluidType
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.fluids.FluidType

    net.minecraftforge.fluids.FluidType.Properties
  • Field Summary

    Fields inherited from class net.minecraftforge.fluids.FluidType

    BUCKET_VOLUME, SIZE, sounds
  • Constructor Summary

    Constructors
    Constructor
    Description
    GasFluidType(net.minecraft.resources.ResourceLocation stillTexture, net.minecraft.resources.ResourceLocation flowTexture, int tintColor, net.minecraftforge.fluids.FluidType.Properties properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initializeClient(Consumer<net.minecraftforge.client.extensions.common.IClientFluidTypeExtensions> consumer)
     
    boolean
    isVaporizedOnPlacement(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraftforge.fluids.FluidStack stack)
     
    void
    onVaporize(@Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraftforge.fluids.FluidStack stack)
     

    Methods inherited from class net.minecraftforge.fluids.FluidType

    canBePlacedInLevel, canBePlacedInLevel, canConvertToSource, canConvertToSource, canDrownIn, canExtinguish, canExtinguish, canHydrate, canHydrate, canHydrate, canPushEntity, canRideVehicleUnder, canSwim, getAdjacentBlockPathType, getBlockForFluidState, getBlockPathType, getBucket, getDensity, getDensity, getDensity, getDescription, getDescription, getDescriptionId, getDescriptionId, getFallDistanceModifier, getLightLevel, getLightLevel, getLightLevel, getRarity, getRarity, getRenderPropertiesInternal, getSound, getSound, getSound, getSound, getStateForPlacement, getTemperature, getTemperature, getTemperature, getViscosity, getViscosity, getViscosity, isAir, isLighterThanAir, isVanilla, motionScale, move, setItemMovement, shouldUpdateWhileBoating, supportsBoating, supportsBoating, toString

    Methods inherited from class java.lang.Object

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

    • GasFluidType

      public GasFluidType(net.minecraft.resources.ResourceLocation stillTexture, net.minecraft.resources.ResourceLocation flowTexture, int tintColor, net.minecraftforge.fluids.FluidType.Properties properties)
  • Method Details

    • initializeClient

      public void initializeClient(Consumer<net.minecraftforge.client.extensions.common.IClientFluidTypeExtensions> consumer)
      Overrides:
      initializeClient in class net.minecraftforge.fluids.FluidType
    • isVaporizedOnPlacement

      public boolean isVaporizedOnPlacement(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraftforge.fluids.FluidStack stack)
      Overrides:
      isVaporizedOnPlacement in class net.minecraftforge.fluids.FluidType
    • onVaporize

      public void onVaporize(@Nullable @Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraftforge.fluids.FluidStack stack)
      Overrides:
      onVaporize in class net.minecraftforge.fluids.FluidType