1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Pocketmine 4.0.0 Entities

Discussion in 'Development' started by Snowy, Jan 5, 2022.

  1. Snowy

    Snowy Creeper

    Messages:
    3
    GitHub:
    snowy7
    So I was working on entities and i wanted to save custom data that i can access even after restarts, but I can not find anyway to do so in 4.0.0 update.
    Is there anyway to do so in this update??
    thanks in advance.
     
  2. BloodyJohnRus

    BloodyJohnRus Silverfish

    Messages:
    19
    GitHub:
    GDSHNIK
    So, you wanna to get Position and type when server restarts?
    P.S. if it's true then you should do task and save entities in config.
     
  3. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    Why task uh ~-~
    What do you mean by saying "Custom data", you could try to add a new NBT tag?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.