Everything posted by Draco18s
-
Could someone convert this mod to 1.14.4?
That's not source code, that's a youtube video.
-
How do i meke the redstone ore glow for exact 4 secconds (80 ticks) after been activated?
I'm not sure how many times you've been told, but you can not do this.
-
[1.15.2]Can't call method .getMainWindow()
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"
-
[1.15.2] All recipes gone
(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.
-
[1.15.2]Can't call method .getMainWindow()
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?
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
Get the player's lookVec, do math.
-
Why blockitems disappear from creative menu, if i override a block?
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.
-
New Recipes Unlocked Functionality
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
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:
-
New Recipes Unlocked Functionality
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
This says you're targeting 1.12
-
New Recipes Unlocked Functionality
They are advancements, actually.
-
[1.15.2] [SOLVED!] Stop player tick event running as both server and client
Check for only one side and don't increment your counter if its on the wrong side?
-
[SOLVED] Data folder doesn't load!! || Modding Support 1.15.2
#LearningToReadYourErrors
-
IInventory vs ItemStackHandler for Containers with GUI
And remove this entirely.
-
[1.14.4] Syncing rendered held item movement with head?
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.
-
Trying to register blocks using the registerAll method. i don't know what i am suppose to put into the parameters
So instead you're going to spend energy fixing problems caused by not setting things up properly. Enjoy, I guess?
-
[1.14.4] Syncing rendered held item movement with head?
(Note that Y and Z are swapped in Minecraft) Now check your code again.
-
Trying to register blocks using the registerAll method. i don't know what i am suppose to put into the parameters
You know you can run the game inside your IDE, right?
-
is there a way, that the vanilla RedStoneWireBlock get´s the coloring from a png in a custom resourcelocation?
RestoneWire's png is gray. It gets its color entirely from code.
-
[SOLVED][1.15.2] Custom Chest Loot Tables
Create json file Add json file to data/modid/loot_tables Done
-
[1.14.4] Why are chunks of the sources missing?
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. ?
-
[1.15] use of onMinecartPass
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
-
Trying to register blocks using the registerAll method. i don't know what i am suppose to put into the parameters
You pass in an array or list of block instances. GledstoneWireGeneral (appears to be) a class.
IPS spam blocked by CleanTalk.