Simple Copper Pipes

Simple Copper Pipes

850k Downloads

Is server-side only support possible?

astridos2go opened this issue ยท 3 comments

commented

Hi, I really enjoy this mod, but I have a question that may be very silly to ask.

Would there be any way for this mod to work server-side only?

I run a Vanilla-style Minecraft server, which basically means it's a modded Fabric server, but Vanilla clients can still join without any issues, and use all the features. I personally use a Fabric profile that has a lot of client-side only mods to join servers.

When I installed this mod on the server, it did not break the game for any of my Vanilla-only players, but they could not see or craft any of the pipes. I could see and craft the pipes, but I have the mod installed client-side.

I know there are a few projects like PolyMC and Polymer that may be of use, but I have never created a mod before, so I genuinely have no idea if something like this is even possible. (I did try running this mod with PolyMC, but it just made all the copper fittings/pipes into stone blocks ๐Ÿ˜ž)

Please let me know if something like this would be possible, because I would love to have this mod on my server. If it isn't possible, or it's not something that you have planned for the mod to support, I completely understand as well.

I look forward to your response!

commented

Update: I believe that this mod should work with PolyMC. The only issue seems to be that PolyMC doesn't know how to handle the copper pipes when they're placed, causing them to render as stone blocks.

Again, I've never modded before, but it looks like there's a way to use the PolyMC API to give PolyMC a better idea of how to render the block? I am really not sure, but I am willing to try to help if at all possible.

commented

I don't think it's possible to render it client-side only since there are no pipe-shaped block states. I guess you could maybe use custom entities but I don't think Polymer/PolyMC has support for that.

(I also have little to no modding experience, just some game knowledge and wiki reading)

commented

I want this feature too, may be server send resource pack to the client will be helpful?