Everything posted by endershadow
-
How to get a block from world coordinates?
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.
-
teleporting players between dimensions and to new location with command
at the moment, that isn't what I need. I need to be able to send them to any coordinates of any dimension.
-
teleporting players between dimensions and to new location with command
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.
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
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?
you can replace player with any entity. player.dimension player.worldObj.provider.dimensionId world.provider.dimensionId
-
problem with checking entity dimension for rendering and damage dealt
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?
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.
-
updating mod to 1.6.1
no it doesn't
-
New Texture Directory For Minecraft Forge 1.6.1
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
I'm testing out the latest build, I'll let you know if it works in this version.
-
updating mod to 1.6.1
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.
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.
anyone?
-
can't get collisions to work with custom model.
bump
-
can't get collisions to work with custom model.
if it is server/client de-sync, how do I fix it?
-
can't get collisions to work with custom model.
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.
-
can't get collisions to work with custom model.
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
it might help if you show them the code you have at the moment.
-
Custom Boots not destroyed on reaching Damage Value.
try setting that slot to null.
-
[solved] Tile Entity Initialization Client Side
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); }
-
Help with Flying Armor Resolved!!
you need to set it in the onArmorUpdateTick method in the armor's item class.
-
Help with modding Nether Warts and Gunpowder
ya, I'm in contact with him over skype. we're taking care of it
-
Help with modding Nether Warts and Gunpowder
no, it sounds like you edited Item.java and possibly other minecraft files.
-
Help with modding Nether Warts and Gunpowder
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.
IPS spam blocked by CleanTalk.