Open PorPit opened 6 years ago
Does it log something like Minecraft: Monitoring resource 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks\photoprocessor.png'
? If this is the directory you're changing the images at, then change your rebel.xml to
<classpath>
<dir name="F:\java\mod\forge 1.10.2 idea\bin">
</dir>
<dir name="F:\java\mod\forge 1.10.2 idea\src\main\resources">
</dir>
</classpath>
Removed the web
part, it's unnecessary.
i want to loads mod's resources when using JRebel, But I tried failed
rebel.xml: <?xml version="1.0" encoding="UTF-8"?>
and i change my resouces(a block texture) But nothing has happened in game and eclipse console
rebel.log fragment:
2017-12-02 14:30:06.085 INFO [15] [IntelliJFSNotify] Event 'CREATE' on: 'F:\java\mod\forge 1.10.2 idea\src\main\resources\assets\minecamera\textures\blocks\ps2E73.tmp' 2017-12-02 14:30:06.085 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\src\main\resources\assets\minecamera\textures\blocks' 2017-12-02 14:30:06.096 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\src\main\resources\assets\minecamera\textures\blocks\ps2E73.tmp' 2017-12-02 14:30:06.107 INFO [15] [IntelliJFSNotify] Event 'DELETE' on: 'F:\java\mod\forge 1.10.2 idea\src\main\resources\assets\minecamera\textures\blocks\photoprocessor.png' 2017-12-02 14:30:06.107 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\src\main\resources\assets\minecamera\textures\blocks' 2017-12-02 14:30:06.107 INFO [15] [IntelliJFSNotify] Event 'CREATE' on: 'F:\java\mod\forge 1.10.2 idea\src\main\resources\assets\minecamera\textures\blocks\ps2E73.tmp' 2017-12-02 14:30:06.107 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\src\main\resources\assets\minecamera\textures\blocks' 2017-12-02 14:30:08.028 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks\photoprocessor.png' 2017-12-02 14:30:08.028 INFO [15] [ClassChangeDetector] Got changes for 'com.zeroturnaround.reload.a@6a78afa0'. 2017-12-02 14:30:08.028 INFO [15] [IntelliJFSNotify] Event 'DELETE' on: 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks\photoprocessor.png' 2017-12-02 14:30:08.028 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks' 2017-12-02 14:30:08.028 INFO [15] [IntelliJFSNotify] Event 'CREATE' on: 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks\photoprocessor.png' 2017-12-02 14:30:08.028 INFO [15] [ClassChangeDetector] Got changes for 'com.zeroturnaround.reload.a@6a78afa0'. 2017-12-02 14:30:08.028 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks\photoprocessor.png' 2017-12-02 14:30:08.028 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks' 2017-12-02 14:30:08.028 INFO [15] [IntelliJFSNotify] Event 'CHANGE' on: 'F:\java\mod\forge 1.10.2 idea\bin\assets\minecamera\textures\blocks\photoprocessor.png'
got CHANGE but noting happened? how should i do?