すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド
修飾子とタイプ |
メソッドと説明 |
static FluidAttributes.Builder |
builder(ResourceLocation stillTexture,
ResourceLocation flowingTexture) |
boolean |
canBePlacedInWorld(ILightReader reader,
BlockPos pos,
FluidStack state) |
boolean |
canBePlacedInWorld(ILightReader reader,
BlockPos pos,
IFluidState state) |
boolean |
doesVaporize(ILightReader reader,
BlockPos pos,
FluidStack fluidStack)
Determines if this fluid should vaporize in dimensions where water vaporizes when placed.
|
BlockState |
getBlock(ILightReader reader,
BlockPos pos,
IFluidState state) |
ItemStack |
getBucket(FluidStack stack) |
int |
getColor() |
int |
getColor(FluidStack stack) |
int |
getColor(ILightReader world,
BlockPos pos) |
int |
getDensity() |
int |
getDensity(FluidStack stack) |
int |
getDensity(ILightReader world,
BlockPos pos) |
ITextComponent |
getDisplayName(FluidStack stack)
Returns the localized name of this fluid.
|
SoundEvent |
getEmptySound() |
SoundEvent |
getEmptySound(FluidStack stack) |
SoundEvent |
getEmptySound(ILightReader world,
BlockPos pos) |
SoundEvent |
getFillSound() |
SoundEvent |
getFillSound(FluidStack stack) |
SoundEvent |
getFillSound(ILightReader world,
BlockPos pos) |
ResourceLocation |
getFlowingTexture() |
ResourceLocation |
getFlowingTexture(FluidStack stack) |
ResourceLocation |
getFlowingTexture(ILightReader world,
BlockPos pos) |
int |
getLuminosity() |
int |
getLuminosity(FluidStack stack) |
int |
getLuminosity(ILightReader world,
BlockPos pos) |
ResourceLocation |
getOverlayTexture() |
Rarity |
getRarity() |
Rarity |
getRarity(FluidStack stack) |
Rarity |
getRarity(ILightReader world,
BlockPos pos) |
IFluidState |
getStateForPlacement(ILightReader reader,
BlockPos pos,
FluidStack state) |
ResourceLocation |
getStillTexture() |
ResourceLocation |
getStillTexture(FluidStack stack) |
ResourceLocation |
getStillTexture(ILightReader world,
BlockPos pos) |
int |
getTemperature() |
int |
getTemperature(FluidStack stack) |
int |
getTemperature(ILightReader 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(ILightReader world,
BlockPos pos) |
boolean |
isGaseous() |
boolean |
isGaseous(FluidStack stack) |
boolean |
isGaseous(ILightReader world,
BlockPos pos) |
boolean |
isLighterThanAir() |
void |
vaporize(PlayerEntity player,
World worldIn,
BlockPos pos,
FluidStack fluidStack)
|