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


Forge Modder
  • Posts

  • Joined

  • Last visited

Posts posted by Soukyan

  1. 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.


  2. 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.

  • Create New...

Important Information

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