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


  • Content Count

  • Joined

  • Last visited

Everything posted by SamMan

  1. Update, checked back on the PR today and its been now merged, thanks for the help in getting this back into forge diesieben ❤️
  2. If you want to keep things separate, in the launcher when creating the 'forge' profile you can set its directory to where you want your forge stuff to go
  3. I'm not sure whether to post this here or in bug reports but general rule of thumb is that its probably my fault so here goes: According to the forge docs at https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/, when a new update for your mod is released, it'll display a little blinking emerald icon on the mods button on the main menu, and in the mods menu. However, after getting it set up, the emerald does appear in the mods menu, but does not appear on the main menu? Main Menu: Mods Menu: So uh, not sure what's g
  4. Aah no worries then, thanks for keepin me real lol
  5. No dice at all? As in, with a good enough layer of abstraction and stuff I control, there's still no way I can leave all calls to that underlying code to small chunks I can replace much easier?
  6. Hello! I've been making a small utility mod for 1.15, for use as a client mod on a vanilla server (that supports connections from 1.15 and 1.16). However it's about time to update to support 1.16, which leads me with a problem. As the server has users on both 1.15 and 1.16, I really want to be able to release versions for both. 1.16 hasn't introduced any new functionality for the mod, so all features should be compatible on both versions. However, I really don't want to duplicate the entire codebase, as this would lead to issues when I want to add a new fea
  7. Update: Nope, it was my fault, my accesstransformer was invalid.
  8. You have chosen death an unsupported version of forge
  9. It says 'Do not run this in a folder ending with !' You're running it in C:/Users/CARL!, which ends with an ! Move the jar somewhere not inside of the CARL! folder.
  10. I think the real error is right at the bottom, I'm having the same problem
  11. Hello! After refreshing gradle as I'd edited access transformers, I got this error, and all code from Minecraft became unresolvable symbols: Could not find net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1_at_5001db69360629811200a9d34da2251e7eb6e597 It mentions that it searched (and could not find the file) in a few online locations, so I'm thinking this might be a problem with forge's servers?
  12. Hello! I've been making a mod that seeks to change how chat is displayed, allowing for a better chat screen. I've got to the point using reflection where the game uses my NewChatGUI rather than vanilla's one, but still I need to reuse a lot of the functionality from the existing NewChatGUI, such as the rendering, meaning I have to copy some of the read-only Minecraft code. Some methods will change but some will stay exactly the same (jibberish names and all) Is that bad? If I'm redistributing code that I didn't write (though edited large parts of it), is thi
  13. At the very bottom of the KeyBinding class there's this function: Hopefully it's obvious what that function does.
  14. Now... I'll start looking into the next task - putting items in the chest
  15. A challenge eh? Well consider it accepted. So I did some digging for a good while, around in the item code. and eventually I found myself all the way up in Minecraft.java looking at the right click code. (Minecraft#rightClickMouse) Inside it I found the case for clicking a block: Which made a called to the handily titled 'func_217292_a'. A quick check in it showed that this was likely what I was looking for. So, by fudging a call to 'func_217292_a', it worked! The chest opened on the client. This made the necessary code: Minecraft mc = Minecraft.getInstanc
  16. I see, thanks for the info Do you know which classes contain the relevant stuff for sending a fake click? I'd guess it'd be somewhere in the packet classes I'm not quite sure how to send those..
  17. Ah sorry, I mean on the second line of code: What should I set the containerBlock variable to? It can't be null or else I can't get a property from it. I can't set it to a BlockState since they're incompatible types.
  18. Gotcha, thanks! Any ideas what I set the ContainerBlock variable to?
  19. Thanks for looking into this a bit deeper! So I tried to implement those methods, and I feel like I'm really close (only one letter is bad!). Though yeah I wasn't quite sure what to set ContainerBlock to, as getContainer isn't static. It feels weird to me that this block object is used to get other blocks? I also wasn't quite sure what to make of the 'state' parameter. I'm not overly bothered what state the chest is in so I left it as null, but is that bad? Here's my code so far: aaa these sides always confuse me. I'm runni
  20. Thank you for your reply! Ah I see. I did some digging in the ClientPlayerEntity class and found an openContainer property, nice! However is there a way to force the player to open the chest? I did an openContainer method on ClientPlayerEntity but its parameter name or type isn't too helpful...
  21. Hello y'all! I've been working on a mod that aims to automatically complete some operations with chests (from the client side). However this needs two fundamental features: Reading chest contents, and placing items into the chest (from the players inventory) Is there a way with Forge to do this? Thank you for reading!
  22. hello friend i am having a crash for beta 1.6 forge can you help me :((((((( In all seriousness though, look forwards to seeing what the future of 1.14 modding brings!
  23. Ahhhhh I getcha, so I need to check the event.getSide()?
  24. Hello y'all! Been working on a mod that overrides existing left click functionality, and got it hooked up to subscribe to the PlayerInteractEvent.LeftClickBlock event, however when displaying a debug message from it, the message is sent twice, and I can't see why. Code: Main.java public class Main { public static String MODID = "codeplacer"; public static Logger logger = LogManager.getLogger(MODID); } OverrideClick.java @Mod.EventBusSubscriber public class OverrideTemplateClick { @SubscribeEvent public static void clickItem(PlayerI
  • Create New...

Important Information

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