Interface FluidContainerImpl


@ClassExtension(FluidContainer.class) public interface FluidContainerImpl
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static boolean
    holdsFluid(net.minecraft.world.item.ItemStack stack)
     
    static boolean
    holdsFluid(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.entity.BlockEntity entity, @Nullable net.minecraft.core.Direction direction)
     
    static @Nullable FluidContainer
     
    static @Nullable FluidContainer
    of(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.entity.BlockEntity entity, @Nullable net.minecraft.core.Direction direction)
     
  • Method Details

    • of

      @Nullable @ImplementedByExtension static @Nullable FluidContainer of(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity entity, @Nullable @Nullable net.minecraft.core.Direction direction)
    • of

      @Nullable @ImplementedByExtension static @Nullable FluidContainer of(ItemStackHolder holder)
    • holdsFluid

      @ImplementedByExtension static boolean holdsFluid(net.minecraft.world.item.ItemStack stack)
    • holdsFluid

      @ImplementedByExtension static boolean holdsFluid(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity entity, @Nullable @Nullable net.minecraft.core.Direction direction)