Class FluidProperties.Builder
java.lang.Object
com.stereowalker.unionlib.world.level.material.FluidProperties.Builder
- Enclosing class:
- FluidProperties
-
Method Summary
Modifier and TypeMethodDescriptioncanDrownIn(boolean val) canExtinguish(boolean val) canPushEntity(boolean canPushEntity) canSwim(boolean canSwim) customMovement(Funcs._4<net.minecraft.world.level.material.FluidState, net.minecraft.world.entity.LivingEntity, net.minecraft.world.phys.Vec3, Double, Boolean> move) fallDistanceModifier(float val) flowingTexture(net.minecraft.resources.ResourceLocation tex) motionScale(double motionScale) overlayTexture(net.minecraft.resources.ResourceLocation text) stillTexture(net.minecraft.resources.ResourceLocation tex) supportsBoats(boolean val) tint(int tint) tint(Funcs._3<net.minecraft.world.level.material.FluidState, net.minecraft.world.level.BlockAndTintGetter, net.minecraft.core.BlockPos, Integer> tint)
-
Method Details
-
stillTexture
-
flowingTexture
-
overlayTexture
-
motionScale
-
canPushEntity
-
canSwim
-
canExtinguish
-
canDrownIn
-
tint
-
supportsBoats
-
tint
public FluidProperties.Builder tint(Funcs._3<net.minecraft.world.level.material.FluidState, net.minecraft.world.level.BlockAndTintGetter, net.minecraft.core.BlockPos, Integer> tint) -
customMovement
public FluidProperties.Builder customMovement(Funcs._4<net.minecraft.world.level.material.FluidState, net.minecraft.world.entity.LivingEntity, net.minecraft.world.phys.Vec3, Double, Boolean> move) -
fallDistanceModifier
-
toProperties
-