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

ChromaKey81

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ChromaKey81

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. How can I get the ConfiguredFeature pointed to by a resource location?
  2. I saw in the changelog that the method to register commands has been changed. How should this be done now, and could you provide an example?
  3. Shoot, actually I'm still having a bit of trouble with that. replace.getSource().getWorld().getTileEntity(BlockPosArgument.getLoadedBlockPos(replace, "sourcePos")).getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY) This returns LazyOptional<IItemHandler>. How do I get from there to using the IItemHandler methods?
  4. Thanks so much. I've been looking for an answer to this for a while
  5. So it works with players, thanks. Are entities with armor/hand slots (e.g. zombies) included? I need to be able to pass any entity with slots as a source.
  6. Thank you for the explanation on that. Does this work for entities? If not, what is the method for that?
  7. What's the method for getting an item stack from the slot of either an entity or tile entity? I need to input a slot as an integer and return an ItemStack. To get it from a tile entity, I've been using (IInventory) replace.getSource().getWorld().getTileEntity(sourcePos).getStackInSlot(sourceSlot) which works properly, but someone else told me that IInventory won't work for anything outside of the vanilla game and that I should instead use the "IItemHandler wrapper." Not sure exactly what that is though. However, I still haven't figured out how to do this with mobs, so
  8. I've been having issues with Forge 1.16.1, I'm pretty sure it just isn't 100% stable and done yet. Just realized that you're having the issues on a 1.15.2 version so nevermind my comment. Why can't we delete comments on this forum? What is this madness?
  9. I can't find it from there in IntelliJ IDEA either. Do you know what the usual directory is?
  10. I just need the forge library and I'll be set. Where can I download that? Nvm I found it
  11. Thank you very much for the help (although now my game is crashing altogether. check repo for crash report) Could you briefly explain what I need to change in the build.gradle (or direct me to some documentation)? By the way, do I need to compile all of my .java files to .class? How would I do that in VSCode?
  12. I updated my stuff with fresh files, and now I have a new error: java.lang.RuntimeException: java.net.MalformedURLException: no protocol: github.com/MinecraftForge/MinecraftForge/issues I'm still confused because I deleted this line in the mods.toml. I uploaded everything to the github repo so there's more info available.
  13. https://github.com/ChromaKey81/devsdream
  14. Done, but I'm still getting the same errors. The log still says minecraftforge.net/versions.json despite that URL never being used in the file, so I have no idea what's happening.
×
×
  • Create New...

Important Information

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