Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hey guys,

 

I am working on adding slopes into 1.8 and I want to challenge myself to use the new model system, to allow for easier swapping of shapes.

 

Problem is I can't find a way to load triangles using the built in json loaders. I know there is a way to override the loaders but I would rather not if possible and if not I have no idea how to start writing one.

 

TL;DR

How can I create json files with triangle faces?

 

Thanks

T

Triangels are squares with a duplicate corner.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

I understand that a triangle is just a quad with one point repeated.

 

The issue here is, can I create a json model that will produce it, without a custom loader.

 

If so how, if not where to start with the custom loader.

 

 

  • Author

Looks like the best way to do this is use a B3D model, I'll see what I can dig up.

Hi

 

The vanilla JSON can't generate triangles because there is no way to specify two of the four vertices to be the same.

 

I reckon your best bet is to use B3D.  BDcubik is apparently a useful tool for that, never used it myself.  Mr Crayfish does great stuff so maybe Lothrazar's idea is good too.

 

If you want to go the custom loader route, look at MBE04, MBE05, MBE15 here: (working examples)

https://github.com/TheGreyGhost/MinecraftByExample

 

-TGG

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.