Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • how to make and .smd file parser for forge
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
bouwmeester2003

how to make and .smd file parser for forge

By bouwmeester2003, December 8, 2018 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

bouwmeester2003    0

bouwmeester2003

bouwmeester2003    0

  • Stone Miner
  • bouwmeester2003
  • Members
  • 0
  • 66 posts
Posted December 8, 2018

could anyone help me with making an .SMD file parser for forge so i can make models in blender and pre-animate mobs by switching the skeleton like pixelmon

  • Quote

Share this post


Link to post
Share on other sites

V0idWa1k3r    391

V0idWa1k3r

V0idWa1k3r    391

  • World Shaper
  • V0idWa1k3r
  • Members
  • 391
  • 1773 posts
Posted December 8, 2018

Forge has nothing to do with this. You just need an SMD parser in java. You may use an existing library and use forge's jar-in-jar feature to package it with your mod or you can write a parser yourself. It looks like smd is a plain text file describing a model so you should not have many issues with parsing it. Here is the format specification. However note that since minecraft has no notion of skinning or even armatures/bones you will have to build everything from the ground up. This is not really a forge issue though and you might find more help with that on gamedev forums rather than here. 

 

56 minutes ago, bouwmeester2003 said:

could anyone help me with making an .SMD file parser for forge

Nobody here is going to write code for you but you are free to ask questions if you have any troubles with the matter at hand.

  • Quote

Share this post


Link to post
Share on other sites

loordgek    176

loordgek

loordgek    176

  • World Shaper
  • loordgek
  • Members
  • 176
  • 1823 posts
Posted December 8, 2018

https://github.com/qdlmcfresh/smdimp/blob/master/JME20_SMD/src/com/base/model/parser/SMDParser.java

google is your best friend use and abuse it

  • Quote

Share this post


Link to post
Share on other sites

MegaTigerpaw    0

MegaTigerpaw

MegaTigerpaw    0

  • Tree Puncher
  • MegaTigerpaw
  • Members
  • 0
  • 4 posts
Posted January 20
On 12/9/2018 at 12:44 AM, loordgek said:

https://github.com/qdlmcfresh/smdimp/blob/master/JME20_SMD/src/com/base/model/parser/SMDParser.java

google is your best friend use and abuse it

how can we load the smd model into the games as entities tho

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7694

diesieben07

diesieben07    7694

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7694
  • 56353 posts
Posted January 20
2 hours ago, MegaTigerpaw said:

how can we load the smd model into the games as entities tho

You need to write a renderer for it.

  • Quote

Share this post


Link to post
Share on other sites

MegaTigerpaw    0

MegaTigerpaw

MegaTigerpaw    0

  • Tree Puncher
  • MegaTigerpaw
  • Members
  • 0
  • 4 posts
Posted January 20
6 hours ago, diesieben07 said:

You need to write a renderer for it.

I used that link but from there how can I load the smd models as entities?

  • Quote

Share this post


Link to post
Share on other sites

MegaTigerpaw    0

MegaTigerpaw

MegaTigerpaw    0

  • Tree Puncher
  • MegaTigerpaw
  • Members
  • 0
  • 4 posts
Posted February 15
On 1/20/2021 at 12:59 PM, diesieben07 said:

You need to write a renderer for it.

like...what method should I call?

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • IntentScarab
      (SOLVED)[1.16.4] Block entity invalid

      By IntentScarab · Posted 14 minutes ago

      I've been coding for like four years and it seems like I still don't know what it means. I'm gonna research what it means now cause it's been too long 😅   I've took off the static property and commented out all the code that was complaining for the meantime. That has cleared up the problem about the error showing.   Thank you for the help!!
    • diesieben07
      (SOLVED)[1.16.4] Block entity invalid

      By diesieben07 · Posted 25 minutes ago

      This field must not be static. Please learn what static means and why it is not appropriate here.
    • BeardlessBrady
      [1.16.4] Copying file from assets to config folder

      By BeardlessBrady · Posted 28 minutes ago

      I am trying to create a resource pack on mod load. I have everything but creating the default assets, Is there a way to grab an asset file and copy it to the config folder without going through the jar and copy/pasting it?
    • IntentScarab
      (SOLVED)[1.16.4] Block entity invalid

      By IntentScarab · Posted 33 minutes ago

      Sweet, made those changes now, thank you   https://github.com/RhysGrabany/Experienced Here you go, the changes I've made rn are under the tile_passing branch
    • diesieben07
      (SOLVED)[1.16.4] Block entity invalid

      By diesieben07 · Posted 43 minutes ago

      Yes. A good reminder is to make DeferredReigster fields private.   Hm, looks alright on first glance. Please post a Git repo of your mod.
  • Topics

    • IntentScarab
      6
      (SOLVED)[1.16.4] Block entity invalid

      By IntentScarab
      Started 1 hour ago

    • BeardlessBrady
      0
      [1.16.4] Copying file from assets to config folder

      By BeardlessBrady
      Started 28 minutes ago

    • ISenseHostility
      10
      [1.16.5] Couldn't parse loot modifier error

      By ISenseHostility
      Started 17 hours ago

    • NorthWestWind
      3
      [UNSOLVED][1.16.5] Make item render like bow in thirdperson

      By NorthWestWind
      Started Yesterday at 02:49 PM

    • RobinCirex
      2
      [1.16] Overwrite player

      By RobinCirex
      Started 17 hours ago

  • Who's Online (See full list)

    • BeardlessBrady
    • Deadlocked47
    • DrummingTom12
    • vemerion
    • IntentScarab
    • diesieben07
    • starlite_moon
    • samjviana
    • filips
    • Seika85
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • how to make and .smd file parser for forge
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community