Data Packs Adventure

Villager Interaction

  • 6.1k views 1 today
  • save_alt 229 downloads
Compatibility
Minecraft 1.16
Changes include
  • Functions
Added CreditMCStacker.net
MineFriggs
Lvl 39Artisan Architect
21
This is the datapack for our Christmas World 2020 Villager interactions.

What this datapack does

This is a collection of datapacks we havecreated for our Christmas World 2020. It contains a separate datapack for each of the villagers that have a tellraw interaction.

When you load the datapack and get close to the villagers with datapack, then they will say something to you (tellraw) and they will give you options to reply. According to your answer, they will say something more, stop speaking or even give you something.

No mods or plugins required!

How to install


Download the folder npcs_datapacks and unzip.
It contains a series of datapacks as zip folders: beat.zip, caspar.zip, charlotte.zip, etc.
You can install all of them or only selected zip folders. It is made in a way, that you can easily add your own datapacks.
These folders must be pasted into your folder datapacks in the following location: .minecraft/saves/(world)/datapacks

Do not unzip the folder leave it as it is! Done.

Setup

First of all make sure you have summond a villager with the same tag as the one used in the datapack. The datapack name and the tag name are the same.

If you use our Christmas World 2020, all the needed villagers are already summond in the world and you can go straight to the next step.

Once installed the datapack you have to setup from within the game.

  1. Go into the world as an operator (cheats enabled). If the world was already running type the /reload command. This will make sure Minecraft loads your datapack into the game.
  2. Enable the three scoreboard objectives by running this command: /function mydatapack:setup_mynpc

Example: For beat.zip the command is /function beat:setup_beat



Compatibility



These datapacks only modify villagers and have no further interaction with other villagers. We tested them with and without Citizens2 plugin, so far.

In case for having further datapacks regarding villager behaviour, have a look at the next paragraph, please.



Modifying and adding own datapacks


The structure of each datapack is the following.

(data pack name)
  • pack.mcmeta
  • pack.png
  • data
    • (namespace)
      • advancements
        • (advancement).json
      • functions
        • (function).mcfunction
      • loot_tables
        • (loot_table).json
      • predicates
        • (predicate).json
      • recipes
        • (recipe).json
      • structures
        • (structure).nbt
      • tags
        • blocks
          • (tag).json
        • entity_types
          • (tag).json
        • fluids
          • (tag).json
        • functions
          • (tag).json
        • items
          • (tag).json
      • dimension_type
        • (dimension type).json
      • dimension
        • (dimension).json
      • worldgen
        • biome
          • (biome).json
        • configured_carver
          • (carver).json
        • configured_feature
          • (feature).json
        • configured_structure_feature
          • (structure_feature).json
        • configured_surface_builder
          • (surface_builder).json
        • noise_settings
          • (noise_settings).json
        • processor_list
          • (block_processor).json
        • template_pool
          • (jigsaw_pool).json

Credits

All these datapacks have been made with the help of MCStacker.

Known issues and bugs

The command functions are not (yet) working properly.
There are also some interactions with Citizens2. This means, it does work with the plugin installed, but it takes some reloads.
In general, the setup function of the datapack is not always stable.

More like this

  Have something to say?

Mental_Misstep
12/29/2020 2:18 am
Level 1 : New Miner
history
can we get an explanation of what this data-pack pack does?
it has a ton of subdirectories, each one being a data-pack in its own right meaning you need to extract the content of the file into your base data-pack folder.
do they work together? how do you use them? is this compatible with other data-packs?
are they dependent on each other?

EDIT: I made this account just to make this comment.
2
MineFriggs
01/02/2021 5:24 am
Level 39 : Artisan Architect
Hi! Thank you for your questions.

  1. I have added more information regarding the functions of this datapack, now. Hopefully it helps.
  2. Yes, you are correct: "it has a ton of subdirectories, each one being a data-pack in its own right meaning you need to extract the content of the file into your base data-pack folder". I also added this in the description. Important question!
  3. Yes, they work together and also alone? and
  4. No, they are not dependent on each other. You can only use a few of them, or modify some of them, change names, etc. For further use, please, see in the description.
  5. Yes it is compatible with other data-packs. See in the description for further details.
1
AlexR05e
12/28/2020 3:46 pm
Level 3 : Apprentice Explorer
What does this do exactly? If it allows villagers to talk to you, can it work independent of the xmas stuff? I've been searching for something where villagers greet you or talk to you.
2
MineFriggs
01/02/2021 5:30 am
Level 39 : Artisan Architect
Hello. Yes, you can use it independently and yes, it adds villager talks. I have added more information in the details, now.

My intention to upload it in this way, was to make it a helpful tool to create your own villager interaction for your own world. You can simply copy them and modify them directly, or even better use https://mcstacker.net/npc/ and follow their instructions.

In case of doubts, you can use my villagers to compare and learn.

Watch out! The command interactions that I used were not working properly, I am still learning myself.
Let me know, when you find out how to use the talks in combination with commands (like give command, etc. ) and I shall learn from you.

Have fun!
2
User3342113G
12/27/2020 10:59 am
Level 1 : New Miner
klklplkj
1
Kate1902019
12/27/2020 9:57 am
Level 39 : Artisan Princess
history
It's a good thing the paintings are custom paintings.
But please don't use AdFly. Because I don't like that site. It's annoying.
1
MineFriggs
01/02/2021 5:30 am
Level 39 : Artisan Architect
Now it's a direct download. ;-)
2

Welcome