Class PreviewEntities

java.lang.Object
net.ixdarklord.folios.internal.client.page.PreviewEntities

public final class PreviewEntities extends Object
The entities books show in scenes (entity pages, entity popups), made on the client and in no world, so nothing else ticks them. Each grows a tick older every client tick, which is what their models' moving parts follow (a blaze's rods, wings, fins, an idle sway), drawn between ticks by the frame's partial tick. Only their age: a whole tick would move them, think and make sounds and particles in the world. Held weakly, so one a book no longer shows goes.
  • Method Details

    • track

      public static void track(net.minecraft.world.entity.Entity entity)
      An entity a scene shows: it ages with the game from now, facing straight ahead.
    • tick

      public static void tick()
      At the end of every client tick.