Jump to content

Draco18s

Members
  • Posts

    16559
  • Joined

  • Last visited

  • Days Won

    156

Everything posted by Draco18s

  1. That's not source code, that's a youtube video.
  2. I'm not sure how many times you've been told, but you can not do this.
  3. Please don't @ me. And I don't see what the problem is. If your mappings are up to date, then no one's renamed the method yet. There's no "solution"
  4. (Or a tag or really any data file) And the log may not actually show what file is bad, assume it is any of those that you added since the last time it worked. If you don't know, remove them all and add them back in chunks to figure it out. Install a JSON editor plugin for your IDE so it can detect syntax errors.
  5. That method probably got renamed. You can't call it because it doesn't exist because you have the wrong name. Use your IDE to search for methods and find one that looks like it does what you want.
  6. Btw, if you're doing MyTileEntity implements IItemProvider, you're doing it wrong. https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/harderores/entity/MillstoneTileEntity.java#L33-L41
  7. Get the player's lookVec, do math.
  8. Surprise! Items in your inventory that are blocks are still Items. You didn't override the item, just the block, so the BlockItem instance is invalid and points at air.
  9. Technically, yes. Because the player could "have" the recipe for the pickaxe, but not the sword. This one was done in 1.12, but the syntax should be the same. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/resources/assets/harderores/advancements/recipes/stone_tools.json
  10. I see a T and an M. T and M both do not match a-z (they match A-Z!). Wherever you have those in your code. Oh, right here:
  11. Has recipe is a condition that says "does the player know the recipe? If so, grant the advancement." The recipe in question here is whatever recipe you're rewarding the player with. Not the ingredient's crafting recipe. Reward: https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/resources/data/expindustry/advancements/recipes/machine_filter.json#L29 Condition: https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/resources/data/expindustry/advancements/recipes/machine_filter.json#L23
  12. They are advancements, actually.
  13. Check for only one side and don't increment your counter if its on the wrong side?
  14. I'm not going to be able to help directly, but I'm pretty sure you're going to need multiple translations and rotations, as first you need it to lay flat, then position it at the dog's mouth, then offset to deal with rotating based on the dog's head's movements (the pivot point of the head and the item aren't the same!) and translate back.
  15. So instead you're going to spend energy fixing problems caused by not setting things up properly. Enjoy, I guess?
  16. (Note that Y and Z are swapped in Minecraft) Now check your code again.
  17. Create json file Add json file to data/modid/loot_tables Done
  18. Like I said, I keep forgetting and couldn't remember how to spell his name and when I tried searching the forums I got no results. ?
  19. This is a pile of disgusting (and from 1.12) but it does represent some code I used to fiddle with carts as they passed nearby. This was from a hopper-like TileEntity, but the information should still apply. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/industry/entities/TileEntityCartLoader.java#L32
  20. You pass in an array or list of block instances. GledstoneWireGeneral (appears to be) a class.
×
×
  • Create New...

Important Information

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