Modifier and Type | Field and Description |
---|---|
private Fluid |
FluidPredicate.field_226645_c_ |
Modifier and Type | Field and Description |
---|---|
private Tag<Fluid> |
FluidPredicate.field_226644_b_ |
Constructor and Description |
---|
FluidPredicate(Tag<Fluid> p_i225738_1_,
Fluid p_i225738_2_,
StatePropertiesPredicate p_i225738_3_) |
Constructor and Description |
---|
FluidPredicate(Tag<Fluid> p_i225738_1_,
Fluid p_i225738_2_,
StatePropertiesPredicate p_i225738_3_) |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<? extends Fluid> |
FlowingFluidBlock.supplier |
Modifier and Type | Method and Description |
---|---|
Fluid |
BubbleColumnBlock.pickupFluid(IWorld worldIn,
BlockPos pos,
BlockState state) |
Fluid |
IBucketPickupHandler.pickupFluid(IWorld worldIn,
BlockPos pos,
BlockState state) |
Fluid |
FlowingFluidBlock.pickupFluid(IWorld worldIn,
BlockPos pos,
BlockState state) |
default Fluid |
IWaterLoggable.pickupFluid(IWorld worldIn,
BlockPos pos,
BlockState state) |
Modifier and Type | Method and Description |
---|---|
boolean |
SeaGrassBlock.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
boolean |
KelpBlock.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
boolean |
KelpTopBlock.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
boolean |
ILiquidContainer.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
boolean |
TallSeaGrassBlock.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
default boolean |
IWaterLoggable.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
boolean |
SlabBlock.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
boolean |
EndGatewayBlock.isReplaceable(BlockState p_225541_1_,
Fluid p_225541_2_) |
boolean |
EndPortalBlock.isReplaceable(BlockState p_225541_1_,
Fluid p_225541_2_) |
boolean |
Block.isReplaceable(BlockState p_225541_1_,
Fluid p_225541_2_)
Deprecated.
|
boolean |
BlockState.isReplaceable(Fluid fluidIn) |
Modifier and Type | Field and Description |
---|---|
private Fluid |
DripParticle.fluid |
Constructor and Description |
---|
DripParticle(World p_i49197_1_,
double p_i49197_2_,
double p_i49197_4_,
double p_i49197_6_,
Fluid p_i49197_8_) |
Dripping(World p_i50509_1_,
double p_i50509_2_,
double p_i50509_4_,
double p_i50509_6_,
Fluid p_i50509_8_,
IParticleData p_i50509_9_) |
DrippingLava(World p_i50513_1_,
double p_i50513_2_,
double p_i50513_4_,
double p_i50513_6_,
Fluid p_i50513_8_,
IParticleData p_i50513_9_) |
FallingHoneyParticle(World p_i225957_1_,
double p_i225957_2_,
double p_i225957_4_,
double p_i225957_6_,
Fluid p_i225957_8_,
IParticleData p_i225957_9_) |
FallingLiquidParticle(World p_i225953_1_,
double p_i225953_2_,
double p_i225953_4_,
double p_i225953_6_,
Fluid p_i225953_8_,
IParticleData p_i225953_9_) |
FallingNectarParticle(World p_i225955_1_,
double p_i225955_2_,
double p_i225955_4_,
double p_i225955_6_,
Fluid p_i225955_8_) |
Landing(World p_i50507_1_,
double p_i50507_2_,
double p_i50507_4_,
double p_i50507_6_,
Fluid p_i50507_8_) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<IRegistryDelegate<Fluid>,java.util.function.Predicate<RenderType>> |
RenderTypeLookup.fluidRenderChecks |
private static java.util.Map<Fluid,RenderType> |
RenderTypeLookup.TYPES_BY_FLUID
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private float |
FluidBlockRenderer.getFluidHeight(IBlockReader reader,
BlockPos pos,
Fluid fluidIn) |
static void |
RenderTypeLookup.setRenderLayer(Fluid fluid,
java.util.function.Predicate<RenderType> predicate) |
static void |
RenderTypeLookup.setRenderLayer(Fluid fluid,
RenderType type) |
Modifier and Type | Method and Description |
---|---|
ITickList<Fluid> |
ClientWorld.getPendingFluidTicks() |
Modifier and Type | Method and Description |
---|---|
protected void |
FluidTagsProvider.setCollection(TagCollection<Fluid> colectionIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
Entity.areEyesInFluid(Tag<Fluid> tagIn) |
boolean |
Entity.areEyesInFluid(Tag<Fluid> p_213290_1_,
boolean checkChunkLoaded) |
boolean |
Entity.handleFluidAcceleration(Tag<Fluid> p_210500_1_) |
protected void |
LivingEntity.handleFluidJump(Tag<Fluid> fluidTag) |
protected void |
MobEntity.handleFluidJump(Tag<Fluid> fluidTag) |
Modifier and Type | Method and Description |
---|---|
protected void |
MagmaCubeEntity.handleFluidJump(Tag<Fluid> fluidTag) |
Modifier and Type | Method and Description |
---|---|
protected void |
BeeEntity.handleFluidJump(Tag<Fluid> fluidTag) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyFluid |
class |
FlowingFluid |
class |
LavaFluid |
static class |
LavaFluid.Flowing |
static class |
LavaFluid.Source |
class |
WaterFluid |
static class |
WaterFluid.Flowing |
static class |
WaterFluid.Source |
Modifier and Type | Field and Description |
---|---|
static Fluid |
Fluids.EMPTY |
Modifier and Type | Field and Description |
---|---|
private ReverseTagWrapper<Fluid> |
Fluid.reverseTags |
protected StateContainer<Fluid,IFluidState> |
Fluid.stateContainer |
Modifier and Type | Method and Description |
---|---|
private static <T extends Fluid> |
Fluids.register(java.lang.String key,
T p_215710_1_) |
Modifier and Type | Method and Description |
---|---|
abstract Fluid |
FlowingFluid.getFlowingFluid() |
Fluid |
WaterFluid.getFlowingFluid() |
Fluid |
LavaFluid.getFlowingFluid() |
Fluid |
IFluidState.getFluid() |
Fluid |
FluidState.getFluid() |
abstract Fluid |
FlowingFluid.getStillFluid() |
Fluid |
WaterFluid.getStillFluid() |
Fluid |
LavaFluid.getStillFluid() |
Modifier and Type | Method and Description |
---|---|
StateContainer<Fluid,IFluidState> |
Fluid.getStateContainer() |
Modifier and Type | Method and Description |
---|---|
default boolean |
IFluidState.canDisplace(IBlockReader p_215677_1_,
BlockPos p_215677_2_,
Fluid p_215677_3_,
Direction p_215677_4_) |
protected abstract boolean |
Fluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
boolean |
EmptyFluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
boolean |
WaterFluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
boolean |
LavaFluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
protected boolean |
FlowingFluid.canFlow(IBlockReader worldIn,
BlockPos fromPos,
BlockState fromBlockState,
Direction direction,
BlockPos toPos,
BlockState toBlockState,
IFluidState toFluidState,
Fluid fluidIn) |
private boolean |
FlowingFluid.func_211759_a(IBlockReader p_211759_1_,
Fluid p_211759_2_,
BlockPos p_211759_3_,
BlockState p_211759_4_,
BlockPos p_211759_5_,
BlockState p_211759_6_) |
private boolean |
FlowingFluid.func_211760_a(IBlockReader p_211760_1_,
Fluid p_211760_2_,
BlockPos p_211760_3_,
BlockState p_211760_4_,
Direction p_211760_5_,
BlockPos p_211760_6_,
BlockState p_211760_7_,
IFluidState p_211760_8_) |
private boolean |
FlowingFluid.isBlocked(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
boolean |
Fluid.isEquivalentTo(Fluid fluidIn) |
boolean |
WaterFluid.isEquivalentTo(Fluid fluidIn) |
boolean |
LavaFluid.isEquivalentTo(Fluid fluidIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
Fluid.fillStateContainer(StateContainer.Builder<Fluid,IFluidState> builder) |
protected void |
FlowingFluid.fillStateContainer(StateContainer.Builder<Fluid,IFluidState> builder) |
protected void |
WaterFluid.Flowing.fillStateContainer(StateContainer.Builder<Fluid,IFluidState> builder) |
protected void |
LavaFluid.Flowing.fillStateContainer(StateContainer.Builder<Fluid,IFluidState> builder) |
boolean |
Fluid.isIn(Tag<Fluid> tagIn) |
default boolean |
IFluidState.isTagged(Tag<Fluid> tagIn) |
Constructor and Description |
---|
FluidState(Fluid p_i48997_1_,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> p_i48997_2_) |
Modifier and Type | Field and Description |
---|---|
private Fluid |
BucketItem.containedBlock |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<? extends Fluid> |
BucketItem.fluidSupplier |
Modifier and Type | Method and Description |
---|---|
Fluid |
BucketItem.getFluid() |
Constructor and Description |
---|
BucketItem(Fluid containedFluidIn,
Item.Properties builder)
Deprecated.
|
FishBucketItem(EntityType<?> fishTypeIn,
Fluid p_i49022_2_,
Item.Properties builder)
Deprecated.
|
Constructor and Description |
---|
BucketItem(java.util.function.Supplier<? extends Fluid> supplier,
Item.Properties builder) |
FishBucketItem(java.util.function.Supplier<? extends EntityType<?>> fishTypeIn,
java.util.function.Supplier<? extends Fluid> p_i49022_2_,
Item.Properties builder) |
Modifier and Type | Field and Description |
---|---|
private Tag<Fluid> |
FluidTags.Wrapper.cachedTag |
private static TagCollection<Fluid> |
FluidTags.collection |
private NetworkTagCollection<Fluid> |
NetworkTagManager.fluids |
(package private) java.util.Map<ResourceLocation,Tag.Builder<Fluid>> |
NetworkTagManager.ReloadResults.fluids |
static Tag<Fluid> |
FluidTags.LAVA |
static Tag<Fluid> |
FluidTags.WATER |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Fluid> |
FluidTags.Wrapper.getAllElements() |
static TagCollection<Fluid> |
FluidTags.getCollection() |
java.util.Collection<Tag.ITagEntry<Fluid>> |
FluidTags.Wrapper.getEntries() |
NetworkTagCollection<Fluid> |
NetworkTagManager.getFluids() |
private static Tag<Fluid> |
FluidTags.makeWrapperTag(java.lang.String p_206956_0_) |
Modifier and Type | Method and Description |
---|---|
boolean |
FluidTags.Wrapper.contains(Fluid itemIn) |
Modifier and Type | Method and Description |
---|---|
static void |
FluidTags.setCollection(TagCollection<Fluid> collectionIn) |
Constructor and Description |
---|
ReloadResults(java.util.Map<ResourceLocation,Tag.Builder<Block>> blocks,
java.util.Map<ResourceLocation,Tag.Builder<Item>> items,
java.util.Map<ResourceLocation,Tag.Builder<Fluid>> fluids,
java.util.Map<ResourceLocation,Tag.Builder<EntityType<?>>> entityTypes) |
Modifier and Type | Field and Description |
---|---|
static DefaultedRegistry<Fluid> |
Registry.FLUID
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ITickList<Fluid> |
IWorld.getPendingFluidTicks() |
Modifier and Type | Field and Description |
---|---|
private ITickList<Fluid> |
Chunk.fluidsToBeTicked |
private ChunkPrimerTickList<Fluid> |
ChunkPrimer.pendingFluidTicks |
Modifier and Type | Method and Description |
---|---|
ChunkPrimerTickList<Fluid> |
ChunkPrimer.getFluidsToBeTicked() |
ChunkPrimerTickList<Fluid> |
ChunkPrimerWrapper.getFluidsToBeTicked() |
ITickList<Fluid> |
Chunk.getFluidsToBeTicked() |
ITickList<Fluid> |
IChunk.getFluidsToBeTicked() |
Constructor and Description |
---|
Chunk(World worldIn,
ChunkPos chunkPosIn,
BiomeContainer biomeContainerIn,
UpgradeData upgradeDataIn,
ITickList<Block> tickBlocksIn,
ITickList<Fluid> tickFluidsIn,
long inhabitedTimeIn,
ChunkSection[] sectionsIn,
java.util.function.Consumer<Chunk> postLoadConsumerIn) |
ChunkPrimer(ChunkPos p_i49941_1_,
UpgradeData p_i49941_2_,
ChunkSection[] p_i49941_3_,
ChunkPrimerTickList<Block> p_i49941_4_,
ChunkPrimerTickList<Fluid> p_i49941_5_) |
Modifier and Type | Field and Description |
---|---|
private ITickList<Fluid> |
WorldGenRegion.pendingFluidTickList |
Modifier and Type | Method and Description |
---|---|
ITickList<Fluid> |
WorldGenRegion.getPendingFluidTicks() |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Fluid> |
WorldCarver.carvableFluids |
Modifier and Type | Field and Description |
---|---|
private ServerTickList<Fluid> |
ServerWorld.pendingFluidTicks |
Modifier and Type | Method and Description |
---|---|
ServerTickList<Fluid> |
ServerWorld.getPendingFluidTicks() |
Modifier and Type | Method and Description |
---|---|
private void |
ServerWorld.tickFluid(NextTickListEntry<Fluid> fluidTickEntry) |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<Material> |
ForgeHooksClient.getFluidMaterials(Fluid fluid) |
Modifier and Type | Field and Description |
---|---|
private Fluid |
FluidModel.fluid |
private Fluid |
DynamicBucketModel.fluid |
Modifier and Type | Method and Description |
---|---|
DynamicBucketModel |
DynamicBucketModel.withFluid(Fluid newFluid)
Returns a new ModelDynBucket representing the given fluid, but with the same
other properties (flipGas, tint, coverIsMask).
|
Constructor and Description |
---|
DynamicBucketModel(Fluid fluid,
boolean flipGas,
boolean tint,
boolean coverIsMask) |
FluidModel(Fluid fluid) |
Modifier and Type | Method and Description |
---|---|
static FluidAttributes |
ForgeHooks.createVanillaFluidAttributes(Fluid fluid) |
Modifier and Type | Method and Description |
---|---|
default Fluid |
IForgeFluid.getFluid() |
Modifier and Type | Method and Description |
---|---|
default boolean |
IForgeFluid.isEntityInside(IFluidState state,
IWorldReader world,
BlockPos pos,
Entity entity,
double yToTest,
Tag<Fluid> tag,
boolean testingHead)
Called when the entity is inside this block, may be used to determined if the entity can breathing,
display material overlays, or if the entity can swim inside a block.
|
default boolean |
IForgeFluidState.isEntityInside(IWorldReader world,
BlockPos pos,
Entity entity,
double yToTest,
Tag<Fluid> tag,
boolean testingHead)
Called when the entity is inside this block, may be used to determined if the entity can breathing,
display material overlays, or if the entity can swim inside a block.
|
Modifier and Type | Field and Description |
---|---|
static DeferredRegister<Fluid> |
NewFluidTest.FLUIDS |
Modifier and Type | Method and Description |
---|---|
Fluid |
NewFluidTest.FluidloggableBlock.pickupFluid(IWorld worldIn,
BlockPos pos,
BlockState state) |
Modifier and Type | Method and Description |
---|---|
boolean |
NewFluidTest.FluidloggableBlock.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
Modifier and Type | Class and Description |
---|---|
class |
ForgeFlowingFluid |
static class |
ForgeFlowingFluid.Flowing |
static class |
ForgeFlowingFluid.Source |
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiFunction<FluidAttributes.Builder,Fluid,FluidAttributes> |
FluidAttributes.Builder.factory |
private java.util.function.Supplier<? extends Fluid> |
ForgeFlowingFluid.flowing |
private java.util.function.Supplier<? extends Fluid> |
ForgeFlowingFluid.Properties.flowing |
private IRegistryDelegate<Fluid> |
FluidStack.fluidDelegate |
private java.util.function.Supplier<? extends Fluid> |
ForgeFlowingFluid.still |
private java.util.function.Supplier<? extends Fluid> |
ForgeFlowingFluid.Properties.still |
Modifier and Type | Method and Description |
---|---|
Fluid |
ForgeFlowingFluid.getFlowingFluid() |
Fluid |
IFluidBlock.getFluid()
Returns the Fluid associated with this Block.
|
Fluid |
FluidStack.getFluid() |
Fluid |
FluidStack.getRawFluid() |
Fluid |
ForgeFlowingFluid.getStillFluid() |
Modifier and Type | Method and Description |
---|---|
FluidAttributes |
FluidAttributes.Builder.build(Fluid fluid) |
protected boolean |
ForgeFlowingFluid.canDisplace(IFluidState state,
IBlockReader world,
BlockPos pos,
Fluid fluidIn,
Direction direction) |
private static IFluidHandler |
FluidUtil.getFluidBlockHandler(Fluid fluid,
World world,
BlockPos pos)
Internal method for getting a fluid block handler for placing a fluid.
|
boolean |
ForgeFlowingFluid.isEquivalentTo(Fluid fluidIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
ForgeFlowingFluid.Flowing.fillStateContainer(StateContainer.Builder<Fluid,IFluidState> builder) |
Constructor and Description |
---|
FluidAttributes(FluidAttributes.Builder builder,
Fluid fluid) |
FluidStack(Fluid fluid,
int amount) |
FluidStack(Fluid fluid,
int amount,
CompoundNBT nbt) |
Water(FluidAttributes.Builder builder,
Fluid fluid) |
Constructor and Description |
---|
Builder(ResourceLocation stillTexture,
ResourceLocation flowingTexture,
java.util.function.BiFunction<FluidAttributes.Builder,Fluid,FluidAttributes> factory) |
Properties(java.util.function.Supplier<? extends Fluid> still,
java.util.function.Supplier<? extends Fluid> flowing,
FluidAttributes.Builder attributes) |
Properties(java.util.function.Supplier<? extends Fluid> still,
java.util.function.Supplier<? extends Fluid> flowing,
FluidAttributes.Builder attributes) |
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<Fluid> |
ForgeRegistries.FLUIDS |