Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation since 04/15/21 in all areas

  1. I’m trying to install forge’s recommended version for 1.8.9 on windows 10 with Java 64bit latest version but it just absolutely will not open. Anytime I click the installer it just gives me a second icon as a notepad page but will not run the installer, I’ve tried reinstalling Java I’ve tried it all... any solutions or recommendations would be appreciated
    2 points
  2. DeferredRegister usage is explained both in the documentation about registries as well as the DeferredRegister javadoc. I'll repeat it here for you: private static final DeferredRegister<Block> MINECRAFT_BLOCK_OVERRIDES = DeferredRegister.create(ForgeRegistries.BLOCKS, "minecraft"); public static final RegistryObject<Block> SAND = MINECRAFT_BLOCK_OVERRIDES.register( "sand", () -> new Block(...) )
    1 point
  3. I am trying to set up the forge modding environment exactly as the readme states. I copied the files from the MDK 1.16.5 - 36.1.6 to a folder on my pc. Then I ran the command gradlew genIntellijRuns but then I got all of these errors: Then in the readme I read about gradlew --refresh-dependencies and gradlew clean but they didn't solve it too. This is the first time that I try to setup a modding environment and I can't get rid of those errors. I didn't change anything on any file. Could somebody help me further with this?
    1 point
  4. knockback changes the velocity server side. However the player velocity is usually controlled client side. There is a special flag on entities (hurtMarked) that will cause the server to send a velocity update to the client. The attack logic sets this to true. If you cancel that, it doesn't get set to true and your knockback gets lost. Simply doing player.hurtMarked = true after your knockback fixes the issue.
    1 point
  5. Post the log when running the forge jar. Do not run the minecraft server jar.
    1 point
  6. none of the forge 1.7.10 installers even open, and all of the except the universal installer create the attached file: forge-1.7.10-10.13.4.1614-1.7.10-installer.jar.log
    1 point
  7. Try it without the "+" in the path name.
    1 point
  8. No. Minecraft will save the WorldSavedData to disk when it saves the world, provided isDirty returns true.
    1 point
  9. I can confirm I am experiencing issues as well. It seems like all https://files.minecraftforge.net/maven/... URLs are being redirected to https://maven.minecraftforge.net/... which throws an authentication prompt and doesn't seem to work.
    1 point
  10. Then you do have to use WorldSavedData or a world capability.
    1 point
  11. Can you post your code, ideally a Git repo of your mod so I can use the debugger?
    1 point
  12. 1 point
  13. Well yes, vanilla armor models have two layers. The leggings grab the body and the legs while the boots grab only the legs. You could fix this by splitting your texture in two and draw the second texture only when the equipment slot is the legs.
    1 point
  14. It's just the color of the particle to render for the falling block. If you want, you can translate the colors into hex and put them into a color editor to view what colors they are.
    1 point
  15. Sorry, I'm telepathetic, not telepathic. You're going to explain this to your local rubber duck.
    1 point
  16. Just use this, no need to call getEntity (which is just a helper for IForgeEntity).
    1 point
  17. Custom entities must override getAddEntityPacket and return NetworkHooks.getEntitySpawningPacket.
    1 point
  18. Thank You! I'll definitely take some time learn more about java and modding
    1 point
  19. oh, 1.13 isn't supported anymore update to 1.15 or 1.16
    1 point
  20. what do you mean "won't appear"? the forge mdk comes with a default examplemod under src/main/java, but it is not necessary, you can create your own package, following the maven package naming conventions, and put your mod there
    1 point
  21. Not easily, you'd have to monitor NewChatGui#allMessages for changes.
    1 point
  22. Problem with RoughlyEnoughItems. Make sure it is up to date, talk to the mod author if it already is.
    1 point
  23. This tutorial from 1.12.2 is as easy as anyone could possibly explain it, it hasn't changed much til now except some slight changes here and there for you to figure out, it's pretty straightforward (https://www.planetminecraft.com/blog/forge-tutorial-capability-system/). Obviously instead of mana you'd just replace it with whatever else you're doing. All a capability is in essence is the ability to serialize/deserialize standard data types to an entity. When the player dies the game creates a new instance of a PlayerEntity object so your data won't automatically "transfer" over to that new obj
    1 point
  24. Download the server and go to java -Xms1G -Xmx8G -jar forge-1.16.5-36.1.2.jar pause And changed the name to start.bat 2021-03-27 22:41:02,795 main WARN Advanced terminal features are not available in this environment [22:41:02] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.2 , --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge] [22:41:02] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version
    1 point
  25. there isn't a function that does that already. however writing your own helper function shouldn't be that hard don't forget to handle the case when the ItemStacks contain different Items, or Items with non-64 maximum stack sizes
    1 point
  26. Refer to the Optifine downloads page regarding compatibility with Forge.
    1 point
  27. Only ocelots and cats sprint in Minecraft. If you don't set your entity to sprint, Minecraft certainly won't.
    1 point
  28. It turns out i just forgot blaze powder
    1 point
  29. You can use Javapoet to generate .java files: https://github.com/square/javapoet
    1 point
  30. Calling newSimpleChannel is the registration. Hence doing it in some random static initializer is a bad idea. Do it at a known point in time, FMLCommonSetupEvent would be appropriate.
    1 point
  31. Looks like an issue with PneumaticCraft.
    1 point
  32. You need to use EntityAttributeCreationEvent to register the attributes for your entity (CowEntity.createAttributes or make your own if you have additional attributes). Do not create registry entries in static initializers. Use DeferredRegister or @ObjectHolder when using manual registry events.
    1 point
  33. Goals and Tasks are defined within the flyweight Entity itself whenever it is constructed. I would suggest taking a look at already implemented entities with goals and tasks if you want to implement them yourself.
    1 point
  34. There's no evidence that you use a newer version of netty within the buildscript. You indeed shadow the version during building, but you do not compile it for use within the game. You still need to require a dependency on it such that it is used within runtime.
    1 point
  35. You'd have to make your own system completely separate from redstone, because everything in redstone assumes that 15 is the max. A redstone wire only has 16 states (0-15), a comparator only has 16 states for its input power, etc.
    1 point
  36. Take a look at the vanilla screens, such as the ReadBookScreen class. All you really need to get started is to create a class that extends the Screen class, and then you can open the gui with Minecraft.displayGuiScreen() (which you can call for example in the onItemRightClick() method in your item).
    1 point
  37. 1.12 is no longer supported on these forums due to age. Please update to a modern version to receive support here. More information on supported versions can be found in the LTS link at the top of every page.
    0 points


  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.