Je m'explique
J'ai un petit problème au niveau d'Eclipse
J'ai crée un Mod sous Forge 1.7.2
Mais quand j'essaye d'ouvrir une class "déjà existante" par exemple:
dans Referenced Librairies \ net.minecraft.world.biome \ BiomeCache.class
J'ai cette erreur:
Class File Editor
Source Not Found
----------------------------------------------------------------------------------------------------------------------
The source attachment does not contain the source for the file BiomeCache.class.
You can change the source attachment by clicking Change Attached Source below:
-------------------------------
Changed Attached Source... |
----------------------------------
// Compiled from SourceFile (version 1.6 : 50.0, super bit)
public class net.minecraft.world.biome.BiomeCache {
// Field descriptor #10 Lnet/minecraft/world/biome/WorldChunkManager;
private final net.minecraft.world.biome.WorldChunkManager chunkManager;
// Field descriptor #12 J
private long lastCleanupTime;
// Field descriptor #14 Lnet/minecraft/util/LongHashMap;
private net.minecraft.util.LongHashMap cacheMap;
// Field descriptor #16 Ljava/util/List;
private java.util.List cache;
// Method descriptor #18 (Lnet/minecraft/world/biome/WorldChunkManager
V
// Stack: 3, Locals: 2
public BiomeCache(net.minecraft.world.biome.WorldChunkManager arg0);
0 aload_0 [this]
1 invokespecial java.lang.Object() [21]
4 aload_0 [this]
5 new net.minecraft.util.LongHashMap [23]
8 dup
9 invokespecial net.minecraft.util.LongHashMap() [24]
12 putfield net.minecraft.world.biome.BiomeCache.cacheMap : net.minecraft.util.LongHashMap [26]
15 aload_0 [this]
16 new java.util.ArrayList [28]
19 dup
20 invokespecial java.util.ArrayList() [29]
23 putfield net.minecraft.world.biome.BiomeCache.cache : java.util.List [31]
26 aload_0 [this]
27 aload_1 [arg0]
28 putfield net.minecraft.world.biome.BiomeCache.chunkManager : net.minecraft.world.biome.WorldChunkManager [33]
31 return
Line numbers:
[pc: 0, line: 42]
[pc: 4, line: 39]
[pc: 15, line: 40]
[pc: 26, line: 43]
[pc: 31, line: 44]
// Method descriptor #35 (II)Lnet/minecraft/world/biome/BiomeCache$Block;
// Stack: 6, Locals: 6
public net.minecraft.world.biome.BiomeCache.Block getBiomeCacheBlock(int arg0, int arg1);
0 iload_1 [arg0]
1 iconst_4
2 ishr
3 istore_1 [arg0]
4 iload_2 [arg1]
5 iconst_4
6 ishr
7 istore_2 [arg1]
8 iload_1 [arg0]
9 i2l
10 ldc2_w <Long 4294967295> [36]
13 land
14 iload_2 [arg1]
15 i2l
16 ldc2_w <Long 4294967295> [36]
19 land
20 bipush 32
22 lshl
23 lor
24 lstore_3
25 aload_0 [this]
26 getfield net.minecraft.world.biome.BiomeCache.cacheMap : net.minecraft.util.LongHashMap [26]
29 lload_3
30 invokevirtual net.minecraft.util.LongHashMap.getValueByKey(long) : java.lang.Object [41]
33 checkcast net.minecraft.world.biome.BiomeCache$Block [7]
36 astore 5
38 aload 5
40 ifnonnull 77
43 new net.minecraft.world.biome.BiomeCache$Block [7]
46 dup
47 aload_0 [this]
48 iload_1 [arg0]
49 iload_2 [arg1]
50 invokespecial net.minecraft.world.biome.BiomeCache$Block(net.minecraft.world.biome.BiomeCache, int, int) [44]
53 astore 5
55 aload_0 [this]
56 getfield net.minecraft.world.biome.BiomeCache.cacheMap : net.minecraft.util.LongHashMap [26]
59 lload_3
60 aload 5
62 invokevirtual net.minecraft.util.LongHashMap.add(long, java.lang.Object) : void [48]
65 aload_0 [this]
66 getfield net.minecraft.world.biome.BiomeCache.cache : java.util.List [31]
69 aload 5
71 invokeinterface java.util.List.add(java.lang.Object) : boolean [53] [nargs: 2]
76 pop
77 aload 5
79 invokestatic net.minecraft.server.MinecraftServer.getSystemTimeMillis() : long [59]
82 putfield net.minecraft.world.biome.BiomeCache$Block.lastAccessTime : long [62]
85 aload 5
87 areturn
...
Cette erreur survient quand j'essaye d'ouvrir n'importe quelle class venant de "net.minecraft", si j'essaye part exemple les class venant de "cpw.mods" cela fonctionne
Comment faire pour ouvrir quand même les class venant de "net.minecraft" ?
J'ai un petit problème au niveau d'Eclipse
J'ai crée un Mod sous Forge 1.7.2
Mais quand j'essaye d'ouvrir une class "déjà existante" par exemple:
dans Referenced Librairies \ net.minecraft.world.biome \ BiomeCache.class
J'ai cette erreur:
Class File Editor
Source Not Found
----------------------------------------------------------------------------------------------------------------------
The source attachment does not contain the source for the file BiomeCache.class.
You can change the source attachment by clicking Change Attached Source below:
-------------------------------
Changed Attached Source... |
----------------------------------
// Compiled from SourceFile (version 1.6 : 50.0, super bit)
public class net.minecraft.world.biome.BiomeCache {
// Field descriptor #10 Lnet/minecraft/world/biome/WorldChunkManager;
private final net.minecraft.world.biome.WorldChunkManager chunkManager;
// Field descriptor #12 J
private long lastCleanupTime;
// Field descriptor #14 Lnet/minecraft/util/LongHashMap;
private net.minecraft.util.LongHashMap cacheMap;
// Field descriptor #16 Ljava/util/List;
private java.util.List cache;
// Method descriptor #18 (Lnet/minecraft/world/biome/WorldChunkManager
V// Stack: 3, Locals: 2
public BiomeCache(net.minecraft.world.biome.WorldChunkManager arg0);
0 aload_0 [this]
1 invokespecial java.lang.Object() [21]
4 aload_0 [this]
5 new net.minecraft.util.LongHashMap [23]
8 dup
9 invokespecial net.minecraft.util.LongHashMap() [24]
12 putfield net.minecraft.world.biome.BiomeCache.cacheMap : net.minecraft.util.LongHashMap [26]
15 aload_0 [this]
16 new java.util.ArrayList [28]
19 dup
20 invokespecial java.util.ArrayList() [29]
23 putfield net.minecraft.world.biome.BiomeCache.cache : java.util.List [31]
26 aload_0 [this]
27 aload_1 [arg0]
28 putfield net.minecraft.world.biome.BiomeCache.chunkManager : net.minecraft.world.biome.WorldChunkManager [33]
31 return
Line numbers:
[pc: 0, line: 42]
[pc: 4, line: 39]
[pc: 15, line: 40]
[pc: 26, line: 43]
[pc: 31, line: 44]
// Method descriptor #35 (II)Lnet/minecraft/world/biome/BiomeCache$Block;
// Stack: 6, Locals: 6
public net.minecraft.world.biome.BiomeCache.Block getBiomeCacheBlock(int arg0, int arg1);
0 iload_1 [arg0]
1 iconst_4
2 ishr
3 istore_1 [arg0]
4 iload_2 [arg1]
5 iconst_4
6 ishr
7 istore_2 [arg1]
8 iload_1 [arg0]
9 i2l
10 ldc2_w <Long 4294967295> [36]
13 land
14 iload_2 [arg1]
15 i2l
16 ldc2_w <Long 4294967295> [36]
19 land
20 bipush 32
22 lshl
23 lor
24 lstore_3
25 aload_0 [this]
26 getfield net.minecraft.world.biome.BiomeCache.cacheMap : net.minecraft.util.LongHashMap [26]
29 lload_3
30 invokevirtual net.minecraft.util.LongHashMap.getValueByKey(long) : java.lang.Object [41]
33 checkcast net.minecraft.world.biome.BiomeCache$Block [7]
36 astore 5
38 aload 5
40 ifnonnull 77
43 new net.minecraft.world.biome.BiomeCache$Block [7]
46 dup
47 aload_0 [this]
48 iload_1 [arg0]
49 iload_2 [arg1]
50 invokespecial net.minecraft.world.biome.BiomeCache$Block(net.minecraft.world.biome.BiomeCache, int, int) [44]
53 astore 5
55 aload_0 [this]
56 getfield net.minecraft.world.biome.BiomeCache.cacheMap : net.minecraft.util.LongHashMap [26]
59 lload_3
60 aload 5
62 invokevirtual net.minecraft.util.LongHashMap.add(long, java.lang.Object) : void [48]
65 aload_0 [this]
66 getfield net.minecraft.world.biome.BiomeCache.cache : java.util.List [31]
69 aload 5
71 invokeinterface java.util.List.add(java.lang.Object) : boolean [53] [nargs: 2]
76 pop
77 aload 5
79 invokestatic net.minecraft.server.MinecraftServer.getSystemTimeMillis() : long [59]
82 putfield net.minecraft.world.biome.BiomeCache$Block.lastAccessTime : long [62]
85 aload 5
87 areturn
...
Cette erreur survient quand j'essaye d'ouvrir n'importe quelle class venant de "net.minecraft", si j'essaye part exemple les class venant de "cpw.mods" cela fonctionne
Comment faire pour ouvrir quand même les class venant de "net.minecraft" ?