question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot get seeds from give command

See original GitHub issue

I’m trying to use the following command to get potato seeds, but I always get aurigold seeds.

/give Player agricraft:agri_seed 1 0 {agri_seed:"potato_plant"}

Is something wrong in the command?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
quixQuerycommented, Apr 6, 2017

Use ALL the NBT tags. Note: this cannot be done in chat, it must be done via command block because the code is too long.

NBT tags: agri_seed agri_strength agri_growth agri_gain agri_analyzed

example: /give Player agricraft:agri_seed 1 0 {agri_seed:"sugarcane_plant", agri_analyzed:0b, agri_strength:1b, agri_gain:1b, agri_growth:1b }

How did I figure this out? F3 + H and looking at the NBT data tags on an already spawned in seed. I tried adding tags in one at a time, getting the “generic seed” every time until I tried all the tags.

Why are the "b"s there? Ask the mod dev. I honestly have no clue.

How the give command works: /give Player mod:item numberOfItem Meta {NBT tags}

Now if you find a way to get this to work with crafttweaker and modtweaker scripts let me know please 😃.

1reaction
TehNutcommented, Apr 6, 2017

The b stands for byte. It’s there so MC knows to deserialize it as a byte instead of an int.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues with /seed command : r/Minecraft - Reddit
This setting doesn't effect console though, so just get someone to go into console and type 'seed' (drop the /) and it'll give...
Read more >
Debug /give command for seeds - Support - IC² Forum
Hi, Does anybody know the command to spawn any IC2 seeds WITH their stats like 31 ... I can only spawn unknown seeds...
Read more >
How to Use the Seed Command in Minecraft
Each Minecraft world is created using a seed in the World Generator. Let's explore how to find the seed for a world using...
Read more >
How To Find the Seed of a Minecraft Server - Alphr
1. Load into the server. 2. When you spawn in the world, press “/” to open the console. 3. Type the word “seed”...
Read more >
How To Find The Seed Of A Minecraft Server
Sometimes, your server admin with administrator rights cannot access the server and give you the seed. If this is the case, someone needs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found