Everything posted by Draco18s
-
[1.7.10] Cave Gen Help
Like this? http://pastebin.com/YuA53cHC And in main: private CrystalManager crystalManager = new CrystalManager(); Then GameRegistry.registerWorldGenerator(crystalManager, 0); . And when I tried this It didnt work in Default world which is what im wanting it to do No, this bit: (new WorldGenMinable(CrystalMod.Aqua_SmallCrystal, maxVeinSize)).generate(world, random, posX, posY, posZ); There's a reason I said "WorldGenMinable" not "IWorldGenerator." WorldGenMinable only replaces stone and has no rules regarding stone/air boundaries. Also what diesieben07 said.
-
Mob Animations Help
Because they have DIFFERENT BASE ROTATIONS. It had Jack Fucking Squat to do with the rotation POINT, but everything to do with the rotation VALUE. The head and nose use the same values, the leaves DON'T. Also what coolAlias said.
-
[RESOLVED] Crash during blockUpdate [1.7.10]
That's not the full log. But that does tell me that MagFurnaceActive.magFurnaceActive is, in fact, null.
-
[RESOLVED] Crash during blockUpdate [1.7.10]
Do this for me: if (state) { System.out.println(MagFurnaceActive); System.out.println(MagFurnaceActive.magFurnaceActive); System.out.println(MagFurnaceActive.magFurnaceActive.getTickRandomly()); worldObj.setBlock(xCoord, yCoord, zCoord, MagFurnaceActive.magFurnaceActive); // < --- LINE 116 } else { worldObj.setBlock(xCoord, yCoord, zCoord, MagFurnaceIdle.magFurnaceIdle); } Let me know what it prints out.
-
[1.7.10] Cave Gen Help
You would need a custom WorldGenMinable, or you do it instead of the WorldGenMinable you have inside addOreSpawn
-
[RESOLVED] Crash during blockUpdate [1.7.10]
Well, the crash is in updateFurnaceState of MagFurnace.java line 116 You have not included that function here.
-
Setting a blocks texture based on state and rotation
- [1.7.10] Temporarily replace external Entity with EntityPlayer then switch back
Might want to look at http://ichun.us/mods/morph/- [RESOLVED] Crash during blockUpdate [1.7.10]
Without knowing which line is the problem, it's a lot harder to help you.- Mob Animations Help
setRotation(head, 0F, 0F, 0F); //angle X = 0 setRotation(Leaf1, -2.792527F, 0F, 0.9250245F); //angle X = -2.79, not the same ... this.Leaf1.rotateAngleX = this.head.rotateAngleX; //make them the same- [SOLVED][1.7.10] How to check if entity is a zombie or spider etc ?
Yes, yes it is. Standard null check. You too.- [SOLVED][1.7.10] How to check if entity is a zombie or spider etc ?
if(event.entityPlayer.getHeldItem() == null) Duh- [1.8] Crop texture problem
Is ModelBakery a defined variable? (Not declared, defined)- [1.7.10] Block updateTick Assistance [SOLVED]
AH HA, thus we arrive at your actual problem. I don't think you can do that without a TE involved, because blocks are rendered once, cached, and not updated unless something actually changes (and the player is irrelevant).- Setting a blocks texture based on state and rotation
Then you're going to need to know if there's a wall at XPos, ZPos, XNeg, or ZNeg. world#getBlock- [1.7.10] Cave Gen Help
if(world.getBlock(x, y, z) == Blocks.stone && world.getBlock(x, y+1, z) == Blocks.air) ?- [SOLVED][1.7.10] How to check if entity is a zombie or spider etc ?
Couple problems: What happens if the player isn't holding anything ( event.entityPlayer.getHeldItem() will be null and you're trying to access it) Secondly, that's not how you compare items. You get the Item from the ItemStack and then compare it to an ItemStack. That will never be true.- Setting a blocks texture based on state and rotation
IBlockAccess still has getBlock and getBlockMetadata. Point is: If you want to change the rotation to a specific direction, you're going to need to figure out what defines that specific direction yourself. No one else can say "oh just do X" because you're the one who wants something specific based on parameters only you know. If its based on which direction the player was facing when they placed it down you're either going to have to save it in the metadata or use a TileEntity. There are no ifs, ands, or buts about it. The game isn't magic and can't interpret what you say into what you mean unless you are clear and unambiguous.- [1.8] Java build path error
Eclipse doesn't support Java 8, you'll have to change the JRE back to 7. Window -> Preferences -> Java -> Installed JREs- Setting a blocks texture based on state and rotation
world#getBlockMetadata?- [1.7.10] onBlockDestroyedByPlayer explosion
That's what TNT does. (TNT that explodes as the result of being destroyed by an explosion also gains the owner of the original explosion, conveniently enough)- [1.7.10] Block updateTick Assistance [SOLVED]
or use world#scheduleBlockUpdate(...) You will need to call it at the end of your updateTick function (so each tick schedules the next) as well as on blockAddedToWorld- Referencing instance of Player
If you're sending packets to the server (which you should be) then the one you modify is the one that sent the packet.- Lag Problem - Seeking Clever Solutions
Ok, so using the same test seed I've been playing with before: Default settings, etc. etc: 41% total tick time spent in checkLight Half volume of gas placed in the world: 20% Gas cannot burn or none in world: < 0.1% Player within 32 blocks (not moving): 7% 32 blocks is the same distance at which I scan the area around the player for lava in order to spawn semi-short-lived volcanic fumes.- Zip file mods crash game everytime. Please Help! crash report included
"The" mod? What about... iChunUtil{2.0.0} [iChunUtil] (util^iChunUtil2.0.0.zip) GraviGun{2.0.0} [GraviGun] (files^GravityGun2.0.0 (1).zip) planetguyLib{1.3} [planetguyLib] (PlanetguyLib-1.3.jar) planetguy_Gizmos{3.0} [Gizmos] (Gizmos-3.2.jar) lucky{5.0.0} [Lucky Block] ([1-7-2]_Lucky_Block_v5-0-0.jar) The first four I ask because the MC version number is not listed and the last one because it still lists 1.7.2 - [1.7.10] Temporarily replace external Entity with EntityPlayer then switch back
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.