Jump to content

DrMeepster

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DrMeepster's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. It appears my code for getting the next available index sucks. Wow.
  2. I am trying to create a darkened version of mycelium and I found that the vanilla MapColors are not the right color. I have no trouble making an instance of MapColor but it just appears transparent on the map. Util.java package drmeepster.evilshrooms.util; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import net.minecraft.block.material.MapColor; public final class Util { private Util(){} public static int getNextMapColor(){ //Will only be -1 if array is full int out = -1; for(int i = 0; i < MapColor.COLORS.length; i++){ if(MapColor.COLORS[i] == null){ continue; } out = i; break; } return out; } public static MapColor newMapColor(int index, int color){ Constructor<MapColor> constr; try{ constr = MapColor.class.getDeclaredConstructor(int.class, int.class); }catch (NoSuchMethodException | SecurityException e) { e.printStackTrace(); return null; } constr.setAccessible(true); try { return constr.newInstance(index, color); } catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException e) { e.printStackTrace(); return null; } } } ModEvilShrooms.java package drmeepster.evilshrooms; import drmeepster.evilshrooms.blocks.EvilShroomBlocks; import drmeepster.evilshrooms.util.TabEvilShroom; import drmeepster.evilshrooms.util.Util; import net.minecraft.block.material.MapColor; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod(modid = ModEvilShrooms.MODID, useMetadata = true, dependencies = "after:drcorester") public class ModEvilShrooms{ public static final String MODID = "evilshrooms"; public static final TabEvilShroom EVIL_SHROOM_TAB = new TabEvilShroom(); public static MapColor colorShadowMycelium; @EventHandler public void preInit(FMLPreInitializationEvent event){ colorShadowMycelium = Util.newMapColor(Util.getNextMapColor(), 0x281538); EvilShroomBlocks.preInit(); } @EventHandler public void init(FMLInitializationEvent event){ } @EventHandler public void postInit(FMLPostInitializationEvent event){ } }
  3. Oops I didn't refresh the page at all. I was talking to the first guy.
  4. I am trying to make a Minecraft mod with storage. I have a block that has variants. Specifically, facing variants. It is just a black and purple block. I can tell it is a blockstate issue because nothing changes when I change the models to stone, nothing changes. Weirdly, when I don't specify all variants the game still throws an Exception. Additonally, when I made a BasicBlock with the same name (box) and adjusted the blockstate it worked. I am using my library mod, DrCorester. DrCorester Github box.json: { "variants": { "facing=south": { "model": "stone" }, "facing=west": { "model": "stone", "y": 90 }, "facing=north": { "model": "stone", "y": 180 }, "facing=east": { "model": "stone", "y": 270 } } } BlockSecureBlock.java: package drmeepster.securestore.block; import javax.annotation.Nullable; import drmeepster.drcorester.block.BasicBlock; import drmeepster.drcorester.util.Util; import drmeepster.securestore.ModSecureStorage; import net.minecraft.block.BlockHorizontal; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyBool; import net.minecraft.block.properties.PropertyDirection; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumBlockRenderType; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumHand; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; public class BlockSecureBox extends BasicBlock { public static final String NAME = "box"; public static final PropertyDirection FACING = BlockHorizontal.FACING; public BlockSecureBox() { super(Material.IRON, NAME, CreativeTabs.DECORATIONS, ModSecureStorage.MODID); this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH)); } @Override public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer){ return super.onBlockPlaced(worldIn, pos, facing, hitX, hitY, hitZ, meta, placer).withProperty(FACING, placer.getHorizontalFacing()); } @Override protected BlockStateContainer createBlockState(){ return new BlockStateContainer(this, FACING); } @Override public int getMetaFromState(IBlockState state){ return state.getValue(FACING).getHorizontalIndex(); } @Override public IBlockState getStateFromMeta(int meta){ return createBlockState().getBaseState().withProperty(FACING, EnumFacing.getHorizontal(meta)); } @Override public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, @Nullable ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ){ return true; } @Override public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos){ return state; } } SecureBlocks.java package drmeepster.securestore.block; import static drmeepster.drcorester.util.Util.register; import drmeepster.drcorester.block.BasicBlock; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; public class SecureBlocks { public static BlockSecureBox secureBox; public static BasicBlock box; //Called at preinit public static void init(){ secureBox = register(new BlockSecureBox()); //box = register(new BasicBlock(Material.CLOTH, "box", null, null)); } } Relevant parts of Util.java from DrCorester: package drmeepster.drcorester.util; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.function.BiPredicate; import com.google.common.collect.Maps; import drmeepster.drcorester.ModDrCorester; import drmeepster.drcorester.block.IBasicBlock; import drmeepster.drcorester.proxy.ClientProxy; import net.minecraft.block.Block; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.effect.EntityLightningBolt; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.stats.Achievement; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.fml.common.FMLCommonHandler; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.relauncher.FMLRelaunchLog; import net.minecraftforge.fml.relauncher.Side; public final class Util{ ... public static <T extends IBasicObject> T register(T object){ GameRegistry.register(object); if(object instanceof Item){ registerItemModel((Item)object, ((Item)object).getRegistryName().getResourceDomain()); } if(object instanceof IBasicBlock){ register(((IBasicBlock)object).getItemBlock()); } if(object instanceof ItemBlock){ FMLRelaunchLog.info("The ItemBlock with block, \"%s\", has been registered", object.getRegistryName().toString()); return object; } FMLRelaunchLog.info("The object, \"%s\", has been registered", object.getRegistryName().toString()); return object; } ... public static void registerItemModel(Item item, String modid){ if(FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT){ ((ClientProxy)ModDrCorester.proxy).registerItemRenderer(item, 0, removePrefix(item.getUnlocalizedName()), modid); } } ... } ClientProxy.java from DrCorester package drmeepster.drcorester.proxy; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class ClientProxy implements IProxy{ public void registerItemRenderer(Item item, int meta, String id, String modid) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(modid + ":" + id, "inventory")); } @Override public void preInit() { } @Override public void init() { } @Override public void postInit() { } } BasicBlock.java from DrCorester: package drmeepster.drcorester.block; import drmeepster.drcorester.property.PropertyHandler; import net.minecraft.block.Block; import net.minecraft.block.material.MapColor; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; public class BasicBlock extends Block implements IBasicBlock { //copy these //public static final String NAME = ""; private String id; private BasicItemBlock itemBlock; public BasicBlock(MapColor color, Material material, String name, CreativeTabs tab, String modid){ super(material, color); setRegistryName(name); itemBlock = new BasicItemBlock(this, modid); setUnlocalizedName(PropertyHandler.getName(modid, name)); if(tab != null){ setCreativeTab(tab); } } public BasicBlock(Material material, String name, CreativeTabs tab, String modid){ this(material.getMaterialMapColor(), material, name, tab, modid); } @Override public String getName(){ return super.getUnlocalizedName(); } @Override public String getId(){ return id; } @Override public BasicItemBlock getItemBlock() { return itemBlock; } } Console log: 2017-03-24 10:47:43,488 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-03-24 10:47:43,492 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [10:47:43] [main/INFO] [GradleStart]: username: DrMeepster [10:47:43] [main/INFO] [GradleStart]: Extra: [] [10:47:43] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Misha/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --username, DrMeepster, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [10:47:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [10:47:43] [main/INFO] [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading [10:47:43] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_121 [10:47:43] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [10:47:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [10:47:43] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [10:47:43] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [10:47:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [10:47:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [10:47:44] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [10:47:48] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [10:47:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [10:47:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [10:47:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [10:47:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [10:47:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [10:47:50] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2017-03-24 10:47:52,371 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-03-24 10:47:52,455 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-03-24 10:47:52,462 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [10:47:53] [Client thread/INFO]: Setting user: DrMeepster [10:48:05] [Client thread/WARN]: Skipping bad option: lastServer: [10:48:05] [Client thread/INFO]: LWJGL Version: 2.9.4 [10:48:07] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:221]: ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 3/24/17 10:48 AM 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.10.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_121, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 844947896 bytes (805 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4531' Renderer: 'Intel(R) HD Graphics 4600' [10:48:07] [Client thread/INFO] [FML]: MinecraftForge v12.18.3.2185 Initialized [10:48:07] [Client thread/INFO] [FML]: Replaced 231 ore recipes [10:48:08] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [10:48:08] [Client thread/INFO] [FML]: Searching C:\Users\Misha\Desktop\SecureStorage\run\mods for mods [10:48:08] [Client thread/WARN] [securestore]: Mod securestore is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version ${version} [10:48:11] [Client thread/WARN] [drcorester]: Mod drcorester is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.10.2-1.2.2.0 [10:48:11] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [10:48:11] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, securestore, drcorester] at CLIENT [10:48:11] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, securestore, drcorester] at SERVER [10:48:13] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Secure Storage, FMLFileResourcePack:Dr Corester [10:48:13] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [10:48:13] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations [10:48:13] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [10:48:13] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [10:48:13] [Client thread/INFO] [FML]: Applying holder lookups [10:48:13] [Client thread/INFO] [FML]: Holder lookups applied [10:48:13] [Client thread/INFO] [FML]: Applying holder lookups [10:48:13] [Client thread/INFO] [FML]: Holder lookups applied [10:48:13] [Client thread/INFO] [FML]: Applying holder lookups [10:48:13] [Client thread/INFO] [FML]: Holder lookups applied [10:48:14] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [10:48:14] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [10:48:14] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null [10:48:14] [Client thread/INFO] [FML]: The ItemBlock with block, "securestore:box", has been registered [10:48:14] [Client thread/INFO] [FML]: The object, "securestore:box", has been registered [10:48:14] [Client thread/INFO] [FML]: The object, "drcorester:placeholder", has been registered [10:48:14] [Client thread/INFO] [FML]: Applying holder lookups [10:48:14] [Client thread/INFO] [FML]: Holder lookups applied [10:48:14] [Client thread/INFO] [FML]: Injecting itemstacks [10:48:14] [Client thread/INFO] [FML]: Itemstack injection complete [10:48:29] [Sound Library Loader/INFO]: Starting up SoundSystem... [10:48:29] [Thread-8/INFO]: Initializing LWJGL OpenAL [10:48:29] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [10:48:29] [Thread-8/INFO]: OpenAL initialized. [10:48:29] [Sound Library Loader/INFO]: Sound engine started [10:48:40] [Client thread/INFO] [FML]: Max texture size: 8192 [10:48:40] [Client thread/INFO]: Created: 16x16 textures-atlas [10:48:45] [Client thread/INFO] [FML]: Injecting itemstacks [10:48:45] [Client thread/INFO] [FML]: Itemstack injection complete [10:48:45] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [10:48:45] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Secure Storage, FMLFileResourcePack:Dr Corester [10:48:51] [Client thread/INFO]: SoundSystem shutting down... [10:48:51] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [10:48:51] [Sound Library Loader/INFO]: Starting up SoundSystem... [10:48:51] [Thread-10/INFO]: Initializing LWJGL OpenAL [10:48:51] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [10:48:51] [Thread-10/INFO]: OpenAL initialized. [10:48:51] [Sound Library Loader/INFO]: Sound engine started [10:48:58] [Client thread/INFO] [FML]: Max texture size: 8192 [10:48:59] [Client thread/INFO]: Created: 512x512 textures-atlas [10:49:02] [Client thread/WARN]: Skipping bad option: lastServer: [10:49:03] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [10:49:08] [Server thread/INFO]: Starting integrated minecraft server version 1.10.2 [10:49:08] [Server thread/INFO]: Generating keypair [10:49:09] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [10:49:09] [Server thread/INFO] [FML]: Applying holder lookups [10:49:09] [Server thread/INFO] [FML]: Holder lookups applied [10:49:09] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@4e10c224) [10:49:10] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@4e10c224) [10:49:10] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@4e10c224) [10:49:10] [Server thread/INFO]: Preparing start region for level 0 [10:49:12] [Server thread/INFO]: Preparing spawn area: 0% [10:49:13] [Server thread/INFO]: Preparing spawn area: 34% [10:49:14] [Server thread/INFO]: Preparing spawn area: 65% [10:49:15] [Server thread/INFO]: Changing view distance to 12, from 10 [10:49:17] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [10:49:17] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [10:49:17] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],securestore@${version} [10:49:17] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [10:49:17] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [10:49:17] [Server thread/INFO]: DrMeepster[local:E:90d63022] logged in with entity id 215 at (-12.998634781601366, 75.63387607113056, -15.62530467881667) [10:49:17] [Server thread/INFO]: DrMeepster joined the game [10:49:19] [Server thread/INFO]: Saving and pausing game... [10:49:19] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [10:49:19] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [10:49:19] [Server thread/INFO]: Saving chunks for level 'New World'/The End [10:49:20] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@18b159e1[id=d44056b9-272c-3c39-9e28-71c6a51a39c1,name=DrMeepster,properties={},legacy=false] com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?] at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3060) [Minecraft.class:?] at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [SkinManager$3.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_121] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_121] at java.lang.Thread.run(Unknown Source) [?:1.8.0_121] [10:49:20] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3698ms behind, skipping 73 tick(s) [10:49:30] [Server thread/INFO]: Saving and pausing game... [10:49:30] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [10:49:31] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [10:49:31] [Server thread/INFO]: Saving chunks for level 'New World'/The End [10:49:32] [Client thread/INFO]: Stopping! [10:49:32] [Client thread/INFO]: SoundSystem shutting down... [10:49:32] [Server thread/INFO]: Stopping server [10:49:32] [Server thread/INFO]: Saving players [10:49:32] [Server thread/INFO]: Saving worlds [10:49:32] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [10:49:33] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [10:49:33] [Server thread/INFO]: Saving chunks for level 'New World'/The End [10:49:33] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [10:49:33] [Client Shutdown Thread/INFO]: Stopping server [10:49:33] [Client Shutdown Thread/INFO]: Saving players [10:49:33] [Client Shutdown Thread/INFO]: Saving worlds [10:49:33] [Client Shutdown Thread/INFO]: Saving chunks for level 'New World'/Overworld [10:49:33] [Client Shutdown Thread/INFO]: Saving chunks for level 'New World'/Nether [10:49:33] [Client Shutdown Thread/INFO]: Saving chunks for level 'New World'/The End Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
  5. ??????? I commented out the line that sets the player on fire and uncommented it and it started working.
  6. I am making a library mod to make making my mods easier and I added a test module including a test potion. When I tested it, the effect continued working even after it ran out of time. BasicPotion: PotionTest:
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.