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


Forge Modder
  • Posts

  • Joined

  • Last visited

Everything posted by Soukyan

  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 }); }
  15. I have a bit of code which I use to make my entity hover in air. The entity position is calculated by rayTrace of caster cursor pointer and set by setPositionAndRotation. Everything is good, but server thinks it's hacking and kick entity if it's player. I researched that code responsible for this mechanism is located in NetHandlerPlayServer.processPlayer. If the hasMoved boolean would be public, that would be easy to workaround. I also notice that this "bit of code" is called on both sides.
  16. Hi! I have problem with Custom Armor Problem. Some textures doesn't render. How to fix it? Screen: https://dl.dropboxusercontent.com/u/150157647/Zrzut%20ekranu%202014-05-03%2012.09.35.png[/img]
  • Create New...

Important Information

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