Jump to content

creatorfromhell

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by creatorfromhell

  1. If I am correct, the world height is set via the world file format(Anvil) and has a max build height of 256, but I could be wrong. So, I would assume if you wanted to change it then you'd have to a modify the Anvil file format, or b create your own file format and try to make it compatible with the vanilla Minecraft file format.

  2.   On 3/6/2013 at 2:56 AM, Mazetar said:

    Yeah it lead to that part where it returned something.. But what was that value at that specific time?

     

    I don't know what you mean, but

    this.biome.getRandomWorldGenForTrees(this.randomGenerator)

    leads to net.minecraft.world.biome.BiomeGenBase.getRandomWorldGenForTrees(Random par1Random)

  3. This may not be needed, but for my creative tab I had to also add another method, which is as follows.

    LanguageRegistry.instance().addStringLocalization("itemGroup.TabName", "en_US", "Name Displayed In-game");

  4. I recently made my own dimension and there are random dark spots around the world, but when I build on them or destroy a block that has black on it all the black disappears. My question is, is this a problem with my dimension or is it a problem with minecraft itself?

  5.   On 3/2/2013 at 6:02 PM, Jdb100 said:

    i do it differently then you maybe try this

    EntityPlayerMP thePlayer = (EntityPlayerMP) par3EntityPlayer;
                                    if (par3EntityPlayer.dimension != MysticRealms.dimensionID)
                                    {
                                            thePlayer.mcServer.getConfigurationManager().transferPlayerToDimension(thePlayer, MysticRealms.dimensionID , new YourTeleporter(thePlayer.mcServer.worldServerForDimension(MysticRealms.dimensionID)));
                                    }
                                    else
                                    {
                                            thePlayer.mcServer.getConfigurationManager().transferPlayerToDimension(thePlayer, 0, new YourTeleporter(thePlayer.mcServer.worldServerForDimension(0)));
                                    }
    

    Thanks! It's not really the approach I wanted to take, but it works and I can handle not getting my way once :P

  6.   On 3/2/2013 at 11:08 PM, Dannyflame98 said:

    I too want to know this.

     

    I could sit here and type out an explanation for how you could achieve this, but I decided that I'd just google for an example/tutorial. From my search I found an open source mod that added a new dimension called "Inverted World" and I think you should study what the developer of it did and experiment yourself with it possibly. Here is the link https://github.com/tuyapin/InvertedWorld . Now I'm not saying to take the mod and call it your own, but take advantage of it being open source and study it.

  7. Well, I updated the method to be server side and it still sends me to the nether instead of my dimension.

    Here is my updated code:

     

      Reveal hidden contents

     

  8.   On 3/2/2013 at 1:37 AM, Mazetar said:

    he did tell you to cast the variable to EntityPlayerMP...

    do that -_- also be sure to check it before doing so to prevent crashes etc.

     

    if you don't know what we are talking about I suggest you read up on type casting and java programming :)

    I know what you're talking about and I'm going to try it then post my results.

  9.   On 3/1/2013 at 7:58 PM, mnn said:

    you could try this for dimension change:

    MinecraftServer.getServer().getConfigurationManager().transferPlayerToDimension(par3EntityPlayer, MysticRealm.dimensionID);

     

    I don't think that would work since par3EntityPlayer is not EntityPlayerMP as in transferPlayerToDimension(EntityPlayerMP par1, int dimesnionid).

  10. Hello, I have created a new dimension and I want to use an item to go to it on right click. I have done some work on trying to accomplish this, but on right click it seems to go to the nether. Please help and thanks in advanced.

     

    Here is my code so far:

     

      Reveal hidden contents

     

×
×
  • Create New...

Important Information

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