- check_circle Functions
Published Dec 27th, 2020, 12/27/20 6:59 am
- 5,417 views, 3 today
- 204 downloads, 0 today
20
This is the datapack for our Christmas World 2020 Villager interactions.
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!
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.
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.
Example: For beat.zip the command is /function beat:setup_beat
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.
The structure of each datapack is the following.
(data pack name)
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.
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.
- 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.
- 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
- blocks
- 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
- biome
- advancements
- (namespace)
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.
Credit | MCStacker.net |
Compatibility | Minecraft 1.16 |
Tags |
tools/tracking
4893521
119
villager-interaction
Create an account or sign in to comment.
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.
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!
But please don't use AdFly. Because I don't like that site. It's annoying.