Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/05/19 in all areas

  1. Those are two things: 1) A library is a set of widely used common functionality (Math is a good example, as is LWJL) 2) An API is a collection of exposed objects and interfaces that allow other programs/code to interface with another program/code without having to expose (make public) the implementation or source. An API is a contract that says, "I solemnly swear that these methods exist and do what the documentation says they do." You just do. I have one. I'm the only one using it, but I have it. It also happens to be both a library (I put my registry handlers in it) and an API (it is where I expose the interfaces for my capabilities).
    1 point
  2. look at EntityType# func_220335_a
    1 point
  3. This solved the problem for me First register your entity with custom client factory like this .setCustomClientFactory((spawnEntity, world) -> new ExempleEntity(world)) And then use NetworkHooks#getEntitySpawningPacket to get Entity Spawning Packet @Override public IPacket<?> createSpawnPacket() { return NetworkHooks.getEntitySpawningPacket(this); } that's it ?
    1 point
×
×
  • Create New...

Important Information

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