Skip to content

Commit

Permalink
Fix render type
Browse files Browse the repository at this point in the history
  • Loading branch information
aurilisdev committed Apr 15, 2021
1 parent ba1bf27 commit eaf58b7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package nuclearscience.common.block;

import electrodynamics.common.block.BlockGenericMachine;
import net.minecraft.block.BlockRenderType;
import net.minecraft.block.BlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.IBlockReader;
Expand All @@ -12,4 +13,9 @@ public TileEntity createTileEntity(BlockState state, IBlockReader world) {
return new TileTeleporter();
}

@Override
public BlockRenderType getRenderType(BlockState state) {
return BlockRenderType.ENTITYBLOCK_ANIMATED;
}

}

0 comments on commit eaf58b7

Please sign in to comment.