• 1

    posted a message on Just another Autofish mod

    This is just another AutoFish mod , it works just like the Autofish Mod by troyboy50.

    But the different thing is the way to check whether player caught fish or not.

    This mod try to listen when game play a "fish caught sound".

    When minecraft play the sound named "entity.bobber.splash" it will pull the fish rod back.

    ( see Minecraft wiki :Sound.json )

    So, basiclly it won't miss any chance to get fish.

    This mod is called "Autofishd " to avoid mod name conflict with troyboy50's Autofish mod.

    I've also made Autofish with Meddle Mod loader. It's all the same concept.( by listen sound event)


    This mod require Liteloader , please download and install Liteloader.

    Once you install liteloader , just download this mod and put into the mods/ folder in your minecraft game folder.


    Download link : Mediafire


    This mod use the option panel that provided by liteloader.

    Just press "Esc" in game and pull out the liteloader panel.

    You will find the setting button under "AutoFish" mod.


    If you are playing in multi-player world and someone is fishing nearby, you have to turn on the "Check Distance" in option panel.

    It's because minecraft will also play the same sound effect when that guy caught a fish, this will make this mod pull your fishing rod back.

    When enable "Check Distance" , this mod will check the position "where the sound was played" and "where your fish hook is".

    If the distance between them is large than 1.7 (you can modify this value), this mod will consider it's not you caught a fish.

    If you want to change the value "1.7" , you can enable "Show Distance" option to see the distance between them.

    Posted in: Minecraft Mods
  • 1

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    Sorry for that. I've update AutoFish mod for meddle to 1.9.4. But I forget to upload files...
    I've uploaded AutoFish meddle version for MC 1.9.4. Just go to the Mediafire share folder and download it.

    You need update dynamicMappings to build 024 and ClientEventAPI to 1.3
    Posted in: Minecraft Mods
  • 0

    posted a message on AutoFish - Meddle Mod version

    Update to Minecraft 1.9.4

    You also need : dynamicMapping 024 , ClientEventAPI 1.3

    NOTE : AutoFish v1.0 ~ v1.1 is for MC 1.9.2 , since v1.2 I will add MC version in file name

    I've made a AutoFish mod works just like Forge version and Liteloader of AutoFish mod.

    But this mod is for Meddle mod loader version and support Minecraft 1.9.2 ~ 1.9.4 .

    This mod use "Sound Event" to check whether you caught fish (trash , treasure..) or not.

    So, basiclly it won't miss any chance.

    But if you are using this mod in multi-player and someone is fishing nearby, you have to turn "CheckDistance" on.

    Because if someone is fishing nearby , minecraft will also play caught fish sound to you when he caught fish.

    So , you have to check the location between sound played and your fishing hook.

    If the distance is large than 1.7 ( this is just an average value , you can change this value in config file ) , this mod

    will consider it's not your fishing rod and won't pull your fishing rod.

    First thanks to FyberOptic create Meddle Mod loader

    To use this mod you have to install Meddle mod loader and 3 dependence.

    See the installation guide below :

    Install mod loader and dependence :

    This mod requires the Meddle mod loader , DynamicMappings and MeddleAPI mods.

    First , install Meddle mod loader. ( see FyberOptic's thread. )
    After that run Minecraft once and you will see a folder named "meddle".

    Put DynamicMappings and MeddleAPI jar file into meddle folder

    This mod require :

    • AutoFish v1.1- => DynamicMappings 023 ( for Minecraft 1.9.2 )
    • AutoFish v1.2 => DynamicMappings 024 ( for Minecraft 1.9.4 )
    • MeddleAPI v1.0.6

    And also require ClientEvenAPI.jar , you have to put this jar file in meddle folder too.

    This is also a meddle mod I made. Provides some common client event API.

    • ClientEventAPI v1.2 --- for Minecraft 1.9.2
    • ClientEventAPI v1.3 --- for Minecraft 1.9.4

    Install AutoFish mod for Meddle :

    Download AutoFish mod jar file and just put into meddle folder

    Configuration :

    This mod doesn't provide configuration GUI , you have to edit config file directly.

    Config file is located at YourMinecraftDir/meddle/config/autofish_darkk6.cfg

    Open with text editor and change the values you want.

    After save the file, you don't need restart minecraft.

    Just hold fishing rod ( in main hand ) and use it ( right click ). The configuration will reload and take effect immediately.

    Download :

    Download ClientEventAPI and AutoFish mod for Meddle here : Mediafire shared folder

    Zip file contains mod jar file and ChangeLog.txt

    Posted in: Minecraft Mods
  • 0

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    Hi , I found the reason why this error happen.
    I think is because in the "Util" class I've used
    "TextComponentString" ( net.minecraft.util.text.TextComponentString )
    this is 1.9 only class ( replace for 1.8.x like "IChatComponent" classes)

    "Maybe" dynamicmapping can not resolve this class name so may cause this error.

    So, my problem is changed to :

    Can I write mapping file myself ?
    How should I do ?

    By the way, in MeddleAPI , MeddleClient.IDisplayGui has a method :

    public abstract void onOpenGui(EntityPlayerSP player, String guiID, IChatComponent displayName, int i);

    but IChatComponent is no longer existed in 1.9 , now is "ITextComponent" ( in net.minecraft.util.text )
    Could I fork source code from MeddleAPI git and fix it myself ?
    Thank you!

    Posted in: Minecraft Mods
  • 0

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods
    Quote from RosalinaFan573»

    Are you sure you were using IntelliJ or Eclipse? Both can help you resolve errors.

    EDIT: Try importing Util and see what happens. Did you use Greddle?

    EDIT2: Try changing "tw/mymod/Util" to "tw.mymod.Util". That could've been the problem.

    I am using eclipse , the problem is not compile time.

    "Ltw/mymod/Util;" is class signature in jvm.

    I am using Util ( tw.mymod.Util ) to call that method.

    So I think the problem is runtime.

    But I don't know why Util.class is not loaded by java.

    Meddle is a good lib, but currently no documention for develope,
    so I decide to ask the author here.

    Anyway, thanks for your reply! :D
    Posted in: Minecraft Mods
  • 0

    posted a message on Meddle - Minecraft TweakClass Mod Loader + 1.9/1.10/1.11 snapshot mods

    Hi , I have a question for develope mod by using Meddle.

    File structure:

     |- META-INF/
     |  |- MANIFEST.MF
     |- tw/
     | |- mymod/
     | | |- MainMod.class
     | | |- Util.class

    In MainMod.class I have declared meddlemod annotation:

    @MeddleMod(id="...", name="...", version="...", author="..")

    and I have code in MainMod.class :

    public void init(){
    MeddleClient.registerKeyBindStateHandler(new MeddleClient.IKeyBindingState(){
    public void onsetKeyBindState(int keycode, boolean state, KeyBinding keybinding){
    if ((keycode == 199) && (state) && (keybinding == null)) {

    The problem is when I press the key(199=HOME), Minecraft crashed with ClassDefNotFoundError "Ltw/mymod/Util;"
    Seems Util.class is not loaded ?

    Full stack trace : http://pastie.org/10813138

    How can I solve this problem ? Thanks!

    DynamicMapping and MeddleAPI are already installed.

    BTW , in MANIFEST.MF I have :
    MeddleAPI-Mods: tw.mymod.MainMod

    Posted in: Minecraft Mods
  • 0

    posted a message on Village Info


    But I have a question.

    Is this mod support vanilla server ?

    for example, I install this mod at client side.

    And I join a vanilla server ( like realms ) , can this mod work fine ?

    Thank you!

    Posted in: Minecraft Mods
  • 0

    posted a message on Logic Gates

    Bug report :
    Ender Eye-fi seems will change locked-repeater behavior.

    See attachment , in this system when pressing the button the repeater will be locked
    and the redstone lamp will alsways light.

    But after use Ender Eye-fi , the repeater can not be locked.
    Resstone lamp will turned off when button singals is finished.

    Posted in: Minecraft Mods
  • 0

    posted a message on Grappling Hook Mod
    Quote from Yyon»

    Sorry, just 1.8 and 1.7.10 right now. I had a problem setting up gradle forge for 1.8.8, and I just started school, so it might be awhile until it's ported.

    This is a great mod!
    Moving controls is very make sense and easy to use.

    What problem do you meet when setting up gradle forge for 1.8.8 ?

    Maybe we can discuss about that ( I am just a very new modd developer )

    I have read the code in github. (that is v5 right ?)

    To update to 1.8.8 , seems need change few things:

    1.8 => 1.8.8 ( 1.8.8 forge I am using snapshot_20151211 mapping file , that is NOT default. )

    => gameRules.getString(string)

    => this.field_177083_e.func_181564_a(this.func_177082_d(entity),ItemCameraTransforms.TransformType.NONE)

    => worldrenderer.begin(3,DefaultVertexFormats.POSITION);
    /* the following code is addVertex , use POSITION
    if he following code is addVertexWithUV , use POSITION_TEX */

    => worldrenderer.pos(x,y,z).endVertex();

    [ This one I am not sure , but it work ]
    => worldrenderer.putColorRGBA(
    (rgb & 0xFF0000) >>> 16 ,
    rgb & 0x00FF00) >>> 8,
    (rgb & 0x0000FF) ,

    Posted in: Minecraft Mods
  • 0

    posted a message on Logic Gates

    Hi , I've tested v0.7.1, it's works great.

    I have a small suggestion about the casters.

    Casters have EE , ER and RE version.

    ER => Receive Ender signals , convert and sent red stone signals.
    RE => Receive red stone signals , convert and sent ender signals.

    but the problem is how can I know this side is for receive or for send when I just look at them?
    I mean , the receive side and send side looks the same. Could you make them looks a little different ?

    As attachment, the casters are ( left to right ) :
    RE - send side face the re-repeater (with a lever)
    EE - send side face the re-repeater (with a lever)

    but they are looks the same :D

    Posted in: Minecraft Mods
  • 0

    posted a message on Logic Gates

    Awesome! So we can use Casters to send signals vertically ?

    Thank you!!

    Posted in: Minecraft Mods
  • 0

    posted a message on Logic Gates

    Thank for your replay!!

    Unfortunately, there is a problem with the link and I am unable to view the photo.

    Oh , that is the same photo with attachment.

    Really a great mod ,I'm looking forward to see the new features ( like send signals vertically ) , and for 1.8.8 :D

    Posted in: Minecraft Mods
  • 0

    posted a message on Logic Gates

    A small problem when using in 1.8.8 :

    Posted in: Minecraft Mods
  • 0

    posted a message on Logic Gates

    Awesome! Very great idea.

    May I ask a question ?

    Ender signal can send up to 15 block, no matter how many "Reciver" ?

    Until signal is turned away or a ender repeater locked ?

    Example :

    Top : Ender signal is turned away.

    Middle : signal can provide all repeater signals.

    Bottom : Ender signal locked a ender repeater.

    By the way :

     As I know , update to 1.8.8 only need change "isProvidingWeakPower" to "getWeakPower"

     But the texture will make some block disappear.

    Posted in: Minecraft Mods
  • 0

    posted a message on Always show NetHandlerLoginClient ClassCastException after I use transformer (coremod)
    Quote from DrunkMafia»

    The reason you are getting the casting exception is because the bytecode you are injecting is referencing an un-obfuscated name of a class in an obfuscated environment, the line in which I speak of is the following:

    toInject.add(new MethodInsnNode(Opcodes.INVOKEVIRTUAL, "net/minecraft/client/gui/GuiScreen", "toString", "()Ljava/lang/String;", false));

    This is will be what is causing the exception when the method is invoked. To fix this you simply need to check if the environment is obfuscated(Which you are already doing for other class names) and then simply pass in the correct name.

    Oh! I forget it! Thank you!
    So if the code I injected caused exception , will throws this error(Exception).

    An I finally decided to write a Helper class then change my inject code to :

    toInject.add(new VarInsnNode(Opcodes.ALOAD, 0));
    toInject.add(new VarInsnNode(Opcodes.ALOAD, 2));
    toInject.add(new MethodInsnNode(Opcodes.INVOKESTATIC, "tw/darkk6/mcmod/MyHelper", "injectMethod", "(Lnet/minecraft/client/network/NetHandlerPlayClient;[Ljava/lang/String;)V", false));

    In this way I can do what I want faster.

    Thank you!!
    Posted in: Modification Development
  • To post a comment, please .