A strange problem
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
I have a custom entity(i use MCreator to make templates, and i edit the code myself) im making a mob that can have different personalities, and that will change the behavior. how I'm setting the personality is through an nbt tag. i initially set this tag on the trigger that MCreator provides, onEntitySpawn, but this would trigger after the entities goals have already been set, so I changed it so that is called before the goals have been set. The problem is, that It is not working. Is NBT data available this early in the definition? this is the relevant code: (the null check is so that the personality is not changed if it already has been set, and GnomeOnInitialEntitySpawnProcedure() just calls a few things, including the personality assignment ) public String getPersonality() { return this.getPersistentData().getString("Personality"); } @Override protected void registerGoals() { String personality = this.getPersonality(); if(personality == null || personality.isEmpty()) { GnomeOnInitialEntitySpawnProcedure.execute(this); }
-
By tergerfer11 · Posted
I just clicked it like you would any executable and yes, the log is from the minecraft_server jar file because the other one does nothing -
How did you run it? And it should have generated a log or something, which you should post. The log you posted looks like it's from a vanilla server (the minecraft_server jar file)
-
By tergerfer11 · Posted
here's the last one after trying again over and over https://api.mclo.gs/1/raw/s2aVEJB -
Oh ok, but I need most of the mods here, so is the only option removing them?
-
-
Topics
-
Who's Online (See full list)
Recommended Posts