Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited


  • Gender
  • Personal Text
    I am new!

f1rSt1kChannel's Achievements

Creeper Killer

Creeper Killer (4/8)



  1. 1.8 is necessary, rather than 1.7. Thank you so much!
  2. I understand. But it is impossible to fix it.
  3. There all private variables, I'll get them?
  4. Okay. I need to replace the standard chat (GuiNewChat) on your own. How can I make it better?
  5. I need to get every tick field + override a private method of the super class.
  6. How to get a private field using acces transformer?
  7. OMG, ti daje ne pereopredilil metodi... Ny tebe je pomogli na mcmodding, nah suda pista'?
  8. Sorry, i'm use google translate. How to use the external library with my mod? Javassist, for example.
  9. How to use the external library with my mod? Javassist, for example.
  10. public static void increaseArray(Class<?> clazz, int length, String... args){ Object[] oldArray = null; for(Field field : clazz.getDeclaredFields()){ try{ for(String s : args){ if(field.getName().equals(s)){ field.setAccessible(true); if(Modifier.isFinal(field.getModifiers())){ Field modfield = Field.class.getDeclaredField("modifiers"); modfield.setAccessible(true); modfield.setInt(field, field.getModifiers() & ~Modifier.FINAL); } oldArray = (Object[])field.get(null); Object newArray = Array.newInstance(field.get(null).getClass().getComponentType(), length); System.arraycopy(oldArray, 0, newArray, 0, oldArray.length); field.set(null, newArray); } } }catch(ReflectiveOperationException e){ e.printStackTrace(); } } } And call in your main class: increaseArray(Potion.class, 256, "potionTypes", "obfName");
  11. Change mode Mine & Blade: BattleGear 2. Remove button from the inventory and add new slots. And many other things. Please, just tell me how to make a patch file.
  12. We need to do some of the fields of public and change some of the conditions.
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.