Jump to content

How to outline blocks


sun-toast

Recommended Posts

I do not know how to do it myself, I haven't had the need to yet, but:

16 minutes ago, sun-toast said:

I've also seen it in vanilla minecraft.

Look through the vanilla sources in the places where you've seen it happen (for a block or item or whatever it was that you saw), and see if you can do it in the same way.

The vanilla source shows how to do all kinds of things :)

Link to comment
Share on other sites

59 minutes ago, TheGreyGhost said:

Hi

Perhaps have a look at this code for inspiration

https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/usefultools/debugging/DebugBlockVoxelShapeHighlighter.java

 

you will also need

MinecraftForge.EVENT_BUS.register(DebugBlockVoxelShapeHighlighter.class);

 

-TGG

Thank you so much I've been using your minecraftbyexample tutorial for half a year and it's been the most useful tutorial i've seen so far. I never saw the VoxelShapeHighlighter though. Anyways thank you for doing what you do and helping everyone learn minecraft modding.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.