Everything posted by Draco18s
-
[1.7.10] java.lang.NoClassDefFoundError: FMLRenderAccessLibrary. Outside eclipse
I know why the message exists, but is it reporting itself, then? I'm just amused that some part of FML is being detected and not ignored.
-
[1.7.10] java.lang.NoClassDefFoundError: FMLRenderAccessLibrary. Outside eclipse
Is that the one that every time I run in dev I get a "package found in net.minecraft.src! This is bad and should be reported!" message?
-
[1.8] Mod crashes when trying to use block from another mod
Are you including the modid the block is registered with? It's kind of important.
-
[1.8] Mod crashes when trying to use block from another mod
a) the block doesn't exist (the mod is not loaded) b) you supplied the wrong name
-
[Solved][1.7.10]How do I ge Regeneration working?
Haven't messed with them.
-
[SOLVED] [1.7.10] I need something to control the spawn of mobs of my mob.
Frankly, your code is a mess and I can't figure out what it's doing. btw, while (spellDone[spell] || spell == prevSpell); if spell == prevSpell, then spellDone[spell] is going to also be true, it's a useless conditional.
-
[1.8] Mod crashes when trying to use block from another mod
Gosh, have you tried printing or testing the values of b and replacement to make sure that they aren't null before you get their unlocalized name?
-
[1.8] [SOLVED]Updating a horizontally spreading block
Pretty sure that if you take a blockpos at (x,y,z) and add (x,y+1,z) to it you'll have (2x,2y+1,2z) not (x,y+1,z).
-
[SOLVED] [1.7.10] I need something to control the spawn of mobs of my mob.
So here's your basic problem: Every entity has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself. Each of which has its own spawnNumber and is allowed to spawn 10 more copies of itself.
-
[Solved][1.7.10]How do I ge Regeneration working?
Regeneration regenerates 1 (Half Heart) over time every 50 ticks. Which means you need to apply the effect, wait for it to tick away, then re-apply it. Constantly setting the time to 5 ticks isn't going to work (Regen 3 takes 12 ticks). Second, make sure that you apply the effect on the server.
-
Missing texture on block in 1.8?
You are extending BlockReed. BlockReed has a block state property called "Age". Your block now has a block state property called "Age". Your json isn't defining how that property should be handled.
-
Making dependant mods in 1.8?
note: version numbers can be a range, too. E.g. [1.0.0,] meaning "1.0.0 and later" (note the comma) or [1.0.0,2.0.0] meaning "1.0.0 to 2.0.0" (inclusive).
-
[SOLVED] Error in putting PotionEffect on player.
Which will immediately crash a dedicated server.
-
[SOLVED] Error in putting PotionEffect on player.
Please don't use marquee text. It's awful. Ok, so, as far as I can tell, you're trying to reference the singleplayer...player, which you should Never Do. Never ever ever. While this was fine in 1.2.5, you can no longer do that, because "single player" is actually "multiplayer with one connected player, running locally." Second, minecraft.thePlayer, "minecraft" here is not a variable anywhere in your class, you never declare it. You have a EntityPlayer entityplayer and a Minecraft theGame , but no minecraft . Also, you need to get rid of both of those. Treat single player as multiplayer and it'll work out. What's the clostest connected player in a single player world? The only player available: the single player. Third, I can't figure out when f will ever be larger than 16. Or hell, larger than 0. It looks like f is defined as the entity's physical height minus it's position above the void, so unless it's like 16 blocks tall, or more, f will never be greater than 16.
-
[1.7.10]Where is the difference ?
It's good practice to split the declaration and assignment, as with 1.8 (IIRC) you must do it that way. Also, your second codeblock won't compile. public static Item tutorialitem(); //this line won't compile public static Block tutorialblock = new tutorialblock(Material.rock); //you left the = new...() part here, you should have removed it @EventHandler public void preInit(FMLPreInitializationEvent event) { tutorialitem = new tutorialitem(); tutorialblock = new tutorialblock(Material.rock) //missing semicolon; second definition GameRegistry.registerBlock(tutorialblock, "tutorialblock"); GameRegistry.registerItem(tutorialitem, "tutorialitem"); }
-
[SOLVED] Error in putting PotionEffect on player.
Don't cast to EntityLiving, cast to EntityLivingBase. The class hierarchy got altered a while back.
-
What's with the ClassInheritanceMultiMap?
Or close it because it's a mod problem. Like maps not functioning correctly in dimensions above 127.
-
[1.7.10] GUI Problem, can't move blocks around
Cough java.lang.RuntimeException: class com.atimmeh33.timmehutils.blocks.TileEntityCarbonPressurizer is missing a mapping! This is a bug! You didn't register your TE
-
[1.8] Get chunk Coords [SOLVED]
Yes, yes they are, as I discovered one night.
-
[SOLVED][1.7.10] question about preventing entity "despawning"
That's called "view distance culling."
-
[1.7.10] onNeighborBlockChange not working
1) He's not calling it every tick. Blocks get random update ticks, and his isn't set to tick randomly and he's not calling ScheduleUpdateTick anywhere, so his updateTick method isn't being called. 2) Even if he was, checking the block volume of a 5x5x5 region doesn't take that long. It takes ~0.6ms to scan an entire chunk.
-
[1.8][SOLVED]Adding Icons that switch when a certain condition is met
That's the exact same thing, except now it's a class-scoped variable instead of function-local. The default value for a boolean is false.
-
[1.8][SOLVED]Adding Icons that switch when a certain condition is met
- [1.8][SOLVED]Custom entity : saving new fields
Change compound.setTag(extendedPropertiesName, subCompound); subCompound.setShort("career", entity.getCarrerId()); To subCompound.setShort("career", entity.getCarrerId()); compound.setTag(extendedPropertiesName, subCompound);- [1.8] [SOLVED] Modifying stack on server side from client side
You need packets. - [1.8][SOLVED]Custom entity : saving new fields
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.