Jump to content

Discult

Members
  • Posts

    115
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Discult

  1. when you run gradlew build. It should build the source jar as well as the mod jar unless you have added makeObfSourceJar = false to the build.gradle under minecraft {}
  2. in my blockstate for rendering my model i want to redirect it from models/block/ to models/item/ but i dont know how i would do it. what is shows in log: saomod:block/item/weapon/starter/sword/starter_sword.obj what i have in json: saomod:item/weapon/starter/sword/starter_sword.obj
  3. oh what would the problem be then because all i did was change the. private static void registerRender(Item item) { ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(Reference.MODID + ":" + item.getRegistryName(), "inventory")); } to private static void registerOBJRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } (using getRegistryName would not work for it )
  4. Pls mark this as solved what i did to fix it was use Minecraft.getMinecraft.getRenderItem.getItemModelMesher and it worked
  5. sorry i probably should of said it is the starter_sword i am having problems with i am not using obj models for the golem_rock_sword anymore. Also i though if it is a obj item you dont need to add a json into the model item location just the blockstate and direct it to the models obj and mtl file
  6. Hello so here is my problem i have already looked at a couple of peoples post and followed how they didi the items but i cant get mine to work if anyone can help me pls do. MTL_File: OBJ File: Registering in ClientProxy: The block state starter_sword.json : console log: - it is the starter_sword the blocks and stuff i know how to fix
  7. are you specifying @SideOnly(Side.CLIENT) anywhere can you produce any src code to be reviewed.
  8. Hello I am just curious see when you fork the forge repo and start working on it. when a push is made to the main repo does it still update in the forked repo you have? Thank you for any replies.
  9. alright thank you. sorry to be a pain.
  10. Just for testing to make sure it works outside of the src environment.
  11. Hello i added some stuff to the forge src code ion a private repo I am just wondering how can i create my own MDK to test outside of the forge src i tried running gradlew build but when i open the mdk and do the basic gradlew setupDecomp and eclipse it doesn't work it says build fails around line 24: which is the version thing under minecraft in the build.gradle. If anyone can help me i would be greatly appreciate it.
  12. Okay noted thank you for the reply
  13. So here is the problem I created a custom (lamp post block) using obj model because for some reason in the program block bench you cant do blocks higher than 32(i think that is json file limit??). but i have the bounding box set to 4 blocks tall and it works for bounding box but the collision is only 2 blocks call and if i am not looking at the bottom(what would be one block) the bounding box doesn't show how can i fix this. Thanks Discult. Block Code: Lamp post block: https://pastebin.com/rYvsddCS Block OBJ: https://pastebin.com/CshfdFyz Image 1: Image 2:
  14. Hello I am wording how i can load in my obj block model using the TESR instead of the json file as i would like to make the block when right clicked the model in larges(for instance when i rightclick on my block i want it to load a obj model of a see through blue circle and in large to the size i want it to be). Any help will be greatly appreciated.
  15. Hello i am having a problem loading my obj model into minecraft. The model loads fine except for the texture I have set it up like it is in the forge obj reference classes and resources. but the texture shows up black please help. Console: OBJ File Material File: Blockstate file: Block Code: Anything else that is needed please tell me about.
×
×
  • Create New...

Important Information

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