-
Help with compiling mod
1.8 is necessary, rather than 1.7. Thank you so much!
-
Help with compiling mod
I understand. But it is impossible to fix it.
- Help with compiling mod
-
Get private field
There all private variables, I'll get them?
-
Get private field
Okay. I need to replace the standard chat (GuiNewChat) on your own. How can I make it better?
-
Get private field
I need to get every tick field + override a private method of the super class.
-
Get private field
How to get a private field using acces transformer?
-
[1.8] Updating Tile Entities???
Look TileEntityFurnace.
-
[1.7.10][API] Interaction with pipes BuildCraft
Sorry
-
[1.7.10][API] Interaction with pipes BuildCraft
OMG, ti daje ne pereopredilil metodi... Ny tebe je pomogli na mcmodding, nah suda pista'?
-
How to use the external library with my mod?
Sorry, i'm use google translate. How to use the external library with my mod? Javassist, for example.
-
How to use the external library with my mod?
How to use the external library with my mod? Javassist, for example.
-
[1.7.10] Potion IDs
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");
-
*.patch files
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.
-
*.patch files
We need to do some of the fields of public and change some of the conditions.
IPS spam blocked by CleanTalk.