title: Java .Class file change string
body: <p>I'm trying to modify a minecraft mod (gravisuite) that puts "Gravitation Engine OFF/ON" whenever I press F, however I want to change this string, I started with replacing "Gravitation Engine OFF" with "Gravitation Engine Turned OFF" by using a hex editor but the file was no longer valid afterwards :/ I tried to use tools like jbe and cjbe and rej and that string is in the constant pool but it will only let me delete it...</p>
  
  <p>Is there any way to change a string in a compiled java class without destroying it?</p>
  
  <p>Thanks</p>