Jump to content

Philip2809

Members
  • Posts

    20
  • Joined

  • Last visited

  • Days Won

    1

Philip2809 last won the day on November 16 2023

Philip2809 had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Philip2809's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. I have no idea, I am new to modding, and wanted to implement baritone to my mod, because I am fascinated by AI and machine learning, and wanted to try it out. I know it's considered a hack but I want to use it on my own singelplayer world trying to make stuff with it (I guess thats why my other treads got locked).
  2. What is a coremod?
  3. IFMLLoadingPlugin renamed? can't import it via: net.minecraftforge.fml.relauncher.IFMLLoadingPlugin
  4. I am trying to import the baritoneapi and I am stuck at the mixins. Fore more context: https://github.com/cabaletta/baritone/issues/2040 Posted this in Moddersupport but it was locked becuase it was not allwed there, i hope its allowed here?
  5. I am trying to import the baritoneapi and I am stuck at the mixins. Fore more context: https://github.com/cabaletta/baritone/issues/2040
  6. Hi thanks for your fast answer! I figured it out: KeyBinding keyCode = Minecraft.getInstance().gameSettings.keyBindUseItem.getKeyBinding(); KeyBinding.setKeyBindState(keyCode.getKey(), true); KeyBinding.onTick(keyCode.getKey()); Just have to figure out how to stop it from holding it down.
  7. How to simulate right mouse button being held down? Is this too complicated or is there a simple command to simulate this? //Philip2809
  8. Hi, I understand that, didn't understand what he meant will telling the code. But the dummy thing wont break if I build the projcet?
  9. It's meant to the player from the mod when the player writes in a command ok thanks will do so
  10. Which is better to use? Using Dummyuuid or uuid from playerentity? ITextComponent msg = new StringTextComponent("msg"); UUID testuuid = Minecraft.getInstance().player.getUniqueID(); Minecraft.getInstance().player.sendMessage(msg,testuuid); or Minecraft.getInstance().player.sendMessage(msg, Util.field_240973_b_); or is there no difference? And btw how do I change the title to solved as it is solved?
  11. Ok thanks for all the help! I am wondering if one of them is better then the other, if so which is best?
  12. Hi! I am sorry for being an idiot, I am just now this this with Java and Forge. I stopped being stupid and fount that this worked as well as the other code where I took the UUID of the player. Minecraft.getInstance().player.sendMessage(msg, Util.field_240973_b_); I was trying to find something when typing "Util.DUMMY_UUID" and didn't find anyting, but then I looked at the return for it and saw that the "Util.field_240973_b_" was the only one with the return of a UUID. Is this the Dummy_UUID?
  13. I am really sorry but I am new both to forge and Java, how would you write this?
  14. Hi! I am getting the error "Cannot resolve symbol 'DUMMY_UUID'". Minecraft.getInstance().player.sendMessage(msg, Util#DUMMY_UUID); Is it even this how you write it? And the other solution I made is that a good one, or is it bad? //Philip2809
×
×
  • Create New...

Important Information

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