Package net.jcm.vsch.fluid
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
ConstructorsConstructorDescriptionGasFluidType(net.minecraft.resources.ResourceLocation stillTexture, net.minecraft.resources.ResourceLocation flowTexture, int tintColor, net.minecraftforge.fluids.FluidType.Properties properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeClient(Consumer<net.minecraftforge.client.extensions.common.IClientFluidTypeExtensions> consumer) booleanisVaporizedOnPlacement(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraftforge.fluids.FluidStack stack) voidonVaporize(@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
-
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:
initializeClientin classnet.minecraftforge.fluids.FluidType
-
isVaporizedOnPlacement
public boolean isVaporizedOnPlacement(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraftforge.fluids.FluidStack stack) - Overrides:
isVaporizedOnPlacementin classnet.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:
onVaporizein classnet.minecraftforge.fluids.FluidType
-