2

Functions in Command Blocks

Lastphysics 5/2/19 1:39 pm
312
5/30/2019 7:41 pm
Hey, I tried to use a function in a command_block, but this doesnt work :/

function minecraft:igloo/igloo_baseplate

By taping it in the chat, the function works, but doesnt want in a command_block.

Plz help if you know nything about that

(the code is alright, because it works fine in the chat)
Posted by
Lastphysics
Level 17 : Journeyman Dragon
0

  Have something to say?

JoinSign in

6

Lastphysics
05/30/2019 7:41 pm
Level 17 : Journeyman Dragon
Everything is fine, a space was the prolem :/ ...
So small, and such a pain ^^
Thanks to all for your help

(Ps: need help for something else : https://www.planetminecraft.com/forums/discussions/creations/loot-table-question-hide-enchant-588113/ ) if you have time ;)
1
SUPERIONtheKnight
05/02/2019 6:25 pm
Level 30 : Artisan System
history
Do the commands inside of the function file have any slashes"/" at the start of the command? If yes, this will cause the function to not work. Remove them if there are any.
If this doesn't work, do the following:
  • Open the minecraft launcher.
  • Go to "Settings". If you don't see settings, click the 3 horizontal lines on the top right of the launcher. You should see it now.
  • Turn on the setting "Open output log when game starts".
  • Click Play and log into your world.
  • Tell us what the output log says(Ideally, click "# infos" before doing this so that we don't see any of the unnecessary spam).

Additionally, providing the commands you used could allow us to solve the problem faster.

~SUPERIONtheKnight
1
Lastphysics
05/02/2019 6:48 pm
Level 17 : Journeyman Dragon
thanks for the help, it was a "space" problem by the loading of the command_block :/

I just now have the problem of this generating good when facing south, but not on the other sides :/
1
FieryHammer
05/02/2019 6:03 pm
Level 55 : Grandmaster Modder
Can you please add the code of the function you are calling?
2
kebe3
05/02/2019 3:01 pm
Level 2 : Apprentice Network
What are the options in the command block?
1
Lastphysics
05/02/2019 4:53 pm
Level 17 : Journeyman Dragon
It's the normal [Impulse, Inconditional, needs Redstone]

I tried to put it in a datapack structure.
And, the other function worked fine with the redstone signal (it summoned a creeper)

I posted a bug report, but im trying to get help from the guy who builded the Pillager fortress, cause he uses the same thing normaly
1

Welcome