All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static FluidAttributes.Builder |
builder(ResourceLocation stillTexture,
ResourceLocation flowingTexture) |
boolean |
canBePlacedInWorld(IEnviromentBlockReader reader,
BlockPos pos,
FluidStack state) |
boolean |
canBePlacedInWorld(IEnviromentBlockReader reader,
BlockPos pos,
IFluidState state) |
boolean |
doesVaporize(IEnviromentBlockReader reader,
BlockPos pos,
FluidStack fluidStack)
Determines if this fluid should vaporize in dimensions where water vaporizes when placed.
|
BlockState |
getBlock(IEnviromentBlockReader reader,
BlockPos pos,
IFluidState state) |
ItemStack |
getBucket(FluidStack stack) |
int |
getColor() |
int |
getColor(FluidStack stack) |
int |
getColor(IEnviromentBlockReader world,
BlockPos pos) |
int |
getDensity() |
int |
getDensity(FluidStack stack) |
int |
getDensity(IEnviromentBlockReader world,
BlockPos pos) |
ITextComponent |
getDisplayName(FluidStack stack)
Returns the localized name of this fluid.
|
SoundEvent |
getEmptySound() |
SoundEvent |
getEmptySound(FluidStack stack) |
SoundEvent |
getEmptySound(IEnviromentBlockReader world,
BlockPos pos) |
SoundEvent |
getFillSound() |
SoundEvent |
getFillSound(FluidStack stack) |
SoundEvent |
getFillSound(IEnviromentBlockReader world,
BlockPos pos) |
ResourceLocation |
getFlowing(FluidStack stack) |
ResourceLocation |
getFlowing(IEnviromentBlockReader world,
BlockPos pos) |
ResourceLocation |
getFlowingTexture() |
int |
getLuminosity() |
int |
getLuminosity(FluidStack stack) |
int |
getLuminosity(IEnviromentBlockReader world,
BlockPos pos) |
ResourceLocation |
getOverlayTexture() |
Rarity |
getRarity() |
Rarity |
getRarity(FluidStack stack) |
Rarity |
getRarity(IEnviromentBlockReader world,
BlockPos pos) |
IFluidState |
getStateForPlacement(IEnviromentBlockReader reader,
BlockPos pos,
FluidStack state) |
ResourceLocation |
getStill(FluidStack stack) |
ResourceLocation |
getStill(IEnviromentBlockReader world,
BlockPos pos) |
ResourceLocation |
getStillTexture() |
int |
getTemperature() |
int |
getTemperature(FluidStack stack) |
int |
getTemperature(IEnviromentBlockReader world,
BlockPos pos) |
java.util.stream.Stream<ResourceLocation> |
getTextures() |
java.lang.String |
getTranslationKey()
Returns the translation key of this fluid.
|
java.lang.String |
getTranslationKey(FluidStack stack)
A FluidStack sensitive version of getTranslationKey
|
int |
getViscosity() |
int |
getViscosity(FluidStack stack) |
int |
getViscosity(IEnviromentBlockReader world,
BlockPos pos) |
boolean |
isGaseous() |
boolean |
isGaseous(FluidStack stack) |
boolean |
isGaseous(IEnviromentBlockReader world,
BlockPos pos) |
boolean |
isLighterThanAir() |
void |
vaporize(PlayerEntity player,
World worldIn,
BlockPos pos,
FluidStack fluidStack)
|