package net.minecraft.world.level.material;

import net.minecraft.world.phys.shapes.Shapes;
import net.minecraft.world.phys.shapes.VoxelShape;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.LevelReader;
import net.minecraft.world.phys.Vec3;
import net.minecraft.core.Direction;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.Item;

public class EmptyFluid extends Fluid {
    @Override
    public Item getBucket() {
        return Items.AIR;
    }
    
    public boolean canBeReplacedWith(final FluidState coj, final BlockGetter bjg, final BlockPos fk, final Fluid coi, final Direction fp) {
        return true;
    }
    
    public Vec3 getFlow(final BlockGetter bjg, final BlockPos fk, final FluidState coj) {
        return Vec3.ZERO;
    }
    
    @Override
    public int getTickDelay(final LevelReader bjz) {
        return 0;
    }
    
    @Override
    protected boolean isEmpty() {
        return true;
    }
    
    @Override
    protected float getExplosionResistance() {
        return 0.0f;
    }
    
    @Override
    public float getHeight(final FluidState coj, final BlockGetter bjg, final BlockPos fk) {
        return 0.0f;
    }
    
    @Override
    public float getOwnHeight(final FluidState coj) {
        return 0.0f;
    }
    
    @Override
    protected BlockState createLegacyBlock(final FluidState coj) {
        return Blocks.AIR.defaultBlockState();
    }
    
    @Override
    public boolean isSource(final FluidState coj) {
        return false;
    }
    
    @Override
    public int getAmount(final FluidState coj) {
        return 0;
    }
    
    @Override
    public VoxelShape getShape(final FluidState coj, final BlockGetter bjg, final BlockPos fk) {
        return Shapes.empty();
    }
}
