Skip to content

Commit

Permalink
Add Missing Annotations (GregTechCEu#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit authored Oct 11, 2024
1 parent 805b20c commit 869be2a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ public void receiveCustomData(int dataId, PacketBuffer buf) {
this.minerLogic.receiveCustomData(dataId, buf);
}

@Override
@SideOnly(Side.CLIENT)
public Pair<TextureAtlasSprite, Integer> getParticleTexture() {
return Pair.of(Textures.STEAM_CASING_BRONZE.getSpriteOnSide(SimpleSidedCubeRenderer.RenderSide.TOP),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public WorldItemPipeNet getWorldPipeNet(World world) {
}

@Override
@SideOnly(Side.CLIENT)
protected Pair<TextureAtlasSprite, Integer> getParticleTexture(World world, BlockPos blockPos) {
return ItemPipeRenderer.INSTANCE.getParticleTexture((TileEntityItemPipe) world.getTileEntity(blockPos));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public BlockLaserPipe(@NotNull LaserPipeType pipeType) {
}

@Override
@SideOnly(Side.CLIENT)
protected Pair<TextureAtlasSprite, Integer> getParticleTexture(World world, BlockPos blockPos) {
return LaserPipeRenderer.INSTANCE.getParticleTexture((TileEntityLaserPipe) world.getTileEntity(blockPos));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public BlockOpticalPipe(@NotNull OpticalPipeType pipeType) {
}

@Override
@SideOnly(Side.CLIENT)
protected Pair<TextureAtlasSprite, Integer> getParticleTexture(@NotNull World world, BlockPos blockPos) {
return OpticalPipeRenderer.INSTANCE.getParticleTexture((TileEntityOpticalPipe) world.getTileEntity(blockPos));
}
Expand Down

0 comments on commit 869be2a

Please sign in to comment.