Jump to content

DavidM

Members
  • Posts

    1830
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by DavidM

  1. Thanks for the response. I am currently using this approach. In addition, I am wondering if there is a method to directly operate on the Mod event bus without manualing creating another custom event system/event bus.
  2. I am creating a client-side mod that eases the process of debugging. One feature I would like to add is the ability to add event subscribers to the mod's event bus during runtime. From the end user's perspective, this would allow them to change behaviors such as stop player rendering by canceling RenderPlayerEvent without the need to relaunch the game. This could make debugging a server-side plugin easier for users that are making a server. However, I don't think directly adding event subscribers to event buses during runtime would work due to potential concurrent modifications. Is this possible? If yes, what is the best way to achieve this?
  3. Create a custom entity at the position of the block when it is right clicked, and mount the player onto it. Note that the entity should destroy itself when the player gets off.
  4. Post log. What is the "mods list file" you are talking about?
  5. AFAIK it is not possible. By "resetting the world" you are basically creating a new World.
  6. Post your code.
  7. Your English skill sounds pretty good to me. If you are storing all your values in an enum, you can call YourEnum.values() to get a collection of all the values, which you could iterate through and initialize the block from. Simply create another list and store the initialized blocks into it during the iteration. I would suggest to post more of your code, preferably as a GitHub repo. This allows other members to give more accurate suggestions on your code.
  8. I am finding @ScarlettSh0‘s English perfectly understandable. If you are having difficulties understanding another forum member’s post, it would be better to politely ask the person to rephrase his/her post. As for the crash, @ScarlettSh0 is correct about its cause. One of your mods implemented a custom config parser, which caused the crash because its config has errors. The best solution would be to delete the config folder, or delete each config one-by-one until the config causing the problem is removed and regenerated by the game.
  9. This is equivalent to i = Math.min(i, getDistance(...)); ; no if statement is needed. I can’t figure out how to add quotes to my previous post via editing...
  10. You ran out of memory. Allocate more memory to the game.
  11. Post log.
  12. I made a mod that disables certain tile entity rendering for 1.12.2 previously: https://www.curseforge.com/minecraft/mc-mods/stop-render. The mod is very simple and open sourced on GitHub, and could be easily adopted to 1.8.9 (note that you won’t get help on 1.8.9 modding on this forum, as 1.8.9 is too out-dated).
  13. In your block’s model Json, under the textures entry, add a particle entry whose value is you desired texture for the breaking particle. Example: https://github.com/davidmaamoaix/TinyMobFarm/blob/master/src/main/resources/assets/tinymobfarm/models/block/diamond_farm.json.
  14. Post your code. What do you mean by “auto put”? Do you want to shift-click the ItemStack in? Or do you want to make ItemStack automatically go in your container when it is opened?
  15. Note that VanillaFix should never be used as a fix to Minecraft crashing. If there is a crash, you should fix it. Silencing the error and pretending it didn’t happen will cause unexpected behaviors.
  16. I am having difficulties understanding your issue. Please elaborate more. What are you trying to achieve from an end-user’s perspective?
  17. Better Animal Models' is having compatibility issues with The Midnight. Make sure both of them are the latest version. If they are and the same crash still occurs, remove them and report to their authors.
  18. No. There is one author (or one team of collaborative authors) for a mod. You can try updating the mod if it is not the latest version.
  19. WeaponLib’s (mw-1.11.6_mc1.12.2.jar) problem. Remove it and report to its author.
  20. 1. Please read the EAQ and provide the appropriate log(s). 2. What launcher are you using?
  21. In that case the rendering will be relative to the position of your player. Therefore: would render the model 70 blocks above the player, and will move as the player moves, thus you cannot see it.
  22. Where are you calling the drawCircle method? There are some places where transformation matrices are already in the stack (i.e. RenderWorldLastEvent), and reversing transformation is needed in such case if you want to use world coordinates.
  23. You do not have the same issue. Please make your own thread. 1.8.9 is no longer supported on this forum due to its age. Update to a modern version of Minecraft to receive support.
  24. Your code won't work as intended currently as you are offsetting the same pos by values relative to the original position: Instead of adding to the previous pos value, you should add to the position of the leaves block.
×
×
  • Create New...

Important Information

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