Jump to content

OutCraft

Members
  • Posts

    190
  • Joined

  • Last visited

Everything posted by OutCraft

  1. Thanks, everything works now
  2. Ahh ok, so that isn't a problem with my browser Just wanted to let you know, don't hurry
  3. Entity Culling is the problem. I also use the mod, but it crashes the game
  4. Try removing betteranimalsplus, I think it's causing the issue.
  5. Ok, I'll look into it
  6. I was ~2 Months not on the forge forums. Since I'm here again the forums are a little bit buggy, I couldn't choose which forum to create a topic in and I can just give hearts as reaction. I found some tricks to get around both problems, but I don't know how to fix this and if it's a problem with my browser or with the website. (I tried on pc and phone, both same problems but both chromium-based browser) Is there someone else experiencing these problems?
  7. Access transformer?
  8. Thanks, now it works! But will it now also work in the dev environment?
  9. Hi! I'm trying to change the public final field "debugRenderer": if (Minecraft.getInstance().debugRenderer instanceof DebugRenderer && !(Minecraft.getInstance().debugRenderer instanceof MyDebugRenderer)) { Field debugRendererField = Minecraft.class.getField("debugRenderer"); debugRendererField.setAccessible(true); debugRendererField.set(Minecraft.getInstance(), new MyDebugRenderer(Minecraft.getInstance())); } It throws a NoSuchFieldException because it can't find the field "debugRenderer". But the Minecraft.class has a field called debugRenderer: public final DebugRenderer debugRenderer; and I don't understand why it's crashing (I tried using Minecraft.class.getDeclaredField("debugRenderer"); , still crashing) Edit: It does work in the dev environment, just not when I build the mod and place the jar in the .mods folder
  10. Hi! Can you post the debug.log? Also how much mods and which Minecraft Version are you using?
  11. Hi! You can just use EntityJoinWorldEvent and test if the entity is a player
  12. Looks cool
  13. Can you paste the advancement json?
  14. Just select a placeholder item like dirt and change it in the json to your custom item (replace minecraft:dirt with yourmodid:your_custom_item)
  15. Hi! I would recommend using this site for custom advancements: https://advancements.thedestruc7i0n.ca/ It has everything you need, also checking for the armor the entity is wearing. If you don't know what to put into "nbt" just go to a stray and run /data get entity <the uuid of the entity that will be shown if you're looking at it> (as Minecraft conmand) and see what it outputs
  16. Hi! Try running the jar manually and post the output here. If you don't know how to run a jar manually, look at this: I hope the tutorial isn't too complicated
  17. If you don't have a MenuConstructor you can make a new one and give it a ChestMenu with your Items in the createMenu function, but this only work if you have an Inventory with the same slots as a MenuType (3*3 Slots, 9*1 Slots, 9*2 Slots, 9*3 Slots ... 9*6 Slots)
  18. Hi! You can use player.openMenu and give it a new SimpleMenuProvider with your MenuConstructor and the name of the entity
  19. I often say to people "Run the jar file manually and post the output here" and they don't know how to do this. So here is a step by step guide for beginners with examples and explanations so that everyone understands it First you need to know what a cmd, also called command prompt or command line is. The cmd is this black box where you can put commands in that only hackers use if they want to hack something Here's a picture of the cmd on Windows: How to open cmd: On Windows click on the Windows icon, type "cmd" and press enter. On mac press Command-space to launch Spotlight and type "Terminal", then double-click the search result Now we know how to open cmd, but how do we run the .jar file? First we need to navigate to the drive the jar file is in The we need to navigate to the folder the jar file is in Last we need to tell java to run the jar file Let's start (And don't forget to press enter between the steps to run the command you entered) Step 1 To navigate to a drive on windows open the command prompt and type the name of the drive the file is in. If you're on mac you can skip this step Example: Step 2 Navigate to the file. Type cd and the path in quotation marks. Example: Step 3 Now we need to tell java to run the file. The command for this is java -jar nameOfTheFile.jar Example: How does it work? There are many commands that you can type into command prompt. Some are from the cmd itself (drive: and cd) and some from other applications (java). All these commands take options/arguments, these are separated by spaces. Now you've run the .jar file manually. Mostly you do this to get the output, so just copy it form the cmd with Ctrl+C I hope this guide helped you If you have any suggestions or questions, please tell me by replying to the topic!
  20. You can replace the model of every item you want, it doesn't even need to be an armor item
  21. Ahh ok But also in mods with custom armor you normally use resourcepacks for the model (every mod has a built-in resource pack), so there really is no need. If you want to do it anyway ... it's your choice
  22. Hi! You don't need an extra Mod to do this, you can just use a resource pack and replace the armor texture and model
  23. Type this in the cmd after you did all the things above but replace installerName.jar with the name of the forge server file
  24. First do this: Now do this in cmd: But you need to replace installerName.jar with the name of the forge Server or installer or whatever you are trying to run that you downloaded
×
×
  • Create New...

Important Information

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