ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/base/BlockFluidFlowing.java

53 lines
1.5 KiB
Java
Raw Normal View History

2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.blocks.base;
2015-04-26 20:07:57 +02:00
import net.minecraft.block.Block;
import net.minecraft.block.FlowingFluidBlock;
import net.minecraft.fluid.FlowingFluid;
@Deprecated
public class BlockFluidFlowing extends FlowingFluidBlock {
// private final String name;
public BlockFluidFlowing(FlowingFluid fluid, Block.Properties builder) {
super(fluid, builder);
// this.name = unlocalizedName;
// todo: check this
// this.displacements.put(this, false);
2015-04-26 20:07:57 +02:00
// this.register();
2015-12-19 10:30:39 +01:00
}
// private void register() {
// ItemUtil.registerBlock(this, this.getItemBlock(), this.getBaseName(), this.shouldAddCreative());
// }
2015-04-26 20:07:57 +02:00
// protected String getBaseName() {
// return this.name;
// }
// protected ItemBlockBase getItemBlock() {
// return new ItemBlockBase(this);
// }
2015-04-26 20:07:57 +02:00
public boolean shouldAddCreative() {
return false;
2015-04-26 20:07:57 +02:00
}
// todo: reeval canDisplay and displaceIfPossible
// @Override
// public boolean canDisplace(IBlockAccess world, BlockPos pos) {
// return !world.getBlockState(pos).getMaterial().isLiquid() && super.canDisplace(world, pos);
// }
//
// @Override
// public boolean displaceIfPossible(World world, BlockPos pos) {
// return !world.getBlockState(pos).getMaterial().isLiquid() && super.displaceIfPossible(world, pos);
// }
////
// @Override
// public EnumRarity getRarity(ItemStack stack) {
// return EnumRarity.EPIC;
// }
2015-04-26 20:07:57 +02:00
}