Everything posted by GotoLink
-
[1.7.2] Getting Started with Modding (again)
1. They have a javadoc, no need for anything else. 2. Lots of tutorial for that out there, it didn't change since 1.3. 3. Didn't change since...I began Minecraft modding. 4. There is nothing in Minecraft nor Forge doing this. Do it however you want, it is complete freedom here. 5. That is a basic topic. Don't know how you can code anything in Minecraft without knowing this already. Search for NBTTagCompound in Minecraft source.
-
[1.7.2][SOLVED] Getting Block References (*NOT* from World)
Block.field_149771_c.getObject(String) Gets a block instance from its internal name. There is also "Blocks" class for all vanilla blocks.
- ITickHandler
-
[1.6.4] Method Called on Tile Entity Creation
Probably because you are returned a default string if there is none. You should use hasKey(String) instead.
-
Tile entities and some problems...
That looks like the cauldron.
-
[1.6.4] Method Called on Tile Entity Creation
public BlockVillage(int par1) { super(par1, Material.iron); this.nameNumber = (int) Math.floor(this.townNames.length * Math.random()); } A block is only created once in the entire game. You should decide the name when the block is placed. You have only 8 town names, you could use metadata and change the meta values.
-
[1.6.4]How to spawn a mob using data available ingame
Probably because you are supposed to use EntityRegistry instead of EntityList.
-
[1.7.2] Class original names?
In IClassTransformer, use "transform(String,String, byte[])" second argument, not the first one, to identify classes.
-
Prevent Items form getting wrong enchantments?
Vanilla enchantments are tested against the item's class. ItemSword for sword enchantments, ItemTool for tools'... If you don't use the right item class, you are on your own to fix it.
-
Forge Workspace Setup Issue
This doesn't happen with IntellijIdea for some reason.
-
How to setup forge (project) for multiple use in IntelliJ IDEA
No, you don't, as confirmed by your screenshot. Forge isn't in your "Forge" module (this is your naming, and it is inaccurate). It's in the external librairies. And those can be shared between projects without duplicate.
-
[1.5.2] Custom Paintings for MC
Did you check that your item set your paintings entity ? Did you check that your paintings entity contains one of the paintings value ? Did you check that your paintings entity is being rendered with your renderer ? I shouldn't have to ask those questions only to get a useful error report.
-
Chests and getStackInSlot [Solved]
I am going to ask the obvious but... does the chest contain something ? Simple or double chest ?
-
Item right click to alter blocks attributes
Yes, changing the method works. Calling it, not. What you want is changing the block to your own block, with world.setBlockId(x, y, z, newId); /----------------------------------------------------------/ public class ColoredBlock extends the-original-block-class{ @Override public int getColorMultiplier(){ return your-own-value-here } }
-
[SOLVED] Execution failed for task: 'recompForge'
Try running javac If that doesn't work, you need to set your java path variables.
-
Item right click to alter blocks attributes
Your crash log says that the element in your blocksList array is null. But the real question is why do you make an array of 4096 elements, when you only want to change one block. Calling yourself Block#colorMultiplier isn't doing anything, by the way.
-
libs folder 9.11.1.964
Then what Draco18s said doesn't apply here. You should have a .gradle/ folder in your setup, check the log inside, it should explain what happened. If there is no error, post your build.gradle file.
-
libs folder 9.11.1.964
Do you use ForgeGradle, and did you follow any installation tutorial ?
-
Tile Entites, GUIs and player-entered information
I'd guess the anvil could be a good place to look.
-
[1.6.4] strange crash
carbyneoreID = config.getBlock("carbyneore", 9117).getInt(); "Suddenly" No joking. It's... over 9000 !
-
Strange bug with sky...
this.dimensionId = 1; That is the End dimension id.
-
[SOLVED] Gradlew Setup Error
Delete the Forge\.gradle\1.8\ folder. That should fix.
-
[1.6.4] [SOLVED] KeyBinding multiplayer problem
Player is an interface added by forge to EntityPlayer. Casting is safe. Only one player on client: Minecraft#thePlayer
-
Armor 3D model ( Wavefront ) causes massive fps drop
return new ClankBackpackRender(); Well, you are creating a new model object each frame. That isn't really good.
-
libs folder 9.11.1.964
Then your build failed.
IPS spam blocked by CleanTalk.