Everything posted by Draco18s
-
[1.9.4] Automated input and output using Capabilities
Yes. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/entities/TileEntitySifter.java#L138-L146 Note that inputSlot is actually two slots: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/entities/capabilities/SiftableItemsHandler.java#L10 I should probably pass the number of slots as part of SiftableItemsHandler's constructor, but that's the only place that class gets used.
-
MC 1.10+ How to use instanceof in 1.10+ ?
#BasicJava
-
[Error] - Gradlew - GC Overhead Limit Exceeded
Give the jvm more ram
-
Setting up Forge to Develop Forge
Fuck it. Nuked everything, started over. Ran setup via command prompt, got an eclipse folder this time. Only problem...all the net.minecraftforge packages are missing. The complete reverse of what I was getting with IntelliJ The hell?
-
Best practices to have one block check the inv/tile entity of a nearby one
...no, that's not how that works. You need to schedule the first tick yourself onBlockPlaced.
-
Best practices to have one block check the inv/tile entity of a nearby one
Random ticks are not scheduled ticks. Literally. I mean...you could go look at TileEntityFurnace.... But no, there is not
-
Setting up Forge to Develop Forge
You get used to it. Don't tell me eclipse is any better than this. In Eclipse the most inane thing I've found is that in order to search the entire project for a text string I need to have that text string highlighted in an open file. Nearly everything else can be found in a context menu or one of the top row menus. Well, ok, I had to set up my own hot keys to quickly switch back from Debug Perspective to Java, but still. It's not like that was hard to figure out. IntelliJ acts like it doesn't have tooltips on things. Seriously, the delay on the tooltips for the various icons is like 5 seconds. Every other program in existence uses something close to a half or a quarter of a second. Setup finished, but I still have no access to vanilla files.
-
[1.9.4] Using the Mekanism API
This file: https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/api/gas/Gas.java is in the API. On line 3 and 4, it tries to access files in mekanism.client, which are present in Mekanism, but not in the API. Then their API violates the contract of an API and therefor sucks.
-
Setting up Forge to Develop Forge
Impenetrable UI is impenetrable. By doing what? Just posting "bump" in the comments?
-
[Solved]Update the sky
Also, you never set it back to false.
-
Setting up Forge to Develop Forge
See, because I hadn't seen them, I didn't think to. >.> Anyway, setup is running now. I'm not even sure this is worth doing as it feels like every PR I make (that isn't outright rejected for inane reasons) is just ignored. Like this one, which is literally stopping me from updating a mod. Sigh. Ok, now what? It unhelpfully marked this task as having had an error, but displays no details anywhere that I can find.
-
Setting up Forge to Develop Forge
They were hard to see in the scaled down one, and in the scaled up one it was cut off and I only saw the lower left one.
-
Setting up Forge to Develop Forge
You said "tasks list" not "gradle." There was no "tasks list" in the lower left but there was a "gradle." I did not know I had to open the gradle window before being able to find tasks. Reopened the project that actually was a project and yes, I have the gradle tasks list. Now what?
-
Setting up Forge to Develop Forge
Yes, I definitely switched to the 1.10 branch. Importing a new project and pointing at the build.gradle file didn't actually ask me if I wanted to reuse the project. It just opened. But it appears to have opened things in a "file only" mode rather than a project. e.g. I can browse the source files but they're not treated as code, just files that contains text. Still no background tasks.
-
Setting up Forge to Develop Forge
There's no "tasks" from that icon. I did find Window -> Background Tasks, which says "no active background tasks."
-
Setting up Forge to Develop Forge
Wha..? How?
-
Setting up Forge to Develop Forge
Only in the general sense. Doesn't mean I know what I'm doing. Ah. Thanks. I don't use IntelliJ. I like Eclipse. And.... I now have a project that has lots of source code for Forge, but none of the patches made to vanilla and in fact, no vanilla source either (opening up a class file largely at random IntelliJ takes a minute aftewards going "hold on, I can't resolve these references" and the entire scrollbar goes red). I'm trying really hard not to fall back on coremodding because that's not the way things should be done, but instead, writing a PR for a new event in the place I want it to do what it needs to so that I can interrupt/modify vanilla behavior.
-
Setting up Forge to Develop Forge
Fuck if I know. IntelliJ's "clone from Github" only selects a project. I had to delete the local Idea Project to get that, figured for shits and giggles I'll check later screens. Downloads...creates a project...and gets a dozen steps farther than last time. All the way in to being able to view source code and I still have no idea which branch its on.
-
Setting up Forge to Develop Forge
"Just clone, download, and run setup!" it says. Clone. Easy. Run setup. Ok, had to install git first (as in actual git). Fine. Point eclipse at the eclipse folder in the project. Uh...what eclipse folder? "Here's a video of CPW doing it with IntelliJ" Fine, lets try IntelliJ. Downloaded, installed, project cloned, and... FML. I can't configure the project the way CPW says ("use default") because it's not available, but then my "use local" settings are incomplete and I don't know what the right values are (including JAVA_HOME not being set and no option to configure it, WTF?) Fixed JAVA_HOME myself, still don't know the gradle path, so I tired using the "use gradle wrapper task configuration." https://s11.postimg.org/jdyzigfgj/no_file.png[/img] The /fml folder is 100% empty. Not that I know why it wants the 1.7.10 json for anyway.
-
[1.10.2] Question about syncing tile entity data
Thanks desht. I have trouble finding that method because the 1.7 name was "markBlockForUpdate" or similar, so I type "mark..." and autocompletion gives me results that don't include that one.
-
How to make a transparent element in model
Has to do with depth sorting, yeah. Opaque elements are drawn front to back, translucent back to front.
-
How to make a transparent element in model
Not that I am aware of
-
How to make a transparent element in model
Set your particle texture to a different texture. As for the faces rendering wrong, there might not be a solution.
-
How to make a transparent element in model
You need to override: @Override @SideOnly(Side.CLIENT) public BlockRenderLayer getBlockLayer() { return BlockRenderLayer.TRANSLUCENT; }
-
[1.10.2] items display name
myItem = new Item().setRegistryName("myItem").setCreativeTab(Mod.MY_TAB) myItem.setUnlocalizedName(myItem.getRegistryName().toString())
IPS spam blocked by CleanTalk.