Created
November 12, 2016 12:51
-
-
Save Arjol27/5738b8882b352acc203cd3f9c92840b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.da.blocks; | |
import com.da.main.DivineAscendancy; | |
import com.da.tileentities.altarCoreTE; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.block.state.IBlockState; | |
import net.minecraft.tileentity.TileEntity; | |
import net.minecraft.world.World; | |
public class altarCore extends Block { | |
public altarCore(Material material) { | |
super(material); | |
this.setUnlocalizedName(DivineAscendancy.MODID + ":" + "AltarCore"); | |
this.setRegistryName("altarCore"); | |
} | |
@Override | |
public TileEntity createTileEntity(World world, IBlockState state) { | |
return new altarCoreTE(); | |
} | |
@Override | |
public boolean hasTileEntity() { | |
return true; | |
} | |
@Override | |
public boolean isFullCube(IBlockState state) { | |
return false; | |
} | |
@Override | |
public boolean isOpaqueCube(IBlockState state) { | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment