Jump to content

codebycody

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by codebycody

  1. Hey I don't know is this is the right forum for this (sorry if its not). I just finished making a mod that adds a jQuery like JS API for Minecraft. Its only really a Demo proof of concept type thing at this point. But I would love to know what features any interested modders would like to see exposed over JS. Github: https://github.com/cody-code-wy/MineQuery Website: http://minequery.unstable.tech So far I plan to add - More events, especially ones relating to players (achievements and the like) - The ability to register blocks (only at the appropriate time obviously) Known serious issues - Selectors don't know about dimensions, its selects blocks in every dimension at once...
  2. I have found that it looks like block.getPickBlock(state, null, world, pos, null).getDisplayName() works. But I'm not sure if this is the best possible way.
  3. I am trying to get the name of a block that is set in an anvil, during an event. so for example, if I took a dirt block and named it 'oak' in an anvil, how could I actually get that name during a BlockEvent.BlockBreak listener. I have been looking for a method for quite a while now.
  4. Does anyone know any good way to use the pahimar style setup with IntelliJ Idea?
  5. That probablyDoes has a lot to do with my problem... Reversing my logic fixed the totally bizarre non working code.
  6. I am trying to implement Full-Data Sync as described in http://www.minecraftforge.net/wiki/Tile_Entity_Synchronization I replaced public Packet getDescriptionPacket() with public SPacketUpdateTileEntity getUpdatePacket() I also tried public NBTTagCompound getUpdateTag() However neither is ever called. I also do have onDataPacket overridden, but it is also never called I replaced worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); markDirty(); with worldObj.scheduleBlockUpdate(pos,this.getBlockType(),0,0); this.markDirty(); Which is only getting called server side (world.isRemote == true). I suspect that scheduleBlockUpdate is not the direct replacement for markBlockForUpdate I also tried to use worldObj.addBlockEvent(pos, this.getBlockType(),1,myVar); server side, however public boolean receiveClientEvent(int id, int type) never gets called.
×
×
  • Create New...

Important Information

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