Fixed texture error for fluid itemblocks.

This commit is contained in:
drcrazy 2017-11-13 02:14:44 +03:00
parent bf5b649fc4
commit 9d1e64b1b2
8 changed files with 158 additions and 72 deletions
src/main/java/techreborn/blocks

View file

@ -31,7 +31,6 @@ import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.fluids.Fluid;
import techreborn.Core;
public class BlockFluidTechReborn extends BlockFluidBase {
@ -41,7 +40,6 @@ public class BlockFluidTechReborn extends BlockFluidBase {
super(fluid, material);
setUnlocalizedName(name);
this.name = name;
Core.proxy.registerFluidBlockRendering(this, name);
}
@Override

View file

@ -56,6 +56,7 @@ public class BlockSolarPanel extends BaseTileBlock {
ShootingStar.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
}
@Override
protected BlockStateContainer createBlockState() {
ACTIVE = PropertyBool.create("active");
return new BlockStateContainer(this, ACTIVE);