Closed Moocow9m closed 9 years ago
I'm afraid not - modded blocks will be treated as what they are, or, if unknown, solid stone, as I recall (and could cause crashes - I just fixed a crash caused by one, which will be out in the next version soon).
I've tried to think of ways of making the system more flexible to allow this (as Minutor does for 2D mapping), but there's so much complication with dealing with different block types and how they interact that I gave up. To give you a just a tiny taste, here's the list of attributes that must be understood for each block type. This doesn't include where to get the textures from, nor special connection features such as how glass panes, or fences, or stairs, influence one another. Mineways is mostly meant for 3D printing, so there's a lot that goes on that has to do with that system.
Eric
// fills whole block
// almost a whole block
// stairs
// half block
// fair-sized, worth rendering, has geometry
// larger billboard object worth rendering
// billboard flat through middle, usually transparent (portal, glass pane)
// sits on top of a block below it
// flat on a wall: sign, ladder, etc. - normally culled out
// small, not as worth rendering, has geometry - normally culled out
// small thing: lever, flower - normally culled out
// has an alpha for the whole block (vs. glass, which often has a frame that's solid)
// has cutout parts to its texture, on or off (no semitransparent alpha)
// trunk
// leaf
// is related to trees - if something is floating and is a tree, delete it for printing
// is an entrance of some sort, for sealing off building interiors
// export image texture for this object, as it makes sense - almost everything has this property (i.e. has a texture tile)
// this object emits light
// this object attaches to fences; note that fences do not have this property themselves, so that nether & regular fence won't attach
// this object outputs its true geometry (not just a block) for rendering
// this object outputs its special non-full-block geometry for 3D printing, if the printer can glue together the bits. // Slightly different than TRUE_GEOMETRY in that things that are just too thin don't have this bit set.
// this object is a 3D bit, and this bit is set if it can actually glue horizontal neighboring blocks together // - not really used. TODO - may want to use this to decide whether objects should be grouped together or whatever.
// set if the block does not affect fluid height
// set if the block connects to redstone - do only if there's no orientation to the block, e.g. repeaters attach only on two sides, so don't have this flag
// has no geometry, on purpose
On Mon, May 18, 2015 at 11:06 AM, Moocow9m notifications@github.com wrote:
Is there a way for modded blocks to be added(like computercraft)?
— Reply to this email directly or view it on GitHub https://github.com/erich666/Mineways/issues/3.
hmmmmm well ok then. thanks for replying. Nice coding skills by the way.
Now what? Can you add new blocks from the mode? If so please add blocks from (Carpenter's Blocks) is a decorative mod that is great for animations, thank you in advance for your answer. P.S Could you make lessons / instructions how to add blocks from mods.
Is there a way for modded blocks to be added(like computercraft)?