Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Soukyan

Forge Modder
  • Posts

    18
  • Joined

  • Last visited

Converted

  • Gender
    Male

Soukyan's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Well, thanks @Cadiboo for your assistance and you @Animefan8888 for making things right. Don't see the topic lock option for author, so I'd be nice if someone would do it for me.
  2. Here are both sides https://imgur.com/a/2xP7mYh. I find it difficult achieving that in json, because it's not created using simple shapes.
  3. Posted in the post before, but here's it https://imgur.com/IHC4tsw (it's actually the back face of the item, which is facing away from the player). I don't see a sense of creating obj model just for thing which can be achieved by code easly.
  4. What do you mean by different model format? Give me more accurate hint, so I can do the rest.
  5. So actually I can achieve this https://imgur.com/IHC4tsw with clear json code, which only renders face front and back?
  6. Yea, but it's not normal model replacement, it uses original minecraft item render from net.minecraftforge.client.model.ItemLayerModel (which render item basing on texture). It'll be not easy to convert this code to json. I figured out reading json model by net.minecraft.util.ResourceLocation.
  7. To have very aesthetic method, you can beside of cancelling it on server, handle it on client side by overriding MovementInput class.
  8. Hey, I just started my adventure with Forge 1.12.2 and have to learn some things from the beginning. First what I want to create is item with two different faces (standard item render, but front and back face vary). That's what I come up with: https://pastebin.com/gBJ2fe4Z Actually I need answers about if this is good path to create it and how to get item model json on public IModel loadModel(ResourceLocation modelLocation) in net.minecraftforge.client.model.ICustomModelLoader to load textures. In net.minecraftforge.client.model.ModelLoader.VanillaLoader there's some code that actually load json model, but it uses resources that are private or protected. Thanks for any further feedback.
  9. Well I tried to figure it out, but finally I got to nowhere. Can you provide tutorial or some steps to do it?
  10. Ah, thanks for rectification and response. TOPIC SOLVED
  11. How about creating own parent and serving modified IBakeModel?
  12. They are two sides of the item which actually represent item texture. The second is the mirror of the first. I want to override the second one and show different texture.
  13. Is it possible to define a different texture for the back of the item? If it is, please give me the tips.
  14. //Static variable public static ExecutorService saveExecutor = Executors.newFixedThreadPool(1); //Example method public void saveToFile(){ saveExecutor.submit(() -> { //Your code here }); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.