Everything posted by clowcadia
-
Getting error with JIdea
- Getting error with JIdea
So should i use my jdk or get jre?- Getting error with JIdea
Ok i followed that but now in mhy run configuration for both client and server the jre is default no jre?(i have jdk installed shoul i also havce a jre installed on the computer too?)- How to activate EntityAIFollowOwner
sorry it follows at greater distance- How to activate EntityAIFollowOwner
now i am confused what is the point for the follow owner when there is tamed or leashed... so confused- How to activate EntityAIFollowOwner
I just realized that wolf doesnt really follow unless its leashed , same with my entity. i am tryign to figure out how i can get same effect with out a leash , any pointers?- Getting error with JIdea
Trying JIdea, followed all instruction from the gradlew readme, but on trying to run client i am getting this "C:\Program Files\Java\jdk1.8.0_121\bin\java" -Didea.launcher.port=7533 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.3.5\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_121\lib\ant-javafx.jar;C:\Program Files\Java\jdk1.8.0_121\lib\dt.jar;C:\Program Files\Java\jdk1.8.0_121\lib\javafx-mx.jar;C:\Program Files\Java\jdk1.8.0_121\lib\jconsole.jar;C:\Program Files\Java\jdk1.8.0_121\lib\packager.jar;C:\Program Files\Java\jdk1.8.0_121\lib\sa-jdi.jar;C:\Program Files\Java\jdk1.8.0_121\lib\tools.jar;C:\Users\Andre\OneDrive\Documents\Development\MinecraftForge\1.11\NPCTesting\out\production\NPCTesting;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.3.5\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain GradleStart Exception in thread "main" java.lang.ClassNotFoundException: GradleStart at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:123) Process finished with exit code 1- How to activate EntityAIFollowOwner
i commented out the tamed one still the issue- How to activate EntityAIFollowOwner
There https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/entities/Test.java- How to activate EntityAIFollowOwner
...it got corrupt hold on- How to activate EntityAIFollowOwner
I added the task to the entity class contructor and am able to become owner, yet my entity does not follow https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/entities/Test.java- [1.11] How to make custom mob
its capable of eating if you insert apples in its inventory through a gui u can access by right clicking on the mob, it has a stomach counter that atm last forever, through exit and entering the world. i am sorry just proudly excited, i made this work and am able to help someone- [1.11] How to make custom mob
I got you, i made a functional mob, just look at all my *Test* classes, model directory and render directory https://github.com/Clowcadia/MinecraftForge/tree/master/1.11/NPCTesting/src/main/java/com/clowcadia/test- Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly
Awsome , ur the man, thanks- Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly
https://github.com/Clowcadia/MCForgeNPCTesting/tree/master The name of a directory for this repo is meant to be NPCTesting- Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly
https://github.com/Clowcadia/MCForgeTest- Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly
Egg package com.clowcadia.test.entities; import java.util.BitSet; import com.clowcadia.test.TestModHandler; import net.minecraft.entity.EntityList; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.common.registry.EntityRegistry; public class TestEntities { public static void registerEntity(){ createEntity(Test.class, "Test", 0xa62323, 0xed1515, 1); } public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor, int id){ EntityRegistry.registerModEntity(new ResourceLocation(TestModHandler.modId,entityName), entityClass, entityName, id, TestModHandler.instance, 64, 1, true, solidColor, spotColor); } }- Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly
it stands still while its hands go front to back quickly and repeatedly till it goes poof after like 10 seconds- Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly
Sorry i just thought its a codeless problem/solution package com.clowcadia.test.entities; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAITempt; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.passive.EntityTameable; import net.minecraft.init.Items; import net.minecraft.world.World; public class Test extends EntityTameable{ public Test(World worldIn) { super(worldIn); this.tasks.addTask(0, new EntityAITempt(this, 0.5d, Items.APPLE, false)); } @Override public boolean isAIDisabled() { // TODO Auto-generated method stub return false; } @Override public EntityAgeable createChild(EntityAgeable ageable) { // TODO Auto-generated method stub return null; } } not sure what else would make it have this effect- Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly
Real problem, switched entity class extrension from entityMob to entityTameable, entity twitches and dies momentarly- RenderRegistry Issue
...solved, there were a few entity mob occurences that needed to be changed- RenderRegistry Issue
- RenderRegistry Issue
package com.clowcadia.test.entities; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAITempt; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.passive.EntityTameable; import net.minecraft.init.Items; import net.minecraft.world.World; public class Test extends EntityTameable{ public Test(World worldIn) { super(worldIn); this.tasks.addTask(0, new EntityAITempt(this, 0.5d, Items.APPLE, false)); } @Override public boolean isAIDisabled() { // TODO Auto-generated method stub return false; } @Override public EntityAgeable createChild(EntityAgeable ageable) { // TODO Auto-generated method stub return null; } } package com.clowcadia.test.render; import com.clowcadia.test.model.ModelTest; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.entity.monster.EntityMob; import net.minecraftforge.fml.client.registry.IRenderFactory; import scala.xml.dtd.PublicID; public class RenderTestFactory implements IRenderFactory<EntityMob>{ public static final RenderTestFactory INSTANCE = new RenderTestFactory(); @Override public Render<? super EntityMob> createRenderFor(RenderManager manager) { // TODO Auto-generated method stub return new RenderEntityTest(manager, new ModelBiped(), 1.0f); } }- RenderRegistry Issue
I just switche my entityMob to entityTameable and now i got this render issue private static void registerMobModels(){ registerMobModel(Test.class, RenderTestFactory.INSTANCE); } private static <T extends Entity> void registerMobModel(Class<T> entity, IRenderFactory<? super T> renderFactory) { RenderingRegistry.registerEntityRenderingHandler(entity, renderFactory); }- Rendering texture issue
my texture was not a for a biped model, solved - Getting error with JIdea
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.