Minecraft Data Packs / Block

Dispenser Block Placer [OpenSource]

  • check_circle Advancements
  • check_circle Functions
  • 25,351 views, 20 today
  • 6,264 downloads, 4 today
ArnyminerZ avatar ArnyminerZ
Level 42 : Master Modder
15
ALERT
This is a datapack, not a mod, you have to install it in your world's datapacks folder.

Source Code
The project is available in GitHub:
https://gitlab.com/ArnyminerZ/dispenser-crop-placer
Feel free to make code suggestions for new implementations.

You can suggest new functionalities from GitLab, by creating a new issue here.

Install Instructions
Single player:
Open the .minecraft folder, access saves, and then select the world you want to install the datapack to. In that world folder, enter the datapacks folder, and copy the downloaded file in it. Then, extract the zip into the current folder.

Server:
Open the server folder, and enter world/datapacks, then, copy the downloaded zip in it.

Alternative:
Instead of downloading the datapack directly, you can use Git to get and update the datapack more easily, directly from Gitlab.
To do so, first download and install Git. Then, go to the datapacks folder in the world in a terminal (see instructions on server and singleplayer on top of "Install Instructions").
To open a terminal in Linux you usually can use Ctrl+Alt+T to use the terminal. In Windows, press Win+R, and type "cmd". In Windows you can also travel to the directory using the File Explorer, and right click, open Git Shell, and a terminal window for Git will be opened. If in terminal, use cd <dir> to move through the file system.
Once in the correct folder, use "git clone https://gitlab.com/ArnyminerZ/dispenser-crop-placer.git" and Git will download all the files, and extract them for you.
This is the best method, since every time you want to get the latest version, you only have to use the command "git pull origin master" and the folder will be automatically updated.


This datapack is made for 1.14+.


Features
When dispensing the following items, they will be placed, if on the correct block (See table below).
The blocks and items in the "Activate Blocks" section must be used by dropping the item through the block, placing the dispenser facing to it.

Works in vertical also, when letting fall an item on his correct block.

Place on blocks
BlockItems allowed to place
Soul SandNether Wart
Dirt, GrassAll the saplings and sweet berries
FarmlandAll the crops
Podzol, MyceliumRed and brown Mushroom


Activate Blocks
BlockItems allowed to use
JukeboxAll the discs
CauldronWater buckets and bottles

Videos

If you have seen or made any video regarding this datapack, DM me and I will add it here.



Changelog
Version 6:
- Added cauldron use capabilities with water buckets and water bottles.

Version 5:
- Added Mushrooms support.
- Added settings panel.

Version 4:
- Added jukebox use capabilities.

Version 3:
- Added sapling placing on grass.
- Added support for 18w49a new Sweet Berries.


Suggestions on GitLab issues: https://gitlab.com/ArnyminerZ/dispenser-crop-placer/issues.
Creditbionicmidget, MagmaCube
CompatibilityMinecraft 1.14
Tags

3 Update Logs

Version 6 : 06/08/2019 5:27:31 amJun 8th, 2019

- Added cauldron use capabilities with water buckets and water bottles.
LOAD MORE LOGS

Create an account or sign in to comment.

1
04/14/2020 12:55 pm
Level 35 : Artisan Bunny
CoolScreenName
CoolScreenName avatar
Hi I love using this pack in my world but I have two suggestions that would add allot of functionality.

A dispenser with bone meal in it can be used to grow any flower type. This would be useful as an easy way to obtain colored dye. This function could also extend to other plants such as the dead bush.


A dispenser with flint and steal in it can be used to ignite a creeper. This would be useful as a means to harvest blocks in a farm using the creeper explosion. currently in the game a player can ignite a creeper using flint and steal. This feature should apply to dispensers the same way a sheep can be sheared using a dispenser and shears
1
02/19/2020 8:26 pm
Level 44 : Master Engineer
hokage3211
hokage3211 avatar
I realize this is a very cool datapack, and good news it still works in 20w08a (released today) but it adds quite a lot of lag to any server, at least like ~10ms per tick on it's own, which is a huge amount for one datapack to add. I also know that it would be hard for it to place items as blocks in front of dispensers if it isn't running every tick, so maybe I'm talking the impossible here, but maybe there is some way you could optimize the datapack? If not that's fine, but it would help a lot. Even just slowing it down to run maybe every other tick should cut the lag at least by some amount, yaknow?
1
01/13/2020 4:25 pm
Level 1 : New Miner
DeleteMetaInf
DeleteMetaInf avatar
This datapack seems great, but I’m just wondering how it performs on servers. Can this datapack cause lag?
1
04/06/2020 5:04 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
According to other users, yes, it causes quite a lot of lag on servers, I'm working to fix it
1
11/30/2019 5:37 pm
Level 48 : Master Engineer
chamo572
chamo572 avatar
this should be in vanilla !! I love him
1
07/18/2019 9:58 pm
Level 1 : New Miner
sniffmyturtle11
sniffmyturtle11 avatar
IDK how to place the items are there any vids?
1
08/20/2019 3:02 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
1
06/26/2019 9:40 am
Level 51 : Grandmaster Blacksmith
Robert0213
Robert0213 avatar
Works without a problem on 1.14.3 SMP
1
06/02/2019 5:12 am
Level 26 : Expert Procrastinator
_MrMango
_MrMango avatar
It doesn't work in MC 1.14 (not .1 or .2, but just 1.14).
1
06/08/2019 5:28 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
It should work in Version 5+
2
06/05/2019 5:43 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Please, report your issues in https://gitlab.com/ArnyminerZ/dispenser-crop-placer/issues
It would help if you could append a log message.
1
05/25/2019 7:31 am
Level 1 : New Crafter
Davuskus
Davuskus avatar
Awesome data pack! Would it be possible to add support for cocoa beans as well?
1
06/10/2019 3:24 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
It will be implemented on V7
3
06/08/2019 5:31 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
I've added your issue at GitLab for reference. You can follow it, so it will notify you whenever I implement it: https://gitlab.com/ArnyminerZ/dispenser-crop-placer/issues/1
1
06/08/2019 7:47 am
Level 45 : Master Dinosaur
Sir_Craftypants
Sir_Craftypants avatar
Thank you, appreciated.
3
06/05/2019 5:45 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Please, submit yout suggestions as issues in https://gitlab.com/ArnyminerZ/dispenser-crop-placer/issues
1
05/24/2019 8:29 am
Level 1 : New Miner
S4NTA
S4NTA avatar
Why wont it plant saplings?
1
06/08/2019 5:28 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Try with version 5+ some bugs have been fixed.
1
05/20/2019 3:21 pm
Level 47 : Master Wizard
j03ri
j03ri avatar
It places a sapling on top of grass not on top of the grass block.
2
06/05/2019 5:44 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Please, report your issues in https://gitlab.com/ArnyminerZ/dispenser-crop-placer/issues
It would help if you could append a log message.
1
05/08/2019 10:19 am
Level 26 : Expert Robot
_Phrozenbit_
_Phrozenbit_ avatar
Very cool! Will download and try :3
1
06/08/2019 5:29 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Thanks UwU
1
05/04/2019 6:02 am
Level 60 : High Grandmaster Blob
MagmaCube
MagmaCube avatar
Awesome datapack! Could you make so that dispencers can interact with jukebox and maybe cauldrons?
1
06/08/2019 5:28 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Take a look at V6, it implements cauldrons
1
06/08/2019 11:44 am
Level 60 : High Grandmaster Blob
MagmaCube
MagmaCube avatar
Works nicely!
1
05/08/2019 3:15 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Yeah, I can, I understand the jukebox behaviour, but in cauldrons, what are you thinking of? I mean, cauldrons need water, so a bucket would be required, will it be dropped? Mantained inside the dispenser empty? Or maybe using a water source on the bottom of the dispenser?
1
05/09/2019 1:50 pm
Level 60 : High Grandmaster Blob
MagmaCube
MagmaCube avatar
Well I was thinking that you could make so that cauldron could be filled by a dispencer using a water bucked (that would be left empty in it), or a water bottle (that would fill 1/3 of it). This would enable for some interesting contraprion to be made but apart from that It probably won't be that usefull. I've just added it as an extra suggestion. Anyways I would really like to see jokebox being made interactable with dispencer and hoppers cause who wouldn't love to have somehting like an automatic disco in his own house :D
1
05/10/2019 4:58 am
Level 60 : High Grandmaster Blob
MagmaCube
MagmaCube avatar
Awesome thatk you very much :D
1
03/31/2019 8:07 am
Level 45 : Master Dinosaur
Sir_Craftypants
Sir_Craftypants avatar
Any chance you can get it to place sand and gravel too? All the other placers do but they're all discontinued, very frustrating.
2
06/10/2019 3:25 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
It will be implemented on V7
2
06/08/2019 5:33 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
I've added your suggestion to a GitLab issue: https://gitlab.com/ArnyminerZ/dispenser-crop-placer/issues/2
You can follow it and it will notify you whenever I implement it.
Remember that you can always ask for new features at GitLab's issues panel: https://gitlab.com/ArnyminerZ/dispenser-crop-placer/issues
2
04/28/2019 11:40 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Yeah, I can add it in new release
1
04/29/2019 3:27 am
Level 45 : Master Dinosaur
Sir_Craftypants
Sir_Craftypants avatar
Fantastic, appreciated.
1
03/05/2019 9:13 pm
Level 1 : New Miner
lee_terry_jr
lee_terry_jr avatar
I think/hope you made a mistake in the description of the mod. Under place on blocks section you have it saying that Netherrack gets placed on soul sand and I think/hope you meant nether wart. The reason I think/hope it was a mistake is that netherrack is the block you find everywhere in the nether which is super flamable but it is not a crop or even growable. Nether wart however is a growable plant found in nether fortresses that can only grow on soul sand.
1
03/12/2019 2:51 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Yes, that's a mistake, I'm fixing it right now
1
12/14/2018 6:01 am
Level 1 : New Miner
Inor04
Inor04 avatar
It doesn't work on my server for some reason. When I do /reload nothing happens, and when I restart the server I get this error: Couldn't read function tag list minecraft:tick from minecraft:tags/functions/tick.json in data pack Dispenser Crop Placer com.google.gson.JsonParseException: Unknown value 'dbp:tick'

1
12/25/2018 11:47 am
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
There should be an error before that, PM me with that, please. Remember that you have to use 1.13 to use this.
1
11/17/2018 3:58 am
Level 5 : Apprentice Miner
UncleMattJG
UncleMattJG avatar
This only planted saplings on DIRT!

to plant on grass and podzol you need to add the following JSON to Dispencer Block Place Datapack/data/dbp/functions/tag_entities.mcfunction

execute as @e[type=item,tag=dbp_dispensered,tag=in_air] at @s if block ~ ~-1 ~ minecraft:grass run tag @s add dirt_plantable
execute as @e[type=item,tag=dbp_dispensered,tag=in_air] at @s if block ~ ~-1 ~ minecraft:podzol run tag @s add dirt_plantable


1
12/07/2018 4:33 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
Added Grass in V3. Didn't add Podzol since in my point of view plants shouldn't grow on Podzol, but you can still add it with your method. ;)
1
10/23/2018 5:55 pm
Level 1 : New Miner
piranha
piranha avatar
This is just what vanilla Minecraft would need to make fully automated farms a reality. Great job, and thank you for sharing!
1
09/23/2018 1:04 am
Level 1 : New Miner
KRDK91
KRDK91 avatar
Tried everything and I can't seem to get it to work
1
09/27/2018 1:52 pm
Level 42 : Master Modder
ArnyminerZ
ArnyminerZ avatar
I've tried it in server and in singleplayer and both worked.
What MC version are you using?
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome