net.minecraft.block.BlockRenderType Java Examples

The following examples show how to use net.minecraft.block.BlockRenderType. 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: RenderBlock.java    From MiningGadgets with MIT License 5 votes vote down vote up
/**
 * @param state blockState
 * @return Render Type
 * @deprecated call via {@link BlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
 */
@Override
@SuppressWarnings("deprecation")
public BlockRenderType getRenderType(BlockState state) {
    // We still make effect blocks invisible because all effects (scaling block, transparent box) are dynamic so they has to be in the TER
    return BlockRenderType.INVISIBLE;
}
 
Example #2
Source File: MinersLight.java    From MiningGadgets with MIT License 5 votes vote down vote up
/**
 * @param state blockState
 * @return Render Type
 * @deprecated call via {@link BlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
 */
@Override
@SuppressWarnings("deprecation")
public BlockRenderType getRenderType(BlockState state) {
    // We still make effect blocks invisible because all effects (scaling block, transparent box) are dynamic so they has to be in the TER
    return BlockRenderType.INVISIBLE;
}
 
Example #3
Source File: AluminumWireBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState state) {
    return BlockRenderType.MODEL;
}
 
Example #4
Source File: OxygenCollectorBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #5
Source File: BasicSolarPanelBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #6
Source File: CircuitFabricatorBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #7
Source File: CompressorBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #8
Source File: ElectricCompressorBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #9
Source File: RefineryBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #10
Source File: EnergyStorageModuleBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #11
Source File: CoalGeneratorBlock.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
    return BlockRenderType.MODEL;
}
 
Example #12
Source File: HallowedTreasureChestBlock.java    From the-hallow with MIT License 4 votes vote down vote up
@SuppressWarnings("deprecation")
@Override
public BlockRenderType getRenderType(BlockState blockState) {
	return BlockRenderType.INVISIBLE;
}
 
Example #13
Source File: WitchWaterBubbleColumnBlock.java    From the-hallow with MIT License 4 votes vote down vote up
@SuppressWarnings("deprecation")
@Override
public BlockRenderType getRenderType(BlockState state) {
	return BlockRenderType.INVISIBLE;
}
 
Example #14
Source File: BlockEnderStorage.java    From EnderStorage with MIT License 4 votes vote down vote up
@Override
public BlockRenderType getRenderType(BlockState state) {
    return BlockRenderType.INVISIBLE;
}