-
[1.7.10]Cancel block update Event for Farmland Dirt?
I tried this in init Blocks.farmland.setTickRandomly(false); It seems to work fine. Is there any issues I may not have seen yet?
-
[1.7.10]Cancel block update Event for Farmland Dirt?
I am trying to make farmland not require water. The idea is if you rightclick a dirt block with hoe it becomes tilled. I want to cancel any update on the tilled soil so it doesn't revert to dirt if no water is present. Is there an event that gets called when a block changes states? Is there another way recommended if no event exist? I want to do this for minecraft 1.7.10
-
Save Entity Data on tile entity
I use copydataold to copy the information from the entityIn to cell.mob(i'll try cell.mob=entityIn). I don't know what to initialize as because the entity could be a creeper villager or any other mob.
-
Save Entity Data on tile entity
I tried and I get a crash. I updated main post with the code and crash report. I tested it with a villager by having water push the villager into the block. looking at report null pointer from Entity's Rider: ~~ERROR~~ NullPointerException: null Entity's Vehicle: ~~ERROR~~ NullPointerException: null
-
Save Entity Data on tile entity
I have this "AlienCell" that is a tileEntity. I want to capture any entity that hits the block.I already have it setup, It crashes when saving though. TileEntity Block Crash
-
MeshDefinitionFix error on build
I do not know what a lambda is or anything. That is java far more advanced then what I am trying to do which is add fluids. Can you just show how to make an anonymous class out of the interface
-
MeshDefinitionFix error on build
Can you point me to your example i do not understand anonymous from java docs the terminology seems confusing.
-
MeshDefinitionFix error on build
i have never heard of an anonymous class what is it. How would I make it?
-
MeshDefinitionFix error on build
So i am using the fix as choonster example shows.I can run minecraft fine in eclipse and the texture loads fluids perfectly. The problem comes when i try to gradlew build the error i get is attached as a screenshot. http://www.mediafire.com/view/81y6pgvsa9c67q7/Screenshot_%2811%29.png
-
[1.8] How to Create a Custom Liquid?
UPDATE:my bad forge was not updated OP your code seems to have Fluid fluid = new Fluid(name); instead of choonster code. Fluid fluid = new Fluid(name, still, flowing); in private static Fluid createFluid(String name, String textureName, boolean hasFlowIcon) in Modfluids The constructor Fluid(String, ResourceLocation, ResourceLocation) is undefined
-
[1.8]AiEnabled
@Override public boolean isAIEnabled() { return true; } I have an entity that extends entityTameable I have made a couple entity for 1.7.10 and those required me to use aiEnable to activate new Ai. My eclipse can't overide it Did it change in 1.8. Am I doing it wrong
-
[solved][1.7.10]custom mob not attacking other mobs
I have already tried ai task for my custom entity (i added a villager in the EntityAINearestAttackableTarget ai) the mob won't target them for some reason.the only time the mob attacks is if it was attacked first. That is why i was hoping to implement the target manually. I have tried darybob suggestion of adding superMethod on livingupdate it didn't fix it.
-
[solved][1.7.10]custom mob not attacking other mobs
How would I search for the nearest entity from this entity point of view and set it target. I tried this code but all it does is crash minecraft. I thought this would search within 10 blocks of the entity i could not find documentation on what is supposed to be passed in the parameters so i did take take a guess @Override public void onLivingUpdate() { if(this.getAttackTarget()==null) { Entity target=worldObj.findNearestEntityWithinAABB(redAlienBossEntity.class,this.getBoundingBox().expand(10, 10, 10), this); this.setTarget(target); } }
-
[solved][1.7.10]custom mob not attacking other mobs
@Override public boolean attackEntityAsMob(Entity entity) { System.out.println("Attacking " + entity.getClass().getSimpleName()); return true; } I added this statement they do not attack each other, I get no console output.If i Attack I do get console output of them attack me I HAve also tested it with villager class my mob doesn't attack anyone through targeting Updated code for the class
-
[1.7.10]custom entitythrowable passes through entity
This entity throwable renders and has a texture.When I throw it out of my item it passes through my target(cow) and hits the floor. I have system.out and Is hit gets called is remote gets called but not is entity. I visually see my texture pass through the cow. I see it hit the floor passing through the cow. I would like to know why it doesn't hit the cow on impact. are there boundingbox on throwable (possible problem) but i literally hit dead on EnityFireAttack
IPS spam blocked by CleanTalk.