Everything posted by Failender
-
Trying to generate mushrooms
I bet its an NPE on bp..
-
[1.8][SOLVED]Issues with item that spawns entities
I am not sure, I havent messed around with entites that much.. Try creating your entity, then setting its Position and After that Spawn it in world
-
[1.7.10][SOLVED]Minecraft crashes randomly when sound isn't working
Might be a Java Problem. Update your Java please, newest Version is 8_45
-
[1.7.10] Help with an axe that cuts trees
If you want to cut Down a whole tree you will need an algorithm thatll check which logs are part of the tree, which might be challenging. I have already worked on that and dont found a really satisfiing way to solve that
-
[1.7.10] Making a Mob explode like a creeper
1. Show Crash 2. You should really really really learn some more Java, then Come back to minecraft modding...
-
[1.7.10] Making a Mob explode like a creeper
If you want to copy the creeper, why dont you take a look at its Code?
-
[1.8] [SOLVED] LivingDeathEvent not canceling
I am not sure why it isnt working, I assume it is because even if you prevent the death of the entity, its hp is still 0.. sth like that. BUT there is another way you can use, actually this is how I prevent my entities from diing. Use the event that is called when an entity is taking damage (LivingHurt ? I am not sure..) In that event check if the damage is killing the target, damage>hp and if it does check if the player has the immortality effect..
-
Get TileEntity values inside a getHarvestTool override function
i see two ways.. 1. save hardness of block in a tileentity and access that in breakspeed 2. in breakspeed get the hardness of the block below and use that
-
[1.8]Entity disappears after relogging
show code
-
can't move items inside block inventory
use a guihandler
-
Rare Drops from mob help as well as Make it have different tectures
well. use ur random to generate a bigger numbers and then if u get a one drop it. So what I mean. this.rand.nextInt(100) case 0: dropSth default: do nothing is just a chance of 1% to drop sth rare
-
how create server and client project?
why would u wanna do that? 1. more work 2. decreases playability
-
Name nor Texture Showing
also one thread is enough. http://www.minecraftforge.net/forum/index.php/topic,30634.0.html
-
Name nor Texture Showing
1. version? 2. for gods sake PLEASE use code tags
-
[1.8] {SOLVED} Key Press with Item in Hand?
How good are you with Java?
-
[SOLVED] [1.8] Adding Attributes to an ItemStack
I am not sure what you want but I feel like NBT could be your solution. Give more informations pls. What are you triing to do?
-
[1.8]Item rendering as a block
You should better watch for a tutorial of How to create items in 1.8 since you seem really confused sir
-
TileEntity rotation?
Since it seems that you dont seem to care about the y value of your target you could just take the x/z values and throw them Into math.atan2 (javadoc) Returns: the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates.
-
[1.7.10]How do I add a delay to my script?
http://www.minecraftforge.net/forum/index.php/topic,30515.0.html
-
(1.8) spawning lightning(SOLVED)
1. use code tags 2. so. you are triing to spawn a lightning at the position 0,0,0 .. what are you expecting
-
(1.8) spawning lightning(SOLVED)
show code
-
Structure Spawning in 1.8?
Check out BlockPos.north BlockPos.east BlockPos.up etc :b
-
[SOLVED]How do I Call a Part of a Script Every 3 Seconds
I have no code access right now so i can just give ideas because I dont know the functions. You want something to happen every three seconds. Three seconds Are 60 ticks. I See two ways. Acess the buffs of the Player and Check if the Regen buff is already applied at least three seconds. (acutalDuration<maxDuration-60) Check every three seconds if the Player is Holding ur item. That means saving the last tick where u checked, get the actual tick and Check if its 60 ticks later
-
[SOLVED]How do I Call a Part of a Script Every 3 Seconds
Well you could use livingupdate event. Use a counter so every 60 ticks you would Check if the entity is a Player and then Check if hes holding the item.
-
[1.7.10] java.lang.NoClassDefFoundError: FMLRenderAccessLibrary. Outside eclipse
I'd guess you are using your mod on a server and thats the crash log of the server. Are you using proxies? I guess you are not. Make sure that render things are ONLY called on the client, because the server dont got the classes for render things (and its waste of processing time) Show some code please. May be start with with CustomRenderBlocks.class All I said are just ideas, since this part of minecraft modding is not my specialty
IPS spam blocked by CleanTalk.