Jump to content

iraclion

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by iraclion

  1.  
     
     
    11 hours ago, diesieben07 said:

    Why? Single Player works just like a server, so your client code will have to include the server parts regardless.

    UPD: I also get a crash when trying to run a server with the mod, since the Client packet handler uses a reference to the EntityPlayerSP class, which is absent on the server side.

    Somehow the SideOnly or SidedProxy do not help.

  2. I want to have my mod's client code to be completely (or as much as possible) separate from the server part.

     

    However, it appears to me that for SimpleImpl packet system to, work packet class should be shared between client/server sources, since the IMessageHandler requires packet class as an argument.

    Is there any workaround to define packet handler on one side without exposing its code to the other?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.