
yanksrock1019
Members-
Posts
193 -
Joined
-
Last visited
Everything posted by yanksrock1019
-
*bump*
-
*bump*
-
So I created a Chunk Provider for my custom dimension but it crashes and gives me an error. Please help. Chunk Provider: Error:
-
So it's also very slow when I walk on water, anyway to speed that up
-
Thank you so much! So is there absolutely no way to allow me to jump
-
Could it be because it's on the server tick side and not client side
-
Yeah, just reliazed. However, now whenever I walk on water with the boots minecraft gives me an error that says "Illegal stance."
-
I don't know why I'm getting that error, here is the entire code public static void onPlayerTick(EntityPlayer player){ if(player.getCurrentArmor(0)!= null){ ItemStack boots = player.getCurrentArmor(0); if(boots.getItem() == Items.diamond_boots || boots.getItem() == Items.golden_boots || boots.getItem() == Items.iron_boots || boots.getItem() == Items.leather_boots || boots.getItem() == Items.chainmail_boots || boots.getItem() == PupletItems.bootsPuplet){ World world = new World(); int i = MathHelper.floor_double(player.posX); int j = MathHelper.floor_double(player.boundingBox.minY - 1); int k = MathHelper.floor_double(player.posZ); Material m = world.getBlock(i, j, k).getMaterial(); boolean flag = (m == Material.water); int l = EnchantmentHelper.getEnchantmentLevel(MainClass.waterWalking.effectId, boots); if(l > 0 && flag && player.motionY < 0.0D){ player.posY += -player.motionY; player.motionY = 0.0D; player.fallDistance = 0.0F; } } } }
-
Yes, it's under onPlayerTick
-
So I did some research and I tried "World world = new World();" but I get "Cannot instantiate the type World" and I can't find an answer for this
-
So that would be like "public static getBlock(int i, int j, int k)"
-
BTW, the first thing is the error I get on World.getBlock(i, j, k).getMaterial();
-
"Cannot make a static reference to the non-static method getBlock(int, int, int) from the type World" Sorry this may be noob questions The signature was just so that people started helping me rather than saying "Learn Basic Java" in situations that had nothing to do with basic java
-
Nope doesn't work
-
Not sure what to do with the flag
-
Would I put that in my tick handler class
-
So a youtuber named Syndicate said that he really wanted an enchantment that would let you walk on water. How would I go about doing that? Would I have the effect use the property of a boat floating in order to float on water?
-
All of my files are in the correct folders, but my mod won't load. Here's the console. [18:12:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [18:12:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [18:12:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [18:12:52] [main/INFO] [FML]: Forge Mod Loader version 7.2.211.1121 for Minecraft 1.7.2 loading [18:12:52] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_11, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre8 [18:12:52] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [18:12:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:12:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:12:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:12:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:12:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:12:52] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [18:12:52] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Jake%20%20And%20Nathan/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [18:12:52] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [18:12:52] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Jake%20%20And%20Nathan/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [18:12:52] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [18:12:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:12:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:12:53] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [18:12:53] [main/INFO]: Setting user: Player296 [18:12:55] [Client thread/INFO]: LWJGL Version: 2.9.0 [18:12:55] [Client thread/ERROR]: Couldn't set icon javax.imageio.IIOException: Can't read input file! at javax.imageio.ImageIO.read(Unknown Source) ~[?:1.8.0_11] at net.minecraft.client.Minecraft.readImage(Minecraft.java:641) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [18:12:56] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [18:12:56] [Client thread/INFO] [FML]: MinecraftForge v10.12.2.1121 Initialized [18:12:56] [Client thread/INFO] [FML]: Replaced 182 ore recipies [18:12:56] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [18:12:56] [Client thread/INFO] [FML]: Searching C:\Users\Jake And Nathan\Desktop\forge-1.7.2-10.12.2.1121-src\eclipse\mods for mods [18:12:56] [Client thread/ERROR] [FML]: Unable to read a class file correctly java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1] at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) [ASMModParser.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?] at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?] at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:346) [Loader.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:467) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [18:12:56] [Client thread/ERROR] [FML]: There was a problem reading the file C:\Users\Jake And Nathan\Desktop\forge-1.7.2-10.12.2.1121-src\bin\com\scarlett\scarlettmod\axeScarlett.class - probably this is a corrupt file cpw.mods.fml.common.LoaderException: java.lang.IllegalArgumentException at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:58) ~[ASMModParser.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) [DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?] at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?] at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:346) [Loader.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:467) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1] at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) ~[ASMModParser.class:?] ... 20 more [18:12:56] [Client thread/WARN] [FML]: Identified a problem with the mod candidate C:\Users\Jake And Nathan\Desktop\forge-1.7.2-10.12.2.1121-src\bin, ignoring this source cpw.mods.fml.common.LoaderException: java.lang.IllegalArgumentException at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:58) ~[ASMModParser.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:100) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:89) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:53) ~[DirectoryDiscoverer.class:?] at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) ~[ContainerType.class:?] at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) ~[ModCandidate.class:?] at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?] at cpw.mods.fml.common.Loader.identifyMods(Loader.java:346) [Loader.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:467) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) ~[asm-debug-all-4.1.jar:4.1] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) ~[asm-debug-all-4.1.jar:4.1] at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:52) ~[ASMModParser.class:?] ... 20 more [18:12:57] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [18:12:59] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load [18:12:59] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge [18:12:59] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [18:12:59] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [18:12:59] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [18:12:59] [Client thread/INFO] [FML]: Applying holder lookups [18:12:59] [Client thread/INFO] [FML]: Holder lookups applied Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [18:13:00] [sound Library Loader/INFO]: Sound engine started [18:13:01] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [18:13:01] [Client thread/INFO]: Created: 256x256 textures/items-atlas [18:13:01] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods [18:13:01] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge [18:13:02] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [18:13:02] [Client thread/INFO]: Created: 256x256 textures/items-atlas SoundSystem shutting down... Author: Paul Lamb, www.paulscode.com Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [18:13:02] [sound Library Loader/INFO]: Sound engine started [18:13:03] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms [18:13:08] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [18:13:18] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [18:13:23] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [18:13:26] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [18:13:26] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [18:13:27] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press
-
[1.7.2] Probably A Nooby Biome Question!
yanksrock1019 replied to drok0920's topic in Modder Support
I'm not seeing any lists in BiomeManager -
[1.7.2] Probably A Nooby Biome Question!
yanksrock1019 replied to drok0920's topic in Modder Support
How do you do that? -
Potion Effect on Armor with custom enchantment
yanksrock1019 replied to yanksrock1019's topic in Modder Support
Yup, that did it. Thanks guys! -
Potion Effect on Armor with custom enchantment
yanksrock1019 replied to yanksrock1019's topic in Modder Support
Its not? -
Potion Effect on Armor with custom enchantment
yanksrock1019 replied to yanksrock1019's topic in Modder Support
*bump -
Potion Effect on Armor with custom enchantment
yanksrock1019 replied to yanksrock1019's topic in Modder Support
*bump -
Potion Effect on Armor with custom enchantment
yanksrock1019 replied to yanksrock1019's topic in Modder Support
Like this? FMLCommonHandler.instance().bus().register(new ServerTickHandler(Minecraft.getMinecraft()));