• 1

    posted a message on Mods & World Guard
    If you're trying to use WorldGuard for this, your best option I think is to use this method to see if there are any regions set for this location and if so, what flags are applied to it.
    Posted in: Modification Development
  • 1

    posted a message on Crash on start up
        ClassNotFoundException: ZombieAwareness.ZombieAwareness
    Posted in: Modification Development
  • 1

    posted a message on [SOLVED] How would I be able to perform functions before mods load?
    FML doesn't actually use Reflection (for mod initialization at least). FML uses the same (or at least very close to the same) style of EventBus that is used for Forge and FML in-game events to initialize mods, by posting the Event to the bus when "Distributing State Messages" to the ObjectHolders it collected. FML records all Annotations using a Mod ClassVisitor that records the information everytime the ASM class visitor visits an annotation. FML then references this data when distributing Events. The event bus then utilizes the INVOKEDYNAMIC opcode (I am fairly certain) to dynamically construct and call all methods that qualify for receiving the event based on their annotation data and their method parameters. The only part of the mod-loading process in FML that I can think of that uses Reflection is that actual initial construction of the mod class itself, but the distribution of the method calls does not utilize reflection.
    Posted in: Modification Development
  • 1

    posted a message on Terminal Issues [Solved]
    Go to Minecraft 1.7
    Posted in: Modification Development
  • 1

    posted a message on [ALPHA] Multiplayer Commands v0.0.0.2 (30+ Commands: InstaMine, InstaKill, God Mode, and much more!)
    I forgot to register them. Whoops, haha. I reuploaded 0.0.0.2 for 1.7.10 with that fixed. I think I'm going to drop support for 1.7.2, as it's simply not worthwhile.
    Posted in: Minecraft Mods
  • 2

    posted a message on [ALPHA] Multiplayer Commands v0.0.0.2 (30+ Commands: InstaMine, InstaKill, God Mode, and much more!)
    (This thread is under construction! We apologize, but due to time constraints, proper formatting of this thread will have to wait for another day!)

    Multiplayer Commands is a mod aimed at providing command functionalities similar to those of previous Command mods, many of which have become defunct, and the many plugins that are supported by Bukkit. This mod, however, utilizes Forge to perform these commands.



    The Creators:
    Project Lead and Programmer: Ghosrec35
    Programmer: Darkhax

    It is important to note before I begin that this mod is an ALPHA. Many of the commands that are listed within the game DO NOT WORK. These commands simply have not been finished as of yet, but are currently in active development. Most commands at this moment do not typically display if they were executed successfully or not either! This will be added soon, but for the sake of releasing an alpha build to begin receiving feedback, has been delayed for the time being. The parts of this alpha that are localized are ONLY localized in English. If you wish to contribute to the localization of this mod and know how to do so, visit the Open Source Github repo below.

    A list of available and planned commands is available here.

    If you encounter any issues while using the mod, please report them on the issue tracker on github.

    Localizations (Translations):

    Do you speak a language other than English? Contribute to this mod! Interested?

    More Info:
    If you would like to help contribute to this mod, please submit translations! In order to translate, retrieve the en_US.lang file from github located here. Simply leave the values on the left side of the equal sign on each line alone, but translate the English text to your target language. Then rename to the proper locale.lang, and submit it in some way! (If you know how to use github, you can submit a pull request. If not, find some other means of submission.)
    All translators will be credited for their work. Thank you for your contribution!


    Downloads:

    By downloading Multiplayer Commands (MPC), you are agreeing to the license below.

    License:

    This mod is provided as is without any warranty. The source code for this mod is made publicly available on GitHub and is free for anyone to use for the purpose of learning, you may not compile the code of this project and include it within your own project without advanced written permission from myself, you also may not distribute modified copies of the project or parts of the project without my permission. You may not host files related to this project on your site without permission from myself.



    Modpacks:If you would like to distribute this mod in a mod pack you may do so as long as the pack meets the three requirements. If the following criteria are met you can publish your pack with out getting a direct pm for me. I have the right to change this in the future however that is not likely to happen. If you need proof of permission for this mod you may screenshot this spoiler.



    -The pack is not distributed behind an ad site such as adfly or adfoc and is not being sold or used to generate profit. Packs may sell brand name merchandise such as clothes without breaking this rule (example FTB store)



    -The pack site or page includes a public list to all of the mods within the pack as well as credit to the mod authors and links to their respective page(s). (Donations/Twitter/Patreon/Website/Forum page)



    -The pack has permission to use every mod contained within the pack.





    Minecraft Forge Download

    Multiplayer Commands Downloads:
    Minecraft 1.7.10: Version 0.0.0.2
    Minecraft 1.7.2: Version 0.0.0.2

    Minecraft 1.7.10: Version 0.0.0.1
    Minecraft 1.7.2: Version 0.0.0.1

    This mod is entirely Open Source. The source for this mod is available here.
    Posted in: Minecraft Mods
  • 2

    posted a message on [Solved]FML totally ignores my mod!
    When looking at the error again, I realized that your code was not in the package it was supposedly declared in. package com.fredtargaryen.floocraft; however, it was just at the root folder floocraft.

    Hope you aren't upset I decompiled your code, lol, but at least I found the solution.

    (Had a download to a fixed version of your jar in this post, but I was warned by a friend of mine to remove it due to the possibility of a stolen content violation. If you want it, just PM me and I'll send it to you.)

    P.S. I messed around a little to make sure everything was working. When I placed one of your FlooSigns and wrote a message, when I hit save, it threw an exception.

    Here is the stack trace:

    ---- Minecraft Crash Report ----
    // I bet Cylons wouldn't have this problem.

    Time: 7/14/14 11:51 PM
    Description: Updating screen events

    java.lang.NoSuchFieldError: INSTANCE
    at com.fredtargaryen.floocraft.tileentity.TileEntityFireplace.addLocation(TileEntityFireplace.java:64)
    at com.fredtargaryen.floocraft.client.gui.GuiFlooSign.func_146284_a(GuiFlooSign.java:93)
    at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:225)
    at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:301)
    at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1579)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:916)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835)
    at net.minecraft.client.main.Main.main(SourceFile:103)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
    at com.fredtargaryen.floocraft.tileentity.TileEntityFireplace.addLocation(TileEntityFireplace.java:64)
    at com.fredtargaryen.floocraft.client.gui.GuiFlooSign.func_146284_a(GuiFlooSign.java:93)
    at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:225)
    at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:301)
    at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)

    -- Affected screen --
    Details:
    Screen name: com.fredtargaryen.floocraft.client.gui.GuiFlooSign

    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['ghosrec35'/701, l='MpServer', x=24.55, y=71.62, z=182.38]]
    Chunk stats: MultiplayerChunkCache: 240, 240
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options:
    Level spawn location: World: (28,64,176), Chunk: (at 12,4,0 in 1,11; contains blocks 16,0,176 to 31,255,191), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 3466 game time, 3466 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: 84 total; [EntityZombie['Zombie'/1294, l='MpServer', x=6.50, y=32.00, z=203.50], EntityZombie['Zombie'/1295, l='MpServer', x=4.59, y=32.00, z=200.28], EntityZombie['Zombie'/1296, l='MpServer', x=3.44, y=32.00, z=199.31], EntityZombie['Zombie'/1297, l='MpServer', x=8.53, y=31.00, z=196.97], EntityZombie['Zombie'/1298, l='MpServer', x=3.56, y=32.00, z=200.16], EntityBat['Bat'/1043, l='MpServer', x=84.00, y=28.92, z=223.75], EntityCreeper['Creeper'/1302, l='MpServer', x=49.50, y=27.00, z=151.50], EntityEnderman['Enderman'/799, l='MpServer', x=33.50, y=31.00, z=226.50], EntityEnderman['Enderman'/800, l='MpServer', x=30.66, y=32.00, z=227.84], EntityCreeper['Creeper'/801, l='MpServer', x=30.94, y=32.00, z=228.66], EntityEnderman['Enderman'/807, l='MpServer', x=43.66, y=21.00, z=240.66], EntityZombie['Zombie'/1082, l='MpServer', x=71.50, y=32.00, z=136.50], EntitySkeleton['Skeleton'/1083, l='MpServer', x=86.84, y=60.00, z=236.50], EntityBat['Bat'/576, l='MpServer', x=-21.35, y=54.42, z=137.55], EntityBat['Bat'/578, l='MpServer', x=-27.82, y=53.64, z=136.43], EntityZombie['Zombie'/581, l='MpServer', x=-43.50, y=15.00, z=185.44], EntityPig['Pig'/838, l='MpServer', x=-55.84, y=67.00, z=134.03], EntityZombie['Zombie'/583, l='MpServer', x=-37.44, y=15.00, z=186.66], EntityBat['Bat'/1353, l='MpServer', x=87.72, y=56.39, z=133.22], EntityCreeper['Creeper'/586, l='MpServer', x=-47.28, y=15.00, z=180.91], EntityCreeper['Creeper'/587, l='MpServer', x=-41.59, y=15.00, z=187.56], EntityZombie['Zombie'/589, l='MpServer', x=-42.50, y=16.00, z=180.97], EntityCreeper['Creeper'/590, l='MpServer', x=-40.31, y=17.00, z=183.31], EntityCreeper['Creeper'/591, l='MpServer', x=-41.16, y=17.00, z=184.16], EntityBat['Bat'/592, l='MpServer', x=-31.25, y=18.10, z=192.44], EntityCreeper['Creeper'/593, l='MpServer', x=-20.00, y=27.00, z=160.47], EntityCreeper['Creeper'/594, l='MpServer', x=-28.47, y=25.00, z=156.03], EntityCreeper['Creeper'/595, l='MpServer', x=-20.50, y=27.00, z=161.50], EntitySkeleton['Skeleton'/597, l='MpServer', x=-21.50, y=31.00, z=161.50], EntitySkeleton['Skeleton'/598, l='MpServer', x=-31.50, y=17.00, z=196.50], EntityBat['Bat'/601, l='MpServer', x=-25.03, y=20.54, z=263.50], EntityHorse['Horse'/604, l='MpServer', x=-9.91, y=68.00, z=107.91], EntityBat['Bat'/605, l='MpServer', x=-15.72, y=27.00, z=206.25], EntityBat['Bat'/606, l='MpServer', x=16.52, y=24.00, z=203.56], EntityZombie['Zombie'/1376, l='MpServer', x=13.50, y=35.00, z=193.50], EntityCreeper['Creeper'/1377, l='MpServer', x=13.50, y=35.00, z=209.50], EntitySpider['Spider'/612, l='MpServer', x=10.28, y=32.56, z=184.28], EntityZombie['Zombie'/1636, l='MpServer', x=50.50, y=43.00, z=194.50], EntityBat['Bat'/613, l='MpServer', x=21.14, y=28.97, z=212.84], EntityZombie['Zombie'/1637, l='MpServer', x=50.50, y=43.00, z=193.50], EntityZombie['Zombie'/614, l='MpServer', x=13.50, y=42.00, z=208.50], EntityZombie['Zombie'/1638, l='MpServer', x=49.50, y=43.00, z=193.50], EntityItem['item.tile.sand.default'/620, l='MpServer', x=21.63, y=68.13, z=187.63], EntityBat['Bat'/621, l='MpServer', x=18.25, y=29.10, z=214.50], EntityCreeper['Creeper'/622, l='MpServer', x=32.38, y=21.00, z=252.03], EntitySkeleton['Skeleton'/1646, l='MpServer', x=-9.50, y=40.00, z=196.50], EntityCreeper['Creeper'/623, l='MpServer', x=29.75, y=21.00, z=246.00], EntityCreeper['Creeper'/625, l='MpServer', x=29.50, y=21.00, z=245.00], EntityBat['Bat'/1140, l='MpServer', x=38.59, y=60.10, z=250.25], EntityItem['item.tile.torch'/629, l='MpServer', x=36.81, y=69.13, z=216.56], EntityBat['Bat'/1141, l='MpServer', x=37.56, y=61.10, z=254.69], EntityZombie['Zombie'/630, l='MpServer', x=44.50, y=15.00, z=236.50], EntityBat['Bat'/1142, l='MpServer', x=37.53, y=58.98, z=249.00], EntityCreeper['Creeper'/631, l='MpServer', x=38.50, y=18.00, z=237.50], EntityBat['Bat'/1143, l='MpServer', x=42.25, y=60.10, z=247.75], EntityCreeper['Creeper'/633, l='MpServer', x=46.28, y=16.00, z=227.91], EntityCreeper['Creeper'/635, l='MpServer', x=43.09, y=21.00, z=239.56], EntitySpider['Spider'/641, l='MpServer', x=63.78, y=41.00, z=218.88], EntitySkeleton['Skeleton'/644, l='MpServer', x=78.31, y=37.00, z=157.31], EntitySkeleton['Skeleton'/645, l='MpServer', x=79.31, y=36.00, z=156.91], EntityBat['Bat'/652, l='MpServer', x=97.34, y=27.46, z=122.61], EntityZombie['Zombie'/653, l='MpServer', x=92.00, y=12.00, z=133.63], EntityZombie['Zombie'/658, l='MpServer', x=91.50, y=38.00, z=196.50], EntityZombie['Zombie'/916, l='MpServer', x=-20.50, y=35.00, z=218.50], EntityZombie['Zombie'/918, l='MpServer', x=80.50, y=44.00, z=104.50], EntityBat['Bat'/663, l='MpServer', x=90.45, y=38.00, z=187.75], EntityZombie['Zombie'/919, l='MpServer', x=95.94, y=46.00, z=108.47], EntitySkeleton['Skeleton'/666, l='MpServer', x=89.50, y=32.00, z=217.50], EntitySkeleton['Skeleton'/668, l='MpServer', x=90.50, y=48.00, z=222.50], EntityZombie['Zombie'/669, l='MpServer', x=86.50, y=52.00, z=223.50], EntityCreeper['Creeper'/675, l='MpServer', x=100.78, y=41.00, z=108.16], EntitySkeleton['Skeleton'/677, l='MpServer', x=96.91, y=43.00, z=122.50], EntitySkeleton['Skeleton'/679, l='MpServer', x=102.56, y=43.00, z=140.84], EntitySkeleton['Skeleton'/687, l='MpServer', x=100.50, y=21.00, z=173.50], EntitySkeleton['Skeleton'/948, l='MpServer', x=22.50, y=60.00, z=244.50], EntityZombie['Zombie'/950, l='MpServer', x=44.50, y=26.00, z=231.50], EntityZombie['Zombie'/951, l='MpServer', x=42.50, y=26.00, z=229.50], EntityClientPlayerMP['ghosrec35'/701, l='MpServer', x=24.55, y=71.62, z=182.38], EntityZombie['Zombie'/964, l='MpServer', x=-10.50, y=39.00, z=193.50], EntityCreeper['Creeper'/1228, l='MpServer', x=-24.50, y=25.00, z=160.50], EntityZombie['Zombie'/1242, l='MpServer', x=26.50, y=47.00, z=207.50], EntityZombie['Zombie'/1243, l='MpServer', x=26.50, y=47.00, z=206.50], EntitySpider['Spider'/1012, l='MpServer', x=32.63, y=21.00, z=244.72], EntityCreeper['Creeper'/1013, l='MpServer', x=30.19, y=21.00, z=248.75]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:368)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2382)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:857)
    at net.minecraft.client.main.Main.main(SourceFile:103)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    -- System Details --
    Details:
    Minecraft Version: 1.7.2
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.8.0_05, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 153449608 bytes (146 MB) / 333447168 bytes (318 MB) up to 954728448 bytes (910 MB)
    JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
    AABB Pool Size: 7 (392 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP v9.03 FML v7.2.211.1121 Minecraft Forge 10.12.2.1121 4 mods loaded, 4 mods active
    mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    FML{7.2.211.1121} [Forge Mod Loader] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    Forge{10.12.2.1121} [Minecraft Forge] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    ftfloocraft{1.7.2-0.1} [Floocraft] (Floocraft-1.7.2-0.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    Launched Version: 1.7.2-Forge10.12.2.1121
    LWJGL: 2.9.0
    OpenGL: GeForce GT 755M/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
    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: 45 (2520 bytes; 0 MB) allocated, 14 (784 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)

    Posted in: Modification Development
  • 2

    posted a message on How do I create a mod without gradle?
    It's not as if you have to actually write any of the build scripts for gradle. You cannot skip on using gradle, as it is the current system for automatically decompiling and setting up a workspace involving Forge and Minecraft. In order to setup a workspace, go to http://files.minecraftforge.net/ and download the src version for the Minecraft version you wish to modify. Extract the contents of the zip into a directory of your liking. Next, open the command line (Terminal if you're on Mac) and cd to the directory which you unzipped the forge files into. Forge utilizes the gradle wrapper so that you do not have to install gradle if you do not wish. Next, simply run the command
    gradlew setupDecompWorkspace eclipse --refresh-dependencies

    If you would like, you can also add
    --stacktrace or --info or --debug

    to the command. These are options that modify the gradle logging level, and thus will display more information should gradle have any problems. Remember to include refresh-dependencies always, as certain errors could appear in the eclipse workspace involving missing dependencies if you don't.

    Want more background info on what is happening?

    Q. What is Gradle?

    A. Gradle is a JVM-based build automation software that allows for easier automation of tedious programming tasks such as compiling a project, testing the project, forming a jar for the build, and even Distributing the project in some cases. Gradle has its own DSL (Domain-specific Language) which is essentially built on top of Groovy (a programming language for all intensive purposes in this scenario, built on top of Java). This allows for less verbosity and greater readability than the build scripts of predecessors such as Apache Ant and Apache Maven, both of which utilize an XML system for performing tasks. Gradle attempts to take the middle ground of these two tools providing such features as a dependency management system such that ANT contained and which Maven was only able to attain through Ivy integration, and build conventions such as were present in Maven while also allowing for much more flexibility. In this way, Gradle functions as a much more scaleable build system than these predecessors. This is only the tip of the Iceberg. If you would like to learn more about Gradle, visit the following sites or their provided resources: http://www.gradle.org/overview, http://www.gradle.org/documentation. If you prefer a text to read, a list is provided here. (There is even one in German should any Germans wish to read up on Gradle in their native language.) If you wish to take this route, I personally recommend "Gradle In Action." The publisher even provides a code to attain the eBook versions of the book within the front cover (or at least it did in my copy).
    Q. What does the above command do?

    A. The gradle command above specifies two tasks (or to be more exact in gradle's case "Atomic pieces of work") to be performed, and a command-line option to be used. These two tasks are setupDecompWorkspace and eclipse. These should be self explanatory as setupDecompWorkspace sets up the Minecraft workspace, along with attaching source documentation which allows you to view the source but not modify it in eclipse. The eclipse command establishes the eclipse files for the project. The refresh-dependencies command-line option simply refreshes the project dependencies.
    Q. So I made my mod, but I have no idea what to do now. How do I export it?

    A. Simply run the gradle command
    gradlew build

    while within the workspace directory. Gradle will automatically retrieve the code source within the src/main/java folder and the resources from the src/main/resources folder, compile them, perform basic tests, and then export the jar for your mod to the build/lib folder in your workspace directory.

    Q. But wait! I have more questions!

    A. Feel free to pm me if you still need help. I will attempt to help you in any way I can.
    Posted in: Modification Development
  • 1

    posted a message on While Loop causing game to freeze
    Quote from Apuppy120

    Yes.
    I just need to find an infinite loop that doesn't freeze the game.


    You're holding the game thread up in your loop. If you want an infinite loop, you'll have to run the loop on a new thread, but then you'll also have to worry about synchronization needed with concurrency.
    Posted in: Modification Development
  • 2

    posted a message on [Forge][1.6.4] Odd bug with onBlockActivated
    It happens on both the server and client side, thus why the messages are repeated. world.isRemote holds the boolean value for whether the current side is the client or the server. The issue most likely resides in that the information is being kept on the "Server" side, and then is reset when you exit on the client side, so the server saves the player's information but the client does not. (Or this is backwards, and the internal server is restarting and the client itself keeps the updated values). This is the reasoning I have at least.
    Posted in: Modification Development
  • To post a comment, please .