Java Code Examples for net.minecraft.util.EnumBlockRenderType#MODEL

The following examples show how to use net.minecraft.util.EnumBlockRenderType#MODEL . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FacadeHelper.java    From GregTech with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static boolean isValidFacade(ItemStack itemStack) {
    IBlockState rawBlockState = lookupBlockForItemUnsafe(itemStack);
    return rawBlockState != null &&
        !rawBlockState.getBlock().hasTileEntity(rawBlockState) &&
        !rawBlockState.getBlock().hasTileEntity() &&
        rawBlockState.getRenderType() == EnumBlockRenderType.MODEL &&
        rawBlockState.isFullCube();
}
 
Example 2
Source File: BlockGnomeCache.java    From CommunityMod with GNU Lesser General Public License v2.1 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 3
Source File: BlockBeacon.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 4
Source File: BlockBlueprintArchive.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 5
Source File: BlockBeaconLarge.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 6
Source File: BlockCharger.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 7
Source File: BlockEngineeringTable.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 8
Source File: TidalGenerator.java    From EmergingTechnology with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state) {
    // return EnumBlockRenderType.ENTITYBLOCK_ANIMATED;
    return EnumBlockRenderType.MODEL;
}
 
Example 9
Source File: BlockFluidBase.java    From EmergingTechnology with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state) {
    return EnumBlockRenderType.MODEL;
}
 
Example 10
Source File: BlockScanner.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 11
Source File: BlockTofuStation.java    From TofuCraftReload with MIT License 4 votes vote down vote up
public EnumBlockRenderType getRenderType(IBlockState state) {
    return EnumBlockRenderType.MODEL;
}
 
Example 12
Source File: BlockKitunebi.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state) {
	return EnumBlockRenderType.MODEL;
}
 
Example 13
Source File: BlockSurgeryChamber.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 14
Source File: BlockBarrel.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state) {
    return EnumBlockRenderType.MODEL;
}
 
Example 15
Source File: BlockBarrelDistillation.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state) {
    return EnumBlockRenderType.MODEL;
}
 
Example 16
Source File: BlockComponentBox.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}
 
Example 17
Source File: BlockGenericPipe.java    From Logistics-Pipes-2 with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state) {
	return EnumBlockRenderType.MODEL;
}
 
Example 18
Source File: BlockTFCrasher.java    From TofuCraftReload with MIT License 4 votes vote down vote up
public EnumBlockRenderType getRenderType(IBlockState state)
{
    return EnumBlockRenderType.MODEL;
}
 
Example 19
Source File: BlockBase.java    From Signals with GNU General Public License v3.0 4 votes vote down vote up
/**
 * The type of render function called. 3 for standard block models, 2 for TESR's, 1 for liquids, -1 is no render
 */
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
    return EnumBlockRenderType.MODEL;
}
 
Example 20
Source File: BlockSurgery.java    From Cyberware with MIT License 4 votes vote down vote up
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
	return EnumBlockRenderType.MODEL;
}