Topic category: Advanced modding
Hi i am having trouble getting a item when right clicked to give the player a random effect. I don't know if it is possable but i have worked on this all morning and have reduced the errors given down to 3 so it might be possable. Just wondering if it is possable could i get some help?
Here is the console report:
Executing gradle command: build
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator173>cd forge
C:\Pylo\MCreator173\forge>SET "JAVA_HOME=C:\Pylo\MCreator173\jdk64\"
C:\Pylo\MCreator173\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator173\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator173\forge>gradlew -Dorg.gradle.jvmargs="-Xms2042m -Xmx3071m" build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
****************************
Powered By MCP:
http://modcoderpack.com/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
:downloadClient SKIPPED
:downloadServer SKIPPED
:getVersionJson
:extractUserDev UP-TO-DATE
:mergeJars SKIPPED
:applyBinPatches SKIPPED
:downloadMcpTools SKIPPED
:extractMcpData UP-TO-DATE
:genSrgs SKIPPED
:deobfBinJar SKIPPED
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_halloweenPresent.java:90: error: not a statement
} else if (true) (chance == 1) {
^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_halloweenPresent.java:90: error: ';' expected
} else if (true) (chance == 1) {
^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_halloweenPresent.java:93: error: 'else' without 'if'
} else if (chance == 2) {
^
3 errors
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
BUILD FAILED
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 26.286 secs
C:\Pylo\MCreator173\forge>
Task completed with return code 0 in 27175 milliseconds
Here is the Code:
package mod.mcreator;
import net.minecraftforge.common.ChestGenHooks;
import net.minecraft.world.World;
import net.minecraft.util.WeightedRandomChestContent;
import net.minecraft.potion.PotionEffect;
import net.minecraft.potion.Potion;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.block.Block;
import java.util.Random;
import java.util.List;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
@SuppressWarnings("unchecked")
public class mcreator_halloweenPresent {
public mcreator_halloweenPresent() {
}
public static Item block;
public static Object instance;
public void load() {
new ChestGenHooks("strongholdCorridor").addItem(new WeightedRandomChestContent(new ItemStack(block), 1, 2, 1));
}
public void generateNether(World world, Random random, int chunkX, int chunkZ) {
}
public void generateSurface(World world, Random random, int chunkX, int chunkZ) {
}
public int addFuel(ItemStack fuel) {
return 0;
}
public void serverLoad(FMLServerStartingEvent event) {
}
public void preInit(FMLPreInitializationEvent event) {
}
public void registerRenderers() {
}
static {
block = (new ItemhalloweenPresent(434));
Item.itemRegistry.addObject(434, "HalloweenPresent", block);
}
static class ItemhalloweenPresent extends Item {
public ItemhalloweenPresent(int par1) {
setMaxDamage(0);
maxStackSize = 64;
setUnlocalizedName("HalloweenPresent");
setTextureName("HalloweenPresent");
setCreativeTab(mcreator_halloweenTab.tab);
}
public int getItemEnchantability() {
return 0;
}
public int getMaxItemUseDuration(ItemStack par1ItemStack) {
return 0;
}
public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block) {
return 1.0F;
}
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entity) {
float var4 = 1.0F;
int i = (int) (entity.prevPosX + (entity.posX - entity.prevPosX) * (double) var4);
int j = (int) (entity.prevPosY + (entity.posY - entity.prevPosY) * (double) var4 + 1.62D - (double) entity.yOffset);
int k = (int) (entity.prevPosZ + (entity.posZ - entity.prevPosZ) * (double) var4);
if (true) {
if (entity instanceof EntityPlayer)
((EntityPlayer) entity).inventory.consumeInventoryItem(mcreator_halloweenPresent.block);
} else if (true) (chance == 1) {
if(entity instanceof EntityLivingBase) ((EntityLivingBase)entity).addPotionEffect(new PotionEffect(1, 60, 1));
} else if (chance == 2) {
if(entity instanceof EntityLivingBase) ((EntityLivingBase)entity).addPotionEffect(new PotionEffect(2, 60, 1));
} else if (chance == 3) {
if(entity instanceof EntityLivingBase) ((EntityLivingBase)entity).addPotionEffect(new PotionEffect(3, 60, 1));
} else if (chance == 4) {
if(entity instanceof EntityLivingBase) ((EntityLivingBase)entity).addPotionEffect(new PotionEffect(4, 60, 1));
} else if (chance == 5) {
if(entity instanceof EntityLivingBase) ((EntityLivingBase)entity).addPotionEffect(new PotionEffect(5, 60, 1));
} else if (chance == 6) {
if(entity instanceof EntityLivingBase) ((EntityLivingBase)entity).addPotionEffect(new PotionEffect(6, 60, 1));
} else {
return;
}
return itemstack;
}
public void onUsingTick(ItemStack itemstack, EntityPlayer entity, int count) {
World world = entity.worldObj;
int i = (int) entity.posX;
int j = (int) entity.posY;
int k = (int) entity.posZ;
if (true) {
if (entity instanceof EntityPlayer)
((EntityPlayer) entity).addStat(mcreator_trickOrTreat.achievement, 1);
}
}
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List list, boolean par4) {
list.add("Droped From Halloween Pumpkins");
list.add(" Use Grants Potion Effects By Clicking on Air and Clicking on a Block .");
}
}
}
Have you tried using the block code format to set up multiple If statements followed by [Random 0,1) blocks? Just tried a test using this method and it seems possible: http://prntscr.com/l873ol Just note that the duration should be at least over 100 (smaller numbers can become glitched and have effects stay permanent unless you die or have the effect reapplied).
It looks to be possible with a few tweaks, however doing the method I did can result in having multiple effects at once.
~xDovah
Thanks for trying xDovah i was looking to just give 1 random effect i knew that i could set multiple effects to when item right clicked air. This code nearly works only 3 errors i have tryed Every thing i know (thats little as i use MCreator pritty much 1st time touching the code section) to fix it, i can get it to 2 errors so there has to be a code that MCreator will accept for random effects to be given to a player when they right click a certain item.
Still Looking For A Answer.
use random (0,1) and set it to 0.10 so there will be 10% chance of getting that Potion Effect
could you be a little more specific of the location to change that because i just looked at when item right clicked and no where dose it have (0,1)?
This is now Solved Here is how i did it: when you add a when right clicked event i made it a stack event first event was consume item from inventory the next stacked event add potion effect at the to in the drop down bar it says in all cases change that to randompossablity[50%] (you can change the % in same drop bar) repeat for multiple effects. Here is the code for just 1 but just copy and paste to make more:
if (true) {
if (entity instanceof EntityPlayer)
((EntityPlayer) entity).inventory.consumeInventoryItem(mcreator_halloweenPresent.block);
}
if ((Math.random() * 100) <= 5) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(1, 6000, 1));
}
You are welcome to use this :)
Ok so when i did that code singularly it works but when done multiple times with different percentage's from 5-95 this is what it dose and i need more help with. 1st when said item is clicked in game it crashes and gives this:
Executing gradle command: runClient
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator173>cd forge
C:\Pylo\MCreator173\forge>SET "JAVA_HOME=C:\Pylo\MCreator173\jdk64\"
C:\Pylo\MCreator173\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator173\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator173\forge>gradlew -Dorg.gradle.jvmargs="-Xms2042m -Xmx3071m" runClient
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
****************************
Powered By MCP:
http://modcoderpack.com/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
:downloadClient SKIPPED
:downloadServer SKIPPED
:getVersionJson
:extractUserDev UP-TO-DATE
:mergeJars SKIPPED
:applyBinPatches SKIPPED
:downloadMcpTools SKIPPED
:extractMcpData UP-TO-DATE
:genSrgs SKIPPED
:deobfBinJar SKIPPED
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
:compileJava
:processResources UP-TO-DATE
:classes
:jar UP-TO-DATE
:extractNatives UP-TO-DATE
:getAssetsIndex
:getAssets
:makeStart
[ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
] [ant:javac] 1 warning
] :runClient
[13:30:36] [main/INFO]: Extra: []
[13:30:36] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/bry's/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[13:30:37] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[13:30:37] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[13:30:37] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:30:37] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[13:30:37] [main/INFO]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
[13:30:37] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 7:amd64:6.1, installed at C:\Pylo\MCreator173\jdk64\jre
[13:30:37] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[13:30:37] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:30:37] [main/INFO]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[13:30:37] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[13:30:37] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:30:37] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[13:30:37] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:30:37] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:30:37] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:30:37] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:30:37] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[13:30:40] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[13:30:40] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:30:40] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[13:30:41] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:30:41] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[13:30:41] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[13:30:41] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[13:30:44] [main/INFO]: Setting user: Player4
[13:30:46] [Client thread/INFO]: LWJGL Version: 2.9.1
[13:30:48] [Client thread/INFO]: [cpw.mods.fml.client.SplashProgress:start:188
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 23/10/18 1:30 PM
Description: Loading screen debug info
This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 117994584 bytes (112 MB) / 262668288 bytes (250 MB) up to 954728448 bytes (910 MB)
JVM Flags: 0 total;
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1004' Renderer: 'AMD Radeon HD 5450'
[13:30:48] [Client thread/INFO]: Attempting early MinecraftForge initialization
[13:30:48] [Client thread/INFO]: MinecraftForge v10.13.4.1558 Initialized
[13:30:49] [Client thread/INFO]: Replaced 183 ore recipies
[13:30:49] [Client thread/INFO]: Completed early MinecraftForge initialization
[13:30:50] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[13:30:50] [Client thread/INFO]: Searching C:\Pylo\MCreator173\forge\eclipse\mods for mods
[13:31:04] [Client thread/INFO]: Mod testenvironmentmod is missing the required element 'name'. Substituting testenvironmentmod
[13:31:05] [Client thread/INFO]: Forge Mod Loader has identified 4 mods to load
[13:31:05] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, testenvironmentmod] at CLIENT
[13:31:05] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, testenvironmentmod] at SERVER
[13:31:07] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testenvironmentmod
[13:31:07] [Client thread/INFO]: Processing ObjectHolder annotations
[13:31:07] [Client thread/INFO]: Found 341 ObjectHolder annotations
[13:31:07] [Client thread/INFO]: Identifying ItemStackHolder annotations
[13:31:07] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[13:31:08] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_halloweenPumpkinPresent$BlockHalloweenPumpkinPresent@611ddac3 has been registered twice for the same name testenvironmentmod:HalloweenPumpkinPresent.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_halloweenWool$BlockHalloweenWool@5e1c2cff has been registered twice for the same name testenvironmentmod:HalloweenWool.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_dancingHallowFlower$BlockCustomFlower@5475de4 has been registered twice for the same name testenvironmentmod:DancingHallowFlower.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_hallowStoneBlock$BlockHallowStoneBlock@5c3b4a9c has been registered twice for the same name testenvironmentmod:HallowStoneBlock.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_hallowWood$BlockHallowWood@55b0d752 has been registered twice for the same name testenvironmentmod:HallowWood.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_hallowTreeLeaves$BlockHallowTreeLeaves@870cde1 has been registered twice for the same name testenvironmentmod:HallowTreeLeaves.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_hallowCarpet$BlockHallowCarpet@78df2a0e has been registered twice for the same name testenvironmentmod:HallowCarpet.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_ginger$BlockCustomFlower@3203d5 has been registered twice for the same name testenvironmentmod:Ginger.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_hallowOre$BlockHallowOre@6c16a3fa has been registered twice for the same name testenvironmentmod:HallowOre.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_hallowWoodPlanks$BlockHallowWoodPlanks@49899a52 has been registered twice for the same name testenvironmentmod:HallowWoodPlanks.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_winterStone$BlockWinterStone@3b4cc0f6 has been registered twice for the same name testenvironmentmod:WinterStone.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_nterStoneBrick$BlockNterStoneBrick@7dee0a5 has been registered twice for the same name testenvironmentmod:NterStoneBrick.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_winterCobbleStone$BlockWinterCobbleStone@3f36b79d has been registered twice for the same name testenvironmentmod:WinterCobbleStone.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_winterChissledStone$BlockWinterChissledStone@3fca7aae has been registered twice for the same name testenvironmentmod:WinterChissledStone.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_winterGrass$BlockWinterGrass@4868a657 has been registered twice for the same name testenvironmentmod:WinterGrass.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_hollowEndPortal$BlockHollowEndPortal@5b08a421 has been registered twice for the same name testenvironmentmod:HollowEndPortal.
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:08] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: ****************************************
[13:31:08] [Client thread/WARN]: * The object mod.mcreator.mcreator_indipendenceStoneBrick$BlockIndipendenceStoneBrick@4c77eb54 has been registered twice for the same name testenvironmentmod:IndipendenceStoneBrick.
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:13] [Client thread/WARN]: ****************************************
[13:31:13] [Client thread/WARN]: ****************************************
[13:31:13] [Client thread/WARN]: * The object mod.mcreator.mcreator_indipendenceWool$BlockIndipendenceWool@68af530a has been registered twice for the same name testenvironmentmod:IndipendenceWool.
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:13] [Client thread/WARN]: ****************************************
[13:31:13] [Client thread/WARN]: ****************************************
[13:31:13] [Client thread/WARN]: * The object mod.mcreator.mcreator_easterEgg1$BlockEasterEgg1@979ca7c has been registered twice for the same name testenvironmentmod:EasterEgg1.
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:13] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:13] [Client thread/WARN]: ****************************************
[13:31:13] [Client thread/INFO]: Applying holder lookups
[13:31:13] [Client thread/INFO]: Holder lookups applied
[13:31:13] [Client thread/INFO]: Injecting itemstacks
[13:31:13] [Client thread/INFO]: Itemstack injection complete
[13:31:14] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:14] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:15] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:15] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:18] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[13:31:18] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[13:31:18] [Client thread/WARN]: ****************************************
[13:31:18] [Client thread/WARN]: * The object mod.mcreator.mcreator_hollowEnd$BlockTutorialPortal@2feb6b84 has been registered twice for the same name testenvironmentmod:hollowEnd_portal.
[13:31:18] [Client thread/WARN]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
[13:31:18] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[13:31:18] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[13:31:18] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[13:31:18] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[13:31:18] [Client thread/WARN]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[13:31:18] [Client thread/WARN]: ****************************************
[13:31:19] [Client thread/INFO]: Injecting itemstacks
[13:31:19] [Client thread/INFO]: Itemstack injection complete
[13:31:19] [Client thread/INFO]: Forge Mod Loader has successfully loaded 4 mods
[13:31:19] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testenvironmentmod
[13:31:20] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[13:31:21] [Client thread/INFO]: Created: 512x256 textures/items-atlas
[13:31:21] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:21] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:23] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:23] [Thread-10/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:23] [Thread-10/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:23] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748
[13:31:31] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[13:31:31] [Server thread/INFO]: Generating keypair
[13:31:32] [Server thread/INFO]: Injecting existing block and item data into this server instance
[13:31:32] [Server thread/INFO]: Applying holder lookups
[13:31:32] [Server thread/INFO]: Holder lookups applied
[13:31:33] [Server thread/INFO]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1c020d)
[13:31:33] [Server thread/INFO]: Loading dimension 3 (New World) (net.minecraft.server.integrated.IntegratedServer@1c020d)
[13:31:33] [Server thread/INFO]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1c020d)
[13:31:33] [Server thread/INFO]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1c020d)
[13:31:33] [Server thread/INFO]: Preparing start region for level 0
[13:31:34] [Server thread/INFO]: Preparing spawn area: 43%
[13:31:35] [Server thread/INFO]: Changing view distance to 8, from 10
[13:31:37] [Netty Client IO #0/INFO]: Server protocol version 2
[13:31:37] [Netty IO #1/INFO]: Client protocol version 2
[13:31:38] [Netty IO #1/INFO]: Client attempting to join with 4 mods : FML@7.10.99.99,testenvironmentmod@1.0,Forge@10.13.4.1558,mcp@9.05
[13:31:38] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT
[13:31:38] [Netty Client IO #0/INFO]: Attempting connection with missing mods [] at SERVER
[13:31:38] [Server thread/INFO]: [Server thread] Server side modded connection established
[13:31:38] [Server thread/INFO]: Player4[local:E:f292dac7] logged in with entity id 108 at (-1.5, 117.27882134367731, -0.5)
[13:31:38] [Client thread/INFO]: [Client thread] Client side modded connection established
[13:31:38] [Server thread/INFO]: Player4 joined the game
[13:31:44] [Server thread/INFO]: Player4 has just earned the achievement [Taking Inventory]
[13:31:44] [Client thread/INFO]: [CHAT] Player4 has just earned the achievement [Taking Inventory]
[13:32:03] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:importantMessage:90
[13:32:03] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:32:03] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:32:03] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:32:04] [Thread-14/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:32:04] [Thread-14/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:32:04] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:32:04] [Sound Library Loader/INFO]: Sound engine started
[13:32:04] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69
[13:32:04] [Sound Library Loader/INFO]: Sound engine started
[13:32:21] [Client thread/INFO]: [CHAT] You do not have permission to use this command
[13:32:22] [Server thread/INFO]: [Player4] Trick Or Treat!
[13:32:22] [Server thread/INFO]: Stopping server
[13:32:22] [Server thread/INFO]: Saving players
[13:32:22] [Server thread/INFO]: Saving worlds
[13:32:22] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[13:32:22] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[13:32:22] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[13:32:22] [Server thread/INFO]: Saving chunks for level 'New World'/hollowEnd
[13:32:23] [Server thread/INFO]: Unloading dimension 0
[13:32:23] [Server thread/INFO]: Unloading dimension -1
[13:32:23] [Server thread/INFO]: Unloading dimension 1
[13:32:23] [Server thread/INFO]: Unloading dimension 3
[13:32:23] [Server thread/INFO]: Applying holder lookups
[13:32:23] [Server thread/INFO]: Holder lookups applied
[13:32:23] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Ticking entity
at net.minecraft.world.World.updateEntities(World.java:1902) ~[World.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2006) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:973) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:898) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
at GradleStart.main(Unknown Source) [start/:?]
Caused by: java.lang.NullPointerException
at net.minecraft.potion.PotionEffect.onUpdate(PotionEffect.java:105) ~[PotionEffect.class:?]
at net.minecraft.entity.EntityLivingBase.updatePotionEffects(EntityLivingBase.java:524) ~[EntityLivingBase.class:?]
at net.minecraft.entity.EntityLivingBase.onEntityUpdate(EntityLivingBase.java:293) ~[EntityLivingBase.class:?]
at net.minecraft.entity.Entity.onUpdate(Entity.java:318) ~[Entity.class:?]
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1561) ~[EntityLivingBase.class:?]
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:288) ~[EntityPlayer.class:?]
at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(SourceFile:63) ~[EntityClientPlayerMP.class:?]
at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2070) ~[World.class:?]
at net.minecraft.world.World.updateEntity(World.java:2034) ~[World.class:?]
at net.minecraft.world.World.updateEntities(World.java:1887) ~[World.class:?]
... 12 more
[13:32:23] [Client thread/INFO]: [net.minecraft.client.Minecraft:displayCrashReport:349
// My bad.
Time: 23/10/18 1:32 PM
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
at net.minecraft.potion.PotionEffect.onUpdate(PotionEffect.java:105)
at net.minecraft.entity.EntityLivingBase.updatePotionEffects(EntityLivingBase.java:524)
at net.minecraft.entity.EntityLivingBase.onEntityUpdate(EntityLivingBase.java:293)
at net.minecraft.entity.Entity.onUpdate(Entity.java:318)
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1561)
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:288)
at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(SourceFile:63)
at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2070)
at net.minecraft.world.World.updateEntity(World.java:2034)
at net.minecraft.world.World.updateEntities(World.java:1887)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2006)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:973)
at net.minecraft.client.Minecraft.run(Minecraft.java:898)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.potion.PotionEffect.onUpdate(PotionEffect.java:105)
at net.minecraft.entity.EntityLivingBase.updatePotionEffects(EntityLivingBase.java:524)
at net.minecraft.entity.EntityLivingBase.onEntityUpdate(EntityLivingBase.java:293)
at net.minecraft.entity.Entity.onUpdate(Entity.java:318)
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1561)
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:288)
at net.minecraft.client.entity.EntityClientPlayerMP.onUpdate(SourceFile:63)
at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2070)
at net.minecraft.world.World.updateEntity(World.java:2034)
-- Entity being ticked --
Details:
Entity Type: null (net.minecraft.client.entity.EntityClientPlayerMP)
Entity ID: 108
Entity Name: Player4
Entity's Exact location: -1.50, 118.90, -0.50
Entity's Block location: World: (-2,118,-1), Chunk: (at 14,7,15 in -1,-1; contains blocks -16,0,-16 to -1,255,-1), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Entity's Momentum: 0.00, 0.00, 0.00
Stacktrace:
at net.minecraft.world.World.updateEntities(World.java:1887)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player4'/108, l='MpServer', x=-1.50, y=118.90, z=-0.50]]
Chunk stats: MultiplayerChunkCache: 272, 272
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (0,64,0), Chunk: (at 0,4,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 1698 game time, 1698 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 71 total; [EntityBat['Bat'/525, l='MpServer', x=31.11, y=37.00, z=13.93], EntityBat['Bat'/23, l='MpServer', x=-62.88, y=37.00, z=-27.22], EntityBat['Bat'/24, l='MpServer', x=-53.56, y=41.26, z=-29.34], EntityChicken['Chicken'/25, l='MpServer', x=-51.66, y=79.00, z=-31.59], EntityBat['Bat'/26, l='MpServer', x=-46.25, y=45.10, z=-37.41], EntityChicken['Chicken'/28, l='MpServer', x=-46.47, y=77.00, z=-46.34], EntityChicken['Chicken'/29, l='MpServer', x=-44.50, y=85.00, z=-39.50], EntityChicken['Chicken'/30, l='MpServer', x=-36.63, y=90.00, z=-35.44], EntityChicken['Chicken'/31, l='MpServer', x=-47.41, y=82.00, z=5.53], EntityChicken['Chicken'/34, l='MpServer', x=-27.72, y=87.00, z=-17.81], EntityChicken['Chicken'/35, l='MpServer', x=-26.53, y=87.00, z=-20.44], EntityChicken['Chicken'/36, l='MpServer', x=-31.50, y=87.00, z=-13.50], EntityBat['Bat'/37, l='MpServer', x=-22.88, y=13.10, z=61.22], EntityPig['Pig'/38, l='MpServer', x=-16.59, y=66.00, z=71.19], EntityItem['item.item.seeds'/166, l='MpServer', x=33.13, y=66.13, z=13.53], EntityItem['item.tile.flower2.poppy'/168, l='MpServer', x=28.88, y=66.13, z=17.19], EntityItem['item.tile.flower2.poppy'/169, l='MpServer', x=28.88, y=66.13, z=16.31], EntityItem['item.item.seeds'/171, l='MpServer', x=28.97, y=67.13, z=17.00], EntityBat['Bat'/556, l='MpServer', x=-57.31, y=50.00, z=-10.41], EntityBat['Bat'/557, l='MpServer', x=-55.44, y=50.05, z=-13.97], EntityBat['Bat'/558, l='MpServer', x=-57.84, y=52.10, z=-12.09], EntityItem['item.tile.flower2.poppy'/180, l='MpServer', x=27.09, y=66.13, z=23.87], EntityBat['Bat'/53, l='MpServer', x=-2.25, y=36.10, z=30.06], EntityItem['item.item.seeds'/182, l='MpServer', x=27.15, y=66.13, z=23.90], EntityItem['item.tile.flower2.poppy'/184, l='MpServer', x=26.53, y=66.13, z=26.22], EntityPig['Pig'/58, l='MpServer', x=-10.84, y=66.00, z=70.16], EntityPig['Pig'/59, l='MpServer', x=-12.50, y=66.00, z=76.50], EntityPig['Pig'/60, l='MpServer', x=-14.50, y=65.00, z=76.50], EntityItem['item.item.seeds'/188, l='MpServer', x=24.72, y=66.13, z=28.16], EntityItem['item.item.seeds'/190, l='MpServer', x=33.75, y=65.13, z=5.84], EntityBat['Bat'/67, l='MpServer', x=-6.97, y=21.07, z=66.78], EntityBat['Bat'/69, l='MpServer', x=28.06, y=28.20, z=66.06], EntityBat['Bat'/70, l='MpServer', x=7.72, y=48.23, z=63.25], EntityBat['Bat'/71, l='MpServer', x=4.59, y=44.79, z=69.38], EntityChicken['Chicken'/72, l='MpServer', x=25.50, y=78.00, z=-50.50], EntityChicken['Chicken'/73, l='MpServer', x=28.50, y=70.00, z=-47.50], EntityChicken['Chicken'/74, l='MpServer', x=28.50, y=70.00, z=-47.50], EntityChicken['Chicken'/75, l='MpServer', x=26.47, y=78.00, z=-44.59], EntityChicken['Chicken'/76, l='MpServer', x=41.47, y=64.00, z=-59.47], EntityChicken['Chicken'/77, l='MpServer', x=46.53, y=76.00, z=-41.47], EntityChicken['Chicken'/78, l='MpServer', x=44.50, y=71.00, z=-45.50], EntityBat['Bat'/79, l='MpServer', x=34.03, y=30.39, z=64.91], EntityChicken['Chicken'/81, l='MpServer', x=62.50, y=63.00, z=-73.50], EntityChicken['Chicken'/82, l='MpServer', x=61.50, y=63.00, z=-75.50], EntityChicken['Chicken'/83, l='MpServer', x=62.50, y=63.00, z=-74.50], EntityChicken['Chicken'/84, l='MpServer', x=62.50, y=63.00, z=-74.50], EntityCow['Cow'/85, l='MpServer', x=53.19, y=64.00, z=-51.84], EntityCow['Cow'/86, l='MpServer', x=57.38, y=64.00, z=-56.56], EntityCow['Cow'/87, l='MpServer', x=58.53, y=64.00, z=-58.75], EntityCow['Cow'/88, l='MpServer', x=55.84, y=64.00, z=-51.03], EntityChicken['Chicken'/89, l='MpServer', x=60.38, y=64.00, z=-49.22], EntityChicken['Chicken'/90, l='MpServer', x=59.50, y=64.00, z=-49.50], EntityChicken['Chicken'/91, l='MpServer', x=62.38, y=64.00, z=-49.09], EntityChicken['Chicken'/92, l='MpServer', x=54.38, y=64.00, z=-54.38], EntityPig['Pig'/93, l='MpServer', x=69.53, y=63.00, z=-50.84], EntityPig['Pig'/94, l='MpServer', x=66.63, y=64.00, z=-50.81], EntityPig['Pig'/95, l='MpServer', x=66.97, y=68.00, z=-32.50], EntityPig['Pig'/96, l='MpServer', x=72.59, y=64.00, z=-41.44], EntityChicken['Chicken'/97, l='MpServer', x=68.41, y=64.00, z=-41.63], EntityBat['Bat'/609, l='MpServer', x=35.23, y=30.84, z=69.52], EntityBat['Bat'/610, l='MpServer', x=41.75, y=28.61, z=69.56], EntityBat['Bat'/611, l='MpServer', x=34.46, y=26.60, z=69.68], EntityBat['Bat'/612, l='MpServer', x=31.08, y=29.76, z=66.10], EntityBat['Bat'/613, l='MpServer', x=32.01, y=29.35, z=63.55], EntityBat['Bat'/618, l='MpServer', x=-73.25, y=24.25, z=-5.31], EntityBat['Bat'/619, l='MpServer', x=-74.42, y=24.00, z=-4.30], EntityBat['Bat'/620, l='MpServer', x=-74.24, y=24.61, z=-5.39], EntityItem['item.item.seeds'/109, l='MpServer', x=28.88, y=66.13, z=16.22], EntityBat['Bat'/621, l='MpServer', x=-73.25, y=25.54, z=-3.25], EntityClientPlayerMP['Player4'/108, l='MpServer', x=-1.50, y=118.90, z=-0.50], EntityBat['Bat'/625, l='MpServer', x=-78.30, y=24.00, z=-9.41]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:373)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2444)
at net.minecraft.client.Minecraft.run(Minecraft.java:919)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 146869536 bytes (140 MB) / 468713472 bytes (447 MB) up to 954728448 bytes (910 MB)
JVM Flags: 0 total;
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 9, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeBin-1.7.10-10.13.4.1558-1.7.10.jar)
UCHIJAAAA Forge{10.13.4.1558} [Minecraft Forge] (forgeBin-1.7.10-10.13.4.1558-1.7.10.jar)
UCHIJAAAA testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar)
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1004' Renderer: 'AMD Radeon HD 5450'
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: AMD Radeon HD 5450 GL version 4.5.13399 Compatibility Profile Context 15.200.1062.1004, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
[13:32:23] [Client thread/INFO]: [net.minecraft.client.Minecraft:displayCrashReport:359
:runClient FAILED
BUILD FAILED
Exception in thread "Thread-10"
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Pylo\MCreator173\jdk64\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 2 mins 29.05 secs
C:\Pylo\MCreator173\forge>
Task completed with return code 0 in 151437 milliseconds
Then when i get back into the game it gives multiple effects at once when i only want 1 effect each right click
Here is the code to all of that:
if (true) {
if (entity instanceof EntityPlayer)
((EntityPlayer) entity).inventory.consumeInventoryItem(mcreator_halloweenPresent.block);
}
if ((Math.random() * 100) <= 50) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(1, 6000, 0));
}
if ((Math.random() * 100) <= 40) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(3, 6000, 0));
}
if ((Math.random() * 100) <= 30) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(5, 6000, 0));
}
if ((Math.random() * 100) <= 20) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(4, 6000, 0));
}
if ((Math.random() * 100) <= 10) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(26, 6000, 0));
}
if ((Math.random() * 100) <= 60) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(27, 6000, 0));
}
if ((Math.random() * 100) <= 70) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(23, 6000, 0));
}
if ((Math.random() * 100) <= 80) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(9, 6000, 0));
}
if ((Math.random() * 100) <= 90) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(6, 6000, 0));
}
if (true) {
if (entity instanceof EntityPlayer) {
MinecraftServer minecraftserver = MinecraftServer.getServer();
if (minecraftserver != null)
minecraftserver.getCommandManager().executeCommand((EntityPlayer) entity, "say Trick Or Treat!");
}
if ((Math.random() * 100) <= 50) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(1, 6000, 0));
}
if ((Math.random() * 100) <= 50) {
if (entity instanceof EntityLivingBase)
((EntityLivingBase) entity).addPotionEffect(new PotionEffect(1, 6000, 0));
}
}
return itemstack;
}
More Help would be greatly appreciated.
Still Looking For Help on This Subject.
I have finished that
Booster, you might have more luck with people scrolling by, if you used spoilers instead of the crapolong text of your log?
yer idk how to do that i dont use forums that much
I know what it is. When you did this you needed in Math.Random to :
If (Math.Random))(* 50 >=)
You needed 2 brackets