Discussion in 'Spigot Plugin Development' started by jacobiscool3123, Feb 19, 2018.

  1. How would I like big servers, make my a villager in a slow speed build something or quick speed? I would guess that it would be something with an API and then use worldguard/worldedit schematics to save the builds.
  2. Do you actually have any programming experience at all? you are probably not 18 either
    If I understand correctly, just spawn the entity, do some math with it's coordinates, and just place the blocks...
    #2 Username1234, Feb 19, 2018
    Last edited: Feb 19, 2018
  3. Interesting concept, though it can be very hard to implement based on your requirements. Would this village fly when it needs to place a block high? Would it have to make natural player movements when building (stacking blocks up to reach higher points)? Or would it simply be a schematic being placed block for block starting at the bottom towards the top?
    • Like Like x 1
  4. 1. Iterate over blocks using a timer
    2. Move villager to block location
    3. Place block
    4. ???
    5. Profit

    On a serious note though, it may be difficult to make it look nice. Like for example, placing the block as soon as the villager gets to the location may require nms. And like @McJeffr mentioned, what if the villager can't get to that block location? Perhaps place the blocks going from the ground up and the villager can use the already placed blocks as scaffolding to be able to reach future block locations.
  5. FrostedSnowman

    Resource Staff

    thank you captain obvious.
    when placing the blocks of the schematic, give you have the location of the block about to be placed, have the villager pathfind to that location and once the destination is reached (you can figure this out using the should-execute method in the pathfinder class), place the block. then iterate the next block location and repeat until finished.
    • Like Like x 1
    • Agree Agree x 1
    • Funny Funny x 1
    • Winner Winner x 1
  6. I've programmed in C#, and in Java for a few months, so thanks for being a ignorant fuck.
    Oh, and I'm 17 if that's cool with you? - Yes I can code, and you saying spawn entity's and teleport them is not my question, that an easy solution, that I could've easily figured out myself, but that's not my question. This is my 2nd account, and I forgot I had it, that's why I don't have anything on this account.
    • Funny Funny x 1
  7. So I read FrostedSnowman and McJeff, and yes it just has to be able to fly from point it doesn't have to like build it up to the point, unless your able too.. I know your can do something with NPC because your able to in skript. (not coding in skript, once did and was able to do this),but if anyone has made something like this with npc, they may tell me.
  8. lmao, your profile clearly says you are 18, not 17. Citation:
    Having a second account is also against the Spigot rules (unless you have emailed support). (
    I did not properly read your message, you don't have to be an ass about it.

    You are so very welcome.
  9. Why are you even bothering answering, didn't know about the rule, and I will terminate this account, when I found out how. I simply just created a random birth thing too. So the first thing you do when you see a post is probably think, I want to be an idiot, so let me go a head and stalk his profile and then say something really stupid. Not writing more to you, once I've gotten my answer, I will terminate the account as said.
  10. But since your so interested in my birth and everything. My name is Simon, and I was born 14/02 - 2001 = 17 years old, just tell me if you need more information about my personal life.
  11. Ehh, I don't think what's going on in here is really needed to be honest. You two seem to be derailing quite a bit from the original question.
  12. Yup, just forget this post, I will ask a question on my real account, I wrote a mail to spigot, and told them to delete this account, since I weren't aware of it a rule of only having 1 account.
  13. Lock this thread and mark it as solved, please.

    Okay, like I said, I misunderstood your question and I am telling you the rules so you don't get in trouble. There is nothing wrong with finding other people's birth date, that's why Spigot has it in the first place. Is there something wrong with that? I am not going to argue anymore, just lock this thread and let's move on :p
  14. Agree. And thanks for telling me the rules, I did write a mail as you can see below: upload_2018-2-20_23-25-40.png
    But it still isn't deleted, so I guess I'll just have to wait.
    • Like Like x 1
  15. The citizens DENZIN expansion plugin does this based on schematics
  16. More accurately, you can optionally use Denizen to program the Builder addon. The Builder addon is the one which allows NPCs (including NPC Villagers) to build block-by-block.

    EDIT: Here's how to do it through Denizen -
    • Agree Agree x 1
    • Winner Winner x 1
    • Informative Informative x 1