• 0

    posted a message on Snapshot 12w15a Videos
    I tried watching these videos because I was genuinely interested in what the changes were but I could not finish either one. The constant jumping and moving around in this sort of video is just incredibly annoying.
    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on [1.2.4] Sprint Key
    I have been away from modding and the forums for awhile. I decided to jump back in with a fairly easy mod. I chose a feature often requested buy Guude in his YouTube videos.

    This mod will add a sprint key to the control options to allow you to toggle sprint on without having to double tap forward.

    The default key binding is "F" but can be configured in the control options menu.

    To install just copy all files into the minecraft.jar and delete META.INF as usual.

    Modloader is not required but should still be compatible as there are no shared classes.

    This will work on single and multiplayer all normal sprinting conditions still apply.

    Posted in: Minecraft Mods
  • 0

    posted a message on Help!
    Quote from GeorgeNippleton

    Ok, so a couple days ago my PC was fine, able to run Killing floor, TF2, and minecraft all on best grahpics, but since yesterday my pc was slow. the windows are laggy always. when i drag the window around my screen i get major mouse lag and i can even run a simple youtube video on 720p fullscreen anymore, it will just be really laggy and run at about 5-10fps. Does anyone know whats happening to my pc? I have windows 7.

    Sounds like.

    1. A Virus
    2. Something got updated or corrupted.
    3. A bad cooling fan on the CPU or Video Card.
    4. A bad video card.

    There really are to many things this could be. You could check in the event viewer to see if there are any errors. or alerts that are not normal.
    Posted in: Computer Science and Technology
  • 0

    posted a message on Just looking for some Minecraft buddy's
    I am interested in finding a few people to play minecraft with. I would like to coop some of the Vech's and other Survival maps with a few people.

    I would also like to find individuals that are interested in making maps. I have a few ideas I just need some help accomplishing them.

    I am able to host a server if needed. I have been able to host 4 people with no lag, haven't tried more than that. I would also be willing to pitch in to rent a server or manage a donation based server in the future. I prefer to run a vanilla server with the most up to date version. I have used bukkit for creative builds when mods like worldedit are needed.

    I do some modding when I have time if you are interested in modding or also do modding for minecraft that would be great. I am working on some projects and would be willing to collaborate or i can assist with your mod projects as well. I have worked with most programming and scripting languages. I have also modded for other games in the past.

    I am an adult in my 30's. I have a wife and kid and a full time job. I sneak gaming time in when I can. I have no problem playing with younger individuals but some level of maturity is a must.

    I do have a youtube channel. It does not currently host any public videos but I would like to give the whole let's play thing a try. I am able to record and upload videos in HD quality I have a few test videos I have uploaded and the quality is excellent. I would also be willing to be a camera man on occasion if you need one for a series you may be doing. I am considering a coop let's play I would like to do it with at least 2 other people. I want to make sure our play styles go together well. It is preferable that you are also able of recording Minecraft in at least 720p and able to compress the video to manageable size with little quality loss.

    I would like to join or start a race for the wool team/league. I would need to do some testing to see if my server can handle 8 people at a time but if so I could also host races.

    I play mostly during 8-10pm US Central time (UTC-06) throughout the week and occasionally during the day on weekends. I play other games as well. Currently I share my time between Minecraft, WoW, Terraria, Team Fortress 2, Deadrising 2, and Starcraft 2.

    If I decide to do a coop lets play I can probably host a Voice server of some kind. Vent/Mumble. Apparently a lot of people use skype. I have never touched it but I can give it a try.

    If you are like minded send me a message we can work out the details.
    Posted in: Video/Series Help
  • 0

    posted a message on Modding A Custom Workbench?
    Quote from Reinrex

    Wow, Its been so long but nothing ):

    Flan really isn't doing anything Special with his crafting table. A few key points.

    He changed the size of the array in the Minecraft ShapedRecipes class to fit his 3x5 table. everything else is basically the same as the default crafting bench again adjusted for 3x5.

    Technically just looking at the code I do not see any reason why you couldn't craft normal items on his bench. I could be wrong but i didn't see anything preventing it. I haven't used the mod so i don't know if it is possible.

    A Crafting table involves The actual Container, A Gui, Possible custom Slots, and Depending on how you change it, you may have to rework the recipes classes.

    I can't give any details as i have no first hand experience with a custom table. but i hope these observations from flan's code help you in the right direction. If you haven't done so you could always look over his code to see what it is doing. Flan does some interesting things in his mods. They are great learning tools.
    Posted in: Mods Discussion
  • 0

    posted a message on Searching Mod
    Quote from NoLiveNoPain

    Hey guys im searching for a mod that offers you levels in minecraft 1.8.1 :smile.gif: what i mean by this is...

    - Getting levels
    - Getting skills
    - Upgrading things.... etc...

    or maybe the mod that sly is using here :smile.gif: with the levels not the kingdom one ... he is 1.8.1 and has levels exactly like 1.9 :smile.gif: thank you

    just search the forums took me 10 seconds. http://www.minecraftforum.net/topic/666507-181-level-up-rpg-skills-more-update-v152/
    Posted in: Mods Discussion
  • 0

    posted a message on please help

    so i get 2 errors and im not sure what they are

    == MCP v4.4 ==
    > Recompiling client...
    "C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -g -source 1.6 -target 1.6 -class
    path "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;j
    ars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft
    \net\minecraft\client\*.java src/minecraft\net\minecraft\isom\*.java src/minecra
    ft\net\minecraft\src\*.java conf/patches/*.java failed.
    Return code : 1

    == ERRORS FOUND ==

    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_Carrot.java:5: error: <identifier> expected
    public static final BlockCarrot = new BlockCarrot(700, 0).setBlockName("Carrot")

    src\minecraft\net\minecraft\src\mod_Carrot.java:6: error: <identifier> expected
    public static final ItemSeed1 = new ItemSeed1(750, mod_Carrot.Crop.blockID).setI

    2 errors
    1 warning

    > Done in 2.61 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .

    any help would be great

    have you created classes for BlockCarrot and ItemSeed1 ?

    It is trying to create instances of these classes but is not able to find them.

    you should have a class file for your new block and for your new item. You could probably test it buy changing BlockCarrot to something already in the game like BlockFlower to see if at least one error goes away.
    Posted in: Mods Discussion
  • 0

    posted a message on Strange Error
    Quote from Rainfur

    I'm getting this runtime error:
    Mods loaded: 4
    ModLoader Beta 1.8.1
    net.minecraft.src.mod_Partyhats 1.8.1
    net.minecraft.src.mod_SurvivorNPC 1.8.1
    net.minecraft.src.mod_VideoCraft 1.8.1

    Minecraft has crashed!

    Minecraft has stopped running because it encountered a problem.

    If you wish to report this, please copy this entire text and email it to.
    Please include a description of what you did when the error occured.

    --- BEGIN ERROR REPORT f5ec4dea --------
    Generated 11/5/11 7:02 PM

    Minecraft: Minecraft Beta 1.8.1
    OS: Windows Vista (x86) version 6.0
    Java: 1.6.0_29, Sun Microsystems Inc.
    VM: Java HotSpotâ„¢ Client VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: Intel 945GM version 1.4.0 - Build, Intel

    java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
    at com.xuggle.ferry.JNIMemoryManager.<init>(JNIMemoryManager.java:861)
    at com.xuggle.ferry.JNIMemoryManager.<clinit>(JNIMemoryManager.java:860)
    at com.xuggle.mediatool.MediaWriter.<clinit>(MediaWriter.java:119)
    at com.xuggle.mediatool.ToolFactory.makeWriter(ToolFactory.java:149)
    at net.minecraft.src.mod_VideoCraft.startRecording(mod_VideoCraft.java:189)
    at net.minecraft.src.mod_VideoCraft.KeyboardEvent(mod_VideoCraft.java:161)
    at net.minecraft.src.ModLoader.OnTick(ModLoader.java:930)
    at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:24)
    at net.minecraft.client.Minecraft.run(Minecraft.java:517)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 10 more
    --- END ERROR REPORT 6b39a314 ----------

    Here's my code:

    package net.minecraft.src;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.nio.ByteBuffer;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.concurrent.TimeUnit;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.Line;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.Mixer;
    import javax.sound.sampled.Mixer.Info;
    import javax.sound.sampled.TargetDataLine;
    import net.minecraft.client.Minecraft;
    import org.lwjgl.BufferUtils;
    import org.lwjgl.input.Keyboard;
    import org.lwjgl.opengl.GL11;
    import com.xuggle.mediatool.IMediaWriter;
    import com.xuggle.mediatool.ToolFactory;
    import com.xuggle.xuggler.IPacket;
    import com.xuggle.xuggler.IPixelFormat.Type;
    import com.xuggle.xuggler.video.ConverterFactory;
    public class mod_VideoCraft extends BaseMod {
       // The video file directory
       private File videoLocation;   
       // The resulting video file
       private File videoFile;
       // For image acquisition
        private ByteBuffer buffer;
        private byte pixelData[];
        private int imageData[];   
        final int width;
        final int height; 	
        // For audio recording
        private Mixer mixer;
        private PfaeffModAudioRecorder recorder;
        private boolean soundAvailable;
        private long startTime;
        private boolean running;
        private IMediaWriter writer;
     	* Video parameters
        final int videoStreamIndex = 0;
        final int videoStreamId = 0;
        final long frameRate = 25;    
     	* Audio parameters
        final int audioStreamIndex = 1;
        final int audioStreamId = 0;   
        final int channelCount = 2;
        final int sampleRate = 44100;
        final AudioFormat audioFormat = new AudioFormat(sampleRate, 16, channelCount, true, false);
       static {
          String xuggleDir = System.getenv("XUGGLE_HOME");
          File xuggleJar = new File(xuggleDir, "share/java/jars/xuggle-xuggler.jar");
          File xuggleBin = new File(xuggleDir, "bin");
       try {
          } catch(Exception e) {
       //   try {
       //   System.out.println(xuggleJar);
       //   } catch(MalformedURLException e) {
       //      e.printStackTrace();
       //   } 
       //   try {
          //   System.out.println(xuggleJar);
       //   } catch(IOException ex) {
       //   ex.printStackTrace();
          //   }
       public mod_VideoCraft() {
          ModLoader.RegisterKey(this, new KeyBinding("key.capturevideo", Keyboard.KEY_F4), false);
          // Create videos directory
          Minecraft mc = ModLoader.getMinecraftInstance();      
          videoLocation = new File(Minecraft.getMinecraftDir(), "videos");
          // Minecraft window size
          width = mc.displayWidth;
          height = mc.displayHeight;
          running = false;
          // Find correct audio mixer
          mixer = getStereoMix();
          ModLoader.SetInGameHook(this, true, true);
        * Returns an array with all available audio mixers supporting a specific line
        * @return
       public static Info[] getMixersSupportingLine(Class<?> line) {
          Info[] mixerInfos = AudioSystem.getMixerInfo();
          Line.Info lineInfo = new Line.Info(line);
          ArrayList<Info> result = new ArrayList<Info>();   	
          for (int i=0; i< mixerInfos.length; i++) {
     		Mixer mixer = AudioSystem.getMixer(mixerInfos);
     		if (mixer.isLineSupported(lineInfo)) {
          return result.toArray(new Info[result.size()]);      
        * Returns the stereomix
        * TODO: improve
       private Mixer getStereoMix() {
          Info[] infos = getMixersSupportingLine(TargetDataLine.class);
          int sm_index = -1;
          String cName = "";
          for (int i = 0; i < infos.length; i++) {
     		cName = infos.getName().toLowerCase();
     		if (cName.startsWith("stereomix") || cName.startsWith("stereo mix")) {
                sm_index = i;
          if (sm_index == -1) {
     		return null;
          return AudioSystem.getMixer(infos[sm_index]); 		
       public void KeyboardEvent(KeyBinding keybinding) {
          if (keybinding.keyCode == Keyboard.KEY_F4) {
     		if (running) {
     		} else {
        * Creates a new video file
       private File createNewVideoFile() {
          String filename = (new SimpleDateFormat("yyyy-MM-dd_HH.mm.ss")).format(new Date()) + ".mp4";
          return new File(videoLocation, filename);
        * Start video recording   
       private void startRecording() {      
          Minecraft mc = ModLoader.getMinecraftInstance();
          mc.theWorld.playSoundAtEntity(mc.thePlayer, "mob.chickenplop", 1.0f, 1.0f);
          /*for (ICodec codec : ICodec.getInstalledCodecs()) {
          videoFile = createNewVideoFile();
          writer = ToolFactory.makeWriter(videoFile.getAbsolutePath());   
          writer.addVideoStream(videoStreamIndex, videoStreamId, width, height);    
          writer.addAudioStream(audioStreamIndex, audioStreamId, channelCount, sampleRate);
          recorder = new PfaeffModAudioRecorder(audioFormat, mixer);
          soundAvailable = true;
          try {
          } catch (LineUnavailableException e) {
     		soundAvailable = false;
          running = true;
          startTime = System.nanoTime();
          // Print text
       //   Minecraft mc = ModLoader.getMinecraftInstance();
       //   mc.ingameGUI.addChatMessage("Video recording started!");
        * End video recording
       private void endRecording() {
          running = false;
          // Print text
          Minecraft mc = ModLoader.getMinecraftInstance();
          mc.ingameGUI.addChatMessage("Saved video as " + videoFile.getName());   
       public boolean OnTickInGame(Minecraft mc) {
          if (running) {
     		// Get video data
     		BufferedImage frame = takeScreenShot(width, height);
     		ConverterFactory.createConverter(frame, Type.YUV420P);
     		long nanoTs = System.nanoTime() - startTime;
     		// Write video to stream
     		writer.encodeVideo(videoStreamIndex, frame, nanoTs,   TimeUnit.NANOSECONDS);
     		// Write audio to stream
     		if (soundAvailable) {
                short[] audioFrame = recorder.getAudioFrame();
                if (audioFrame != null) {
           		writer.encodeAudio(audioStreamIndex, audioFrame, nanoTs, TimeUnit.NANOSECONDS);
          return true;

    While I have nothing about LoggerFactory, makeWriter calles LoggerFactory.

    Here's the docs for Xuggle:

    public static IMediaWriter makeWriter(String url)Create a MediaWriter which will require subsequent calls to IMediaWriter.addVideoStream(int, int, ICodec, int, int) and/orIMediaWriter.addAudioStream(int, int, ICodec, int, int) to configure the writer. Streams may be added or further configured as needed until the first attempt to write data.

    Parameters:url - the url or filename of the media destination

    I did not see any references to LoggerFactory in the Xuggle source. You could always add loggerfactory to your build path. http://slf4j.org/download.html You should be able to track links back to your source that way. to find the source of the problem as I do not see any issues with the source you posted.

    Nice project BTW, If you can get decent FPS from the output this would be awesome.
    Posted in: Mods Discussion
  • 0

    posted a message on Single Player commands
    Quote from SherClarkson

    I was wondering if anyone could give an easy tutorial on how to download mods like singleplayer commands and buildcraft, mods and such. if you know a download or an easy way of doing so please reply :smile.gif:

    you could google "single player commands install" or even type it in to youtube. most mods even have a tutorial on there thread so if you search the forums for the mod you want you should be able to find all the instructions you need.
    Posted in: Mods Discussion
  • 0

    posted a message on Help with Millenaire
    Quote from HornedPiggy

    I was installing Millenaire today and luckily it didn't crash minecraft. But when I started playing it said, "startup.loadproblem" and "startup.checkload" I followed everything I was supposed to. What happened bros?

    You are not giving us nearly enough detail on the error.
    Posted in: Mods Discussion
  • 1

    posted a message on [solved]How to detect if it is raining using code?
    Quote from DreadKyller

    Very clever.


    Yeah it is similar to the same code that renders the rain fx
    Posted in: Mods Discussion
  • 0

    posted a message on Help!
    Quote from nanu2000

    it is not working whenever i try running eclips it shows this,

    help any one?

    You need to extract eclipse from the zip file before you run the program. you are trying to run from a temp environment due to it not being unzipped.

    Posted in: Mods Discussion
  • 1

    posted a message on Coding help
    Quote from alexk245

    Anyone know the function to get distance from a block to an entity?

    Not sure if there is already a helper function anywhere but this should get you what you want.

    distance(entityX, entityY, blockX, blockY)
    dx   = entityX - blockX; 		//horizontal difference  
    dy   = entityY - blockY; 		//vertical difference  
    dist = Math.sqrt( dx*dx + dy*dy ); //distance using Pythagoras theorem  
    return dist;
    Posted in: Mods Discussion
  • 1

    posted a message on [solved]How to detect if it is raining using code?
    Quote from budwise

    it would be nicer to get if it is raining on the block but for now i can deal with it working anywhere. although the only thing i need to do too get make it look as if it is detecting rain on the block is too see if the block can see sky. then if it rains the rain will come all the way to the block and activate it. if it is under something and cant see sky then it will not activate if it is raining.

    To check if it is actually raining for a block you would need something like this.

    if(world.isRaining() && world.getWorldChunkManager().getBiomeGenAt(j, k).canSpawnLightningBolt())

    Were j,k are your Coords.

    Basically it checks if a lightning bolt can be spawned at that block. if so it also means it can rain on that block. If isRaining is true any block that can spawn a lightingbolt in the loaded world will also have rain hitting it. ;-)
    Posted in: Mods Discussion
  • 0

    posted a message on Just a question
    Quote from RobinZ52

    The ambition, I guess.

    I would say this is number one. I remember Learning C++ making Quake 3 mods back in the day with only very little BASIC and some pascal knowledge. It was frustratingly difficult but i managed to get a few mods out and in the process taught myself C and since then picking up any other language has been a walk in the park. This was all before you could find tutorials on just about any language all over the internet. While most people will eventually burn out because it is difficult and they realize that the forum members won't write your code for you, and they are not willing to try to find the answer on there own. There are a few that will gain a great deal of knowledge and will go on to do great things.

    Also remember that a lot of these people attempting to program for there first time are under 18. They may not know anyone that does programming. I know my parents could not have helped me when i started. These people need guidance and we should help them. Not just by directing them to relevant tutorials but buy also teaching them how to search for the information themselves. Even though it is the internet does not mean that the Golden Rule is out the window. Young people need to learn that lesson as well.

    Instead of saying find it yourself noob.

    You really should be telling them at least how you found the answer. Not everyone knows what a javadoc is or how to use an sdk in general. Not all books and tutorials are usefull. I have read dozens of books on java and I really couldn't suggest but one.

    Just remember you are just as big of jerk in the eyes of the person asking the question when you comment "Learn to program noob" as you think they are for asking the question in the first place.

    If you can't say anything useful, don't say anything at all.

    There I think I have covered most of life's major lessons, In one post. I forum is a community some times everyone needs to step back and remember that. We are here to learn from each other.
    Posted in: Mods Discussion
  • To post a comment, please or register a new account.