Jump to content

dmillerw

Forge Modder
  • Posts

    52
  • Joined

  • Last visited

Everything posted by dmillerw

  1. Extending BlockStairs would be easiest.
  2. ...or at least the users are. http://www.minecraftforum.net/topic/1488425-forge-has-gone-to-far/
  3. I can't remember the actual reason, but all item ids have 256 added to them.
  4. Solved. It was throwing a hissy fit over not having wine installed. Using a fresh copy of MCP 7.2, a fresh copy of the Minecraft 1.3.2 bin and resources folder, and a fresh minecraft_server.jar, I simply can't get Forge to decompile. I didn't have an issue when running the standard decompile.sh file included with MCP though. Which is what makes me think I'm messing up, because going through the log (at the bottom of this post) it complains about not being able to find classes in minecraft.jar. I've tried this both with Java 6 OpenJDK, and the official Java 7 release from Oracle. So very confused... mcp.log: Two main things that caught my eye were "20:44:53 - # Warning: package net/minecraft/client not found in JAR" and "20:44:58 - # Warning: unknown class Side in cpw/mods/fml/common" I'm pretty sure it's something wrong with the .jar, but the game itself runs fine.
  5. ...I'll be the one in the corner, banging my head against the wall. Thanks.
  6. Through a gui, I'm setting values in a tile entity. The tile entity is grabbed through the world function, and is passed the position of the block. The value save just fine, but once they're saved, every block I place after the first one takes those values, instead of creating a new tile entity. What gives? Block File: Tile Entity File:
  7. Ah. Turns out it was auto-importing the one from the ankh package. Never even thought to look there. Thanks.
  8. public boolean isOpaqueCube() { return false; }
  9. I have two mods, in separate eclipse packages, but when I define the CommonProxy... public static final CommonProxy proxy; ...but both mods will try to use the first mod's CommonProxy. AnkhMainFile (First mod): RFIDMainFile (Second mod): The RFID Tag mod is constantly trying to use the CommonProxy in the Ankh mod package.
  10. sh install.sh Or just run python install.py
  11. Error: public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer player) { if (player instanceof EntityPlayerMP) { EntityPlayerMP playerMP = (EntityPlayerMP)player; playerMP.mcServer.getConfigurationManager().transferPlayerToDimension(playerMP, 10); } return item; } Is the code causing it. Dimension 10 is created with the Forge DimensionManager. DimensionManager.registerProviderType(10, WorldProviderNew.class, true); DimensionManager.registerDimension(10, 10);
  12. I've got a model made in Techne, and I'm wondering if it's possible to render it on the player without modifying RenderPlayer. I could use Render Player API, but I'd rather not add even more download requirements if I don't have to.
  13. Is it possible to find and store the X,Y, and Z position of a block when you place it, then store it to be used by an item? I know there's onBlockPlaced, but I'm not sure how to find the block position when using that.
  14. Been attempting to create a ring type object that will teleport the player using it to a specific spot. I've got the teleportation bit figured out, but I'm not sure how to A) Check if the player is on a server, and B) if the player is opped. I found the isOp command while rooting through files, but not quite sure on how to use it. package net.minecraft.src; import java.util.Random; import net.minecraft.src.forge.*; public class GMRing extends Item implements ITextureProvider { public GMRing(int i) { super(i); maxStackSize=1; } public boolean hasEffect(ItemStack par1ItemStack) { return true; } public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { if (isOp()) if (!par2World.isRemote) { par3EntityPlayer.setPositionAndUpdate(0, 70, 0); } return par1ItemStack; } } For those curious
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.