MineTweaker3 icon indicating copy to clipboard operation
MineTweaker3 copied to clipboard

How do I list all attributes/members in chat?

Open Tcll opened this issue 8 years ago • 0 comments

basically, print(dir(input)) in Python lists all the attributes of whatever input you give.

since you can't simply print a val in zs, what would be an equivalent functionality, or how would you print(repr(val))??

EDIT: since things aren't well documented, I'm trying to do what I usually do and hack to figure out what I can do.

at the end, what I'm trying to do is figure out what I can do to add a microblock entry for Gany's Polished Basalt block.

so I want to look at what I have available in mods.? but I can't simply print(mods) and there's no .toString() method... I'm completely lost, why isn't this stuff documented >_<

Tcll avatar Jul 09 '17 19:07 Tcll