Java Code Examples for net.minecraft.block.BlockRenderType#INVISIBLE
The following examples show how to use
net.minecraft.block.BlockRenderType#INVISIBLE .
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 |
/** * @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 |
/** * @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: HallowedTreasureChestBlock.java From the-hallow with MIT License | 4 votes |
@SuppressWarnings("deprecation") @Override public BlockRenderType getRenderType(BlockState blockState) { return BlockRenderType.INVISIBLE; }
Example 4
Source File: WitchWaterBubbleColumnBlock.java From the-hallow with MIT License | 4 votes |
@SuppressWarnings("deprecation") @Override public BlockRenderType getRenderType(BlockState state) { return BlockRenderType.INVISIBLE; }
Example 5
Source File: BlockEnderStorage.java From EnderStorage with MIT License | 4 votes |
@Override public BlockRenderType getRenderType(BlockState state) { return BlockRenderType.INVISIBLE; }