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/07/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. Try it without the "+" in the path name.
    1 point
  3. No. Minecraft will save the WorldSavedData to disk when it saves the world, provided isDirty returns true.
    1 point
  4. Then you do have to use WorldSavedData or a world capability.
    1 point
  5. Can you post your code, ideally a Git repo of your mod so I can use the debugger?
    1 point
  6. You messed up your check. You're only supposed to execute when not on the client.
    1 point
  7. 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
  8. 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
  9. Sorry, I'm telepathetic, not telepathic. You're going to explain this to your local rubber duck.
    1 point
  10. Just use this, no need to call getEntity (which is just a helper for IForgeEntity).
    1 point
  11. Custom entities must override getAddEntityPacket and return NetworkHooks.getEntitySpawningPacket.
    1 point
  12. Thank You! I'll definitely take some time learn more about java and modding
    1 point
  13. oh, 1.13 isn't supported anymore update to 1.15 or 1.16
    1 point
  14. 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
  15. Not easily, you'd have to monitor NewChatGui#allMessages for changes.
    1 point
  16. Problem with RoughlyEnoughItems. Make sure it is up to date, talk to the mod author if it already is.
    1 point
  17. 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
  18. 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
  19. 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
  20. 1 point
  21. Refer to the Optifine downloads page regarding compatibility with Forge.
    1 point
  22. Only ocelots and cats sprint in Minecraft. If you don't set your entity to sprint, Minecraft certainly won't.
    1 point
  23. It turns out i just forgot blaze powder
    1 point
  24. You can use Javapoet to generate .java files: https://github.com/square/javapoet
    1 point
  25. 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
  26. Looks like an issue with PneumaticCraft.
    1 point
  27. 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
  28. 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
  29. 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
  30. That shouldn't happen because of the sinus and cosinus, at least it didn't happen in my tests.
    1 point
  31. The crash might be related to ctm or ctm dependent mods.
    1 point
  32. Does it work without Botania? Some configurations might randomly change the data sent to botania which then causes an exception.
    1 point
  33. Yes: https://minecraft.fandom.com/wiki/Loot_table#Tags (see "entries"). It will drop all of them.
    1 point
  34. Update Forge, this was fixed with version 1.16.4-35.1.26.
    1 point
  35. The fuck is this class name? https://github.com/GustavoSasaki/Ragnarok-Cards/blob/main/src/main/java/ragnarok_cards/Items/aa.java#L23 Use proper CamelCase naming convention. https://github.com/GustavoSasaki/Ragnarok-Cards/blob/main/src/main/java/ragnarok_cards/Items/aa.java#L77 This condition will never be true. https://github.com/GustavoSasaki/Ragnarok-Cards/blob/main/src/main/java/ragnarok_cards/Items/aa.java#L85 Beyond that I'm not sure, I've not messed with entity loot modifiers myself.
    1 point
  36. I managed to find a solution. Instead of the above method i do this: private static final ResourceLocation MOLTEN_METAL_TEXTURE = new ResourceLocation("textures/block/lava_still.png"); private static final RenderType RENDER_TYPE = RenderType.getEntitySolid(MOLTEN_METAL_TEXTURE);
    1 point
  37. DimensionTypes are dynamic since they are now data driven. This means that the associated data can only be accessed whenever a world is loaded. You can get access to this through MinecraftServer#registryAccess which gives you an instance of DynamicRegistries. There is a convenient method there for grabbing the registry called DynamicRegistries#dimensionTypes. Registry is an instance of Iterable on the value.
    1 point
  38. Haven't tested this, but have you tried using reflection to change the Item#maxStackSize field?
    1 point
  39. That should be fine. I thought you meant that the DeferredRegistry isn't working for the IRegistries
    1 point
  40. Check out RenderingRegistry and its methods. (Basically call RenderingRegistry::registerEntityRenderingHandler during FMLClientSetupEvent) This sounds concerning. How are you registering everything then?
    1 point
  41. Did you attach the register to the mod event bus? Also, you should probably check what class the "egg" is using and update accordingly. This will remove all the features associated with the egg. Another thing to note is that you shouldn't replace vanilla entries unless absolutely necessary. It could lead to compatibility issues and a few others (although, since you're only modifying a property, it should be fine).
    1 point
  42. }.getDefaultInstance(); again, learn Java... all of the problems would be solved if you knew what you were doing also @Soft-fur dragon just point this guy towards a java tutorial, this forum is not for Java support, it expects at least, a basic understandment of the language
    1 point
  43. Did you update the mappings, because hardnessAndResistance() should still work in 1.16.5? I think it is called strength() in the official mappings.
    1 point
  44. 1 point
  45. 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
  46. 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
  47. I'm having the same issue and am perhaps not as knowledgeable on the subject. Can someone explain how the error was fixed in a way that is a bit easier to understand? I believe I understand what is wrong, but not how to solve it.
    1 point


  • 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.