Skip to content

Commit 869be2a

Browse files
authored
Add Missing Annotations (#2637)
1 parent 805b20c commit 869be2a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/main/java/gregtech/common/metatileentities/steam/SteamMiner.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ public void receiveCustomData(int dataId, PacketBuffer buf) {
254254
this.minerLogic.receiveCustomData(dataId, buf);
255255
}
256256

257+
@Override
257258
@SideOnly(Side.CLIENT)
258259
public Pair<TextureAtlasSprite, Integer> getParticleTexture() {
259260
return Pair.of(Textures.STEAM_CASING_BRONZE.getSpriteOnSide(SimpleSidedCubeRenderer.RenderSide.TOP),

src/main/java/gregtech/common/pipelike/itempipe/BlockItemPipe.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public WorldItemPipeNet getWorldPipeNet(World world) {
7777
}
7878

7979
@Override
80+
@SideOnly(Side.CLIENT)
8081
protected Pair<TextureAtlasSprite, Integer> getParticleTexture(World world, BlockPos blockPos) {
8182
return ItemPipeRenderer.INSTANCE.getParticleTexture((TileEntityItemPipe) world.getTileEntity(blockPos));
8283
}

src/main/java/gregtech/common/pipelike/laser/BlockLaserPipe.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public BlockLaserPipe(@NotNull LaserPipeType pipeType) {
4444
}
4545

4646
@Override
47+
@SideOnly(Side.CLIENT)
4748
protected Pair<TextureAtlasSprite, Integer> getParticleTexture(World world, BlockPos blockPos) {
4849
return LaserPipeRenderer.INSTANCE.getParticleTexture((TileEntityLaserPipe) world.getTileEntity(blockPos));
4950
}

src/main/java/gregtech/common/pipelike/optical/BlockOpticalPipe.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public BlockOpticalPipe(@NotNull OpticalPipeType pipeType) {
4242
}
4343

4444
@Override
45+
@SideOnly(Side.CLIENT)
4546
protected Pair<TextureAtlasSprite, Integer> getParticleTexture(@NotNull World world, BlockPos blockPos) {
4647
return OpticalPipeRenderer.INSTANCE.getParticleTexture((TileEntityOpticalPipe) world.getTileEntity(blockPos));
4748
}

0 commit comments

Comments
 (0)