• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Hello, today I am posting this post because I have a problem. Indeed, I would like to make a more or less simple system but on which I have some difficulties. I would like to make sure that when a player clicks on another player with handcuffs (custom item therefore) that the handcuffs go into the breastplate slot where they normally find a piece of armor. The problem is, I can't get the player I clicked on. I would like to go through the "onRightclick" function which we put directly in the class of the item but if that is not possible it does not matter if we go through an event forge. FYI I have already tried both without success. Probably due to my inexperience. Thank you in advance ElpisII And PS: I said above that the item should be put in an armor slot. And I know I created a basic item and not an armor so that will have to be thought about.Class where I create the item: Item class : public class CloseHandcuffs extends Item implements IHasModel { public CloseHandcuffs(String name) { setUnlocalizedName(name); setRegistryName(name); setCreativeTab(CreativeTabs.MATERIALS); ItemInit.ITEMS.add(this); } @Override public void registerModels() { Main.proxy.registerItemRenderer(this, 0, "inventory"); } }  
    • @kiou.23     if you konw json its the better way you also can overide the loot tables with a datapack so i think its the better way. and I didn't know that there was this possibility. but I'm open to new things.
    • how can we load the smd model into the games as entities tho
    • Whenever I try to launch forge through the mining launcher, nothing shows up. It does not show up even in the task bar. However when I open process hacker, it shows that the java application for minecraft is open. When I terminate it, the minecraft launcher reopens and tells me that minecraft has "crashed". Can you please tell me what is happening and how I can solve it? Lunar Client is the only other client that is on my pc.
  • Topics

  • Who's Online (See full list)