-
Posts
16559 -
Joined
-
Last visited
-
Days Won
156
Everything posted by Draco18s
-
That's not source code, that's a youtube video.
-
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"
-
(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.
-
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.
-
ItemStackHandler not a direct replacement for IInventory?
Draco18s replied to TheGreyGhost's topic in Modder Support
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 -
[1.15.2] How to teleport entity in front of player
Draco18s replied to TheBigCraftGuy's topic in Modder Support
Get the player's lookVec, do math. -
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
-
[SOLVED] [1.15.2] I cant understand whats wrong
Draco18s replied to FutureRumble902's topic in Modder Support
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: -
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
-
File is for an older version of Forge and cannot be loaded - n00b error
Draco18s replied to Raeglyn's topic in Modder Support
This says you're targeting 1.12 -
They are advancements, actually.
-
[SOLVED] Data folder doesn't load!! || Modding Support 1.15.2
Draco18s replied to Anonomys's topic in Modder Support
#LearningToReadYourErrors -
IInventory vs ItemStackHandler for Containers with GUI
Draco18s replied to TheGreyGhost's topic in Modder Support
And remove this entirely. -
[1.14.4] Syncing rendered held item movement with head?
Draco18s replied to JayZX535's topic in Modder Support
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. -
[1.14.4] Syncing rendered held item movement with head?
Draco18s replied to JayZX535's topic in Modder Support
(Note that Y and Z are swapped in Minecraft) Now check your code again. -
Create json file Add json file to data/modid/loot_tables Done
-
[1.14.4] Why are chunks of the sources missing?
Draco18s replied to Keheck's topic in Modder Support
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. ? -
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