Everything posted by Draco18s
-
[1.7.10] [UNSOLVED] Problems with rendering item inside an Item???
My guess would be "yes."
-
Can't access Items in unit test?
Because those items are defined at runtime. Look at Item.java
-
Minecraft mods+ Github?
As I said, depends on what you're doing. For me, /etc is where I keep the mcmod.info files for each of my submods (I could have called it /fluff if I wanted to). build.properties is supposed to be for each submod's version number (but for whatever reason gradle complained it couldn't find the variables, so they got shoved into the build.gradle file).
-
Minecraft mods+ Github?
The build.gradle file. Which is why I dislike the project setup for Forge Gradle. Changing from one mod to another either requires that I duplicate a large portion of common files or moving around a bunch of stuff. And makes setting up a git repo annoying, because almost ever subfolder other than /src doesn't need to be on git. Also most of the files there too other than build.gradle... Highlighted stuff is part of the project and should be on GitHub. Everything underlined in blue is technically part of the project, but should not be on GitHub (you may or may not have build.properties or an /etc or /lib directory, depending on your needs). (And Lars pointed out that I missed a directory, ha!) Go to the mod. Click "fork." Or click "edit" on a file and GitHub will automagically fork it for you and drop you right into the edit window. You can also clone-to-desktop.
-
1.8 Custom Flower not rendiring when placed...looks like block
You're using vanilla's BlockStates and not using the same model definitions.
-
[1.7.10] Trying to set java block down -> java does not flow
Man, I keep reading this thread and thinking "Why coffee?"
-
Help with rendering Tile Entities
Or that, yes. But really one of the other two would be better (BlockContainer does the hasTileEntity for you, the interface makes sure you're providing all of the necessary functions, etc.)
-
[1.8] Easy way to replace blocks?
I had no idea, that's awesome.
-
[1.8] Easy way to replace blocks?
It's called a for-loop. for(x -10 to 10) { for(y -10 to 10) { for(z -10 to 10) { BlockPos pos = new BlockPos(x,y,z) } } } Pseudocode, of course.
-
[1.8] ItemStacks disappearing when moved in GUI, qty wrong o_0
www.github.com
-
1.8 Custom Flower not rendiring when placed...looks like block
And oh yeah, the block's .json model file.
-
1.8 Custom Flower not rendiring when placed...looks like block
Need to see your main mod file, too.
-
[1.7.10]Tracking items through a furnace
Forge isn't going to insert the kinds of data you need. You're on your own here.
-
[1.8] Id and Naming
You need another folder in there.
-
Help with rendering Tile Entities
public class BlockTable extends Block { *Cough* You might want to implement ITileEntityProvider or extend BlockContainer.
-
[1.7.10]Tracking items through a furnace
Enjoy looking into the abyss that is ASM.
-
[1.7.10]Item entity trouble?
ItemStack myItemStack = newItem.copy();
-
[1.7.10] Sending player in packets.
No idea what sth means. Anyway, the UUID only works for online servers. As I recently discovered. Entity IDs will work, only so long as you don't care about the value not being consistent (i.e. survive a save/load cycle).
-
[1.8] Rendering item model from item stack using EntityItem and...?
BlockPos.x ?
-
[1.8] [SOLVED] Setting a block as the creative tab icon
Item.getItemFromBlock?
-
[1.8] Rendering item model from item stack using EntityItem and...?
float renderPosX; float renderPosZ; for(int i=0; i<4; i++) { renderPosX = i/2; /* 0 / 2 = 0, 1 / 1 = 0, etc. */ renderPosZ = i%2; /* 0 % 2 = 0, 1 % 2 = 1, etc. */ /*the multiply by some fraction, add in the block's world coordinates*/ /*finally, call the renderer*/ }
-
[solved]Code for Fly Ring
Right click -> Source -> Correct Indentation (its magic).
-
[1.7.10] Custom structures not generating
I don't think you understand what your code is doing.
-
[1.8] Multitexture blocks
I just realized that 1.8 effectively killed the "Camouflage Block." That is: because the texture code moved into the json file, it is impossible to use a different, arbitrary, block's texture. Or at the very least, it made is incredibly more difficult.
-
[1.8] (Solved) HarvestDropEvent not firing?
It might help if you registered your event handler class with the event bus, rather than the FMLPreInitializationEvent.
IPS spam blocked by CleanTalk.