Jump to content

OutCraft

Members
  • Posts

    190
  • Joined

  • Last visited

Everything posted by OutCraft

  1. I don't know. What do you want to achieve?
  2. I don't know what you want to achieve or if this is helpful, but maybe you could make a custom screen and render the two cameras there
  3. Hi! You need to override the Voxelshape of your block. I don't know how the Method is named, but it's something like getShape. Search in your IDE for overridable methods that contain"shape" in their name (In Eclipse: Alt+Shift+S+V I think and then type "*shape" )
  4. What should you use 1. in the final Mod and 2. for debugging, LogManager.getLogger().log(text); or System.out.println(text); and why?
  5. Also you should consider reading the README.txt file (there it explains how to set up the workspace and what to do on specific errors)
  6. First you need to run "gradlew genEclipseRuns" / "gradlew genIntellijRuns" and then "gradlew eclipse" / "gradlew intellij". There isn't a setupdecompworkspace any more
  7. Post the debug.log, because there it always says why the game crashes
  8. You could calculate it from the player's eyePos and his looking angle. I'm pretty sure you can get both on the server. But if you need to do this like every tick it could be resource intensive and lag the game
  9. The better alternative would be to call it on Client and Server, but I don't know how you would achieve that
  10. Hi! Try replacing playerEntity with null, because you're calling the Method on the commandServerWorld, so the Server.
  11. Because I think in the log there was something with 1.12 and 1.12 is not longer supported, only 1.16.5 and 1.17.1
  12. Try removing the Mod flatcoloredblocks: One question: what Minecraft version are you using?
  13. I'll post the crash as soon as I have time (I think Saturday)
  14. Hi! I know Java, but I didn't know what parameters to pass in. I eventually found that out by my own (by looking at ConfigGuiHandler.ConfigGuiFactory) and thanks of your replies (I read them again), but it's very buggy and when I click on "Mods" on the title screen the game crashes
  15. Can you give me an example how to do this?
  16. Now I did this: public class MyClientConfigGuiScreen extends Screen { public MyClientConfigGuiScreen() { super(new TextComponent("My Mod Config")); } } and ModLoadingContext.get().registerExtensionPoint(() -> ConfigGuiHandler.ConfigGuiFactory, MyClientConfigGuiScreen::new (<- Error: "The constructed object of type MyClientConfigGuiScreen is incompatible with the descriptor's return type: T")); but there is an error at MyClientConfigGuiScreen: "The constructed object of type MyClientConfigGuiScreen is incompatible with the descriptor's return type: T"
  17. I know, for "extension" I now need to make a custom screen, right?
  18. Ahh sorry, I was just dumb ModLoadingContext.get().registerExtensionPoint(() -> ConfigGuiHandler.ConfigGuiFactory, extension);
  19. But how should I register it? This gives also an error: "ConfigGuiHandler.ConfigGuiFactory cannot be resolved to a variable"
  20. Hi again! I have another question: I searched online how to do this, because I didn't get it to work and I saw this: ModLoadingContext.get().registerExtensionPoint( ExtensionPoint.CONFIGGUIFACTORY, () -> (mc, screen) -> new ConfigScreen() ); My problem is, that I can't find the class ExtensionPoint, but on the website it says it's there: import net.minecraftforge.fml.ExtensionPoint; The only thing what I found was IExtensionPoint in net.minecraftforge.fml.IExtensionPoint; but it only has DisplayTest and also, IExtensionPoint.DisplayTest gives an Error there: ModLoadingContext.get().registerExtensionPoint(IExtensionPoint.DisplayTest (<- Error: "IExtensionPoint.DisplayTest cannot be resolved to a variable"), extension); Thank you for any help! Ps: I like bunnies
  21. Hi, thank you for the quick reply! I didn't know, that you really can use these Buttons, I exactly wanted to do something like this! Again learned something new
  22. Hi! I want to add my own buttons to the "Options" side of Minecraft "ESCAPE>Options" but I don't know how to do this Thanks for any help
  23. Hi, I have the same problem, also when I'm logged in. If you get it to work please say what you did. Thanks
  24. Hi! Try removing "OreExcavation-1.8.157.jar", I think the error comes from this Mod:
  25. Hi! You can find the JSON like this: Go into your .minecraft Folder, then go into "Versions". Go into the Version you want. There is a .jar file, change the extension to .zip. Open the .zip and go to assets>minecraft>blockstates>glow_lichen.json and assets>minecraft>models>glow_lichen.json
×
×
  • Create New...

Important Information

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