endershadow
Forge Modder-
Posts
535 -
Joined
-
Last visited
Everything posted by endershadow
-
How to get a block from world coordinates?
endershadow replied to Rex Dark's topic in Modder Support
the problem with this, is that the "world" in minecraft is just a 3-dimensional array that stores the ID of each block in the correct location. It's probably something like new int[3000000][256][3000000] but I've never seen anything that would support my thinking on that. It just seems like that's how it's stored. it might be an array that stores 16x16x16 arrays though. I'm not really sure. -
I'm able to teleport the player when they collide with a block, but when I use the same method (or similar) with custom commands and/or a tick handler, it doesn't work. and by doesn't work, I mean it does absolutely nothing. any help would be appreciated. here's the relevant code. https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/handlers/ServerTickHandler.java https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/handlers/CommandHandler.java the variables in PlayerInformation are being stored and retrieved correctly btw.
-
[1.6.2]FML doesn't launch when minecraft.jar is modified.
endershadow replied to bl4ckscor3's topic in Modder Support
how would I make an installer for my mod? it's a normal mod, but I think it would be cool to have an installer for it. -
[Solved] Shaped Ore Recipes not producing whats intended
endershadow replied to PsudoSage's topic in Modder Support
try making the meta-data 1-4 instead of 0-3. I know that fixes some meta-data problems. -
Getting the dimension id of a player, or world?
endershadow replied to googoo1876's topic in Modder Support
you can replace player with any entity. player.dimension player.worldObj.provider.dimensionId world.provider.dimensionId -
I have everything set up and working, except the method always returns true for some reason. Can anyone help me fix the problem? Here's the method that is always returning true Any help would be appreciated! the entities are in dimension 0 when I'm testing this btw. EDIT: nvm. I realized that the problem was that CORTEX and DIGITALSEA were never initialized so they defaulted to 0. The problem has been fixed.
-
Is this the best way to disable the 'moved too quickly' check?
endershadow replied to jayemen's topic in Modder Support
I might actually make my mod download this mod into the core-mods folder in the pre-init method just to remove that problem with one of my mods. -
no it doesn't
-
New Texture Directory For Minecraft Forge 1.6.1
endershadow replied to XxxXEclipse7XxxX's topic in Modder Support
nope. it doesn't. I also have a weird glitch where the items are called item/block.UNLOACALIZED_NAME.name where UNLOCALIZED_NAME is exactly what it says. why isn't LanguageRegistry working? -
New Texture Directory For Minecraft Forge 1.6.1
endershadow replied to XxxXEclipse7XxxX's topic in Modder Support
I'm testing out the latest build, I'll let you know if it works in this version. -
I just put my mod in the correct location, but when I load it, all my blocks and items are a purple and black checkerboard pattern. Did something change for setting up forge between 1.5.2 and 1.6.1? I'm using forge build 8.9.0.751
-
can't get collisions to work with custom model.
endershadow replied to endershadow's topic in Modder Support
but how would I use packets in this case? I've used packets for syncing GUIs, but I'm not sure what I'd do here. -
can't get collisions to work with custom model.
endershadow replied to endershadow's topic in Modder Support
anyone? -
can't get collisions to work with custom model.
endershadow replied to endershadow's topic in Modder Support
bump -
can't get collisions to work with custom model.
endershadow replied to endershadow's topic in Modder Support
if it is server/client de-sync, how do I fix it? -
can't get collisions to work with custom model.
endershadow replied to endershadow's topic in Modder Support
no, I don't want to be able to walk through it, I want it to collide with the player properly. it's a cable that looks kind of like industrialcraft cables. -
when ever I walk into my custom block, it pushes me out and I've tried to fix it, but I can't. if anyone knows a solution, that would be great. here's my code. https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/blocks/BlockCable.java https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/entities/tileentity/TileEntityCable.java https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/model/tileentity/ModelCable.java https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/matt/lyoko/render/tileentity/RenderCable.java
-
Who can help me make nether warts edible
endershadow replied to minecraftdotjarrr's topic in Modder Support
it might help if you show them the code you have at the moment. -
Custom Boots not destroyed on reaching Damage Value.
endershadow replied to Xwaffle's topic in Modder Support
try setting that slot to null. -
[solved] Tile Entity Initialization Client Side
endershadow replied to redria7's topic in Modder Support
add this to you're tile entities @Override public Packet getDescriptionPacket() { NBTTagCompound tag = new NBTTagCompound(); this.writeToNBT(tag); return new Packet132TileEntityData(xCoord, yCoord, zCoord, 0, tag); } @Override public void onDataPacket(INetworkManager net, Packet132TileEntityData pkt) { NBTTagCompound tag = pkt.customParam1; this.readFromNBT(tag); } -
you need to set it in the onArmorUpdateTick method in the armor's item class.
-
Help with modding Nether Warts and Gunpowder
endershadow replied to minecraftdotjarrr's topic in Modder Support
ya, I'm in contact with him over skype. we're taking care of it -
Help with modding Nether Warts and Gunpowder
endershadow replied to minecraftdotjarrr's topic in Modder Support
no, it sounds like you edited Item.java and possibly other minecraft files. -
Help with modding Nether Warts and Gunpowder
endershadow replied to minecraftdotjarrr's topic in Modder Support
I mean, you shouldn't modify existing files when modding unless you made the file. if you want to make your mod correctly, you should use reflection to override the normal minecraft blocks/items.