![Botanical Addons](https://media.forgecdn.net/avatars/thumbnails/27/357/256/256/635807917080152946.png)
Livingwood Funnel full item render
Azutte opened this issue · 6 comments
Hey, you know how when you use the sextant or overlay structures in-world, the blocks render "over" everything else? Can you do that with the item currently in the funnel, when you hold a wand? Like, render the item in the world, in the center of the funnel block. Or just over the crosshairs, whatever. I just tried aiming a funnel into a storage drawer, and it took me quite a while to realize that the reason why it wasn't doing anything was that it had grabbed something already, in the time it took me to click the item frames onto it.
Oooh, that sounds neat.
On Sun, Jan 3, 2016 at 4:36 AM Azutte [email protected] wrote:
Hey, you know how when you use the sextant or overlay structures in-world,
the blocks render "over" everything else? Can you do that with the item
currently in the funnel, when you hold a wand? Like, render the item in the
world, in the center of the funnel block Or just over the crosshairs,
whatever I just tried aiming a funnel into a storage drawer
http://imgurcom/a/7zD4H, and it took me quite a while to realize that
the reason why it wasn't doing anything was that it had grabbed something
already, in the time it took me to click the item frames onto it—
Reply to this email directly or view it on GitHub
#59.
I'm thinking this would look like the Item Display, but how would I make it render above everything else? @L0neKitsune, any ideas? I'm not used to MC's rendering code... or any, for that matter.
Hmm... That may be a little messy since there could be several blocks above the hopper. If it rendered through other blocks it could be ok to do something like that, but just above the block.
I would look at the burst rendering code and see how vaz does the rendering when the wand is held. Bursts are the only thing I can think of offhand that renders when the wand is held regardless of whether or not your looking at a block. A simpler solution may be to use a mix of the invisible flashes, the wands hud rendering code and the item display code to render if the player is wearing a monocle. You could probably adapt the hud code but that would require the person to be looking at the hopper to see the render. Overall I'm not entirely sure how to render on top of other blocks.