Hide node from creative inventory?

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Hide node from creative inventory?

by Tmanyo » Mon Mar 28, 2016 00:02

Is there a way to hide a node from the creative inventory? Also, is there a way to limit the amount of a certain type of item in the creative inventory? I want there to be a maximum of an object people can place. For the hiding something from the creative inventory, I just want to make sure other people can't access it.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Hide node from creative inventory?

by TenPlus1 » Mon Mar 28, 2016 07:22

place this inside groups: not_in_creative_inventory = 1

If for instance you are registering a list of nodes from a table you can set groups once WITHOUT the not_in_creative_inventory flag and then at end of loop change groups so that the same group is added to the rest, meaning only 1 item is displayed in inventory while the rest are hidden.
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02

Re: Hide node from creative inventory?

by prof-turbo » Thu Mar 31, 2016 19:08

There should be a Q/A section on this forum...
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: Hide node from creative inventory?

by kaeza » Fri Apr 01, 2016 06:07

prof-turbo wrote:There should be a Q/A section on this forum...

Just moved it there.

To OP: please post topics in the rlevant section in the future. Thank you.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 65 guests

cron