Everything posted by Bektor
-
[SOLVED] Dimension ID's
Hello, I want to know whats the highest dimension ID and whats the lowest dimension ID, that is possible. Bektor
-
[1.7.10][SOLVED] Fingerprint System
Hello. I have a question: Can anyone explain me how to sign a jar with the Fingerprint System and how to use it? Bektor
-
[1.7.X] Read data from a .schematic file
I think this could help you: https://bitbucket.org/cltnschlosser/minecolonies/src/8e91ab516b21140ec1e063a1aba8b61b4c56f3df/src/main/java/com/github/lunatrius/schematica/world/schematic/?at=master https://bitbucket.org/cltnschlosser/minecolonies/src/8e91ab516b21140ec1e063a1aba8b61b4c56f3df/src/main/java/com/minecolonies/util/Schematic.java?at=master This mod is using Schematica for placing schematics in the world and there are classes that can show you how to read the schematic files and how to scan a building that you can put it into a schematic file.
-
[1.6.4] [UNSOLVED] Schematic problems
Hello. I'm currently using Minecraft 1.6.4 with Forge 1.6.4-9.11.1.964 (don't tell me that's out of date...) and now I'm having a problem by using Schematics.... Here is the error: And here is the code: For the Schematics I'm using an edited version of Schematica. If more code is needed: https://bitbucket.org/MinecraftPlaye/mcolonies/src/d63de09c34c27c665d87265c2d014ae797fd355e/src/main/java/com/?at=Backup I hope that someone could help me. Bektor
-
[1.7.2] [SOLVED] Colored and Translated text message
Thanks. That works!
-
[1.7.2] [SOLVED] Colored and Translated text message
event.player.addChatMessage(new ChatComponentTranslation(EnumChatFormatting.DARK_RED + "msg.config_update.name"));
-
[1.7.2] [SOLVED] Colored and Translated text message
Hello, I have one question. Is it possible to send a colored test message that could have a translation into different languages? If so, how? Currently I'm using event.player.addChatMessage(new ChatComponentTranslation("msg.config_update.name")); but that won't work. If I change the color, it will only print instead of the message in the color red. Bektor
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
Yes. The "&" operator means "and". And/But why is it working if I have more then 3 different wood blocks?
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
So anyone who can explain?
-
[1.7.2] [SOLVED] Pickup Handler won't work
Hello. I've created a Pickup Handler, but it looks like that this Pickup Handler won't load. Common Proxy (I tested it with both, MinecraftForge.EVENT_BUS.register and FMLCommonHandler.instance().bus().register) PlayerPickupEventHook I'm using Forge 1.7.2-10.12.1.1103. EDIT: Ok, I solved it, forgot to remove the SideOnly... in the Event class Bektor
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
Ok, I fixed it, by changing in the getTypeFromMeta method the meta & 3 to meta & 1. But I didn't understand why this caused the crash....
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
Ok, but how could I fix it (tried it with the getTypeFromMeta method, but didn't work)
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
Yes, I understand my code and no, I'm didn't know how to fix this. (The String types has a size of 2, I've 4 images, 2 for the side and 2 for the top, because I have 2 blocks and the getSubBlocks methods creates 2 sub blocks...) And well, the error is very obvious for you, but not for me (I hate ArrayIndexOutOfBoundsException, thats the error where I'm failing really often by fixing it and most time I give up after a few hours....and mostly I getting this error by 2D-Java Games by the screen rendering...but thats an other story...)
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
And what must I change to fix this?
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
Thanks. But it seems to be, that sometimes I get an crash by the Icon (in 3 from 7 world, that I created happend it...) So here is my code: and here is the crash: And yes, I know that this is a different class, then the class with the getDrops method (well, exact the same classes, only one method is different and the sub-blocks...) Bektor
-
[1.7.2] [UNSOLVED] Tree generation
I hope with "generate" method in tree generator did you mean the generate method in my tree class. And how do I make the result more rare?
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
Ok, thanks. So how need I to use this method? (adding the different items/block that should be dropped and the quantityDropped)
-
[1.7.2] [UNSOLVED] MetaData Block|Item drop & Metadata block crash
Hello. I've created a metadata based block, but now I have a problem. This block drops everytime itself, but I want that this block drops an Item and that the same block with an other metadata drops an other item or more of the same item. Here is my code: So what must I change, that the block with metadata 0 drops as an example two sticks and the block with metadata 1 drops 6 coal? Second problem can be found here: http://www.minecraftforge.net/forum/index.php/topic,20990.msg106490.html#msg106490 Bektor
-
[1.7.2] [UNSOLVED] Tree generation
Anyone who can help me?
-
Random Generated Structures
Well, use the SchematicToJava Converter and update this code. [That what I'm doing every time, well currently I'm trieng to update this tool.]
-
[1.7.2] [UNSOLVED] Tree generation
Hello. I've created a custom dimension and now I want that in the biomes my custom trees are spawning. But I have now one problem. private final WorldGenTree silverTree = new WorldGenTree(PFBlocks.pfLogs, PFBlocks.pfLeaves, 1, 0, false, 5, 3, false); // tree can't spawn in vines private final WorldGenBigSilverTree silverWoodTree = new WorldGenBigSilverTree(false); public WorldGenAbstractTree func_150567_a(Random random) { if(random.nextInt(3) == 0) return (WorldGenAbstractTree)silverTree; else if(random.nextInt(10) == 0) return (WorldGenAbstractTree)silverWoodTree; else return worldGeneratorTrees; } How did I change how often a tree spawns per chunk in this method, because I want that the silverWoodTree spawns really rare, but currently it spawns really often like every other tree, too. Oh and before I forget this, this method is in my biome class that extends my BiomeBase that extends BiomeGenBase. Bektor
-
Not Able To View Minecraft Source Files
Not every time. From 3 builds, only by two builds the source files were linked automatically. By one build there were not linked. (Well, but after rebuilding this build, they were build there,too)
-
[SOLVED][1.7.2]Dimension
hm, what I found now so far out is that in your Teleporter-class in the placeInPortal-Method you use int j = MathHelper.floor_double(y_position); instead of int j = MathHelper.floor_double(entity.posY) - 1; And in your Portal class, why are you teleporting the player into dimension 1 instead of 0 (0 = Overworld/Surface). I'm don't now if this make any difference, but give it a try, if this doesn't work, then I will look a last time in your code and if I didn't find there the error, then I will send you my code...
-
SLOVED[1.7.10]HUGE memory leaking while sending pakets
Which Forge-Version did you used in 1.7.2 exactly? Because for me, it happens only by using the latest Forge 1.7.2 builds with the async world generation. Every other Forge 1.7.2 versions works fine for me, with over 30 mods installed.
-
SLOVED[1.7.10]HUGE memory leaking while sending pakets
Well, downgrade to Forge 1.7.2-10.12.2.1121. All other builds for 1.7.x++ have this problems. And I'm a modder, too. And from that what you descripe, its exact the same, what I told LexManos a few weeks ago in this thread: http://www.minecraftforge.net/forum/index.php/topic,20213.0.html Thats what he said to me: "However, 'lag' is not a issue we can help you with as 99.9999% of the time its someone doesn't understand that 1) MC is a resource hog, 2) mods are doing something or 3) They are breaking it."
IPS spam blocked by CleanTalk.