Jump to content

[1.9] Porting ISBRH


SantacreeperLP

Recommended Posts

The model system is good, its just different and seems less powerful.

 

If your dealing with cubic models json files are the way to go. For other shapes you have B3D and OBJ as options.

 

IFlexibleBakedModel gives you more power.

For example you can merge multiple json models based on tile entity data.

 

If you wanted models that you programmatically define like ISBRH, you can define your own BakedQuads and return them in getFaceQuads and getGeneralQuads

A BakedQuad takes; a int array for vertex data (x, y, z, shadeColor, u, v, <unused>), an int for tintindex, and an enumfacing

Link to comment
Share on other sites

That BakedQuad constructor is deprecated, this is the one that is recommended to be used now

public BakedQuad(int[] vertexDataIn, int tintIndexIn, EnumFacing faceIn, TextureAtlasSprite spriteIn, boolean applyDiffuseLighting, net.minecraft.client.renderer.vertex.VertexFormat format)

Current Project: Armerger 

Planned mods: Light Drafter  | Ore Swords

Looking for help getting a mod off the ground? Coding  | Textures

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.