#is there a way to generate parts for my minecraft mod automatically?

1 messages · Page 1 of 1 (latest)

storm glen
#

looking to make a variety of parts, for both weapons and armor, each with their own material, but instead of making every single combination of parts and materials, i am looking for a way to combine them when they're made in game. how do i do that?

granite mossBOT
#

<@&987246652869971988> please have a look, thanks.

granite mossBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

sage sphinx
#

with minecraft questions, u should always specify which library ur using

storm glen
#

ah, fabric

#

thx

storm glen
#

any way a mod can re-add the nobody has helped yet tag pls

#

or does it not really matter bec nobody reads the tags

mortal grove
#

Auto generating code sounds like a big design flaw tbh

sage sphinx
granite mossBOT
#

Activities have been reset.

storm glen
#

???

#

o

storm glen
#

if either nxll or someone else wants to explain why data generation bad then id be ok to listen, just means a bit more work honestly

#

atc i think im being dumb, i can just have parts link to their materials right?

#

specifically im using enums because they seem easy and fit well for my vast lists of similar things

storm glen
#

instead of using strings, i made everything use numbers which will then be trasnslated into text in the final product making things much easier

pliant vault
#

maybe it's a better idea to stick everything in NBT

#

you can also look at how Tetra does things

storm glen
#

tetra?

#

also can i even stick custom features in nbt in the first place?

storm glen
#

? (posting another message so it wont close)

#

should i edit the post's title to something like "nbt help" or something?

#

probbably "how to use nbt/how does it work?"

sage sphinx
#

note that we barely have minecraft people in this server. maybe 3 or so

pliant vault
# storm glen tetra?

It's a Forge mod which is all about custom tools with different parts made out of different materials

pliant vault
#

Apotheosis does it too

#

NBT is just a json-like piece of data attached to an item or an entity

#

Its contents are arbitrary and up to you

green swift
gritty peak
#

yeah

#

i usually ask there