Class ArchitecturyFlowingFluid

java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
dev.architectury.core.fluid.ArchitecturyFlowingFluid
All Implemented Interfaces:
InjectedFluidExtension, InjectedRegistryEntryExtension<net.minecraft.world.level.material.Fluid>
Direct Known Subclasses:
ArchitecturyFlowingFluid.Flowing, ArchitecturyFlowingFluid.Source

public abstract class ArchitecturyFlowingFluid extends net.minecraft.world.level.material.FlowingFluid
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields inherited from class net.minecraft.world.level.material.FlowingFluid

    FALLING, LEVEL

    Fields inherited from class net.minecraft.world.level.material.Fluid

    FLUID_STATE_REGISTRY, stateDefinition
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    beforeDestroyingBlock(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    protected boolean
    canBeReplacedWith(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid fluid, net.minecraft.core.Direction direction)
     
    protected boolean
    canConvertToSource(net.minecraft.world.level.Level level)
     
    protected net.minecraft.world.level.block.state.BlockState
    createLegacyBlock(net.minecraft.world.level.material.FluidState state)
     
    net.minecraft.world.item.Item
     
    protected int
    getDropOff(net.minecraft.world.level.LevelReader level)
     
    protected float
     
    net.minecraft.world.level.material.Fluid
     
    @NotNull Optional<net.minecraft.sounds.SoundEvent>
     
    protected int
    getSlopeFindDistance(net.minecraft.world.level.LevelReader level)
     
    net.minecraft.world.level.material.Fluid
     
    int
    getTickDelay(net.minecraft.world.level.LevelReader level)
     
    boolean
    isSame(net.minecraft.world.level.material.Fluid fluid)
     

    Methods inherited from class net.minecraft.world.level.material.FlowingFluid

    canSpreadTo, createFluidStateDefinition, getAmount, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, spread, spreadTo, tick

    Methods inherited from class net.minecraft.world.level.material.Fluid

    animateTick, builtInRegistryHolder, defaultFluidState, getDripParticle, getStateDefinition, is, isEmpty, isRandomlyTicking, isSource, randomTick, registerDefaultState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.architectury.extensions.injected.InjectedFluidExtension

    arch$holder

    Methods inherited from interface dev.architectury.extensions.injected.InjectedRegistryEntryExtension

    arch$registryName
  • Method Details

    • getFlowing

      public net.minecraft.world.level.material.Fluid getFlowing()
      Specified by:
      getFlowing in class net.minecraft.world.level.material.FlowingFluid
    • getSource

      public net.minecraft.world.level.material.Fluid getSource()
      Specified by:
      getSource in class net.minecraft.world.level.material.FlowingFluid
    • canConvertToSource

      protected boolean canConvertToSource(net.minecraft.world.level.Level level)
      Specified by:
      canConvertToSource in class net.minecraft.world.level.material.FlowingFluid
    • beforeDestroyingBlock

      protected void beforeDestroyingBlock(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      beforeDestroyingBlock in class net.minecraft.world.level.material.FlowingFluid
    • getSlopeFindDistance

      protected int getSlopeFindDistance(net.minecraft.world.level.LevelReader level)
      Specified by:
      getSlopeFindDistance in class net.minecraft.world.level.material.FlowingFluid
    • getDropOff

      protected int getDropOff(net.minecraft.world.level.LevelReader level)
      Specified by:
      getDropOff in class net.minecraft.world.level.material.FlowingFluid
    • getBucket

      public net.minecraft.world.item.Item getBucket()
      Specified by:
      getBucket in class net.minecraft.world.level.material.Fluid
    • canBeReplacedWith

      protected boolean canBeReplacedWith(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid fluid, net.minecraft.core.Direction direction)
      Specified by:
      canBeReplacedWith in class net.minecraft.world.level.material.Fluid
    • getTickDelay

      public int getTickDelay(net.minecraft.world.level.LevelReader level)
      Specified by:
      getTickDelay in class net.minecraft.world.level.material.Fluid
    • getExplosionResistance

      protected float getExplosionResistance()
      Specified by:
      getExplosionResistance in class net.minecraft.world.level.material.Fluid
    • createLegacyBlock

      protected net.minecraft.world.level.block.state.BlockState createLegacyBlock(net.minecraft.world.level.material.FluidState state)
      Specified by:
      createLegacyBlock in class net.minecraft.world.level.material.Fluid
    • getPickupSound

      @NotNull public @NotNull Optional<net.minecraft.sounds.SoundEvent> getPickupSound()
      Overrides:
      getPickupSound in class net.minecraft.world.level.material.Fluid
    • isSame

      public boolean isSame(net.minecraft.world.level.material.Fluid fluid)
      Overrides:
      isSame in class net.minecraft.world.level.material.Fluid