API for Networking completly useless

  • I do not know who added that but someone bound the api for network fields to the IC2 Exp TEBlock.


    Here is the function i am talking about:


    https://github.com/TinyModular…rk/NetworkHelper.java#L56
    (Iknow its 1.7.10 but the API is the same)


    Here is the thing the API is now boud to the BlockTileEntityClass which does not allow the Function to be used unless you are using IC2 Core classes... Which makes these interfaces like INetworkProvider completly useless for IC2Exp.


    Here is the code which prevents it:


    Class: ic2.core.network.TeUpdate
    Function: apply(TeUpdateDataClient.TeData update, World world)


    This function is simply applying the Data From the Network Packet (which is sended by the updateTileEntityField) to the TileEntity. Normally it has no TileEntityBlock or BlockTileEntity requirement.
    Since 1.10 & IC2Exps version: 2.2.6.40 it has a BlockTileEntity & TileEntityBlock Requirement



    This code should not be bound to the TileEntityBlock or to the BlockTileEntity!
    It makes addons impossible to use that feature...
    Make it not bound to the BlockTileEntity or the TileEntity Block!