Jump to content

SergOmarov

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by SergOmarov

  1. It seems I understood: this event cancels the rendering only from the first person view.
  2. This code should cancel the render of the model, it works, but the model is rendered: //Scala @SubscribeEvent def onRenderItem(e:RenderSpecificHandEvent): Unit = { val item=e.getItemStack if(item.getItem.isInstanceOf[ItemCustomRender]) { println("test") //work, test e.setCanceled(true) println("test1",e.isCanceled) //work, test1,true } } If RenderSpecificHandEvent is not designed to remove the model, then how do I get an empty model for my item? Thank you in advance.
  3. Extracting scala in a module is a great solution! As I understand it, Scorg will be a dependency for mods written on scala?
  4. Can you use scala 2.12 in new forge builds? I would like to use the new advantages of the language and libraries for modding. Thank you in advance.
  5. Does anyone on this forum has focused on building additions to Thaumcraft? I wanted to exchange experiences.
×
×
  • Create New...

Important Information

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