summaryrefslogtreecommitdiff
path: root/eclipse/.metadata
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-04-25 00:05:51 +0100
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-04-25 00:05:51 +0100
commit84d260f4d50b4fc91c7263e87981170941d8da70 (patch)
tree98243affb35551f16f376ebf69f174a0dfbb7605 /eclipse/.metadata
parent3e53920504f6daf81ccea6144eb00a68658860c2 (diff)
Fixed a Jenkins issue
Diffstat (limited to 'eclipse/.metadata')
-rw-r--r--eclipse/.metadata/.log469
-rw-r--r--eclipse/.metadata/.mylyn/.tasks.xml.zipbin250 -> 250 bytes
-rw-r--r--eclipse/.metadata/.mylyn/tasks.xml.zipbin250 -> 250 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/3055e5d192ea001411cee0f8f86532a430
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/60c4594705e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1/207a58e4fde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/f023f9b6fce40014174fe663e69b842266
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/10e3134797e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/80418fb197e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/b00b4ecf96ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/c082155f86ea001411cee0f8f86532a462
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/208b7b02fce40014174fe663e69b842264
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/c07337da02e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/e021f963b1ea001411cee0f8f86532a4265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/13/40a0b31607e50014174fe663e69b842296
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/13/e018e6ed84ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/e0b9d3d674e70014115de2bb951f0adf)15
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00cc33c5afea001411cee0f8f86532a412
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00e7eba687ea001411cee0f8f86532a460
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/a0d5c5c83ce700141e05cdbaeb682437122
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/00f6e805aeea001411cee0f8f86532a4197
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/302024c987ea001411cee0f8f86532a438
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/0027527092e3001417b2e384bf7c370227
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/00a2b6defce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/30dc53adb2ea001411cee0f8f86532a432
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/7045c0d592ea001411cee0f8f86532a431
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/80383f3671e300141084bb8bfb075c0872
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/19/507e2e4e84ea001411cee0f8f86532a415
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/706949a171e300141084bb8bfb075c0875
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/80c6fbebafea001411cee0f8f86532a440
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/a0cc56d4fbe40014174fe663e69b842268
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/c0982a0792e3001417b2e384bf7c370226
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1d/3003c407fee40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/0090818687ea001411cee0f8f86532a425
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/c00f4e1196ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/f08e283892e3001417b2e384bf7c370226
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2/700a88ac90e3001417b2e384bf7c370254
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/000ed0d640e700141e05cdbaeb682437126
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/703581a771e300141084bb8bfb075c0856
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/80bb60f196ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/a0dafd1785ea001411cee0f8f86532a4101
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/00c64cbd86ea001411cee0f8f86532a4129
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/503aaee588ea001411cee0f8f86532a467
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/705c8cde88ea001411cee0f8f86532a4128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/80feb574b2ea001411cee0f8f86532a4117
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/d09736c947e700141e05cdbaeb682437128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/22/b06623eb95ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/23/90e61b1372e300141084bb8bfb075c0837
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/24/609d74fbfde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/00d1f1fcafea001411cee0f8f86532a439
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/5021877296ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/00cf95bfafea001411cee0f8f86532a479
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/803e9d8d04e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/27/00520c9504e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/809e116607e50014174fe663e69b842263
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/a04b7a8e91e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/4028feb585ea001411cee0f8f86532a4100
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/60372ebb47e700141e05cdbaeb682437128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/707801098ee3001417b2e384bf7c370224
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/e0f462ef84ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/d00cc0cf74e70014115de2bb951f0adf)15
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/a080c22b73e70014115de2bb951f0adf48
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/e0efd1ff96ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/0026ada605e50014174fe663e69b842260
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/c0710fb874e70014115de2bb951f0adf62
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2c/702bef2597ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2d/c06ef67e91e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2e/e03f878f72e300141084bb8bfb075c0854
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/10f36a6990e3001417b2e384bf7c370236
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/4004ffac98ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/c07570fc8de3001417b2e384bf7c370224
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3/e0e45da796ea001411cee0f8f86532a4115
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/31/c0b15c7987ea001411cee0f8f86532a465
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/206828078de3001417b2e384bf7c370237
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/30ca78699ae3001412c4c4819c88e86b86
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/50aa567f09e50014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/c03a5cf1aeea001411cee0f8f86532a418
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/33/f001bde393e3001412c4c4819c88e86b54
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/35/5069282604e50014174fe663e69b842258
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/36/f05b927173e70014115de2bb951f0adf54
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/00d07f6a97ea001411cee0f8f86532a466
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/303670b098ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/600d023b95e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/8062bf2107e50014174fe663e69b842296
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/b01358c6fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/38/000d9ccf88ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e1/508b21c574e70014115de2bb951f0adf)28
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/90d0928795ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/c05f454b92ea001411cee0f8f86532a4280
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3b/10b462f7fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3c/e03ea8c592ea001411cee0f8f86532a430
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/90f34aec91ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/50eda2a547e700141e05cdbaeb682437)67
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/a08b206401e50014174fe663e69b842255
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/c0fca79b92ea001411cee0f8f86532a4184
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/e023756e88ea001411cee0f8f86532a4128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3f/f026c032fde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/40/a03afdd19ae3001412c4c4819c88e86b86
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/41/900c963102e50014174fe663e69b842255
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/5070783bb0ea001411cee0f8f86532a450
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/6046f61185ea001411cee0f8f86532a421
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f061f27170e300141084bb8bfb075c0812
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f0bc215473e70014115de2bb951f0adf53
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/40f706d787ea001411cee0f8f86532a438
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/c043415c99e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/f08a8a6398ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/6018c4e6fce40014174fe663e69b842247
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/d0f8a1e295ea001411cee0f8f86532a4112
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/10ad6cb191e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/d01a6b619ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/47/5092922099ea001411cee0f8f86532a4141
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/48/c01e000872e300141084bb8bfb075c0885
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/10b8eac006e50014174fe663e69b842263
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/900ffa92b1ea001411cee0f8f86532a4263
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/d0668676b4ea001411cee0f8f86532a431
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/608194048ee3001417b2e384bf7c370224
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/80a948a2fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/f0ef41723ee700141e05cdbaeb682437123
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/009902e3fbe40014174fe663e69b842264
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/7061ab089aea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4c/204c56b7afea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/2016e2c66be70014115de2bb951f0adf)0
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4c/5014ba759ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4e/7067fef3afea001411cee0f8f86532a4175
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/10edfebd88ea001411cee0f8f86532a463
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/a0532f0bfce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/b06750e295e3001412c4c4819c88e86b81
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/2064f33d99e3001412c4c4819c88e86b28
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/e02aac7c87ea001411cee0f8f86532a425
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/52/5089f60bfee40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/20b73ad899ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/500f4e3704e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/707860379ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/10afc221b3ea001411cee0f8f86532a432
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/d08a12f794e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/20f4f59697ea001411cee0f8f86532a466
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/b019924ab0ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6f/70d2e64cfae40014174fe663e69b8422)0
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/b076e5188ee3001417b2e384bf7c370224
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/f055598098e3001412c4c4819c88e86b37
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/56/00dd512eb3ea001411cee0f8f86532a432
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/57/e0bfffad9ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/58/50838a4199ea001411cee0f8f86532a4141
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/20ea69c702e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/3020e4818ee3001417b2e384bf7c370282
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/5060e6c998e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/70bca93e97ea001411cee0f8f86532a463
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/a07b1864afea001411cee0f8f86532a476
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5a/c0ff301ab0ea001411cee0f8f86532a4167
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5b/800cb89f9ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/40f3d19e91e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/70816d6f94e3001412c4c4819c88e86b65
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/7052eb2f97ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/90359fe194e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/100ab1a1b2ea001411cee0f8f86532a431
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/50be335402e50014174fe663e69b842256
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/e0583b6884ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/31/30675ea024e60014127dc373d78c1666)3
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/f0632658c0e50014122af9ad4a56023655
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5f/50bf67fb93ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/e05898fa47e700141e05cdbaeb682437)68
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5f/6043e0b5aeea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/50e1e03570e300141084bb8bfb075c08)0
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6/0065cfc101e50014174fe663e69b842253
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/101c12cdafea001411cee0f8f86532a417
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/702c893e73e70014115de2bb951f0adf53
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/f045b1c8fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/63/d06f8207b0ea001411cee0f8f86532a4171
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/90112c4074e70014115de2bb951f0adf54
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/c09cf2a692ea001411cee0f8f86532a430
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/d0ebb9bd98e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/1063c37f8ee3001417b2e384bf7c370283
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/70c19d3a73e70014115de2bb951f0adf52
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/10be20cb88ea001411cee0f8f86532a463
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/502eece29ce3001412c4c4819c88e86b95
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/8018e58904e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/c0bee05e02e50014174fe663e69b842256
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/f076514d01e50014174fe663e69b842255
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/40551ae474e300141084bb8bfb075c0837
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/6011626f87ea001411cee0f8f86532a462
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a011af0c03e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a0a1c6429ae3001412c4c4819c88e86b86
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/69/10a8e852ffe40014174fe663e69b842251
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6a/d0fc55a084ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/39/305de0c774e70014115de2bb951f0adf)12
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/700e006d95e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/8040daa897e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/c02cc87d88ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/50f2d7ca74e70014115de2bb951f0adf)25
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/1001cf0b72e300141084bb8bfb075c0836
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/70f1d8b985ea001411cee0f8f86532a492
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/809dbb21fde40014174fe663e69b842264
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/c0551c9a47e700141e05cdbaeb682437127
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/60e10dae86ea001411cee0f8f86532a498
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/f044cd31afea001411cee0f8f86532a4180
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/00835d83fde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/a0449c8093e3001412c4c4819c88e86b84
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6f/504fd1d374e70014115de2bb951f0adf63
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/10543334ffe40014174fe663e69b842251
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/a00c8e49afea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c2/b0c9916cfde40014174fe663e69b8422)0
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/b0a6aed396ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/70/b0cef28997ea001411cee0f8f86532a466
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/60061e9571e300141084bb8bfb075c0872
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/c0574f9791e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/1087a1e902e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/c0e5f1d298e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/d04b715902e50014174fe663e69b842256
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/902cfdee91e3001417b2e384bf7c370226
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/9073412cb3ea001411cee0f8f86532a432
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/20e44257d6ea00141eeebc0fa9e0653a204
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/60834d1d9ce3001412c4c4819c88e86b26
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/304649cf95ea001411cee0f8f86532a4111
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/40fb0f9585ea001411cee0f8f86532a422
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/78/90636f1ffde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/79/e054ac7884ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/79/70b22b2507e50014174fe663e69b8422)14
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/30bcf87f94e3001412c4c4819c88e86b71
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/402c65f927e500141c50bd6848c69dc657
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/8029efd19de3001412c4c4819c88e86b77
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/f072972997ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/504da4b747e700141e05cdbaeb682437128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/70dd987a96ea001411cee0f8f86532a4114
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/206da33e92ea001411cee0f8f86532a4184
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/f0a9cd9e96ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7d/b0ad63acfde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7d/e0f61197b3ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3e/70b5b24de0e50014109ec019d2f6c0dc)7
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/6079eceaafea001411cee0f8f86532a426
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/70e0fae86be70014115de2bb951f0adf12
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/80d136b994e3001412c4c4819c88e86b72
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/1085f39501e50014174fe663e69b842253
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/10e9952ffde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/100f40e4aeea001411cee0f8f86532a412
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/c002ba7395e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/e068543a93ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/902f83c06ae70014115de2bb951f0adf)60
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/81/703d9e3297ea001411cee0f8f86532a4115
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/82/9020848ffce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/6009ab0a97ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/60fb889a96ea001411cee0f8f86532a4114
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/c0cd51bc92ea001411cee0f8f86532a429
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/85/b0cdcc6786ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/87/003f191173e70014115de2bb951f0adf)15
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/86/b024f95597ea001411cee0f8f86532a465
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/87/307f88d486ea001411cee0f8f86532a494
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/20688e9587ea001411cee0f8f86532a422
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/6046ea82b1ea001411cee0f8f86532a4263
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/e0c7328592ea001411cee0f8f86532a4280
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/403c226486ea001411cee0f8f86532a494
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/8044082ffce40014174fe663e69b842237
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/b0b1a2f395ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f01e505a95e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f02ac1bf92ea001411cee0f8f86532a4280
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/90fa117a8de3001417b2e384bf7c370235
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/e058c2a396e3001412c4c4819c88e86b36
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8b/907ae04292ea001411cee0f8f86532a4280
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8e/3038bcc698ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/c0af41a774e70014115de2bb951f0adf61
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/e0ba42a391e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/402cdd4674e70014115de2bb951f0adf62
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/e0c2b692fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/90b5ab67fee40014174fe663e69b8422759
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/c02252cb92ea001411cee0f8f86532a430
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/93/1066a4a395e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/00e861e202e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/9018c447fde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/1062bc07fee40014174fe663e69b842248
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/108f49d2afea001411cee0f8f86532a4179
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/96/009ea381fde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20872ad186ea001411cee0f8f86532a462
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20ee800597e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/a0b6bcf374e300141084bb8bfb075c0837
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/98/403c0a6287ea001411cee0f8f86532a497
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9a/50f79109fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9b/b01a029f86ea001411cee0f8f86532a4137
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/009ded5190e3001417b2e384bf7c370282
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/6077fb309be3001412c4c4819c88e86b96
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/00cb774c9ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/50ed421e04e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/60c0b9e2b2ea001411cee0f8f86532a4121
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/80673fdbfae40014174fe663e69b842262
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30028abb98ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30320ac0fde40014174fe663e69b8422161
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/403b2d4afbe40014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/70481ab2b3ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/d0d0f67107e50014174fe663e69b8422)14
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/904d6c6392e3001417b2e384bf7c370227
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/10132f5697e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/d0d7417947e700141e05cdbaeb682437126
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a/8044e5d790e3001417b2e384bf7c370282
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/40594fd502e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/a088aa6692e3001417b2e384bf7c370227
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/50ed3e1bb0ea001411cee0f8f86532a4160
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/e04fcd7287ea001411cee0f8f86532a494
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3011827398ea001411cee0f8f86532a4139
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3073a9c599ea001411cee0f8f86532a4132
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/502b9fa69ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a5/80728a19fde40014174fe663e69b842250
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a7/b09d7740fce40014174fe663e69b842267
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/00bcf92d8ee3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/20e62f5486ea001411cee0f8f86532a438
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/f0c56a6887ea001411cee0f8f86532a460
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/30408fedfbe40014174fe663e69b842264
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/906a5c63fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/aa/2006adf198e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/00104ff947e700141e05cdbaeb682437127
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/a0a9345b87ea001411cee0f8f86532a4128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/004937966be70014115de2bb951f0adf123
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/4031063499e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/705d0e479ae3001412c4c4819c88e86b87
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/9087c735b0ea001411cee0f8f86532a4131
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/a067720cb2ea001411cee0f8f86532a431
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/204f8c71adea001411cee0f8f86532a421
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/60b40fee99ea001411cee0f8f86532a4132
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/af/e06aaecd74e70014115de2bb951f0adf63
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/000c08e404e50014174fe663e69b842256
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/80218fae95ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90e8344505e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90ee5d8397ea001411cee0f8f86532a466
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/d0e487bc85ea001411cee0f8f86532a422
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/305eddda88ea001411cee0f8f86532a463
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/40ae81ce86ea001411cee0f8f86532a438
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/c0347e0403e50014174fe663e69b842258
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b1/e0e1250efde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/20cba1de86ea001411cee0f8f86532a430
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/a0f5943b87ea001411cee0f8f86532a422
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/80253a9b9ce3001412c4c4819c88e86b33
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d00f578784ea001411cee0f8f86532a420
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d0ac8fe598e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/106c1b7185ea001411cee0f8f86532a4100
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c067553a97e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c0d7994c88ea001411cee0f8f86532a462
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/20d8e0a4b0ea001411cee0f8f86532a476
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/a02d9af974e300141084bb8bfb075c0837
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/50e569a4aeea001411cee0f8f86532a424
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/602b567104e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/701f73bd96ea001411cee0f8f86532a4115
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/70fcef5db0ea001411cee0f8f86532a412
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/e0b972a8fce40014174fe663e69b842267
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b8/e0ea3a7199ea001411cee0f8f86532a4128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/003e90f5fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/20cdd23d86ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/43/30263c9474e70014115de2bb951f0adf)22
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/4057874afde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/60396614fde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/706877bc92e3001417b2e384bf7c370227
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/10dd91b3fce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/a064cf8efee40014174fe663e69b842248
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/30816beb3de700141e05cdbaeb682437122
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/8027385d97ea001411cee0f8f86532a466
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/a042836db0ea001411cee0f8f86532a427
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bf/208d91aafae40014174fe663e69b842212
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/70125005fde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/e08d97b398ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/804ee2aa87ea001411cee0f8f86532a462
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/902e10a698e3001412c4c4819c88e86b26
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/a02202f990e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/000e0f74fde40014174fe663e69b842279
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/f04127e586ea001411cee0f8f86532a425
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c2/a0107643fce40014174fe663e69b842267
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c3/30c6932ffde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/10491e1095e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/40aec02197e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/701ec417b0ea001411cee0f8f86532a452
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/d0a333fafbe40014174fe663e69b842264
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c6/90bc489493e3001412c4c4819c88e86b81
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c8/40c3ebde71e300141084bb8bfb075c0838
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/0091fdd79ce3001412c4c4819c88e86b96
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/1032154385ea001411cee0f8f86532a4100
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/80e3852ffde40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/a03c4cbb97e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c09e66a3b1ea001411cee0f8f86532a4263
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cb/c0a19fa1aeea001411cee0f8f86532a4197
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cc/90bd5dcb47e700141e05cdbaeb682437127
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cd/a066fa7271e300141084bb8bfb075c0836
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/20b26b8f84ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/d063631307e50014174fe663e69b8422)19
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/405365adb0ea001411cee0f8f86532a464
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/909313c197e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cf/500511a5afea001411cee0f8f86532a4178
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/0050b8c588ea001411cee0f8f86532a463
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/501c43e4aeea001411cee0f8f86532a418
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/70703c0a94ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/102ad27afde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/10b8e31685ea001411cee0f8f86532a4101
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/203f4a6a07e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/90c5727dfde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/a0f6c7b4fde40014174fe663e69b842243
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d1/d0592b5d92e3001417b2e384bf7c370227
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d2/d0f0ec8488ea001411cee0f8f86532a466
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/10f60dd394e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/2075207185ea001411cee0f8f86532a422
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d4/601541c896ea001411cee0f8f86532a4116
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/504bd33404e50014174fe663e69b842258
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/70d86f778de3001417b2e384bf7c370238
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/90909424afea001411cee0f8f86532a4181
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/b00062e0ffe40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/d026faa2cbe6001411c8f2d2b3d6593524
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d6/f004df7701e50014174fe663e69b842251
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d7/e01fa45502e60014127dc373d78c166677
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d8/6023bb4999e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/b0614a4248e700141e05cdbaeb682437127
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/e0c5a699fde40014174fe663e69b8422164
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/da/a0ebd00b3de700141e05cdbaeb682437122
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/db/50cc9fe591ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/605b1c3449e700141e05cdbaeb682437)65
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/db/60d6c516b2ea001411cee0f8f86532a431
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/00dead5b97ea001411cee0f8f86532a466
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/50108b1b96ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/d03b0e77b1ea001411cee0f8f86532a4266
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/f0768b8386ea001411cee0f8f86532a498
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/de/8070a46bb0ea001411cee0f8f86532a4130
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/20a9f8c891e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/30c6f47f87ea001411cee0f8f86532a430
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/706fd6f390e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/90e9856afce40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/f0dbfc7597e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/1021610993ea001411cee0f8f86532a431
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/8018db0c86ea001411cee0f8f86532a4128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e1/90df506301e50014174fe663e69b842255
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/308fca16fde40014174fe663e69b842266
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/5045c01799ea001411cee0f8f86532a4141
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e4/60b445e4aeea001411cee0f8f86532a418
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/00004ede9ae3001412c4c4819c88e86b95
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/50d52b2996ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/909b303c96ea001411cee0f8f86532a4113
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/b0d35f77b0ea001411cee0f8f86532a4118
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/c04057b047e700141e05cdbaeb682437128
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/00dc62a998e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/606bf5d786ea001411cee0f8f86532a465
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/705e53cd96e3001412c4c4819c88e86b26
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/80100efb96e3001412c4c4819c88e86b72
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/a053aefe94e3001412c4c4819c88e86b74
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/001088b1b2ea001411cee0f8f86532a432
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/4003450d99ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/506ecaee98ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/90c9eff2fce40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/e0c7efa692e3001417b2e384bf7c370227
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ec/304cb8c386ea001411cee0f8f86532a460
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/101c29e799e3001412c4c4819c88e86b72
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/60f0442899ea001411cee0f8f86532a4141
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/10d23bbdb2ea001411cee0f8f86532a432
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/70093e68afea001411cee0f8f86532a4180
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/b02994c8fce50014127dc373d78c166694
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/e0b44d1186ea001411cee0f8f86532a4134
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f/10c9048a91e3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f1/60bb815703e50014174fe663e69b842257
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/00f951d59ce3001412c4c4819c88e86b96
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/308b24a298ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/a0e185aeb4ea001411cee0f8f86532a432
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0a9941f9be3001412c4c4819c88e86b95
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0d474f9aeea001411cee0f8f86532a4190
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f3/2044223785ea001411cee0f8f86532a4 (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/c0c8f29707e50014174fe663e69b8422)20
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f3/f03670018ee3001417b2e384bf7c370224
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/a015049497e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/b08f72dafce40014174fe663e69b842246
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/40205b7887ea001411cee0f8f86532a465
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/4093e81d8ee3001417b2e384bf7c370225
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/602433bf74e70014115de2bb951f0adf63
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/c0204a4dfde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f6/40e2247284ea001411cee0f8f86532a419
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f7/80a33c36fde40014174fe663e69b842265
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/007cb0a590e3001417b2e384bf7c370285
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/00dc645002e50014174fe663e69b842256
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/60e51a8387ea001411cee0f8f86532a423
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/802b95f798e3001412c4c4819c88e86b27
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/100285e848e700141e05cdbaeb682437770
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/201cfc0598e3001412c4c4819c88e86b75
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/00a6fb0785ea001411cee0f8f86532a4102
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/40f248b698ea001411cee0f8f86532a4140
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/d0acf8ff27e500141c50bd6848c69dc657
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/e0cd16ca92e3001417b2e384bf7c370227
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/10e7546d07e50014174fe663e69b842261
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/303da9d874e70014115de2bb951f0adf63
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/30be15db86ea001411cee0f8f86532a425
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/40224cbcafea001411cee0f8f86532a425
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/900f624402e50014174fe663e69b842254
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/e07ed5e186ea001411cee0f8f86532a423
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/c010f86d9ae3001412c4c4819c88e86b86
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/d0474cdb91e3001417b2e384bf7c370226
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ff/b02f1331fce40014174fe663e69b842248
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.markers.snapbin0 -> 464 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.syncinfo.snapbin0 -> 464 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/6a/history.indexbin1275 -> 1781 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/history.indexbin3313 -> 538 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2/history.indexbin188 -> 442 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/29/history.indexbin96 -> 240 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2e/history.indexbin826 -> 919 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/3f/history.indexbin0 -> 359 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/5e/ac/history.indexbin0 -> 156 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/6e/history.indexbin382 -> 358 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/8d/history.indexbin1570 -> 490 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/df/history.indexbin3794 -> 4372 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/e7/history.indexbin2165 -> 3381 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/9d/history.indexbin1298 -> 217 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/history.indexbin372 -> 0 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/history.indexbin140 -> 500 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.markers.snapbin0 -> 464 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.syncinfo.snapbin0 -> 464 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/org.eclipse.jdt.core/state.datbin118526 -> 0 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snapbin0 -> 464 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/68.tree (renamed from eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/66.tree)bin973103 -> 1032683 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resourcesbin1035 -> 14459 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.core.resources/68.snapbin0 -> 44552 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi4389
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.jdt.core/286606776.indexbin112636 -> 113884 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStampsbin10225 -> 10225 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt1
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml12
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.pngbin0 -> 277 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.pngbin0 -> 105 bytes
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.history2
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.index1
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml32
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.team.cvs.core/.running0
-rw-r--r--eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml10
-rw-r--r--eclipse/.metadata/version.ini2
498 files changed, 20167 insertions, 19264 deletions
diff --git a/eclipse/.metadata/.log b/eclipse/.metadata/.log
index 5edbe1c..9e17cf7 100644
--- a/eclipse/.metadata/.log
+++ b/eclipse/.metadata/.log
@@ -7701,3 +7701,472 @@ user global configuration and to define the default location to store repositori
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+!SESSION 2015-04-23 21:42:59.291 -----------------------------------------------
+eclipse.buildId=4.4.1.M20140925-0400
+java.version=1.8.0_31
+java.vendor=Oracle Corporation
+BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
+Framework arguments: -product org.eclipse.epp.package.java.product
+Command-line arguments: -data H:\Jewelrycraft\1.7.10\eclipse -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
+
+!ENTRY org.eclipse.m2e.logback.configuration 2 0 2015-04-23 21:43:04.205
+!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
+!STACK 0
+java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
+ at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
+ at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
+ at java.util.TimerThread.mainLoop(Unknown Source)
+ at java.util.TimerThread.run(Unknown Source)
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-04-23 21:43:38.619
+!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
+Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
+The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
+this system level configuration. The Git installation location can be configured on the
+Team > Git > Configuration preference page's 'System Settings' tab.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-04-23 21:43:38.845
+!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
+user global configuration and to define the default location to store repositories: 'C:\Users\Sorin'. If this is
+not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
+EGit might behave differently since they see different configuration options.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+
+!ENTRY org.eclipse.core.resources 4 566 2015-04-23 23:46:59.444
+!MESSAGE Workspace was not properly initialized or has already shutdown.
+
+!ENTRY org.eclipse.core.jobs 4 2 2015-04-23 23:46:59.648
+!MESSAGE An internal error occurred during: "Win32 refresh daemon".
+!STACK 0
+java.lang.NullPointerException
+ at org.eclipse.core.internal.localstore.FileSystemResourceManager.asyncRefresh(FileSystemResourceManager.java:137)
+ at org.eclipse.core.internal.localstore.FileSystemResourceManager.isSynchronized(FileSystemResourceManager.java:722)
+ at org.eclipse.core.internal.resources.Resource.isSynchronized(Resource.java:1543)
+ at org.eclipse.core.internal.resources.refresh.win32.Win32Monitor$Handle.postRefreshRequest(Win32Monitor.java:204)
+ at org.eclipse.core.internal.resources.refresh.win32.Win32Monitor$ResourceHandle.handleNotification(Win32Monitor.java:293)
+ at org.eclipse.core.internal.resources.refresh.win32.Win32Monitor.waitForNotification(Win32Monitor.java:593)
+ at org.eclipse.core.internal.resources.refresh.win32.Win32Monitor.run(Win32Monitor.java:507)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SESSION 2015-04-24 11:18:27.023 -----------------------------------------------
+eclipse.buildId=4.4.1.M20140925-0400
+java.version=1.8.0_31
+java.vendor=Oracle Corporation
+BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
+Framework arguments: -product org.eclipse.epp.package.java.product
+Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
+
+!ENTRY org.eclipse.core.resources 2 10035 2015-04-24 11:18:30.414
+!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
+
+!ENTRY org.eclipse.m2e.logback.configuration 2 0 2015-04-24 11:18:32.072
+!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
+!STACK 0
+java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
+ at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
+ at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
+ at java.util.TimerThread.mainLoop(Unknown Source)
+ at java.util.TimerThread.run(Unknown Source)
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-04-24 11:18:47.731
+!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
+Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
+The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
+this system level configuration. The Git installation location can be configured on the
+Team > Git > Configuration preference page's 'System Settings' tab.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-04-24 11:18:47.796
+!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
+user global configuration and to define the default location to store repositories: 'C:\Users\Sorin'. If this is
+not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
+EGit might behave differently since they see different configuration options.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+
+!ENTRY org.eclipse.jdt.debug 4 125 2015-04-24 15:15:23.265
+!MESSAGE Internal error logged from JDI Debug:
+!STACK 0
+org.eclipse.jdi.TimeoutException: Timeout occurred while waiting for packet 3292.
+ at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:186)
+ at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:197)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:191)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:226)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:242)
+ at org.eclipse.jdi.internal.ObjectReferenceImpl.referenceType(ObjectReferenceImpl.java:515)
+ at org.eclipse.jdi.internal.ObjectReferenceImpl.type(ObjectReferenceImpl.java:534)
+ at org.eclipse.jdt.internal.debug.core.breakpoints.JavaExceptionBreakpoint.handleBreakpointEvent(JavaExceptionBreakpoint.java:345)
+ at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.handleEvent(JavaBreakpoint.java:308)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher.dispatch(EventDispatcher.java:152)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher.access$0(EventDispatcher.java:100)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher$1.run(EventDispatcher.java:249)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.jdt.debug 4 125 2015-04-24 15:15:23.323
+!MESSAGE Internal error logged from JDI Debug:
+!STACK 0
+org.eclipse.jdi.TimeoutException: Timeout occurred while waiting for packet 3293.
+ at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:186)
+ at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:197)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:191)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:226)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:242)
+ at org.eclipse.jdi.internal.ObjectReferenceImpl.referenceType(ObjectReferenceImpl.java:515)
+ at org.eclipse.jdi.internal.ObjectReferenceImpl.type(ObjectReferenceImpl.java:534)
+ at org.eclipse.jdt.internal.debug.core.breakpoints.JavaExceptionBreakpoint.handleBreakpointEvent(JavaExceptionBreakpoint.java:345)
+ at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.handleEvent(JavaBreakpoint.java:308)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher.dispatch(EventDispatcher.java:152)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher.access$0(EventDispatcher.java:100)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher$1.run(EventDispatcher.java:249)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.jdt.debug 4 125 2015-04-24 15:15:23.329
+!MESSAGE Internal error logged from JDI Debug:
+!STACK 0
+org.eclipse.jdi.TimeoutException: Timeout occurred while waiting for packet 3294.
+ at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:186)
+ at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:197)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:191)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:226)
+ at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:242)
+ at org.eclipse.jdi.internal.ObjectReferenceImpl.referenceType(ObjectReferenceImpl.java:515)
+ at org.eclipse.jdi.internal.ObjectReferenceImpl.type(ObjectReferenceImpl.java:534)
+ at org.eclipse.jdt.internal.debug.core.breakpoints.JavaExceptionBreakpoint.handleBreakpointEvent(JavaExceptionBreakpoint.java:345)
+ at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.handleEvent(JavaBreakpoint.java:308)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher.dispatch(EventDispatcher.java:152)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher.access$0(EventDispatcher.java:100)
+ at org.eclipse.jdt.internal.debug.core.EventDispatcher$1.run(EventDispatcher.java:249)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-04-24 15:20:57.446
+!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
+!STACK 0
+org.eclipse.recommenders.utils.Logs$LogTraceException
+ at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
+ at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:104)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
+ at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1861)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
+ at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
+ at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:378)
+ at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
+ at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
+ at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
+ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
+ at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
+ at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
+ at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
+ at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
+ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
+
+!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-04-24 15:25:36.070
+!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
+!STACK 0
+org.eclipse.recommenders.utils.Logs$LogTraceException
+ at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
+ at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:104)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
+ at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1861)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
+ at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
+ at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:378)
+ at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
+ at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
+ at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
+ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
+ at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
+ at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
+ at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
+ at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
+ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
+
+!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-04-24 15:55:03.248
+!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
+!STACK 0
+org.eclipse.recommenders.utils.Logs$LogTraceException
+ at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
+ at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:104)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
+ at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1861)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
+ at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
+ at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:378)
+ at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
+ at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
+ at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
+ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
+ at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
+ at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
+ at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
+ at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
+ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
+
+!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-04-24 16:34:00.903
+!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
+!STACK 0
+org.eclipse.recommenders.utils.Logs$LogTraceException
+ at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
+ at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:104)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
+ at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1861)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
+ at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
+ at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:378)
+ at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
+ at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
+ at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
+ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
+ at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
+ at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
+ at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
+ at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
+ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
+
+!ENTRY org.eclipse.jdt.ui 4 10001 2015-04-24 19:11:50.468
+!MESSAGE Internal Error
+!STACK 0
+java.lang.Exception: Illegal ASTNode positions: previousEnd=697, childStart=696, element==Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar<cpw.mods.fml.common(Mod.class[Mod, Javadoc:
+/**
+ * This defines a Mod to FML.
+ * Any class found with this annotation applied will be loaded as a Mod. The instance that is loaded will
+ * represent the mod to other Mods in the system. It will be sent various subclasses of {@link FMLEvent}
+ * at pre-defined times during the loading of the game, based on where you have applied the {@link EventHandler}
+ * annotation.
+ *
+ * <p>This is a simple example of a Mod. It has the modId of "MyModId", the name of "My example mod", it is
+ * version 1.0, and depends on FML being loaded.
+ * <pre>{@code
+ * package mymod;
+ * // Declare that this is a mod with modId "MyModId", name "My example mod", version "1.0" and dependency on FML.
+ * {@literal @}Mod(modId="MyModId",name="My example mod",version="1.0",dependencies="required-after:FML")
+ * public class MyMod {
+ * // Populate this field with the instance of the mod created by FML
+ * {@literal @}Instance("MyModId")
+ * public MyMod instance;
+ *
+ * // Mark this method for receiving an {@link FMLEvent} (in this case, it's the {@link FMLPreInitializationEvent})
+ * {@literal @}EventHandler public void preInit(FMLPreInitializationEvent event)
+ * {
+ * // Do stuff in pre-init phase (read config, create blocks and items, register them)
+ * }
+ * }
+ * }
+ * </pre>
+ *
+ * @author cpw
+ *
+ */
+ at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.handleContentElements(JavadocContentAccess2.java:1145)
+ at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.handleContentElements(JavadocContentAccess2.java:1133)
+ at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.toHTML(JavadocContentAccess2.java:874)
+ at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.javadoc2HTML(JavadocContentAccess2.java:729)
+ at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContentFromSource(JavadocContentAccess2.java:614)
+ at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:496)
+ at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:689)
+ at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:607)
+ at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:599)
+ at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:163)
+ at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
+ at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
+ at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
+
+!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-04-24 19:56:09.906
+!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
+!STACK 0
+org.eclipse.recommenders.utils.Logs$LogTraceException
+ at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
+ at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
+ at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:104)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
+ at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
+ at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
+ at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
+ at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1861)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
+ at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
+ at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
+ at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:378)
+ at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
+ at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
+ at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
+ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
+ at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
+ at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
+ at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
+ at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
+ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
+
+!ENTRY org.eclipse.core.resources 4 566 2015-04-24 21:01:42.877
+!MESSAGE Workspace was not properly initialized or has already shutdown.
+
+!ENTRY org.eclipse.core.jobs 4 1 2015-04-24 21:01:42.904
+!MESSAGE Worker thread ended job: Refreshing workspace(10), but still holds rule: ThreadJob(Refreshing workspace(10),[F/Minecraft/build/sources/java/darkknight/jewelrycraft])
+!SESSION 2015-04-24 21:36:28.984 -----------------------------------------------
+eclipse.buildId=4.4.1.M20140925-0400
+java.version=1.8.0_31
+java.vendor=Oracle Corporation
+BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
+Framework arguments: -product org.eclipse.epp.package.java.product
+Command-line arguments: -data H:\Jewelrycraft\1.7.10\eclipse -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
+
+!ENTRY org.eclipse.m2e.logback.configuration 2 0 2015-04-24 21:36:31.711
+!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
+!STACK 0
+java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
+ at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
+ at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
+ at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
+ at java.util.TimerThread.mainLoop(Unknown Source)
+ at java.util.TimerThread.run(Unknown Source)
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-04-24 21:36:46.951
+!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
+Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
+The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
+this system level configuration. The Git installation location can be configured on the
+Team > Git > Configuration preference page's 'System Settings' tab.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-04-24 21:36:46.974
+!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
+user global configuration and to define the default location to store repositories: 'C:\Users\Sorin'. If this is
+not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
+EGit might behave differently since they see different configuration options.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
diff --git a/eclipse/.metadata/.mylyn/.tasks.xml.zip b/eclipse/.metadata/.mylyn/.tasks.xml.zip
index c5df11c..0ad3934 100644
--- a/eclipse/.metadata/.mylyn/.tasks.xml.zip
+++ b/eclipse/.metadata/.mylyn/.tasks.xml.zip
Binary files differ
diff --git a/eclipse/.metadata/.mylyn/tasks.xml.zip b/eclipse/.metadata/.mylyn/tasks.xml.zip
index bc669db..bb8b9f7 100644
--- a/eclipse/.metadata/.mylyn/tasks.xml.zip
+++ b/eclipse/.metadata/.mylyn/tasks.xml.zip
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/3055e5d192ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/3055e5d192ea001411cee0f8f86532a4
new file mode 100644
index 0000000..5d8b630
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/3055e5d192ea001411cee0f8f86532a4
@@ -0,0 +1,30 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/60c4594705e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/60c4594705e50014174fe663e69b8422
deleted file mode 100644
index dc43646..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/0/60c4594705e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- System.out.println(Block.getBlockFromItem(item.getItem()) + " " + item.getIconIndex());
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIcon(JewelryNBT.item(stack), pass);
- else{
-// System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1/207a58e4fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1/207a58e4fde40014174fe663e69b8422
deleted file mode 100644
index d17def9..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1/207a58e4fde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObject().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/f023f9b6fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/f023f9b6fce40014174fe663e69b8422
deleted file mode 100644
index 391f21e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/f023f9b6fce40014174fe663e69b8422
+++ /dev/null
@@ -1,66 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-import darkknight.jewelrycraft.item.ItemGoldifiedObject;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemGoldifiedObject goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = (ItemGoldifiedObject)new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/10e3134797e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/10e3134797e3001412c4c4819c88e86b
deleted file mode 100644
index d52a637..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/10e3134797e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(0F, 0F, 0F, 1F, ((TileEntityMidasTouch)tile).target.height, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/80418fb197e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/80418fb197e3001412c4c4819c88e86b
deleted file mode 100644
index 2c330f3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/80418fb197e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(1f - ((TileEntityMidasTouch)tile).target.width/2, 0F, 1f -((TileEntityMidasTouch)tile).target.width/2, 1f -((TileEntityMidasTouch)tile).target.width/2, ((TileEntityMidasTouch)tile).target.height, 1f -((TileEntityMidasTouch)tile).target.width/2);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/b00b4ecf96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/b00b4ecf96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..ffc2592
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/b00b4ecf96ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+// GL11.glColor3f(0F, 1F, 1F);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_DST_COLOR);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/c082155f86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/c082155f86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..0e831c2
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/c082155f86ea001411cee0f8f86532a4
@@ -0,0 +1,62 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.item.EntityXPOrb;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.MathHelper;
+import net.minecraft.world.World;
+
+public class CurseRabbitsPaw extends Curse
+{
+ public CurseRabbitsPaw(int id, String name, int text)
+ {
+ super(id, name, text);
+ }
+
+ @Override
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {
+ for(EntityItem item: drops){
+ ItemStack drop = item.getEntityItem().copy();
+ drop.stackSize = this.rand.nextInt(4);
+ if (drop.stackSize > 0) target.entityDropItem(drop, 0.5F);
+ }
+ }
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {
+ String[] types = {"Red", "Blue", "White", "Black"};
+ String type = types[rand.nextInt(4)];
+ if (rand.nextInt(3) == 0){
+ if (type == "White"){
+ EntityHeart h = new EntityHalfHeart(world);
+ h.setType(type);
+ h.setLocationAndAngles(target.posX, target.posY, target.posZ, MathHelper.wrapAngleTo180_float(rand.nextFloat() * 360.0F), 0.0F);
+ world.spawnEntityInWorld(h);
+ }else{
+ for(int i = 1; i <= 1 + rand.nextInt(1 + (int)(target.getMaxHealth() / 20)); i++){
+ EntityHeart[] hearts = {new EntityHeart(world), new EntityHalfHeart(world)};
+ EntityHeart h = hearts[rand.nextInt(2)];
+ h.setType(type);
+ h.setLocationAndAngles(target.posX, target.posY, target.posZ, MathHelper.wrapAngleTo180_float(rand.nextFloat() * 360.0F), 0.0F);
+ world.spawnEntityInWorld(h);
+ }
+ }
+ }
+ if (rand.nextInt(3) == 0) world.spawnEntityInWorld(new EntityXPOrb(world, target.posX, target.posY, target.posZ, 1 + rand.nextInt(40)));
+ }
+
+ public String getDescription()
+ {
+ return "The Dark One is giving you a gift. Don't lose it.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/208b7b02fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/208b7b02fce40014174fe663e69b8422
deleted file mode 100644
index d970f43..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/208b7b02fce40014174fe663e69b8422
+++ /dev/null
@@ -1,64 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.*;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/c07337da02e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/c07337da02e50014174fe663e69b8422
deleted file mode 100644
index 4928cdf..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/c07337da02e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getIcon(6, 0);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/e021f963b1ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/e021f963b1ea001411cee0f8f86532a4
new file mode 100644
index 0000000..26e8214
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/e021f963b1ea001411cee0f8f86532a4
@@ -0,0 +1,265 @@
+package darkknight.jewelrycraft.tileentity.renders;
+
+import java.awt.Color;
+import java.util.HashMap;
+import java.util.List;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.client.renderer.OpenGlHelper;
+import net.minecraft.client.renderer.RenderHelper;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.entity.RenderManager;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.EnumChatFormatting;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.util.Variables;
+
+public class TileEntityDisplayerRender extends TileEntitySpecialRenderer
+{
+ ModelDisplayer displayer = new ModelDisplayer();
+ String texture = "textures/tileentities/Displayer.png";
+ HashMap<EnumChatFormatting, Integer> colors = new HashMap<EnumChatFormatting, Integer>(){
+ {
+ put(EnumChatFormatting.AQUA, 5636095);
+ put(EnumChatFormatting.BLACK, 0);
+ put(EnumChatFormatting.BLUE, 5592575);
+ put(EnumChatFormatting.DARK_AQUA, 43690);
+ put(EnumChatFormatting.DARK_BLUE, 170);
+ put(EnumChatFormatting.DARK_GRAY, 5592405);
+ put(EnumChatFormatting.DARK_GREEN, 43520);
+ put(EnumChatFormatting.DARK_PURPLE, 11141290);
+ put(EnumChatFormatting.DARK_RED, 11141120);
+ put(EnumChatFormatting.GOLD, 16755200);
+ put(EnumChatFormatting.GRAY, 11184810);
+ put(EnumChatFormatting.GREEN, 5635925);
+ put(EnumChatFormatting.LIGHT_PURPLE, 16733695);
+ put(EnumChatFormatting.RED, 16733525);
+ put(EnumChatFormatting.WHITE, 16777215);
+ put(EnumChatFormatting.YELLOW, 16777045);
+ }
+ };
+
+ /**
+ * @param te
+ * @param x
+ * @param y
+ * @param z
+ * @param scale
+ */
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ GL11.glPushMatrix();
+ GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
+ TileEntityDisplayer disp = (TileEntityDisplayer)te;
+ ResourceLocation blockTexture = new ResourceLocation(Variables.MODID, texture);
+ Minecraft.getMinecraft().renderEngine.bindTexture(blockTexture);
+ GL11.glPushMatrix();
+ GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
+ displayer.render((Entity)null, disp.ringTranslation1, disp.ringTranslation2, disp.ringTranslation3, 0.0F, 0.0F, 0.0625F);
+ try{
+ int block = disp.getBlockMetadata();
+ if (disp != null && disp.hasObject && disp.object != null && disp.object.getItem() != null && disp.object != new ItemStack(Item.getItemById(0), 0, 0)){
+ RenderHelper.enableStandardItemLighting();
+ int ind = -3;
+ GL11.glPushMatrix();
+ EntityItem entityitem = new EntityItem(te.getWorldObj(), 0.0D, 0.0D, 0.0D, disp.object);
+ entityitem.hoverStart = 0.0F;
+ disp.object.stackSize = 1;
+ GL11.glRotatef(180F, 1F, 0F, 0F);
+ GL11.glTranslatef(0.0F, -0.6F + disp.ringTranslation1 / 5, 0F);
+ GL11.glRotatef(disp.rotAngle, 0F, 1F, 0F);
+ if (RenderManager.instance.options.fancyGraphics) RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ else{
+ GL11.glRotatef(180F, 0F, 1F, 0F);
+ RenderManager.instance.options.fancyGraphics = true;
+ int i = 15728880;
+ int j = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, j / 1.0F, k / 1.0F);
+ RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ RenderManager.instance.options.fancyGraphics = false;
+ }
+ EntityPlayer player = te.getWorldObj().getClosestPlayer(te.xCoord, te.yCoord, te.zCoord, 5D);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ if (player != null) renderLabel(disp.object.getDisplayName(), 0F, -0.171F * ind, 0F, block, disp, colors.get(disp.object.getRarity().rarityColor));
+ GL11.glPopMatrix();
+ ind++;
+ if (player != null && disp.quantity > 1){
+ GL11.glPushMatrix();
+ renderLabel("x" + Integer.toString(disp.quantity), 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ if (disp.object.getItem() != Items.map && player != null && disp.object.getTooltip(player, true) != null){
+ List tooltips = disp.object.getTooltip(player, true);
+ if (disp.infoIndex + 5 > tooltips.size()) disp.infoIndex = 1;
+ if (tooltips.size() < 5) for(int i = 1; i < tooltips.size(); i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ else for(int i = disp.infoIndex; i < disp.infoIndex + 5; i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ }
+ }
+ }
+ catch(Exception e){}
+ GL11.glPopMatrix();
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param par2Str
+ * @param x
+ * @param y
+ * @param z
+ * @param metadata
+ * @param te
+ * @param color
+ */
+ protected void renderLabel(String par2Str, double x, double y, double z, int metadata, TileEntity te, int color)
+ {
+ FontRenderer fontrenderer = RenderManager.instance.getFontRenderer();
+ float var14 = 0.01266667F * 1.5F;
+ float var17 = 0.015F;
+ GL11.glRotatef(180F, 0F, 0F, 1F);
+ if (metadata == 0) GL11.glRotatef(0F, 0F, 1F, 0F);
+ else if (metadata == 1) GL11.glRotatef(270F, 0F, 1F, 0F);
+ else if (metadata == 2) GL11.glRotatef(180F, 0F, 1F, 0F);
+ else if (metadata == 3) GL11.glRotatef(90F, 0F, 1F, 0F);
+ GL11.glTranslatef((float)x, (float)y, (float)z + 0.45F);
+ GL11.glScalef(-0.015F, -var14, 0.015F);
+ GL11.glPushMatrix();
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ Tessellator tessellator = Tessellator.instance;
+ GL11.glDisable(GL11.GL_TEXTURE_2D);
+ int j = fontrenderer.getStringWidth(par2Str) / 2;
+ tessellator.startDrawingQuads();
+ tessellator.setColorRGBA_F(0.0F, 0.2F, 0.2F, 0.9F);
+ tessellator.addVertex(-33.333 - 0, 0D, 0.1D);
+ tessellator.addVertex(-33.333 - 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 0D, 0.1D);
+ tessellator.draw();
+ if (fontrenderer.getStringWidth(par2Str) / 2 > 20) var17 = 0.9F / fontrenderer.getStringWidth(par2Str);
+ else var17 = var14;
+ int red = color >> 16 & 0xFF;
+ int green = color >> 8 & 0xFF;
+ int blue = color & 0xFF;
+ GL11.glTranslatef((float)x + 1f, (float)y + 1f, (float)z);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_TEXTURE_2D);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ int i = 15728880;
+ int t = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, t / 1.0F, k / 1.0F);
+ fontrenderer.drawString(par2Str.replaceFirst("§0", "§r").replaceFirst("§1", "§r").replaceFirst("§2", "§r").replaceFirst("§3", "§r").replaceFirst("§4", "§r").replaceFirst("§5", "§r").replaceFirst("§6", "§r").replaceFirst("§7", "§r").replaceFirst("§8", "§r").replaceFirst("§9", "§r").replaceFirst("§a", "§r").replaceFirst("§b", "§r").replaceFirst("§c", "§r").replaceFirst("§d", "§r").replaceFirst("§e", "§r").replaceFirst("§f", "§r"), -j, 0, 65536 * (red > 170 ? red - 170 : 0) + 256 * (green > 170 ? green - 170 : 0) + (blue > 170 ? blue - 170 : 0));
+ GL11.glPopMatrix();
+ GL11.glTranslatef((float)x - 1f, (float)y - 1f, (float)z - 1F);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ fontrenderer.drawString(par2Str, -j, 0, color);
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param str
+ * @param color
+ */
+ public void replaceEnumEnchValues(String str, int color)
+ {
+ if (str.contains("§0")){
+ color = Color.BLACK.getRGB();
+ str.replace("§0", "");
+ }
+ if (str.contains("§1")){
+ color = 85;
+ str.replace("§1", "");
+ }
+ if (str.contains("§2")){
+ color = 17920;
+ str.replace("§2", "");
+ }
+ if (str.contains("§3")){
+ color = 1336183;
+ str.replace("§3", "");
+ }
+ if (str.contains("§4")){
+ color = 4587520;
+ str.replace("§4", "");
+ }
+ if (str.contains("§5")){
+ color = 5701759;
+ str.replace("§5", "");
+ }
+ if (str.contains("§6")){
+ color = 16762880;
+ str.replace("§6", "");
+ }
+ if (str.contains("§7")){
+ color = Color.GRAY.getRGB();
+ str.replace("§7", "");
+ }
+ if (str.contains("§8")){
+ color = Color.DARK_GRAY.getRGB();
+ str.replace("§8", "");
+ }
+ if (str.contains("§9")){
+ color = Color.BLUE.getRGB();
+ str.replace("§9", "");
+ }
+ if (str.contains("§a")){
+ color = Color.GREEN.getRGB();
+ str.replace("§a", "");
+ }
+ if (str.contains("§b")){
+ color = Color.CYAN.getRGB();
+ str.replace("§b", "");
+ }
+ if (str.contains("§c")){
+ color = Color.RED.getRGB();
+ str.replace("§c", "");
+ }
+ if (str.contains("§d")){
+ color = 11665663;
+ str.replace("§d", "");
+ }
+ if (str.contains("§e")){
+ color = Color.YELLOW.getRGB();
+ str.replace("§e", "");
+ }
+ if (str.contains("§f")){
+ color = Color.WHITE.getRGB();
+ str.replace("§f", "");
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/13/40a0b31607e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/13/40a0b31607e50014174fe663e69b8422
deleted file mode 100644
index 9453d1e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/13/40a0b31607e50014174fe663e69b8422
+++ /dev/null
@@ -1,96 +0,0 @@
-package darkknight.jewelrycraft.proxy;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.item.Item;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.MinecraftForgeClient;
-import net.minecraftforge.common.MinecraftForge;
-import cpw.mods.fml.client.registry.ClientRegistry;
-import cpw.mods.fml.client.registry.RenderingRegistry;
-import cpw.mods.fml.common.registry.VillagerRegistry;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.client.InventoryTabVanilla;
-import darkknight.jewelrycraft.client.TabJewelry;
-import darkknight.jewelrycraft.client.TabRegistry;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.entities.renders.HeartRender;
-import darkknight.jewelrycraft.events.PlayerRenderHandler;
-import darkknight.jewelrycraft.events.ScreenHandler;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.item.render.ItemRender;
-import darkknight.jewelrycraft.model.ModelDisplayer;
-import darkknight.jewelrycraft.model.ModelHalfHeart;
-import darkknight.jewelrycraft.model.ModelHandPedestal;
-import darkknight.jewelrycraft.model.ModelHeart;
-import darkknight.jewelrycraft.model.ModelJewlersCraftingBench;
-import darkknight.jewelrycraft.model.ModelMolder;
-import darkknight.jewelrycraft.model.ModelShadowEye;
-import darkknight.jewelrycraft.model.ModelShadowHand;
-import darkknight.jewelrycraft.model.ModelSmelter;
-import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
-import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
-import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
-import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityDisplayerRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityHandPedestalRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityJewelrsCraftingTableRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityMidasTouchRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityMolderRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityShadowEyeRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityShadowHandRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntitySmelterRender;
-import darkknight.jewelrycraft.util.JewelrycraftUtil;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ClientProxy extends CommonProxy
-{
- @Override
- public void preInit()
- {
- ResourceLocation pedestalResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
- TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(pedestalResourceLocation), pedestalResourceLocation);
- ResourceLocation shadowResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
- TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(shadowResourceLocation), shadowResourceLocation);
-
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySmelter.class, new TileEntitySmelterRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMolder.class, new TileEntityMolderRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityJewelrsCraftingTable.class, new TileEntityJewelrsCraftingTableRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDisplayer.class, new TileEntityDisplayerRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityShadowEye.class, new TileEntityShadowEyeRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMidasTouch.class, new TileEntityMidasTouchRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityHandPedestal.class, pedestalRender);
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityShadowHand.class, shadowHandRender);
-
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.displayer), new ItemRender(new TileEntityDisplayerRender(), new TileEntityDisplayer(), new ModelDisplayer()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.jewelCraftingTable), new ItemRender(new TileEntityJewelrsCraftingTableRender(), new TileEntityJewelrsCraftingTable(), new ModelJewlersCraftingBench()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.smelter), new ItemRender(new TileEntitySmelterRender(), new TileEntitySmelter(), new ModelSmelter()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.molder), new ItemRender(new TileEntityMolderRender(), new TileEntityMolder(), new ModelMolder()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowEye), new ItemRender(new TileEntityShadowEyeRender(), new TileEntityShadowEye(), new ModelShadowEye()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(pedestalResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(shadowResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ItemList.goldObj), new ItemRender();
-
- VillagerRegistry.instance().registerVillagerSkin(3000, new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png"));
-
- RenderingRegistry.registerEntityRenderingHandler(EntityHeart.class, new HeartRender(new ModelHeart(), 0.25F));
- RenderingRegistry.registerEntityRenderingHandler(EntityHalfHeart.class, new HeartRender(new ModelHalfHeart(), 0.25F));
-
- TabRegistry.registerTab(new InventoryTabVanilla());
- TabRegistry.registerTab(new TabJewelry());
- MinecraftForge.EVENT_BUS.register(new TabRegistry());
- MinecraftForge.EVENT_BUS.register(new PlayerRenderHandler());
- ResourceLocation jeweleryTexture = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), jeweleryTexture));
- }
-
- @Override
- public void postInit()
- {
- JewelrycraftUtil.addStuff();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/e0b9d3d674e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/13/e018e6ed84ea001411cee0f8f86532a4
index f4fa38d..fca2a8d 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/e0b9d3d674e70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/13/e018e6ed84ea001411cee0f8f86532a4
@@ -18,7 +18,8 @@ import darkknight.jewelrycraft.util.Variables;
public class CursePentagram extends Curse
{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ float rot = 0F;
+
public CursePentagram(int id, String name, int text)
{
super(id, name, text);
@@ -26,8 +27,7 @@ public class CursePentagram extends Curse
@Override
public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
+ {}
public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
{
@@ -35,15 +35,18 @@ public class CursePentagram extends Curse
GL11.glColor4f(1, 1, 1, 1);
Tessellator tessellator = Tessellator.instance;
TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
+ texturemanager.bindTexture(Variables.CURSES_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 20F, 1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot+=3F;
+ if (rot > 360F) rot = 0F;
float f = 0.00390625F;
float f1 = 0.00390625F;
int x = 0;
int y = 0;
- int u = 0;
+ int u = 32 * 7;
int v = 0;
int width = 32;
int height = 32;
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00cc33c5afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00cc33c5afea001411cee0f8f86532a4
new file mode 100644
index 0000000..fab1a03
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00cc33c5afea001411cee0f8f86532a4
@@ -0,0 +1,12 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.events;
+
+/**
+ * @author Sorin
+ *
+ */
+public class EventList
+{
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00e7eba687ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00e7eba687ea001411cee0f8f86532a4
new file mode 100644
index 0000000..9816c75
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/00e7eba687ea001411cee0f8f86532a4
@@ -0,0 +1,60 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(Variables.CURSES_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/a0d5c5c83ce700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/a0d5c5c83ce700141e05cdbaeb682437
deleted file mode 100644
index 3ff5ed4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/15/a0d5c5c83ce700141e05cdbaeb682437
+++ /dev/null
@@ -1,122 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
- public static String[] infamyCache = new String[]{};
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (infamyCache != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- for(int i = 0; i < infamyCache.length; i++)
- if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/00f6e805aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/00f6e805aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..f708e78
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/00f6e805aeea001411cee0f8f86532a4
@@ -0,0 +1,197 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ ModMetadata metadata = e.getModMetadata();
+ List<String> authorList = new ArrayList<String>();
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+
+ dir = e.getModConfigurationDirectory();
+ proxy.preInit();
+ netWrapper = NetworkRegistry.INSTANCE.newSimpleChannel(Variables.MODID);
+ netWrapper.registerMessage(PacketRequestLiquidData.class, PacketRequestLiquidData.class, 0, Side.SERVER);
+ netWrapper.registerMessage(PacketSendLiquidData.class, PacketSendLiquidData.class, 1, Side.CLIENT);
+ netWrapper.registerMessage(PacketClearColorCache.class, PacketClearColorCache.class, 2, Side.CLIENT);
+ netWrapper.registerMessage(PacketKeyPressEvent.class, PacketKeyPressEvent.class, 3, Side.SERVER);
+ netWrapper.registerMessage(PacketRequestPlayerInfo.class, PacketRequestPlayerInfo.class, 4, Side.SERVER);
+ netWrapper.registerMessage(PacketSendClientPlayerInfo.class, PacketSendClientPlayerInfo.class, 5, Side.CLIENT);
+ netWrapper.registerMessage(PacketSendServerPlayersInfo.class, PacketSendServerPlayersInfo.class, 6, Side.CLIENT);
+ netWrapper.registerMessage(PacketRequestSetSlot.class, PacketRequestSetSlot.class, 7, Side.SERVER);
+
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+
+ createEntity(EntityHeart.class, Variables.MODID + ".Heart", 0xFF0000, 0xFF0000, false);
+ createEntity(EntityHalfHeart.class, Variables.MODID + ".Half-Heart", 0x000000, 0xFF0000, false);
+
+ }
+
+ public void createEntity(Class<? extends Entity> entity, String entityName, int solidColor, int spotColor, boolean hasSpawnEgg)
+ {
+ int randomID = EntityRegistry.findGlobalUniqueEntityId();
+ if(hasSpawnEgg) EntityRegistry.registerGlobalEntityID(entity, entityName, randomID, solidColor, spotColor);
+ else EntityRegistry.registerGlobalEntityID(entity, entityName, randomID);
+ EntityRegistry.registerModEntity(entity, entityName, randomID, this, 40, 3, true);
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/302024c987ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/302024c987ea001411cee0f8f86532a4
new file mode 100644
index 0000000..52ab09d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/16/302024c987ea001411cee0f8f86532a4
@@ -0,0 +1,38 @@
+package darkknight.jewelrycraft.curses;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseList
+{
+ public static Curse rotten;
+ public static Curse flaming;
+ public static Curse blind;
+ public static Curse greed;
+ public static Curse infamy;
+ public static Curse midasTouch;
+ public static Curse rabbitsPaw;
+ public static Curse pentagram;
+ public static Curse vampireHunger;
+ public static Curse humbleBundle;
+ public static Curse deathsTouch;
+ public static Curse antichrist;
+ public static Curse moneyEqualsPower;
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ rotten = new CurseRottenHeart(Variables.MODNAME + ":" + "Rotten Heart", 0, 0);
+ flaming = new CurseFlamingSoul(Variables.MODNAME + ":" + "Flaming Soul", 1, 0);
+ greed = new CurseGreed(Variables.MODNAME + ":" + "Greed", 2, 0);
+ blind = new CurseBlind(Variables.MODNAME + ":" + "Blind", 3, 0);
+ infamy = new CurseInfamy(Variables.MODNAME + ":" + "Infamy", 4, 0);
+ midasTouch = new CurseMidasTouch(Variables.MODNAME + ":" + "Midas Touch", 5, 0);
+ rabbitsPaw = new CurseRabbitsPaw(Variables.MODNAME + ":" + "Rabbit's Paw", 6, 0);
+ pentagram = new CursePentagram(Variables.MODNAME + ":" + "Pentagram", 7, 0);
+// vampireHunger = new CurseMidasTouch(8, Variables.MODNAME + ":" + "Vampire Hunger", 8, 0);
+// humbleBundle = new CurseMidasTouch(9, Variables.MODNAME + ":" + "Humble Bundle", 9, 0);
+// deathsTouch = new CurseMidasTouch(10, Variables.MODNAME + ":" + "Deaths Touch", 10, 0);
+// antichrist = new CurseMidasTouch(11, Variables.MODNAME + ":" + "Antichrist", 11, 0);
+// moneyEqualsPower = new CurseMidasTouch(12, Variables.MODNAME + ":" + "Money Equals Power", 12, 0);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/0027527092e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/0027527092e3001417b2e384bf7c3702
deleted file mode 100644
index 3ea8ce3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/0027527092e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, 2D, 0D, 0D, 1F, 1F);
-// RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, midas.target.posX - Minecraft.getMinecraft().thePlayer.posX, midas.target.posY - Minecraft.getMinecraft().thePlayer.posY, midas.target.posZ - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/00a2b6defce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/00a2b6defce40014174fe663e69b8422
deleted file mode 100644
index 3293158..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/00a2b6defce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/30dc53adb2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/30dc53adb2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..7e44dc8
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/30dc53adb2ea001411cee0f8f86532a4
@@ -0,0 +1,32 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ System.out.println(x + " " + z);
+ if (z != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if (x != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/7045c0d592ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/7045c0d592ea001411cee0f8f86532a4
new file mode 100644
index 0000000..6c9ebb0
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/7045c0d592ea001411cee0f8f86532a4
@@ -0,0 +1,31 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 1F, 0F);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/80383f3671e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/80383f3671e300141084bb8bfb075c08
deleted file mode 100644
index a059832..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/80383f3671e300141084bb8bfb075c08
+++ /dev/null
@@ -1,72 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch()
- {
- target = null;
- }
-
- /**
- * @param nbt
- */
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- nbt.setTag("object", tag);
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/19/507e2e4e84ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/19/507e2e4e84ea001411cee0f8f86532a4
new file mode 100644
index 0000000..89f598d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/19/507e2e4e84ea001411cee0f8f86532a4
@@ -0,0 +1,15 @@
+package darkknight.jewelrycraft.util;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/706949a171e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/706949a171e300141084bb8bfb075c08
deleted file mode 100644
index dd4db0c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/706949a171e300141084bb8bfb075c08
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import net.minecraft.block.Block;
-import net.minecraft.block.material.Material;
-import net.minecraftforge.fluids.Fluid;
-import net.minecraftforge.fluids.FluidRegistry;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.tileentity.TileEntityAltar;
-import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
-import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
-import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
-import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
-import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
-import darkknight.jewelrycraft.util.Variables;
-
-public class BlockList
-{
- public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock;
- public static BlockMoltenMetal moltenMetal;
- public static Fluid moltenMetalFluid;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
- displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
- handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
- midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock").setCreativeTab(JewelrycraftMod.jewelrycraft);
-
- GameRegistry.registerBlock(shadowOre, "shadowOre");
- GameRegistry.registerBlock(shadowBlock, "shadowBlock");
- GameRegistry.registerBlock(smelter, "Smelter");
- GameRegistry.registerBlock(molder, "Molder");
- GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
- GameRegistry.registerBlock(displayer, "Displayer");
- GameRegistry.registerBlock(jewelAltar, "Altar");
- GameRegistry.registerBlock(shadowEye, "Shadow Eye");
- GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
- GameRegistry.registerBlock(shadowHand, "Shadow Hand");
- GameRegistry.registerBlock(midasTouchBlock, "Midas Touch Block");
-
- GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
- GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
- GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
- GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
- GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
- GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
- GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
- GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
- GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
-
- moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
- if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
- moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
- GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/80c6fbebafea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/80c6fbebafea001411cee0f8f86532a4
new file mode 100644
index 0000000..ccf918e
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1a/80c6fbebafea001411cee0f8f86532a4
@@ -0,0 +1,40 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.events;
+
+import net.minecraftforge.common.MinecraftForge;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+
+public class EventList
+{
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+ }
+
+ public static void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/a0cc56d4fbe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/a0cc56d4fbe40014174fe663e69b8422
deleted file mode 100644
index 4b85be6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/a0cc56d4fbe40014174fe663e69b8422
+++ /dev/null
@@ -1,68 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import javax.imageio.ImageIO;
-import net.minecraft.block.Block;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.client.resources.IResourceManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.DamageSource;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.effects.ModifierEffects;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {
- super();
- }
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/c0982a0792e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/c0982a0792e3001417b2e384bf7c3702
deleted file mode 100644
index 54ebba0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/c0982a0792e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,26 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, te.xCoord - (int)Minecraft.getMinecraft().thePlayer.posX, te.yCoord - (int)Minecraft.getMinecraft().thePlayer.posY, te.zCoord - (int)Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1d/3003c407fee40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1d/3003c407fee40014174fe663e69b8422
deleted file mode 100644
index cd510dc..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1d/3003c407fee40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObj().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/0090818687ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/0090818687ea001411cee0f8f86532a4
new file mode 100644
index 0000000..d097030
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/0090818687ea001411cee0f8f86532a4
@@ -0,0 +1,25 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.potion.Potion;
+import net.minecraft.potion.PotionEffect;
+import net.minecraft.world.World;
+
+public class CurseRottenHeart extends Curse
+{
+ public CurseRottenHeart(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ if (!player.isPotionActive(Potion.poison) || player.getActivePotionEffect(Potion.poison).getDuration() < 30) player.addPotionEffect(new PotionEffect(Potion.poison.id, 80));
+ }
+
+ public String getDescription()
+ {
+ return "Your heart slowly rots inside";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/c00f4e1196ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/c00f4e1196ea001411cee0f8f86532a4
new file mode 100644
index 0000000..837385d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/c00f4e1196ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ GL11.glTranslatef(0.0F, 2.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/f08e283892e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/f08e283892e3001417b2e384bf7c3702
deleted file mode 100644
index 15da89c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1e/f08e283892e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,26 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, midas.target.posX - Minecraft.getMinecraft().thePlayer.posX, midas.target.posY - Minecraft.getMinecraft().thePlayer.posY, midas.target.posZ - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2/700a88ac90e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2/700a88ac90e3001417b2e384bf7c3702
deleted file mode 100644
index 083f63f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2/700a88ac90e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,54 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch(null);
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/000ed0d640e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/000ed0d640e700141e05cdbaeb682437
deleted file mode 100644
index d39e416..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/000ed0d640e700141e05cdbaeb682437
+++ /dev/null
@@ -1,126 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/703581a771e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/703581a771e300141084bb8bfb075c08
deleted file mode 100644
index 4d506d3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/703581a771e300141084bb8bfb075c08
+++ /dev/null
@@ -1,56 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- Random rand = new Random();
-
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/80bb60f196ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/80bb60f196ea001411cee0f8f86532a4
new file mode 100644
index 0000000..7094757
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/80bb60f196ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_DST_COLOR);
+ GL11.glColor3f(1F, 0F, 0F);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/a0dafd1785ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/a0dafd1785ea001411cee0f8f86532a4
new file mode 100644
index 0000000..fa09ef2
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/20/a0dafd1785ea001411cee0f8f86532a4
@@ -0,0 +1,101 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import net.minecraftforge.event.entity.player.PlayerOpenContainerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+ static ResourceLocation texture;
+
+ public ScreenHandler(Minecraft mc, ResourceLocation tex)
+ {
+ super();
+ this.mc = mc;
+ texture = tex;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(Variables.HEARTS_TEXTURE);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ mc.renderEngine.bindTexture(texture);
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(hearts);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(hearts);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/00c64cbd86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/00c64cbd86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..4a38881
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/00c64cbd86ea001411cee0f8f86532a4
@@ -0,0 +1,129 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int id, texturepack, textureID;
+ protected String name, description;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(int id, String name, int txtID, int texturepack)
+ {
+ this.id = id;
+ this.name = name;
+ this.texturepack = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public int getTexturePack()
+ {
+ return texturepack;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/503aaee588ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/503aaee588ea001411cee0f8f86532a4
new file mode 100644
index 0000000..172c969
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/503aaee588ea001411cee0f8f86532a4
@@ -0,0 +1,67 @@
+package darkknight.jewelrycraft.curses;
+
+import org.lwjgl.opengl.GL11;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.SharedMonsterAttributes;
+import net.minecraft.entity.monster.EntityMob;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.MaskRender;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.PlayerUtils;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseInfamy extends Curse
+{
+ MaskRender mask = new MaskRender();
+ public CurseInfamy(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (rand.nextInt(5) == 0 && !world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && target.canAttackWithItem()){
+ NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
+ if (playerInfo.getFloat("BlackHeart") < 20F) playerInfo.setFloat("BlackHeart", playerInfo.getFloat("BlackHeart") + 1.0F);
+ if (player.getMaxHealth() >= 3F){
+ player.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(player.getMaxHealth() - 1.0F);
+ player.setHealth(player.getHealth() - 1.0F);
+ }
+ JewelrycraftUtil.addCursePoints(player, 10);
+ }
+ }
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Post event)
+ {
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(1.6f, 1.6f, 1.6f);
+ GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
+ mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "What have you done?!";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/705c8cde88ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/705c8cde88ea001411cee0f8f86532a4
new file mode 100644
index 0000000..42bec18
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/705c8cde88ea001411cee0f8f86532a4
@@ -0,0 +1,128 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int textureID;
+ protected String name, description, texturePackName;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(String name, int txtID, String texturepack)
+ {
+ this.name = name;
+ this.texturePackName = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public String getTexturePack()
+ {
+ return texturePackName;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/80feb574b2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/80feb574b2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..04bcf83
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/80feb574b2ea001411cee0f8f86532a4
@@ -0,0 +1,117 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ if (playersInfo != null){
+ EntityPlayer player = Minecraft.getMinecraft().thePlayer;
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && playerInfo.getInteger("cursePoints") > 0) curse.playerHandRender(player, event);
+ }
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/d09736c947e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/d09736c947e700141e05cdbaeb682437
deleted file mode 100644
index 1143a94..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/21/d09736c947e700141e05cdbaeb682437
+++ /dev/null
@@ -1,128 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(nbt);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(nbt);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/22/b06623eb95ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/22/b06623eb95ea001411cee0f8f86532a4
new file mode 100644
index 0000000..4fd90c5
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/22/b06623eb95ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ GL11.glTranslatef(0.0F, 3.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/23/90e61b1372e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/23/90e61b1372e300141084bb8bfb075c08
deleted file mode 100644
index 5d01be0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/23/90e61b1372e300141084bb8bfb075c08
+++ /dev/null
@@ -1,37 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- target.setDead();
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/24/609d74fbfde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/24/609d74fbfde40014174fe663e69b8422
deleted file mode 100644
index 7f0dc41..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/24/609d74fbfde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldObject extends Item
-{
- public ItemGoldObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/00d1f1fcafea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/00d1f1fcafea001411cee0f8f86532a4
new file mode 100644
index 0000000..ac9f61d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/00d1f1fcafea001411cee0f8f86532a4
@@ -0,0 +1,39 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.events;
+
+import net.minecraftforge.common.MinecraftForge;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+
+public class EventList
+{
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+ }
+
+ public static void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/5021877296ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/5021877296ea001411cee0f8f86532a4
new file mode 100644
index 0000000..10cc8aa
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/25/5021877296ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/00cf95bfafea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/00cf95bfafea001411cee0f8f86532a4
new file mode 100644
index 0000000..90989cd
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/00cf95bfafea001411cee0f8f86532a4
@@ -0,0 +1,79 @@
+package darkknight.jewelrycraft.block;
+
+import net.minecraft.block.Block;
+import net.minecraft.block.material.Material;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.fluids.Fluid;
+import net.minecraftforge.fluids.FluidRegistry;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.tileentity.TileEntityAltar;
+import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
+import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
+import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
+import darkknight.jewelrycraft.tileentity.TileEntityMolder;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
+import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BlockList
+{
+ public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock;
+ public static BlockMoltenMetal moltenMetal;
+ public static Fluid moltenMetalFluid;
+ private static boolean isInitialized = false;
+
+ /**
+ * @param e
+ */
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
+ midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock");
+ moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
+ if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
+ moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
+
+ GameRegistry.registerBlock(shadowOre, "shadowOre");
+ GameRegistry.registerBlock(shadowBlock, "shadowBlock");
+ GameRegistry.registerBlock(smelter, "Smelter");
+ GameRegistry.registerBlock(molder, "Molder");
+ GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
+ GameRegistry.registerBlock(displayer, "Displayer");
+ GameRegistry.registerBlock(jewelAltar, "Altar");
+ GameRegistry.registerBlock(shadowEye, "Shadow Eye");
+ GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
+ GameRegistry.registerBlock(shadowHand, "Shadow Hand");
+ GameRegistry.registerBlock(midasTouchBlock, "Midas Touch Block");
+ GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
+
+ GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
+ GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
+ GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
+ GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
+ GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
+ GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
+ GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
+ GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
+ GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
+ GameRegistry.registerTileEntity(TileEntityMidasTouch.class, Variables.MODID + ":midsaTouch");
+
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/803e9d8d04e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/803e9d8d04e50014174fe663e69b8422
deleted file mode 100644
index 1aefce2..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/26/803e9d8d04e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- System.out.println(Block.getBlockFromItem(item.getItem()) + " " + item.getIconIndex());
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else{
-// System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/27/00520c9504e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/27/00520c9504e50014174fe663e69b8422
deleted file mode 100644
index fa89a3b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/27/00520c9504e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
-// System.out.println(Block.getBlockFromItem(item.getItem()) + " " + item.getIconIndex());
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else{
-// System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/809e116607e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/809e116607e50014174fe663e69b8422
deleted file mode 100644
index 27f0233..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/809e116607e50014174fe663e69b8422
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly(Side.CLIENT)
- public boolean hasEffect(ItemStack item)
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIcon(JewelryNBT.item(stack), pass);
- else return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/a04b7a8e91e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/a04b7a8e91e3001417b2e384bf7c3702
deleted file mode 100644
index 189332b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/28/a04b7a8e91e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(0F, 1.0F, 1.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, 0D, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/4028feb585ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/4028feb585ea001411cee0f8f86532a4
new file mode 100644
index 0000000..29648dc
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/4028feb585ea001411cee0f8f86532a4
@@ -0,0 +1,100 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+ static ResourceLocation texture;
+
+ public ScreenHandler(Minecraft mc, ResourceLocation tex)
+ {
+ super();
+ this.mc = mc;
+ texture = tex;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ mc.renderEngine.bindTexture(texture);
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/60372ebb47e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/60372ebb47e700141e05cdbaeb682437
deleted file mode 100644
index 98a9aba..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/60372ebb47e700141e05cdbaeb682437
+++ /dev/null
@@ -1,128 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(nbt);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(JewelryNBT.ingotColor(item));
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/707801098ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/707801098ee3001417b2e384bf7c3702
deleted file mode 100644
index e357f13..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/707801098ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,24 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor4f(1F, 0.0F, 1.0F, 0.3F);
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/d00cc0cf74e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/e0f462ef84ea001411cee0f8f86532a4
index dc4d380..fb39bdd 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/d00cc0cf74e70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/29/e0f462ef84ea001411cee0f8f86532a4
@@ -18,7 +18,8 @@ import darkknight.jewelrycraft.util.Variables;
public class CursePentagram extends Curse
{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ float rot = 0F;
+
public CursePentagram(int id, String name, int text)
{
super(id, name, text);
@@ -26,8 +27,7 @@ public class CursePentagram extends Curse
@Override
public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
+ {}
public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
{
@@ -35,15 +35,18 @@ public class CursePentagram extends Curse
GL11.glColor4f(1, 1, 1, 1);
Tessellator tessellator = Tessellator.instance;
TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
+ texturemanager.bindTexture(Variables.CURSES_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 2F, 1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
float f = 0.00390625F;
float f1 = 0.00390625F;
int x = 0;
int y = 0;
- int u = 0;
+ int u = 32 * 7;
int v = 0;
int width = 32;
int height = 32;
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/a080c22b73e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/a080c22b73e70014115de2bb951f0adf
deleted file mode 100644
index cff4141..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/a080c22b73e70014115de2bb951f0adf
+++ /dev/null
@@ -1,48 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-
-public class CursePentagram extends Curse
-{
- MaskRender mask = new MaskRender();
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- Tessellator tessellator = Tessellator.instance;
- ItemStack itemStack = new ItemStack(Items.apple);
- IIcon iicon = itemStack.getIconIndex();
- float f = iicon.getMinU();
- float f1 = iicon.getMaxU();
- float f2 = iicon.getMinV();
- float f3 = iicon.getMaxV();
- ItemRenderer.renderItemIn2D(tessellator, f1, f2, f, f3, iicon.getIconWidth(), iicon.getIconHeight(), 0.0625F);
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/e0efd1ff96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/e0efd1ff96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..081a125
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2a/e0efd1ff96ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_DST_ALPHA);
+ GL11.glColor3f(1F, 0F, 0F);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/0026ada605e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/0026ada605e50014174fe663e69b8422
deleted file mode 100644
index 4bb6fb3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/0026ada605e50014174fe663e69b8422
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIcon(JewelryNBT.item(stack), pass);
- else{
-// System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/c0710fb874e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/c0710fb874e70014115de2bb951f0adf
deleted file mode 100644
index f0cd611..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2b/c0710fb874e70014115de2bb951f0adf
+++ /dev/null
@@ -1,62 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CursePentagram extends Curse
-{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- Tessellator tessellator = Tessellator.instance;
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
- GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 1F, 1F);
- float f = 0.00390625F;
- float f1 = 0.00390625F;
- int x = 0;
- int y = 0;
- int u = 0;
- int v = 0;
- int width = 32;
- int height = 32;
- tessellator.startDrawingQuads();
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
- tessellator.draw();
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2c/702bef2597ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2c/702bef2597ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1eca00b
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2c/702bef2597ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ GL11.glColor3f(1F, 0F, 0F);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2d/c06ef67e91e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2d/c06ef67e91e3001417b2e384bf7c3702
deleted file mode 100644
index 17f8dd6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2d/c06ef67e91e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1F, 0.0F, 1.0F);
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2e/e03f878f72e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2e/e03f878f72e300141084bb8bfb075c08
deleted file mode 100644
index fe769ce..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2e/e03f878f72e300141084bb8bfb075c08
+++ /dev/null
@@ -1,54 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/10f36a6990e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/10f36a6990e3001417b2e384bf7c3702
deleted file mode 100644
index 0824233..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/10f36a6990e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,36 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- ((EntityLiving)target).hurtTime = 0;
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/4004ffac98ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/4004ffac98ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f7a4774
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/4004ffac98ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+// GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/c07570fc8de3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/c07570fc8de3001417b2e384bf7c3702
deleted file mode 100644
index 4ea7332..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/2f/c07570fc8de3001417b2e384bf7c3702
+++ /dev/null
@@ -1,24 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glColor4f(0F, 0.0F, 0.0F, 1F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3/e0e45da796ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3/e0e45da796ea001411cee0f8f86532a4
new file mode 100644
index 0000000..76c9b60
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3/e0e45da796ea001411cee0f8f86532a4
@@ -0,0 +1,115 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glColor3f(0F, 1F, 1F);
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/31/c0b15c7987ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/31/c0b15c7987ea001411cee0f8f86532a4
new file mode 100644
index 0000000..32ecfa6
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/31/c0b15c7987ea001411cee0f8f86532a4
@@ -0,0 +1,65 @@
+package darkknight.jewelrycraft.curses;
+
+import org.lwjgl.opengl.GL11;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.SharedMonsterAttributes;
+import net.minecraft.entity.monster.EntityMob;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.MaskRender;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.PlayerUtils;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseInfamy extends Curse
+{
+ MaskRender mask = new MaskRender();
+ public CurseInfamy(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (rand.nextInt(5) == 0 && !world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && target.canAttackWithItem()){
+ NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
+ if (playerInfo.getFloat("BlackHeart") < 20F) playerInfo.setFloat("BlackHeart", playerInfo.getFloat("BlackHeart") + 1.0F);
+ if (player.getMaxHealth() >= 3F){
+ player.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(player.getMaxHealth() - 1.0F);
+ player.setHealth(player.getHealth() - 1.0F);
+ }
+ JewelrycraftUtil.addCursePoints(player, 10);
+ }
+ }
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(1.6f, 1.6f, 1.6f);
+ GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
+ mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "What have you done?!";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/206828078de3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/206828078de3001417b2e384bf7c3702
deleted file mode 100644
index 9687636..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/206828078de3001417b2e384bf7c3702
+++ /dev/null
@@ -1,37 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/30ca78699ae3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/30ca78699ae3001412c4c4819c88e86b
deleted file mode 100644
index 3ac4004..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/30ca78699ae3001412c4c4819c88e86b
+++ /dev/null
@@ -1,86 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune)
- {
- ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
-
- TileEntity tile = world.getTileEntity(x, y, z);
- if (tile != null && ((TileEntityMidasTouch)tile).target != null)
- ret.add(new ItemStack(Items.gold_nugget, (int)(((TileEntityMidasTouch)tile).target.width*((TileEntityMidasTouch)tile).target.height), 0));
-
- return ret;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/50aa567f09e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/50aa567f09e50014174fe663e69b8422
deleted file mode 100644
index 180f11f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/50aa567f09e50014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldObj;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldObj = new ItemGoldObj().setUnlocalizedName(Variables.MODID + ".goldObject").setTextureName(Variables.MODID + ":goldObj");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldObj, "goldObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/c03a5cf1aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/c03a5cf1aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..34cc2ed
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/32/c03a5cf1aeea001411cee0f8f86532a4
@@ -0,0 +1,18 @@
+package darkknight.jewelrycraft.entities;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.util.Variables;
+
+public class EntityList
+{
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+
+ createEntity(EntityHeart.class, Variables.MODID + ".Heart", 0xFF0000, 0xFF0000, false);
+ createEntity(EntityHalfHeart.class, Variables.MODID + ".Half-Heart", 0x000000, 0xFF0000, false);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/33/f001bde393e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/33/f001bde393e3001412c4c4819c88e86b
deleted file mode 100644
index fe769ce..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/33/f001bde393e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,54 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/35/5069282604e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/35/5069282604e50014174fe663e69b8422
deleted file mode 100644
index d3ac3b6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/35/5069282604e50014174fe663e69b8422
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- System.out.println(item.getItem().getIconIndex(JewelryNBT.item(stack)));
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/36/f05b927173e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/36/f05b927173e70014115de2bb951f0adf
deleted file mode 100644
index 2844d05..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/36/f05b927173e70014115de2bb951f0adf
+++ /dev/null
@@ -1,54 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-
-public class CursePentagram extends Curse
-{
- MaskRender mask = new MaskRender();
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- Tessellator tessellator = Tessellator.instance;
- ItemStack itemStack = new ItemStack(Items.apple);
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(texturemanager.getResourceLocation(itemStack.getItemSpriteNumber()));
- IIcon iicon = itemStack.getIconIndex();
- float f = iicon.getMinU();
- float f1 = iicon.getMaxU();
- float f2 = iicon.getMinV();
- float f3 = iicon.getMaxV();
- GL11.glRotatef(90F, 1F, 0F, 0F);
- System.out.println("Hello");
- ItemRenderer.renderItemIn2D(tessellator, f1, f2, f, f3, iicon.getIconWidth(), iicon.getIconHeight(), 0.0625F);
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/00d07f6a97ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/00d07f6a97ea001411cee0f8f86532a4
new file mode 100644
index 0000000..4e1a3c1
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/00d07f6a97ea001411cee0f8f86532a4
@@ -0,0 +1,66 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glColor4f(1F, 1F, 1F, 0.3F);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/303670b098ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/303670b098ea001411cee0f8f86532a4
new file mode 100644
index 0000000..fe6f14a
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/303670b098ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-1F, 1F, -1F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/600d023b95e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/600d023b95e3001412c4c4819c88e86b
deleted file mode 100644
index 898a587..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/600d023b95e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(this.getBlockBoundsMinY());
-// this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/8062bf2107e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/8062bf2107e50014174fe663e69b8422
deleted file mode 100644
index 71b20ff..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/8062bf2107e50014174fe663e69b8422
+++ /dev/null
@@ -1,96 +0,0 @@
-package darkknight.jewelrycraft.proxy;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.item.Item;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.MinecraftForgeClient;
-import net.minecraftforge.common.MinecraftForge;
-import cpw.mods.fml.client.registry.ClientRegistry;
-import cpw.mods.fml.client.registry.RenderingRegistry;
-import cpw.mods.fml.common.registry.VillagerRegistry;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.client.InventoryTabVanilla;
-import darkknight.jewelrycraft.client.TabJewelry;
-import darkknight.jewelrycraft.client.TabRegistry;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.entities.renders.HeartRender;
-import darkknight.jewelrycraft.events.PlayerRenderHandler;
-import darkknight.jewelrycraft.events.ScreenHandler;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.item.render.ItemRender;
-import darkknight.jewelrycraft.model.ModelDisplayer;
-import darkknight.jewelrycraft.model.ModelHalfHeart;
-import darkknight.jewelrycraft.model.ModelHandPedestal;
-import darkknight.jewelrycraft.model.ModelHeart;
-import darkknight.jewelrycraft.model.ModelJewlersCraftingBench;
-import darkknight.jewelrycraft.model.ModelMolder;
-import darkknight.jewelrycraft.model.ModelShadowEye;
-import darkknight.jewelrycraft.model.ModelShadowHand;
-import darkknight.jewelrycraft.model.ModelSmelter;
-import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
-import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
-import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
-import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityDisplayerRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityHandPedestalRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityJewelrsCraftingTableRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityMidasTouchRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityMolderRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityShadowEyeRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntityShadowHandRender;
-import darkknight.jewelrycraft.tileentity.renders.TileEntitySmelterRender;
-import darkknight.jewelrycraft.util.JewelrycraftUtil;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ClientProxy extends CommonProxy
-{
- @Override
- public void preInit()
- {
- ResourceLocation pedestalResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
- TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(pedestalResourceLocation), pedestalResourceLocation);
- ResourceLocation shadowResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
- TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(shadowResourceLocation), shadowResourceLocation);
-
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySmelter.class, new TileEntitySmelterRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMolder.class, new TileEntityMolderRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityJewelrsCraftingTable.class, new TileEntityJewelrsCraftingTableRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDisplayer.class, new TileEntityDisplayerRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityShadowEye.class, new TileEntityShadowEyeRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMidasTouch.class, new TileEntityMidasTouchRender());
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityHandPedestal.class, pedestalRender);
- ClientRegistry.bindTileEntitySpecialRenderer(TileEntityShadowHand.class, shadowHandRender);
-
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.displayer), new ItemRender(new TileEntityDisplayerRender(), new TileEntityDisplayer(), new ModelDisplayer()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.jewelCraftingTable), new ItemRender(new TileEntityJewelrsCraftingTableRender(), new TileEntityJewelrsCraftingTable(), new ModelJewlersCraftingBench()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.smelter), new ItemRender(new TileEntitySmelterRender(), new TileEntitySmelter(), new ModelSmelter()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.molder), new ItemRender(new TileEntityMolderRender(), new TileEntityMolder(), new ModelMolder()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowEye), new ItemRender(new TileEntityShadowEyeRender(), new TileEntityShadowEye(), new ModelShadowEye()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(pedestalResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(shadowResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ItemList.goldObj), new ItemRender());
-
- VillagerRegistry.instance().registerVillagerSkin(3000, new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png"));
-
- RenderingRegistry.registerEntityRenderingHandler(EntityHeart.class, new HeartRender(new ModelHeart(), 0.25F));
- RenderingRegistry.registerEntityRenderingHandler(EntityHalfHeart.class, new HeartRender(new ModelHalfHeart(), 0.25F));
-
- TabRegistry.registerTab(new InventoryTabVanilla());
- TabRegistry.registerTab(new TabJewelry());
- MinecraftForge.EVENT_BUS.register(new TabRegistry());
- MinecraftForge.EVENT_BUS.register(new PlayerRenderHandler());
- ResourceLocation jeweleryTexture = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), jeweleryTexture));
- }
-
- @Override
- public void postInit()
- {
- JewelrycraftUtil.addStuff();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/b01358c6fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/b01358c6fce40014174fe663e69b8422
deleted file mode 100644
index 62c96d7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/37/b01358c6fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemGoldifiedObject goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = (ItemGoldifiedObject)new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e1/508b21c574e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/38/000d9ccf88ea001411cee0f8f86532a4
index 2ef4c69..68adc20 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e1/508b21c574e70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/38/000d9ccf88ea001411cee0f8f86532a4
@@ -1,49 +1,49 @@
package darkknight.jewelrycraft.curses;
import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.texture.TextureManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraftforge.client.event.RenderPlayerEvent;
import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
import darkknight.jewelrycraft.util.Variables;
public class CursePentagram extends Curse
{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
{
- super(id, name, text);
+ super(name, txtID, pack);
}
@Override
public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
+ {}
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Post event)
{
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
GL11.glPushMatrix();
GL11.glColor4f(1, 1, 1, 1);
Tessellator tessellator = Tessellator.instance;
TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -25F, -16F);
GL11.glRotatef(90F, 1F, 0F, 0F);
- GL11.glTranslatef(1F, 1F, 1F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
float f = 0.00390625F;
float f1 = 0.00390625F;
int x = 0;
int y = 0;
- int u = 0;
+ int u = 32 * 7;
int v = 0;
int width = 32;
int height = 32;
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/90d0928795ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/90d0928795ea001411cee0f8f86532a4
new file mode 100644
index 0000000..dce2abb
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/90d0928795ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int gemCol = -1;
+ int ingotCol = -1;
+ float size = 0.055F;
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ GL11.glTranslatef(0.0F, 3.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) gemCol = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotCol = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotCol, (float)gemCol, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/c05f454b92ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/c05f454b92ea001411cee0f8f86532a4
new file mode 100644
index 0000000..4734712
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3a/c05f454b92ea001411cee0f8f86532a4
@@ -0,0 +1,280 @@
+package darkknight.jewelrycraft.model;
+
+import java.awt.Color;
+import net.minecraft.client.model.ModelBase;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.Entity;
+import org.lwjgl.opengl.GL11;
+
+/**
+ * ModelBiped - Either Mojang or a mod author Created using Tabula 4.1.1
+ */
+public class ModelBracelet extends ModelBase
+{
+ public ModelRenderer metal1;
+ public ModelRenderer metal2;
+ public ModelRenderer metal3;
+ public ModelRenderer metal4;
+ public ModelRenderer gem1;
+ public ModelRenderer gem2;
+ public ModelRenderer gem3;
+ public ModelRenderer gem4;
+ public ModelRenderer gem5;
+ public ModelRenderer gem6;
+ public ModelRenderer gem7;
+ public ModelRenderer gem8;
+ public ModelRenderer gem9;
+
+ public ModelBracelet()
+ {
+ this.textureWidth = 16;
+ this.textureHeight = 16;
+ this.metal4 = new ModelRenderer(this, 0, 8);
+ this.metal4.setRotationPoint(-5.0F, 12.0F, -2.0F);
+ this.metal4.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem4 = new ModelRenderer(this, 0, 0);
+ this.gem4.setRotationPoint(-3.0F, 12.8F, -3.5F);
+ this.gem4.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.setRotateAngle(gem4, 0.0F, 0.008901179185171082F, 0.0F);
+ this.gem3 = new ModelRenderer(this, 0, 0);
+ this.gem3.setRotationPoint(-4.8F, 12.2F, -3.5F);
+ this.gem3.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem2 = new ModelRenderer(this, 0, 0);
+ this.gem2.setRotationPoint(-1.5F, 12.8F, -3.5F);
+ this.gem2.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem1 = new ModelRenderer(this, 0, 0);
+ this.gem1.setRotationPoint(0.3F, 12.2F, -3.5F);
+ this.gem1.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.metal1 = new ModelRenderer(this, 0, 8);
+ this.metal1.setRotationPoint(-5.0F, 12.0F, -3.0F);
+ this.metal1.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem6 = new ModelRenderer(this, 0, 0);
+ this.gem6.setRotationPoint(-4.3F, 12.7F, -3.5F);
+ this.gem6.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.gem7 = new ModelRenderer(this, 0, 0);
+ this.gem7.setRotationPoint(-3.8F, 12.7F, -3.5F);
+ this.gem7.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem8 = new ModelRenderer(this, 0, 0);
+ this.gem8.setRotationPoint(-0.2F, 12.7F, -3.5F);
+ this.gem8.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.metal2 = new ModelRenderer(this, 0, 8);
+ this.metal2.setRotationPoint(-5.0F, 12.0F, 2.0F);
+ this.metal2.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem5 = new ModelRenderer(this, 0, 0);
+ this.gem5.setRotationPoint(-2.5F, 12.3F, -3.5F);
+ this.gem5.addBox(0.0F, 0.0F, 0.0F, 2, 3, 1, 0.0F);
+ this.metal3 = new ModelRenderer(this, 0, 8);
+ this.metal3.setRotationPoint(0.0F, 12.0F, -2.0F);
+ this.metal3.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem9 = new ModelRenderer(this, 0, 0);
+ this.gem9.setRotationPoint(-0.7F, 12.7F, -3.5F);
+ this.gem9.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ }
+
+ @Override
+ public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
+ {
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glTranslatef(0F, 1.5F, 0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ }
+
+ /**
+ * This is a helper function from Tabula to set the rotation of model parts
+ */
+ public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z)
+ {
+ modelRenderer.rotateAngleX = x;
+ modelRenderer.rotateAngleY = y;
+ modelRenderer.rotateAngleZ = z;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3b/10b462f7fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3b/10b462f7fce40014174fe663e69b8422
deleted file mode 100644
index 974f7e5..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3b/10b462f7fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3c/e03ea8c592ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3c/e03ea8c592ea001411cee0f8f86532a4
new file mode 100644
index 0000000..b9d9b16
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3c/e03ea8c592ea001411cee0f8f86532a4
@@ -0,0 +1,30 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ bracelet.render(entity, 0F, 1F, 0F, (float)z, f, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/50eda2a547e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/90f34aec91ea001411cee0f8f86532a4
index e81ef93..bad030d 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/1c/50eda2a547e700141e05cdbaeb682437
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/90f34aec91ea001411cee0f8f86532a4
@@ -1,59 +1,42 @@
package darkknight.jewelrycraft.events;
import java.util.Iterator;
-import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.RenderPlayerEvent;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
import darkknight.jewelrycraft.curses.CurseList;
import darkknight.jewelrycraft.entities.renders.RenderHelper;
import darkknight.jewelrycraft.item.render.BraceletRender;
import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
import darkknight.jewelrycraft.model.ModelBracelet;
import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
public class PlayerRenderHandler
{
- MaskRender mask = new MaskRender();
EarringsRender earrings = new EarringsRender();
BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
public static NBTTagCompound playersInfo = new NBTTagCompound();
@SubscribeEvent
public void renderScreen(RenderPlayerEvent.Specials.Post event)
{
ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
if (playersInfo != null){
while (players.hasNext()){
EntityPlayer player = players.next();
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
@@ -82,29 +65,41 @@ public class PlayerRenderHandler
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
GL11.glPushMatrix();
GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
+ float size = 0.055F;
if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
+// GL11.glTranslatef(0F, -(12-i)*0.1F, 0F);
+ float sizeY=(13-i)*0.055F;
+ rightArm.postRender(0.6F);
+// if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+// if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F)
+// GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+// }else{
+// GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+// if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+// if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+// if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+// }
+// GL11.glScalef(0.05f, 0.03f, 0.05f);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(gemColor + " " + ingotColor);
bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
}else{
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F)
+ GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(gemColor + " " + ingotColor);
bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
}
GL11.glPopMatrix();
@@ -120,9 +115,7 @@ public class PlayerRenderHandler
private boolean checkPlayerInfamy(String string)
{
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
return false;
}
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/a08b206401e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/a08b206401e50014174fe663e69b8422
deleted file mode 100644
index 3cf6eb4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/a08b206401e50014174fe663e69b8422
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null)
- return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/c0fca79b92ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/c0fca79b92ea001411cee0f8f86532a4
new file mode 100644
index 0000000..b8e8da2
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/c0fca79b92ea001411cee0f8f86532a4
@@ -0,0 +1,184 @@
+package darkknight.jewelrycraft.model;
+
+import java.awt.Color;
+import net.minecraft.client.model.ModelBase;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.Entity;
+import org.lwjgl.opengl.GL11;
+
+/**
+ * ModelBiped - Either Mojang or a mod author Created using Tabula 4.1.1
+ */
+public class ModelBracelet extends ModelBase
+{
+ public ModelRenderer metal1;
+ public ModelRenderer metal2;
+ public ModelRenderer metal3;
+ public ModelRenderer metal4;
+ public ModelRenderer gem1;
+ public ModelRenderer gem2;
+ public ModelRenderer gem3;
+ public ModelRenderer gem4;
+ public ModelRenderer gem5;
+ public ModelRenderer gem6;
+ public ModelRenderer gem7;
+ public ModelRenderer gem8;
+ public ModelRenderer gem9;
+
+ public ModelBracelet()
+ {
+ this.textureWidth = 16;
+ this.textureHeight = 16;
+ this.metal4 = new ModelRenderer(this, 0, 8);
+ this.metal4.setRotationPoint(-5.0F, 12.0F, -2.0F);
+ this.metal4.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem4 = new ModelRenderer(this, 0, 0);
+ this.gem4.setRotationPoint(-3.0F, 12.8F, -3.5F);
+ this.gem4.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.setRotateAngle(gem4, 0.0F, 0.008901179185171082F, 0.0F);
+ this.gem3 = new ModelRenderer(this, 0, 0);
+ this.gem3.setRotationPoint(-4.8F, 12.2F, -3.5F);
+ this.gem3.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem2 = new ModelRenderer(this, 0, 0);
+ this.gem2.setRotationPoint(-1.5F, 12.8F, -3.5F);
+ this.gem2.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem1 = new ModelRenderer(this, 0, 0);
+ this.gem1.setRotationPoint(0.3F, 12.2F, -3.5F);
+ this.gem1.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.metal1 = new ModelRenderer(this, 0, 8);
+ this.metal1.setRotationPoint(-5.0F, 12.0F, -3.0F);
+ this.metal1.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem6 = new ModelRenderer(this, 0, 0);
+ this.gem6.setRotationPoint(-4.3F, 12.7F, -3.5F);
+ this.gem6.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.gem7 = new ModelRenderer(this, 0, 0);
+ this.gem7.setRotationPoint(-3.8F, 12.7F, -3.5F);
+ this.gem7.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem8 = new ModelRenderer(this, 0, 0);
+ this.gem8.setRotationPoint(-0.2F, 12.7F, -3.5F);
+ this.gem8.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.metal2 = new ModelRenderer(this, 0, 8);
+ this.metal2.setRotationPoint(-5.0F, 12.0F, 2.0F);
+ this.metal2.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem5 = new ModelRenderer(this, 0, 0);
+ this.gem5.setRotationPoint(-2.5F, 12.3F, -3.5F);
+ this.gem5.addBox(0.0F, 0.0F, 0.0F, 2, 3, 1, 0.0F);
+ this.metal3 = new ModelRenderer(this, 0, 8);
+ this.metal3.setRotationPoint(0.0F, 12.0F, -2.0F);
+ this.metal3.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem9 = new ModelRenderer(this, 0, 0);
+ this.gem9.setRotationPoint(-0.7F, 12.7F, -3.5F);
+ this.gem9.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ }
+
+ @Override
+ public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
+ {
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ }
+
+ /**
+ * This is a helper function from Tabula to set the rotation of model parts
+ */
+ public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z)
+ {
+ modelRenderer.rotateAngleX = x;
+ modelRenderer.rotateAngleY = y;
+ modelRenderer.rotateAngleZ = z;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/e023756e88ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/e023756e88ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f46bf69
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3d/e023756e88ea001411cee0f8f86532a4
@@ -0,0 +1,128 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int textureID;
+ protected String name, description, texturePackName;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(String name, int txtID, String texturepack)
+ {
+ this.name = name;
+ this.texturePackName = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public String getTexturePack()
+ {
+ return texturePackName;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3f/f026c032fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3f/f026c032fde40014174fe663e69b8422
deleted file mode 100644
index 07bb2b6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3f/f026c032fde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/40/a03afdd19ae3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/40/a03afdd19ae3001412c4c4819c88e86b
deleted file mode 100644
index 3ac4004..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/40/a03afdd19ae3001412c4c4819c88e86b
+++ /dev/null
@@ -1,86 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune)
- {
- ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
-
- TileEntity tile = world.getTileEntity(x, y, z);
- if (tile != null && ((TileEntityMidasTouch)tile).target != null)
- ret.add(new ItemStack(Items.gold_nugget, (int)(((TileEntityMidasTouch)tile).target.width*((TileEntityMidasTouch)tile).target.height), 0));
-
- return ret;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/41/900c963102e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/41/900c963102e50014174fe663e69b8422
deleted file mode 100644
index 5bf09b9..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/41/900c963102e50014174fe663e69b8422
+++ /dev/null
@@ -1,55 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- ItemStack curItem = player.inventory.getCurrentItem();
- if(curItem != null && curItem.getItem() != ItemList.goldObj && Block.getBlockFromItem(curItem.getItem()) == Blocks.air){
- int index = player.inventory.currentItem;
- ItemStack item = curItem;
- ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
- JewelryNBT.addItem(result, item);
- player.inventory.setInventorySlotContents(index, result);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/5070783bb0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/5070783bb0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..ad68fee
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/5070783bb0ea001411cee0f8f86532a4
@@ -0,0 +1,50 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.events;
+
+import net.minecraftforge.common.MinecraftForge;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.worldGen.Generation;
+
+public class EventList
+{
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+ }
+
+ public static void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ public static void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ JewelrycraftMod.proxy.postInit();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/6046f61185ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/6046f61185ea001411cee0f8f86532a4
new file mode 100644
index 0000000..85e2571
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/6046f61185ea001411cee0f8f86532a4
@@ -0,0 +1,21 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+ public static final ResourceLocation CURSES_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ public static final ResourceLocation VILLAGER_TEXTURE = new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f061f27170e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f061f27170e300141084bb8bfb075c08
deleted file mode 100644
index 2ecf660..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f061f27170e300141084bb8bfb075c08
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.tileentity;
-
-/**
- * @author Sorin
- *
- */
-public class TileEntityMidasTouch
-{
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f0bc215473e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f0bc215473e70014115de2bb951f0adf
deleted file mode 100644
index c8e2b42..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/42/f0bc215473e70014115de2bb951f0adf
+++ /dev/null
@@ -1,53 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-
-public class CursePentagram extends Curse
-{
- MaskRender mask = new MaskRender();
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- Tessellator tessellator = Tessellator.instance;
- ItemStack itemStack = new ItemStack(Items.apple);
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(texturemanager.getResourceLocation(itemStack.getItemSpriteNumber()));
- IIcon iicon = itemStack.getIconIndex();
- float f = iicon.getMinU();
- float f1 = iicon.getMaxU();
- float f2 = iicon.getMinV();
- float f3 = iicon.getMaxV();
- GL11.glRotatef(90F, 1F, 0F, 0F);
- ItemRenderer.renderItemIn2D(tessellator, f1, f2, f, f3, iicon.getIconWidth(), iicon.getIconHeight(), 0.0625F);
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/40f706d787ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/40f706d787ea001411cee0f8f86532a4
new file mode 100644
index 0000000..cf2e9c9
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/40f706d787ea001411cee0f8f86532a4
@@ -0,0 +1,38 @@
+package darkknight.jewelrycraft.curses;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseList
+{
+ public static Curse rotten;
+ public static Curse flaming;
+ public static Curse blind;
+ public static Curse greed;
+ public static Curse infamy;
+ public static Curse midasTouch;
+ public static Curse rabbitsPaw;
+ public static Curse pentagram;
+ public static Curse vampireHunger;
+ public static Curse humbleBundle;
+ public static Curse deathsTouch;
+ public static Curse antichrist;
+ public static Curse moneyEqualsPower;
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ rotten = new CurseRottenHeart(Variables.MODNAME + ":" + "Rotten Heart", 0, Variables.MODNAME + "_curses_0");
+ flaming = new CurseFlamingSoul(Variables.MODNAME + ":" + "Flaming Soul", 1, Variables.MODNAME + "_curses_0");
+ greed = new CurseGreed(Variables.MODNAME + ":" + "Greed", 2, Variables.MODNAME + "_curses_0");
+ blind = new CurseBlind(Variables.MODNAME + ":" + "Blind", 3, Variables.MODNAME + "_curses_0");
+ infamy = new CurseInfamy(Variables.MODNAME + ":" + "Infamy", 4, Variables.MODNAME + "_curses_0");
+ midasTouch = new CurseMidasTouch(Variables.MODNAME + ":" + "Midas Touch", 5, Variables.MODNAME + "_curses_0");
+ rabbitsPaw = new CurseRabbitsPaw(Variables.MODNAME + ":" + "Rabbit's Paw", 6, Variables.MODNAME + "_curses_0");
+ pentagram = new CursePentagram(Variables.MODNAME + ":" + "Pentagram", 7, Variables.MODNAME + "_curses_0");
+// vampireHunger = new CurseMidasTouch(8, Variables.MODNAME + ":" + "Vampire Hunger", 8, 0);
+// humbleBundle = new CurseMidasTouch(9, Variables.MODNAME + ":" + "Humble Bundle", 9, 0);
+// deathsTouch = new CurseMidasTouch(10, Variables.MODNAME + ":" + "Deaths Touch", 10, 0);
+// antichrist = new CurseMidasTouch(11, Variables.MODNAME + ":" + "Antichrist", 11, 0);
+// moneyEqualsPower = new CurseMidasTouch(12, Variables.MODNAME + ":" + "Money Equals Power", 12, 0);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/c043415c99e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/c043415c99e3001412c4c4819c88e86b
deleted file mode 100644
index 48e2915..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/c043415c99e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
-// GL11.glRotatef(, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.xCoord - RenderManager.instance.renderPosX, midas.yCoord - RenderManager.instance.renderPosY, midas.zCoord - RenderManager.instance.renderPosZ, midas.target.rotationYaw, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/f08a8a6398ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/f08a8a6398ea001411cee0f8f86532a4
new file mode 100644
index 0000000..10cc8aa
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/44/f08a8a6398ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/6018c4e6fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/6018c4e6fce40014174fe663e69b8422
deleted file mode 100644
index 9fb6a5d..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/6018c4e6fce40014174fe663e69b8422
+++ /dev/null
@@ -1,47 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {
- super();}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/d0f8a1e295ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/d0f8a1e295ea001411cee0f8f86532a4
new file mode 100644
index 0000000..dcb0388
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/45/d0f8a1e295ea001411cee0f8f86532a4
@@ -0,0 +1,112 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/10ad6cb191e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/10ad6cb191e3001417b2e384bf7c3702
deleted file mode 100644
index 6685fc4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/10ad6cb191e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, 0D, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/d01a6b619ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/d01a6b619ce3001412c4c4819c88e86b
deleted file mode 100644
index 70b60fe..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/46/d01a6b619ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.xCoord, midas.yCoord, midas.zCoord, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/47/5092922099ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/47/5092922099ea001411cee0f8f86532a4
new file mode 100644
index 0000000..b3b5ea9
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/47/5092922099ea001411cee0f8f86532a4
@@ -0,0 +1,141 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ System.out.println(event.context);
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -16F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/48/c01e000872e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/48/c01e000872e300141084bb8bfb075c08
deleted file mode 100644
index 98ec2cb..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/48/c01e000872e300141084bb8bfb075c08
+++ /dev/null
@@ -1,85 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch()
- {
- target = null;
- }
-
- /**
- * @param nbt
- */
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- int id = EntityList.getEntityID(target);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- if (nbt.hasKey("entityID") && nbt.hasKey("entity")){
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- if (entity != null && entity instanceof EntityLivingBase){
- entity.readFromNBT(en);
- target = entity;
- }
- }
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/10b8eac006e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/10b8eac006e50014174fe663e69b8422
deleted file mode 100644
index b29bb85..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/10b8eac006e50014174fe663e69b8422
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly(Side.CLIENT)
- public boolean hasEffect(ItemStack item)
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIcon(JewelryNBT.item(stack), pass);
- else return Block.getBlockFromItem(item.).getBlockTextureFromSide(1);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/900ffa92b1ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/900ffa92b1ea001411cee0f8f86532a4
new file mode 100644
index 0000000..2e55759
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/900ffa92b1ea001411cee0f8f86532a4
@@ -0,0 +1,263 @@
+package darkknight.jewelrycraft.tileentity.renders;
+
+import java.awt.Color;
+import java.util.HashMap;
+import java.util.List;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.client.renderer.OpenGlHelper;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.entity.RenderManager;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.EnumChatFormatting;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.util.Variables;
+
+public class TileEntityDisplayerRender extends TileEntitySpecialRenderer
+{
+ ModelDisplayer displayer = new ModelDisplayer();
+ String texture = "textures/tileentities/Displayer.png";
+ HashMap<EnumChatFormatting, Integer> colors = new HashMap<EnumChatFormatting, Integer>(){
+ {
+ put(EnumChatFormatting.AQUA, 5636095);
+ put(EnumChatFormatting.BLACK, 0);
+ put(EnumChatFormatting.BLUE, 5592575);
+ put(EnumChatFormatting.DARK_AQUA, 43690);
+ put(EnumChatFormatting.DARK_BLUE, 170);
+ put(EnumChatFormatting.DARK_GRAY, 5592405);
+ put(EnumChatFormatting.DARK_GREEN, 43520);
+ put(EnumChatFormatting.DARK_PURPLE, 11141290);
+ put(EnumChatFormatting.DARK_RED, 11141120);
+ put(EnumChatFormatting.GOLD, 16755200);
+ put(EnumChatFormatting.GRAY, 11184810);
+ put(EnumChatFormatting.GREEN, 5635925);
+ put(EnumChatFormatting.LIGHT_PURPLE, 16733695);
+ put(EnumChatFormatting.RED, 16733525);
+ put(EnumChatFormatting.WHITE, 16777215);
+ put(EnumChatFormatting.YELLOW, 16777045);
+ }
+ };
+
+ /**
+ * @param te
+ * @param x
+ * @param y
+ * @param z
+ * @param scale
+ */
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ GL11.glPushMatrix();
+ GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
+ TileEntityDisplayer disp = (TileEntityDisplayer)te;
+ ResourceLocation blockTexture = new ResourceLocation(Variables.MODID, texture);
+ Minecraft.getMinecraft().renderEngine.bindTexture(blockTexture);
+ GL11.glPushMatrix();
+ GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
+ displayer.render((Entity)null, disp.ringTranslation1, disp.ringTranslation2, disp.ringTranslation3, 0.0F, 0.0F, 0.0625F);
+ try{
+ int block = disp.getBlockMetadata();
+ if (disp != null && disp.hasObject && disp.object != null && disp.object.getItem() != null && disp.object != new ItemStack(Item.getItemById(0), 0, 0)){
+ int ind = -3;
+ GL11.glPushMatrix();
+ EntityItem entityitem = new EntityItem(te.getWorldObj(), 0.0D, 0.0D, 0.0D, disp.object);
+ entityitem.hoverStart = 0.0F;
+ disp.object.stackSize = 1;
+ GL11.glRotatef(180F, 1F, 0F, 0F);
+ GL11.glTranslatef(0.0F, -0.6F + disp.ringTranslation1 / 5, 0F);
+ GL11.glRotatef(disp.rotAngle, 0F, 1F, 0F);
+ if (RenderManager.instance.options.fancyGraphics) RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ else{
+ GL11.glRotatef(180F, 0F, 1F, 0F);
+ RenderManager.instance.options.fancyGraphics = true;
+ int i = 15728880;
+ int j = i % 65536;
+ int k = i / 65536;
+// OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, j / 1.0F, k / 1.0F);
+ RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ RenderManager.instance.options.fancyGraphics = false;
+ }
+ EntityPlayer player = te.getWorldObj().getClosestPlayer(te.xCoord, te.yCoord, te.zCoord, 5D);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ if (player != null) renderLabel(disp.object.getDisplayName(), 0F, -0.171F * ind, 0F, block, disp, colors.get(disp.object.getRarity().rarityColor));
+ GL11.glPopMatrix();
+ ind++;
+ if (player != null && disp.quantity > 1){
+ GL11.glPushMatrix();
+ renderLabel("x" + Integer.toString(disp.quantity), 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ if (disp.object.getItem() != Items.map && player != null && disp.object.getTooltip(player, true) != null){
+ List tooltips = disp.object.getTooltip(player, true);
+ if (disp.infoIndex + 5 > tooltips.size()) disp.infoIndex = 1;
+ if (tooltips.size() < 5) for(int i = 1; i < tooltips.size(); i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ else for(int i = disp.infoIndex; i < disp.infoIndex + 5; i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ }
+ }
+ }
+ catch(Exception e){}
+ GL11.glPopMatrix();
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param par2Str
+ * @param x
+ * @param y
+ * @param z
+ * @param metadata
+ * @param te
+ * @param color
+ */
+ protected void renderLabel(String par2Str, double x, double y, double z, int metadata, TileEntity te, int color)
+ {
+ FontRenderer fontrenderer = RenderManager.instance.getFontRenderer();
+ float var14 = 0.01266667F * 1.5F;
+ float var17 = 0.015F;
+ GL11.glRotatef(180F, 0F, 0F, 1F);
+ if (metadata == 0) GL11.glRotatef(0F, 0F, 1F, 0F);
+ else if (metadata == 1) GL11.glRotatef(270F, 0F, 1F, 0F);
+ else if (metadata == 2) GL11.glRotatef(180F, 0F, 1F, 0F);
+ else if (metadata == 3) GL11.glRotatef(90F, 0F, 1F, 0F);
+ GL11.glTranslatef((float)x, (float)y, (float)z + 0.45F);
+ GL11.glScalef(-0.015F, -var14, 0.015F);
+ GL11.glPushMatrix();
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ Tessellator tessellator = Tessellator.instance;
+ GL11.glDisable(GL11.GL_TEXTURE_2D);
+ int j = fontrenderer.getStringWidth(par2Str) / 2;
+ tessellator.startDrawingQuads();
+ tessellator.setColorRGBA_F(0.0F, 0.2F, 0.2F, 0.9F);
+ tessellator.addVertex(-33.333 - 0, 0D, 0.1D);
+ tessellator.addVertex(-33.333 - 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 0D, 0.1D);
+ tessellator.draw();
+ if (fontrenderer.getStringWidth(par2Str) / 2 > 20) var17 = 0.9F / fontrenderer.getStringWidth(par2Str);
+ else var17 = var14;
+ int red = color >> 16 & 0xFF;
+ int green = color >> 8 & 0xFF;
+ int blue = color & 0xFF;
+ GL11.glTranslatef((float)x + 1f, (float)y + 1f, (float)z);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_TEXTURE_2D);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ int i = 15728880;
+ int t = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, t / 1.0F, k / 1.0F);
+ fontrenderer.drawString(par2Str.replaceFirst("§0", "§r").replaceFirst("§1", "§r").replaceFirst("§2", "§r").replaceFirst("§3", "§r").replaceFirst("§4", "§r").replaceFirst("§5", "§r").replaceFirst("§6", "§r").replaceFirst("§7", "§r").replaceFirst("§8", "§r").replaceFirst("§9", "§r").replaceFirst("§a", "§r").replaceFirst("§b", "§r").replaceFirst("§c", "§r").replaceFirst("§d", "§r").replaceFirst("§e", "§r").replaceFirst("§f", "§r"), -j, 0, 65536 * (red > 170 ? red - 170 : 0) + 256 * (green > 170 ? green - 170 : 0) + (blue > 170 ? blue - 170 : 0));
+ GL11.glPopMatrix();
+ GL11.glTranslatef((float)x - 1f, (float)y - 1f, (float)z - 1F);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ fontrenderer.drawString(par2Str, -j, 0, color);
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param str
+ * @param color
+ */
+ public void replaceEnumEnchValues(String str, int color)
+ {
+ if (str.contains("§0")){
+ color = Color.BLACK.getRGB();
+ str.replace("§0", "");
+ }
+ if (str.contains("§1")){
+ color = 85;
+ str.replace("§1", "");
+ }
+ if (str.contains("§2")){
+ color = 17920;
+ str.replace("§2", "");
+ }
+ if (str.contains("§3")){
+ color = 1336183;
+ str.replace("§3", "");
+ }
+ if (str.contains("§4")){
+ color = 4587520;
+ str.replace("§4", "");
+ }
+ if (str.contains("§5")){
+ color = 5701759;
+ str.replace("§5", "");
+ }
+ if (str.contains("§6")){
+ color = 16762880;
+ str.replace("§6", "");
+ }
+ if (str.contains("§7")){
+ color = Color.GRAY.getRGB();
+ str.replace("§7", "");
+ }
+ if (str.contains("§8")){
+ color = Color.DARK_GRAY.getRGB();
+ str.replace("§8", "");
+ }
+ if (str.contains("§9")){
+ color = Color.BLUE.getRGB();
+ str.replace("§9", "");
+ }
+ if (str.contains("§a")){
+ color = Color.GREEN.getRGB();
+ str.replace("§a", "");
+ }
+ if (str.contains("§b")){
+ color = Color.CYAN.getRGB();
+ str.replace("§b", "");
+ }
+ if (str.contains("§c")){
+ color = Color.RED.getRGB();
+ str.replace("§c", "");
+ }
+ if (str.contains("§d")){
+ color = 11665663;
+ str.replace("§d", "");
+ }
+ if (str.contains("§e")){
+ color = Color.YELLOW.getRGB();
+ str.replace("§e", "");
+ }
+ if (str.contains("§f")){
+ color = Color.WHITE.getRGB();
+ str.replace("§f", "");
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/d0668676b4ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/d0668676b4ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e9609ae
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/49/d0668676b4ea001411cee0f8f86532a4
@@ -0,0 +1,31 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ if ((float)z != -1) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if ((float)x != -1) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/608194048ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/608194048ee3001417b2e384bf7c3702
deleted file mode 100644
index ab988e7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/608194048ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,24 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor4f(1F, 0.0F, 0.0F, 0.3F);
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/80a948a2fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/80a948a2fce40014174fe663e69b8422
deleted file mode 100644
index 3293158..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/80a948a2fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/f0ef41723ee700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/f0ef41723ee700141e05cdbaeb682437
deleted file mode 100644
index 2b78aa0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4a/f0ef41723ee700141e05cdbaeb682437
+++ /dev/null
@@ -1,123 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- for(int i = 0; i < infamyCache.length; i++)
- if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/009902e3fbe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/009902e3fbe40014174fe663e69b8422
deleted file mode 100644
index 41d620d..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/009902e3fbe40014174fe663e69b8422
+++ /dev/null
@@ -1,64 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/7061ab089aea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/7061ab089aea001411cee0f8f86532a4
new file mode 100644
index 0000000..617990c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4b/7061ab089aea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ for(Curse curse: Curse.getCurseList())
+ curse.playerHandRender(event);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/2016e2c66be70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4c/204c56b7afea001411cee0f8f86532a4
index e69de29..e69de29 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/2016e2c66be70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4c/204c56b7afea001411cee0f8f86532a4
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4c/5014ba759ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4c/5014ba759ce3001412c4c4819c88e86b
deleted file mode 100644
index 73d2ad6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4c/5014ba759ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(target, target.posX - RenderManager.instance.renderPosX, target.posY - RenderManager.instance.renderPosY, target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4e/7067fef3afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4e/7067fef3afea001411cee0f8f86532a4
new file mode 100644
index 0000000..45f335c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4e/7067fef3afea001411cee0f8f86532a4
@@ -0,0 +1,175 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.EventList;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+
+ proxy.preInit();
+
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ EventList.preInit(e);
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/10edfebd88ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/10edfebd88ea001411cee0f8f86532a4
new file mode 100644
index 0000000..8d72753
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/10edfebd88ea001411cee0f8f86532a4
@@ -0,0 +1,63 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/a0532f0bfce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/a0532f0bfce40014174fe663e69b8422
deleted file mode 100644
index c682c5b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/a0532f0bfce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.*;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject").setTextureName(Variables.MODID + ":jewelryModifier");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/b06750e295e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/b06750e295e3001412c4c4819c88e86b
deleted file mode 100644
index 0dfaaf8..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/4f/b06750e295e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,81 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch()
- {}
-
- public void setEntity(Entity ent)
- {
- target = ent;
- }
-
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- if (target != null){
- int id = EntityList.getEntityID(target);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- entity.readFromNBT(en);
- target = entity;
- }
-
- /**
- *
- */
- @Override
- public boolean canUpdate()
- {
- return false;
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/2064f33d99e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/2064f33d99e3001412c4c4819c88e86b
deleted file mode 100644
index 2667fe6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/2064f33d99e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,28 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.util.MathHelper;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
-// GL11.glRotatef(, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, MathHelper.floor_double(midas.target.posX - RenderManager.instance.renderPosX), MathHelper.floor_double(midas.target.posY - RenderManager.instance.renderPosY), MathHelper.floor_double(midas.target.posZ - RenderManager.instance.renderPosZ), midas.target.rotationYaw, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/e02aac7c87ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/e02aac7c87ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e1f826a
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/e02aac7c87ea001411cee0f8f86532a4
@@ -0,0 +1,25 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.potion.Potion;
+import net.minecraft.potion.PotionEffect;
+import net.minecraft.world.World;
+
+public class CurseBlind extends Curse
+{
+ public CurseBlind(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ if (!player.isPotionActive(Potion.blindness) || player.getActivePotionEffect(Potion.blindness).getDuration() < 30) player.addPotionEffect(new PotionEffect(Potion.blindness.id, 60));
+ }
+
+ public String getDescription()
+ {
+ return "You see the light slowly fading in front of you";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/52/5089f60bfee40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/52/5089f60bfee40014174fe663e69b8422
deleted file mode 100644
index ddd7e9b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/52/5089f60bfee40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldObj;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldObj = new ItemGoldObj().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldObj, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/20b73ad899ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/20b73ad899ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e520fc9
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/20b73ad899ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -16F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/500f4e3704e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/500f4e3704e50014174fe663e69b8422
deleted file mode 100644
index 3478a71..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/500f4e3704e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
-// System.out.println(item.getItem().getIconIndex(JewelryNBT.item(stack)));
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else{
- System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/707860379ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/707860379ce3001412c4c4819c88e86b
deleted file mode 100644
index 79e5667..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/53/707860379ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.xCoord - RenderManager.instance.renderPosX, midas.yCoord - RenderManager.instance.renderPosY, midas.zCoord - RenderManager.instance.renderPosZ, midas.target.rotationYaw, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/10afc221b3ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/10afc221b3ea001411cee0f8f86532a4
new file mode 100644
index 0000000..5b38d47
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/10afc221b3ea001411cee0f8f86532a4
@@ -0,0 +1,32 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+// System.out.println((int)x + " " + (int)z);
+ if ((int)z != 16777215) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if ((int)x != 16777215) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/d08a12f794e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/d08a12f794e3001412c4c4819c88e86b
deleted file mode 100644
index 58c8981..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/54/d08a12f794e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.boundingBox.minX);
- this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/20f4f59697ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/20f4f59697ea001411cee0f8f86532a4
new file mode 100644
index 0000000..ae20ba2
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/20f4f59697ea001411cee0f8f86532a4
@@ -0,0 +1,66 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+// GL11.glEnable(GL11.GL_BLEND);
+// GL11.glColor4f(1F, 1F, 1F, 0.3F);
+// GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+// GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6f/70d2e64cfae40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/b019924ab0ea001411cee0f8f86532a4
index e69de29..e69de29 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6f/70d2e64cfae40014174fe663e69b8422
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/b019924ab0ea001411cee0f8f86532a4
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/b076e5188ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/b076e5188ee3001417b2e384bf7c3702
deleted file mode 100644
index 85db83f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/b076e5188ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,24 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glColor4f(1F, 0.0F, 1.0F, 0.3F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/f055598098e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/f055598098e3001412c4c4819c88e86b
deleted file mode 100644
index 59f4f6c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/55/f055598098e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,37 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/56/00dd512eb3ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/56/00dd512eb3ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e56ac15
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/56/00dd512eb3ea001411cee0f8f86532a4
@@ -0,0 +1,32 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ System.out.println((float)x + " " + (float)z);
+ if ((float)z != -1) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if ((float)x != -1) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/57/e0bfffad9ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/57/e0bfffad9ce3001412c4c4819c88e86b
deleted file mode 100644
index 9104ba3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/57/e0bfffad9ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
-// GL11.glRotatef(yawOffset, 0, -1, 0);
-// GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- RenderManager.instance.renderEntityWithPosYaw(target, midas.xCoord - RenderManager.instance.renderPosX, midas.yCoord - RenderManager.instance.renderPosY, midas.zCoord - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/58/50838a4199ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/58/50838a4199ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f19c034
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/58/50838a4199ea001411cee0f8f86532a4
@@ -0,0 +1,141 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ System.out.println(event.context.tileEntities);
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -16F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/20ea69c702e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/20ea69c702e50014174fe663e69b8422
deleted file mode 100644
index 7babda2..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/20ea69c702e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(0);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/3020e4818ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/3020e4818ee3001417b2e384bf7c3702
deleted file mode 100644
index a274f20..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/3020e4818ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,82 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch(Entity target)
- {
- this.target = target;
- }
-
- /**
- * @param nbt
- */
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- int id = EntityList.getEntityID(target);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- if (nbt.hasKey("entityID") && nbt.hasKey("entity")){
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- entity.readFromNBT(en);
- target = entity;
- }
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- System.out.println(target);
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/5060e6c998e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/5060e6c998e3001412c4c4819c88e86b
deleted file mode 100644
index 784d37e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/5060e6c998e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
- GL11.glRotatef(midas.target.rotationYaw, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/70bca93e97ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/70bca93e97ea001411cee0f8f86532a4
new file mode 100644
index 0000000..abb2952
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/70bca93e97ea001411cee0f8f86532a4
@@ -0,0 +1,63 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/a07b1864afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/a07b1864afea001411cee0f8f86532a4
new file mode 100644
index 0000000..f98db9a
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/59/a07b1864afea001411cee0f8f86532a4
@@ -0,0 +1,76 @@
+package darkknight.jewelrycraft.block;
+
+import net.minecraft.block.Block;
+import net.minecraft.block.material.Material;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.fluids.Fluid;
+import net.minecraftforge.fluids.FluidRegistry;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.tileentity.TileEntityAltar;
+import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
+import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
+import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
+import darkknight.jewelrycraft.tileentity.TileEntityMolder;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
+import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BlockList
+{
+ public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock;
+ public static BlockMoltenMetal moltenMetal;
+ public static Fluid moltenMetalFluid;
+ private static boolean isInitialized = false;
+
+ /**
+ * @param e
+ */
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
+ midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock");
+ GameRegistry.registerBlock(shadowOre, "shadowOre");
+ GameRegistry.registerBlock(shadowBlock, "shadowBlock");
+ GameRegistry.registerBlock(smelter, "Smelter");
+ GameRegistry.registerBlock(molder, "Molder");
+ GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
+ GameRegistry.registerBlock(displayer, "Displayer");
+ GameRegistry.registerBlock(jewelAltar, "Altar");
+ GameRegistry.registerBlock(shadowEye, "Shadow Eye");
+ GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
+ GameRegistry.registerBlock(shadowHand, "Shadow Hand");
+ GameRegistry.registerBlock(midasTouchBlock, "Midas Touch Block");
+ GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
+ GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
+ GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
+ GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
+ GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
+ GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
+ GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
+ GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
+ GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
+ GameRegistry.registerTileEntity(TileEntityMidasTouch.class, Variables.MODID + ":midsaTouch");
+ moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
+ if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
+ moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
+ GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5a/c0ff301ab0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5a/c0ff301ab0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..74ea673
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5a/c0ff301ab0ea001411cee0f8f86532a4
@@ -0,0 +1,167 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.EventList;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ EventList.preInit(e);
+ proxy.preInit();
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ EventList.init(e);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ EventList.postInit(e);
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5b/800cb89f9ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5b/800cb89f9ce3001412c4c4819c88e86b
deleted file mode 100644
index 10bf6e3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5b/800cb89f9ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
-// GL11.glRotatef(yawOffset, 0, -1, 0);
-// GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(target, midas.xCoord - RenderManager.instance.renderPosX, midas.yCoord - RenderManager.instance.renderPosY, midas.zCoord - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/40f3d19e91e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/40f3d19e91e3001417b2e384bf7c3702
deleted file mode 100644
index 75b0e69..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/40f3d19e91e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 0.8F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, 0D, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/70816d6f94e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/70816d6f94e3001412c4c4819c88e86b
deleted file mode 100644
index f7e9cc2..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5c/70816d6f94e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/7052eb2f97ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/7052eb2f97ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1eca00b
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/7052eb2f97ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ GL11.glColor3f(1F, 0F, 0F);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/90359fe194e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/90359fe194e3001412c4c4819c88e86b
deleted file mode 100644
index 9c492f3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5d/90359fe194e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.boundingBox);
- this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/100ab1a1b2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/100ab1a1b2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..a291667
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/100ab1a1b2ea001411cee0f8f86532a4
@@ -0,0 +1,31 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ if (z != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if (x != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/50be335402e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/50be335402e50014174fe663e69b8422
deleted file mode 100644
index bcc6cff..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/50be335402e50014174fe663e69b8422
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) if (Block.getBlockFromItem(item.getItem()) != Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getIcon(0, 0);
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/31/30675ea024e60014127dc373d78c1666 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/e0583b6884ea001411cee0f8f86532a4
index 20da581..3709b5f 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/31/30675ea024e60014127dc373d78c1666
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/e0583b6884ea001411cee0f8f86532a4
@@ -7,6 +7,7 @@ import net.minecraftforge.client.MinecraftForgeClient;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.client.registry.RenderingRegistry;
+import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.registry.VillagerRegistry;
import darkknight.jewelrycraft.block.BlockList;
import darkknight.jewelrycraft.client.InventoryTabVanilla;
@@ -79,7 +80,7 @@ public class ClientProxy extends CommonProxy
RenderingRegistry.registerEntityRenderingHandler(EntityHeart.class, new HeartRender(new ModelHeart(), 0.25F));
RenderingRegistry.registerEntityRenderingHandler(EntityHalfHeart.class, new HeartRender(new ModelHalfHeart(), 0.25F));
-
+
TabRegistry.registerTab(new InventoryTabVanilla());
TabRegistry.registerTab(new TabJewelry());
MinecraftForge.EVENT_BUS.register(new TabRegistry());
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/f0632658c0e50014122af9ad4a560236 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/f0632658c0e50014122af9ad4a560236
deleted file mode 100644
index 4628831..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5e/f0632658c0e50014122af9ad4a560236
+++ /dev/null
@@ -1,55 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- ItemStack curItem = player.inventory.getCurrentItem();
- if(curItem != null && curItem.getItem() != ItemList.goldObj){
- int index = player.inventory.currentItem;
- ItemStack item = curItem;
- ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
- JewelryNBT.addItem(result, item);
- player.inventory.setInventorySlotContents(index, result);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/e05898fa47e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5f/50bf67fb93ea001411cee0f8f86532a4
index 842c659..67305db 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/10/e05898fa47e700141e05cdbaeb682437
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5f/50bf67fb93ea001411cee0f8f86532a4
@@ -1,60 +1,43 @@
package darkknight.jewelrycraft.events;
import java.util.Iterator;
-import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.RenderPlayerEvent;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
import darkknight.jewelrycraft.curses.CurseList;
import darkknight.jewelrycraft.entities.renders.RenderHelper;
import darkknight.jewelrycraft.item.render.BraceletRender;
import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
import darkknight.jewelrycraft.model.ModelBracelet;
import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
public class PlayerRenderHandler
{
- MaskRender mask = new MaskRender();
EarringsRender earrings = new EarringsRender();
BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
public static NBTTagCompound playersInfo = new NBTTagCompound();
@SubscribeEvent
public void renderScreen(RenderPlayerEvent.Specials.Post event)
{
ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ float size = 0.055F;
if (playersInfo != null){
while (players.hasNext()){
EntityPlayer player = players.next();
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- System.out.println(PlayerUtils.getModPlayerPersistTag(player, Variables.MODID));
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
@@ -81,25 +64,38 @@ public class PlayerRenderHandler
if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+
GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
+// GL11.glColor4f(1, 1, 1, 1);
if (i / 12 == 1){
+// GL11.glTranslatef(0F, -(12-i)*0.1F, 0F);
+ float sizeY=(13-i)*0.055F;
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F)
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor, (float)gemColor, (float)ingotColor, (float)gemColor, 0.0F);
}else{
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F)
+ GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
@@ -119,9 +115,7 @@ public class PlayerRenderHandler
private boolean checkPlayerInfamy(String string)
{
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
return false;
}
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/50e1e03570e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5f/6043e0b5aeea001411cee0f8f86532a4
index e69de29..e69de29 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/50e1e03570e300141084bb8bfb075c08
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5f/6043e0b5aeea001411cee0f8f86532a4
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6/0065cfc101e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6/0065cfc101e50014174fe663e69b8422
deleted file mode 100644
index 27f3bbc..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6/0065cfc101e50014174fe663e69b8422
+++ /dev/null
@@ -1,53 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- ItemStack curItem = player.inventory.getCurrentItem();
- if(curItem != null && curItem.getItem() != ItemList.goldObj && Item.getIdFromItem(curItem.getItem()) > 0){
- int index = player.inventory.currentItem;
- ItemStack item = curItem;
- ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
- JewelryNBT.addItem(result, item);
- player.inventory.setInventorySlotContents(index, result);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/101c12cdafea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/101c12cdafea001411cee0f8f86532a4
new file mode 100644
index 0000000..58538ef
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/101c12cdafea001411cee0f8f86532a4
@@ -0,0 +1,17 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.events;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.util.Variables;
+
+public class EventList
+{
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/702c893e73e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/702c893e73e70014115de2bb951f0adf
deleted file mode 100644
index acb7897..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/702c893e73e70014115de2bb951f0adf
+++ /dev/null
@@ -1,53 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-
-public class CursePentagram extends Curse
-{
- MaskRender mask = new MaskRender();
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- Tessellator tessellator = Tessellator.instance;
- ItemStack itemStack = new ItemStack(Items.apple);
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(texturemanager.getResourceLocation(itemStack.getItemSpriteNumber()));
- IIcon iicon = itemStack.getIconIndex();
- float f = iicon.getMinU();
- float f1 = iicon.getMaxU();
- float f2 = iicon.getMinV();
- float f3 = iicon.getMaxV();
- GL11.glRotatef(90F, 0F, 0F, 1F);
- ItemRenderer.renderItemIn2D(tessellator, f1, f2, f, f3, iicon.getIconWidth(), iicon.getIconHeight(), 0.0625F);
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/f045b1c8fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/f045b1c8fce40014174fe663e69b8422
deleted file mode 100644
index bb0a4a6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/60/f045b1c8fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static Item ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/63/d06f8207b0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/63/d06f8207b0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..b6f7c36
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/63/d06f8207b0ea001411cee0f8f86532a4
@@ -0,0 +1,171 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.EventList;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ EventList.preInit(e);
+ proxy.preInit();
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ EventList.init(e);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/90112c4074e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/90112c4074e70014115de2bb951f0adf
deleted file mode 100644
index 02143d6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/90112c4074e70014115de2bb951f0adf
+++ /dev/null
@@ -1,54 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-
-public class CursePentagram extends Curse
-{
- MaskRender mask = new MaskRender();
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- Tessellator tessellator = Tessellator.instance;
- ItemStack itemStack = new ItemStack(Items.apple);
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(texturemanager.getResourceLocation(itemStack.getItemSpriteNumber()));
- IIcon iicon = itemStack.getIconIndex();
- float f = iicon.getMinU();
- float f1 = iicon.getMaxU();
- float f2 = iicon.getMinV();
- float f3 = iicon.getMaxV();
- GL11.glRotatef(90F, 1F, 0F, 0F);
-// System.out.println("Hello");
- ItemRenderer.renderItemIn2D(tessellator, f1, f2, f, f3, iicon.getIconWidth(), iicon.getIconHeight(), 0.0625F);
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/c09cf2a692ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/c09cf2a692ea001411cee0f8f86532a4
new file mode 100644
index 0000000..b9d9b16
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/c09cf2a692ea001411cee0f8f86532a4
@@ -0,0 +1,30 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ bracelet.render(entity, 0F, 1F, 0F, (float)z, f, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/d0ebb9bd98e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/d0ebb9bd98e3001412c4c4819c88e86b
deleted file mode 100644
index 0f5b2aa..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/65/d0ebb9bd98e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
-// GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/1063c37f8ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/1063c37f8ee3001417b2e384bf7c3702
deleted file mode 100644
index d115403..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/1063c37f8ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,83 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch(Entity target)
- {
- this.target = target;
- }
-
- /**
- * @param nbt
- */
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- int id = EntityList.getEntityID(target);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- if (nbt.hasKey("entityID") && nbt.hasKey("entity")){
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- if (entity != null && entity instanceof EntityLivingBase){
- entity.readFromNBT(en);
- target = entity;
- }
- }
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/70c19d3a73e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/70c19d3a73e70014115de2bb951f0adf
deleted file mode 100644
index b35bd5c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/66/70c19d3a73e70014115de2bb951f0adf
+++ /dev/null
@@ -1,52 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-
-public class CursePentagram extends Curse
-{
- MaskRender mask = new MaskRender();
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- Tessellator tessellator = Tessellator.instance;
- ItemStack itemStack = new ItemStack(Items.apple);
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(texturemanager.getResourceLocation(itemStack.getItemSpriteNumber()));
- IIcon iicon = itemStack.getIconIndex();
- float f = iicon.getMinU();
- float f1 = iicon.getMaxU();
- float f2 = iicon.getMinV();
- float f3 = iicon.getMaxV();
- ItemRenderer.renderItemIn2D(tessellator, f1, f2, f, f3, iicon.getIconWidth(), iicon.getIconHeight(), 0.0625F);
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/10be20cb88ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/10be20cb88ea001411cee0f8f86532a4
new file mode 100644
index 0000000..094d703
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/10be20cb88ea001411cee0f8f86532a4
@@ -0,0 +1,63 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 25F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/502eece29ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/502eece29ce3001412c4c4819c88e86b
deleted file mode 100644
index 7a096a0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/502eece29ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,95 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.Block;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.item.EntityItem;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 0;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void breakBlock(World world, int i, int j, int k, Block par5, int par6)
- {
- TileEntityMidasTouch te = (TileEntityMidasTouch)world.getTileEntity(i, j, k);
- if (te.target != null) dropItem(te.getWorldObj(), te.xCoord, te.yCoord, te.zCoord, new ItemStack(Items.gold_nugget, (int)(te.target.width * te.target.height * 100), 0));
- System.out.println("drop");
- super.breakBlock(world, i, j, k, par5, par6);
- }
-
- public void dropItem(World world, double x, double y, double z, ItemStack stack)
- {
- EntityItem entityitem = new EntityItem(world, x + 0.5D, y + 0.5D, z + 0.5D, stack);
- entityitem.motionX = 0;
- entityitem.motionZ = 0;
- entityitem.motionY = 0.11000000298023224D;
- world.spawnEntityInWorld(entityitem);
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/8018e58904e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/8018e58904e50014174fe663e69b8422
deleted file mode 100644
index fc804c3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/8018e58904e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- System.out.println(Block.getBlockFromItem(item.getItem()));
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else{
-// System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/c0bee05e02e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/c0bee05e02e50014174fe663e69b8422
deleted file mode 100644
index de7a378..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/c0bee05e02e50014174fe663e69b8422
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(0);
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/f076514d01e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/f076514d01e50014174fe663e69b8422
deleted file mode 100644
index 022932b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/67/f076514d01e50014174fe663e69b8422
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null && Block.getBlockFromItem(item.getItem()) != null)
- return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/40551ae474e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/40551ae474e300141084bb8bfb075c08
deleted file mode 100644
index 5a1aaa7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/40551ae474e300141084bb8bfb075c08
+++ /dev/null
@@ -1,37 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- target.setDead();
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/6011626f87ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/6011626f87ea001411cee0f8f86532a4
new file mode 100644
index 0000000..360477c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/6011626f87ea001411cee0f8f86532a4
@@ -0,0 +1,62 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.item.EntityXPOrb;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.MathHelper;
+import net.minecraft.world.World;
+
+public class CurseRabbitsPaw extends Curse
+{
+ public CurseRabbitsPaw(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+
+ @Override
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {
+ for(EntityItem item: drops){
+ ItemStack drop = item.getEntityItem().copy();
+ drop.stackSize = this.rand.nextInt(4);
+ if (drop.stackSize > 0) target.entityDropItem(drop, 0.5F);
+ }
+ }
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {
+ String[] types = {"Red", "Blue", "White", "Black"};
+ String type = types[rand.nextInt(4)];
+ if (rand.nextInt(3) == 0){
+ if (type == "White"){
+ EntityHeart h = new EntityHalfHeart(world);
+ h.setType(type);
+ h.setLocationAndAngles(target.posX, target.posY, target.posZ, MathHelper.wrapAngleTo180_float(rand.nextFloat() * 360.0F), 0.0F);
+ world.spawnEntityInWorld(h);
+ }else{
+ for(int i = 1; i <= 1 + rand.nextInt(1 + (int)(target.getMaxHealth() / 20)); i++){
+ EntityHeart[] hearts = {new EntityHeart(world), new EntityHalfHeart(world)};
+ EntityHeart h = hearts[rand.nextInt(2)];
+ h.setType(type);
+ h.setLocationAndAngles(target.posX, target.posY, target.posZ, MathHelper.wrapAngleTo180_float(rand.nextFloat() * 360.0F), 0.0F);
+ world.spawnEntityInWorld(h);
+ }
+ }
+ }
+ if (rand.nextInt(3) == 0) world.spawnEntityInWorld(new EntityXPOrb(world, target.posX, target.posY, target.posZ, 1 + rand.nextInt(40)));
+ }
+
+ public String getDescription()
+ {
+ return "The Dark One is giving you a gift. Don't lose it.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a011af0c03e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a011af0c03e50014174fe663e69b8422
deleted file mode 100644
index 6f6d33d..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a011af0c03e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getIcon(16, 16);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a0a1c6429ae3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a0a1c6429ae3001412c4c4819c88e86b
deleted file mode 100644
index 10f313b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/68/a0a1c6429ae3001412c4c4819c88e86b
+++ /dev/null
@@ -1,86 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune)
- {
- ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
-
- int count = quantityDropped(metadata, fortune, world.rand);
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) ret.add(new ItemStack(Items.gold_nugget, (int)(((TileEntityMidasTouch)tile).target.width*((TileEntityMidasTouch)tile).target.height), 0));
-
- return ret;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/69/10a8e852ffe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/69/10a8e852ffe40014174fe663e69b8422
deleted file mode 100644
index 0cd13f7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/69/10a8e852ffe40014174fe663e69b8422
+++ /dev/null
@@ -1,51 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- if(player.inventory.getCurrentItem() != null && !player.inventory.getCurrentItem().getUnlocalizedName().contains("gold")){
- int index = player.inventory.currentItem;
- ItemStack item = player.inventory.getCurrentItem();
- ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
- JewelryNBT.addItem(result, item);
- player.inventory.setInventorySlotContents(index, result);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/39/305de0c774e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6a/d0fc55a084ea001411cee0f8f86532a4
index 2943ec9..4ea4ee7 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/39/305de0c774e70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6a/d0fc55a084ea001411cee0f8f86532a4
@@ -19,6 +19,8 @@ import darkknight.jewelrycraft.util.Variables;
public class CursePentagram extends Curse
{
ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ float rot = 0F;
+
public CursePentagram(int id, String name, int text)
{
super(id, name, text);
@@ -26,8 +28,7 @@ public class CursePentagram extends Curse
@Override
public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
+ {}
public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
{
@@ -36,14 +37,17 @@ public class CursePentagram extends Curse
Tessellator tessellator = Tessellator.instance;
TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
texturemanager.bindTexture(curse);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 1F, 1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot+=3F;
+ if (rot > 360F) rot = 0F;
float f = 0.00390625F;
float f1 = 0.00390625F;
int x = 0;
int y = 0;
- int u = 0;
+ int u = 32 * 7;
int v = 0;
int width = 32;
int height = 32;
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/700e006d95e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/700e006d95e3001412c4c4819c88e86b
deleted file mode 100644
index be8080b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/700e006d95e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.ySize);
- this.setBlockBounds(0F, 0F, 0F, 1F, 1F, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/8040daa897e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/8040daa897e3001412c4c4819c88e86b
deleted file mode 100644
index 433aee9..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/8040daa897e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(-((TileEntityMidasTouch)tile).target.width/2, 0F, -((TileEntityMidasTouch)tile).target.width/2, ((TileEntityMidasTouch)tile).target.width/2, ((TileEntityMidasTouch)tile).target.height, ((TileEntityMidasTouch)tile).target.width/2);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/50f2d7ca74e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/c02cc87d88ea001411cee0f8f86532a4
index dc4d380..6b3155b 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/18/50f2d7ca74e70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6b/c02cc87d88ea001411cee0f8f86532a4
@@ -1,49 +1,48 @@
package darkknight.jewelrycraft.curses;
import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.texture.TextureManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraftforge.client.event.RenderPlayerEvent;
import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
import darkknight.jewelrycraft.util.Variables;
public class CursePentagram extends Curse
{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
{
- super(id, name, text);
+ super(name, txtID, pack);
}
@Override
public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
+ {}
public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
{
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
GL11.glPushMatrix();
GL11.glColor4f(1, 1, 1, 1);
Tessellator tessellator = Tessellator.instance;
TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 2F, 1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
float f = 0.00390625F;
float f1 = 0.00390625F;
int x = 0;
int y = 0;
- int u = 0;
+ int u = 32 * 7;
int v = 0;
int width = 32;
int height = 32;
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/1001cf0b72e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/1001cf0b72e300141084bb8bfb075c08
deleted file mode 100644
index a806253..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/1001cf0b72e300141084bb8bfb075c08
+++ /dev/null
@@ -1,36 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- target.setDead();
- world.setBlock(target.posX, target.posY, target.posZ, BlockList.midasTouchBlock, 0, 2);
- TileEntity midasTouchVictim = new TileEntityMidasTouch();
- world.setTileEntity(p_147455_1_, p_147455_2_, p_147455_3_, p_147455_4_);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/70f1d8b985ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/70f1d8b985ea001411cee0f8f86532a4
new file mode 100644
index 0000000..140d9cb
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/70f1d8b985ea001411cee0f8f86532a4
@@ -0,0 +1,92 @@
+package darkknight.jewelrycraft.proxy;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.item.Item;
+import net.minecraftforge.client.MinecraftForgeClient;
+import net.minecraftforge.common.MinecraftForge;
+import cpw.mods.fml.client.registry.ClientRegistry;
+import cpw.mods.fml.client.registry.RenderingRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.InventoryTabVanilla;
+import darkknight.jewelrycraft.client.TabJewelry;
+import darkknight.jewelrycraft.client.TabRegistry;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.renders.HeartRender;
+import darkknight.jewelrycraft.events.PlayerRenderHandler;
+import darkknight.jewelrycraft.events.ScreenHandler;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.item.render.ItemRender;
+import darkknight.jewelrycraft.model.ModelDisplayer;
+import darkknight.jewelrycraft.model.ModelHalfHeart;
+import darkknight.jewelrycraft.model.ModelHandPedestal;
+import darkknight.jewelrycraft.model.ModelHeart;
+import darkknight.jewelrycraft.model.ModelJewlersCraftingBench;
+import darkknight.jewelrycraft.model.ModelMolder;
+import darkknight.jewelrycraft.model.ModelShadowEye;
+import darkknight.jewelrycraft.model.ModelShadowHand;
+import darkknight.jewelrycraft.model.ModelSmelter;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
+import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
+import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
+import darkknight.jewelrycraft.tileentity.TileEntityMolder;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
+import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
+import darkknight.jewelrycraft.tileentity.renders.TileEntityDisplayerRender;
+import darkknight.jewelrycraft.tileentity.renders.TileEntityHandPedestalRender;
+import darkknight.jewelrycraft.tileentity.renders.TileEntityJewelrsCraftingTableRender;
+import darkknight.jewelrycraft.tileentity.renders.TileEntityMidasTouchRender;
+import darkknight.jewelrycraft.tileentity.renders.TileEntityMolderRender;
+import darkknight.jewelrycraft.tileentity.renders.TileEntityShadowEyeRender;
+import darkknight.jewelrycraft.tileentity.renders.TileEntityShadowHandRender;
+import darkknight.jewelrycraft.tileentity.renders.TileEntitySmelterRender;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ClientProxy extends CommonProxy
+{
+ @Override
+ public void preInit()
+ {
+ TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(Variables.PEDESTAL_TEXTURE), Variables.PEDESTAL_TEXTURE);
+ TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE), Variables.SHADOW_HAND_TEXTURE);
+
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySmelter.class, new TileEntitySmelterRender());
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMolder.class, new TileEntityMolderRender());
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntityJewelrsCraftingTable.class, new TileEntityJewelrsCraftingTableRender());
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDisplayer.class, new TileEntityDisplayerRender());
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntityShadowEye.class, new TileEntityShadowEyeRender());
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMidasTouch.class, new TileEntityMidasTouchRender());
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntityHandPedestal.class, pedestalRender);
+ ClientRegistry.bindTileEntitySpecialRenderer(TileEntityShadowHand.class, shadowHandRender);
+
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.displayer), new ItemRender(new TileEntityDisplayerRender(), new TileEntityDisplayer(), new ModelDisplayer()));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.jewelCraftingTable), new ItemRender(new TileEntityJewelrsCraftingTableRender(), new TileEntityJewelrsCraftingTable(), new ModelJewlersCraftingBench()));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.smelter), new ItemRender(new TileEntitySmelterRender(), new TileEntitySmelter(), new ModelSmelter()));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.molder), new ItemRender(new TileEntityMolderRender(), new TileEntityMolder(), new ModelMolder()));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowEye), new ItemRender(new TileEntityShadowEyeRender(), new TileEntityShadowEye(), new ModelShadowEye()));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(Variables.PEDESTAL_TEXTURE)));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE)));
+ MinecraftForgeClient.registerItemRenderer(ItemList.goldObj, new ItemRender());
+
+ VillagerRegistry.instance().registerVillagerSkin(3000, Variables.VILLAGER_TEXTURE);
+
+ RenderingRegistry.registerEntityRenderingHandler(EntityHeart.class, new HeartRender(new ModelHeart(), 0.25F));
+ RenderingRegistry.registerEntityRenderingHandler(EntityHalfHeart.class, new HeartRender(new ModelHalfHeart(), 0.25F));
+
+ TabRegistry.registerTab(new InventoryTabVanilla());
+ TabRegistry.registerTab(new TabJewelry());
+ MinecraftForge.EVENT_BUS.register(new TabRegistry());
+ MinecraftForge.EVENT_BUS.register(new PlayerRenderHandler());
+ MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), Variables.CURSES_TEXTURE));
+ }
+
+ @Override
+ public void postInit()
+ {
+ JewelrycraftUtil.addStuff();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/809dbb21fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/809dbb21fde40014174fe663e69b8422
deleted file mode 100644
index 0a8aba6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/809dbb21fde40014174fe663e69b8422
+++ /dev/null
@@ -1,64 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/c0551c9a47e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/c0551c9a47e700141e05cdbaeb682437
deleted file mode 100644
index 1a10446..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6c/c0551c9a47e700141e05cdbaeb682437
+++ /dev/null
@@ -1,127 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(gemColor + " " + ingotColor);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/60e10dae86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/60e10dae86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..bada47f
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/60e10dae86ea001411cee0f8f86532a4
@@ -0,0 +1,98 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+
+ public ScreenHandler(Minecraft mc)
+ {
+ super();
+ this.mc = mc;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ mc.renderEngine.bindTexture(new ResourceLocation(Variables.MODID, "textures/gui/curses" + curse.getTexturePack() + ".png"));
+ int tag = curse.getTextureID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/f044cd31afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/f044cd31afea001411cee0f8f86532a4
new file mode 100644
index 0000000..e1fef46
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6d/f044cd31afea001411cee0f8f86532a4
@@ -0,0 +1,180 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+
+ proxy.preInit();
+
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/00835d83fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/00835d83fde40014174fe663e69b8422
deleted file mode 100644
index e1e37b4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/00835d83fde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- goldifiedObject = new ItemGoldObject().setUnlocalizedName(Variables.MODID + ".goldObject");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/a0449c8093e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/a0449c8093e3001412c4c4819c88e86b
deleted file mode 100644
index 6377c0b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6e/a0449c8093e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,84 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch()
- {}
-
- public void setEntity(Entity ent)
- {
- target = ent;
- }
-
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- if (target != null){
- int id = EntityList.getEntityID(target);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
- System.out.println("Write: " + nbt);
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- System.out.println("Read: " + nbt);
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- entity.readFromNBT(en);
- target = entity;
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- // System.out.println(target);
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6f/504fd1d374e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6f/504fd1d374e70014115de2bb951f0adf
deleted file mode 100644
index cd8b754..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/6f/504fd1d374e70014115de2bb951f0adf
+++ /dev/null
@@ -1,63 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CursePentagram extends Curse
-{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- Tessellator tessellator = Tessellator.instance;
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
- GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 12F, 1F);
- GL11.glRotatef(90F, 1F, 0F, 0F);
- float f = 0.00390625F;
- float f1 = 0.00390625F;
- int x = 0;
- int y = 0;
- int u = 0;
- int v = 0;
- int width = 32;
- int height = 32;
- tessellator.startDrawingQuads();
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
- tessellator.draw();
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/10543334ffe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/10543334ffe40014174fe663e69b8422
deleted file mode 100644
index a60c79e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/10543334ffe40014174fe663e69b8422
+++ /dev/null
@@ -1,51 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- if(player.inventory.getCurrentItem() != null){
- int index = player.inventory.currentItem;
- ItemStack item = player.inventory.getCurrentItem();
- ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
- JewelryNBT.addItem(result, item);
- player.inventory.setInventorySlotContents(index, result);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c2/b0c9916cfde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/a00c8e49afea001411cee0f8f86532a4
index a42a1f3..a42a1f3 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c2/b0c9916cfde40014174fe663e69b8422
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/a00c8e49afea001411cee0f8f86532a4
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/b0a6aed396ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/b0a6aed396ea001411cee0f8f86532a4
new file mode 100644
index 0000000..7a88497
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7/b0a6aed396ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glColor3f(1F, 0F, 0F);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_DST_COLOR);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/70/b0cef28997ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/70/b0cef28997ea001411cee0f8f86532a4
new file mode 100644
index 0000000..d82a468
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/70/b0cef28997ea001411cee0f8f86532a4
@@ -0,0 +1,66 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+// GL11.glColor4f(1F, 1F, 1F, 0.3F);
+// GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/60061e9571e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/60061e9571e300141084bb8bfb075c08
deleted file mode 100644
index fb394c0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/60061e9571e300141084bb8bfb075c08
+++ /dev/null
@@ -1,72 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import net.minecraft.block.Block;
-import net.minecraft.block.material.Material;
-import net.minecraftforge.fluids.Fluid;
-import net.minecraftforge.fluids.FluidRegistry;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.tileentity.TileEntityAltar;
-import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
-import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
-import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
-import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
-import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
-import darkknight.jewelrycraft.util.Variables;
-
-public class BlockList
-{
- public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock;
- public static BlockMoltenMetal moltenMetal;
- public static Fluid moltenMetalFluid;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
- displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
- handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
- midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock").setCreativeTab(JewelrycraftMod.jewelrycraft);
-
- GameRegistry.registerBlock(shadowOre, "shadowOre");
- GameRegistry.registerBlock(shadowBlock, "shadowBlock");
- GameRegistry.registerBlock(smelter, "Smelter");
- GameRegistry.registerBlock(molder, "Molder");
- GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
- GameRegistry.registerBlock(displayer, "Displayer");
- GameRegistry.registerBlock(jewelAltar, "Altar");
- GameRegistry.registerBlock(shadowEye, "Shadow Eye");
- GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
- GameRegistry.registerBlock(shadowHand, "Shadow Hand");
- GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
- GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
- GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
- GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
- GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
- GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
- GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
- GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
- GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
- moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
- if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
- moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
- GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/c0574f9791e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/c0574f9791e3001417b2e384bf7c3702
deleted file mode 100644
index 5e6d882..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/71/c0574f9791e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, 0D, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/1087a1e902e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/1087a1e902e50014174fe663e69b8422
deleted file mode 100644
index 9afe44f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/1087a1e902e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
-// else return Block.getBlockFromItem(item.getItem()).getIcon(6, 6);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/c0e5f1d298e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/c0e5f1d298e3001412c4c4819c88e86b
deleted file mode 100644
index 2c50af8..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/c0e5f1d298e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
- GL11.glRotatef(midas.target.rotationPitch, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/d04b715902e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/d04b715902e50014174fe663e69b8422
deleted file mode 100644
index f13e940..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/72/d04b715902e50014174fe663e69b8422
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getIcon(0, 0);
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/902cfdee91e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/902cfdee91e3001417b2e384bf7c3702
deleted file mode 100644
index e64f163..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/902cfdee91e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,26 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, te.xCoord - Minecraft.getMinecraft().thePlayer.posX, te.yCoord - Minecraft.getMinecraft().thePlayer.posY, te.zCoord - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/9073412cb3ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/9073412cb3ea001411cee0f8f86532a4
new file mode 100644
index 0000000..968e9e3
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/73/9073412cb3ea001411cee0f8f86532a4
@@ -0,0 +1,32 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ System.out.println((float)x + " " + (float)z);
+ if ((int)z != 16777215) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if ((int)x != 16777215) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/20e44257d6ea00141eeebc0fa9e0653a b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/20e44257d6ea00141eeebc0fa9e0653a
new file mode 100644
index 0000000..f03f54b
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/20e44257d6ea00141eeebc0fa9e0653a
@@ -0,0 +1,204 @@
+package darkknight.jewelrycraft.client.gui;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.GuiButton;
+import net.minecraft.client.gui.GuiTextField;
+import net.minecraft.client.gui.inventory.GuiContainer;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import org.lwjgl.opengl.GL12;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.client.gui.container.ContainerJewelryModifier;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+
+public class GuiJewelryModifier extends GuiContainer
+{
+ private ResourceLocation texture;
+ private GuiButton addItems;
+ private GuiTextField searchField, pages;
+ private boolean clicked;
+ private int page = 1, maxPages = 1, selectedX = 0, selectedY = 0, selectedPage = 0;
+ private ItemStack selectedItem;
+ private ArrayList<ItemStack> selectedItems = new ArrayList<ItemStack>();
+ private List<Map<Integer, Map<Integer, Integer>>> selectedItemsPos = new ArrayList<Map<Integer, Map<Integer, Integer>>>();
+ ContainerJewelryModifier jMod;
+
+ public GuiJewelryModifier(ContainerJewelryModifier containerJewelryTab, ResourceLocation texture)
+ {
+ super(containerJewelryTab);
+ xSize = 211;
+ ySize = 247;
+ jMod = containerJewelryTab;
+ this.maxPages = JewelrycraftUtil.objects.size() / 48 + 1;
+ this.texture = texture;
+ }
+
+ @Override
+ public void drawGuiContainerBackgroundLayer(float f, int mouseX, int mouseY)
+ {
+ GL11.glColor3f(1, 1, 1);
+ Minecraft.getMinecraft().getTextureManager().bindTexture(texture);
+ drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
+ if (selectedX != 0 && selectedY != 0 && page == selectedPage) drawTexturedModalRect(selectedX, selectedY, 211, 0, 18, 18);
+ for(Map items: selectedItemsPos){
+ for(Object itemPage: items.keySet()){
+ if (page == (Integer)itemPage) for(Object x: ((Map)items.get(itemPage)).keySet())
+ drawTexturedModalRect((int)x, (int)((Map)items.get(itemPage)).get(x), 211, 0, 18, 18);
+ }
+ }
+ this.searchField.drawTextBox();
+ this.pages.drawTextBox();
+ }
+
+ @Override
+ public void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
+ {
+ int i = 0;
+ for(ItemStack item: JewelrycraftUtil.objects){
+ if (this.searchField.getText() == "" || item.getDisplayName().toLowerCase().contains(this.searchField.getText().toLowerCase())){
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glColor3f(1F, 1F, 1F);
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glEnable(GL12.GL_RESCALE_NORMAL);
+ if (i >= (page - 1) * 48 && i < page * 48) itemRender.renderItemAndEffectIntoGUI(this.fontRendererObj, this.mc.getTextureManager(), item, 88 + 20 * (i % 6), 7 + 17 * (i / 6) - 136 * (page - 1));
+ GL11.glDisable(GL11.GL_LIGHTING);
+ i++;
+ }
+ }
+ }
+
+ @Override
+ protected void keyTyped(char character, int key)
+ {
+ if (this.searchField.textboxKeyTyped(character, key)){
+ int items = 0;
+ for(ItemStack item: JewelrycraftUtil.objects)
+ if (item.getDisplayName().toLowerCase().contains(this.searchField.getText().toLowerCase())) items++;
+ maxPages = items / 48 + 1;
+ page = 1;
+ this.pages.setText(page + "/" + maxPages);
+ }else super.keyTyped(character, key);
+ }
+
+ protected void mouseClicked(int x, int y, int id)
+ {
+ super.mouseClicked(x, y, id);
+ if (x >= this.searchField.xPosition && x <= this.searchField.xPosition + this.searchField.width && y >= this.searchField.yPosition && y <= this.searchField.yPosition + this.searchField.height){
+ this.searchField.setText("");
+ this.searchField.setFocused(true);
+ maxPages = JewelrycraftUtil.objects.size() / 48 + 1;
+ }else this.searchField.setFocused(false);
+ for(Object button: this.buttonList){
+ if (((GuiButton)button).id < 3 && ((GuiButton)button).mousePressed(mc, x, y)){
+ if (((GuiButton)button).id < 2){
+ this.selectedItems.removeAll(selectedItems);
+ this.selectedItemsPos.removeAll(selectedItemsPos);
+ }else{
+ this.selectedX = 0;
+ this.selectedY = 0;
+ this.selectedItem = null;
+ }
+ ((GuiButton)buttonList.get(0)).enabled = true;
+ ((GuiButton)buttonList.get(1)).enabled = true;
+ ((GuiButton)buttonList.get(2)).enabled = true;
+ ((GuiButton)button).enabled = false;
+ }
+ }
+ int i = 0;
+ for(ItemStack item: JewelrycraftUtil.objects){
+ if (this.searchField.getText() == "" || item.getDisplayName().toLowerCase().contains(this.searchField.getText().toLowerCase())){
+ if (i >= (page - 1) * 48 && i < page * 48 && x >= this.guiLeft + 88 + 20 * (i % 6) && x < this.guiLeft + 108 + 20 * (i % 6) && y >= this.guiTop + 9 + 17 * (i / 6) - 136 * (page - 1) && y < this.guiTop + 25 + 17 * (i / 6) - 136 * (page - 1)){
+ if (!((GuiButton)buttonList.get(0)).enabled || !((GuiButton)buttonList.get(1)).enabled){
+ this.selectedItem = item;
+ this.selectedX = this.guiLeft + 87 + 20 * (i % 6);
+ this.selectedY = this.guiTop + 6 + 17 * (i / 6) - 136 * (page - 1);
+ this.selectedPage = page;
+ }else if (!((GuiButton)buttonList.get(2)).enabled){
+ Map<Integer, Map<Integer, Integer>> itemPage = new HashMap<Integer, Map<Integer, Integer>>();
+ Map<Integer, Integer> pos = new HashMap<Integer, Integer>();
+ pos.put(this.guiLeft + 87 + 20 * (i % 6), this.guiTop + 6 + 17 * (i / 6) - 136 * (page - 1));
+ itemPage.put(page, pos);
+ if (!this.selectedItems.contains(item)){
+ this.selectedItems.add(item);
+ this.selectedItemsPos.add(itemPage);
+ }else{
+ this.selectedItems.remove(item);
+ this.selectedItemsPos.remove(itemPage);
+ }
+ }
+ }
+ i++;
+ }
+ }
+ if (((GuiButton)buttonList.get(4)).mousePressed(mc, x, y) && page > 1) page--;
+ if (((GuiButton)buttonList.get(5)).mousePressed(mc, x, y) && page < maxPages) page++;
+ if (jMod.modInv.getStackInSlot(36) != null){
+ ItemStack targetItem = jMod.modInv.getStackInSlot(36).copy();
+ if (((GuiButton)buttonList.get(3)).mousePressed(mc, x, y) && !((GuiButton)buttonList.get(0)).enabled){
+ JewelryNBT.addIngotColor(targetItem, 16777215);
+ JewelryNBT.addMetal(targetItem, new ItemStack(Item.getItemById(0), 0, 0));
+ JewelryNBT.addMetal(targetItem, this.selectedItem);
+ JewelrycraftMod.netWrapper.sendToServer(new PacketRequestSetSlot(targetItem));
+ }
+ if (((GuiButton)buttonList.get(3)).mousePressed(mc, x, y) && !((GuiButton)buttonList.get(1)).enabled){
+ JewelryNBT.addGemColor(targetItem, 16777215);
+ JewelryNBT.addGem(targetItem, new ItemStack(Item.getItemById(0), 0, 0));
+ JewelryNBT.addGem(targetItem, this.selectedItem);
+ JewelrycraftMod.netWrapper.sendToServer(new PacketRequestSetSlot(targetItem));
+ }
+ if (((GuiButton)buttonList.get(3)).mousePressed(mc, x, y) && !((GuiButton)buttonList.get(2)).enabled){
+ JewelryNBT.addModifiers(targetItem, selectedItems);
+ JewelrycraftMod.netWrapper.sendToServer(new PacketRequestSetSlot(targetItem));
+ }
+ }
+ this.pages.setText(page + "/" + maxPages);
+ }
+
+ @Override
+ public void initGui()
+ {
+ super.initGui();
+ this.searchField = new GuiTextField(this.fontRendererObj, this.guiLeft + 89, this.guiTop + 148, 115, this.fontRendererObj.FONT_HEIGHT + 3);
+ this.searchField.setMaxStringLength(15);
+ this.searchField.setTextColor(16777215);
+ this.searchField.setVisible(true);
+ this.searchField.setCanLoseFocus(true);
+ this.pages = new GuiTextField(this.fontRendererObj, this.guiLeft + 20, this.guiTop + 146, 50, this.fontRendererObj.FONT_HEIGHT + 3);
+ this.pages.setMaxStringLength(15);
+ this.pages.setTextColor(16777215);
+ this.pages.setVisible(true);
+ this.pages.setText(page + "/" + maxPages);
+ this.buttonList.add(new GuiButton(0, this.guiLeft + 17, this.guiTop + 30, 52, 20, "Metal"));
+ this.buttonList.add(new GuiButton(1, this.guiLeft + 17, this.guiTop + 52, 52, 20, "Gem"));
+ this.buttonList.add(new GuiButton(2, this.guiLeft + 17, this.guiTop + 74, 52, 20, "Modifiers"));
+ this.buttonList.add(new GuiButton(3, this.guiLeft + 17, this.guiTop + 96, 52, 20, "Add Items"));
+ this.buttonList.add(new GuiButton(4, this.guiLeft + 5, this.guiTop + 142, 13, 20, "<<"));
+ this.buttonList.add(new GuiButton(5, this.guiLeft + 73, this.guiTop + 142, 13, 20, ">>"));
+ ((GuiButton)buttonList.get(0)).enabled = false;
+ }
+
+ public void drawScreen(int x, int y, float z)
+ {
+ super.drawScreen(x, y, z);
+ int i = 0;
+ List<String> list = new ArrayList<String>();
+ for(ItemStack item: JewelrycraftUtil.objects){
+ if (this.searchField.getText() == "" || item.getDisplayName().toLowerCase().contains(this.searchField.getText().toLowerCase())){
+ if (i >= (page - 1) * 48 && i < page * 48 && x >= this.guiLeft + 88 + 20 * (i % 6) && x < this.guiLeft + 108 + 20 * (i % 6) && y >= this.guiTop + 9 + 17 * (i / 6) - 136 * (page - 1) && y < this.guiTop + 25 + 17 * (i / 6) - 136 * (page - 1)){
+ list.add(item.getDisplayName());
+ if (item.getTooltip(mc.thePlayer, mc.gameSettings.advancedItemTooltips) != null) this.renderToolTip(item, x, y);
+ else this.drawHoveringText(list, x, y, this.fontRendererObj);
+ }
+ i++;
+ }
+ }
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/60834d1d9ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/60834d1d9ce3001412c4c4819c88e86b
deleted file mode 100644
index 973f460..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/75/60834d1d9ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,26 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.xCoord - RenderManager.instance.renderPosX, midas.yCoord - RenderManager.instance.renderPosY, midas.zCoord - RenderManager.instance.renderPosZ, midas.target.rotationYaw, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/304649cf95ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/304649cf95ea001411cee0f8f86532a4
new file mode 100644
index 0000000..76b8baf
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/304649cf95ea001411cee0f8f86532a4
@@ -0,0 +1,111 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/40fb0f9585ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/40fb0f9585ea001411cee0f8f86532a4
new file mode 100644
index 0000000..452f586
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/76/40fb0f9585ea001411cee0f8f86532a4
@@ -0,0 +1,22 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+ public static final ResourceLocation CURSES_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ public static final ResourceLocation VILLAGER_TEXTURE = new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png");
+ public static final ResourceLocation MISC_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/hearts.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/78/90636f1ffde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/78/90636f1ffde40014174fe663e69b8422
deleted file mode 100644
index 3293158..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/78/90636f1ffde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/79/70b22b2507e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/79/e054ac7884ea001411cee0f8f86532a4
index 20da581..932ec61 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/79/70b22b2507e50014174fe663e69b8422
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/79/e054ac7884ea001411cee0f8f86532a4
@@ -7,6 +7,7 @@ import net.minecraftforge.client.MinecraftForgeClient;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.client.registry.RenderingRegistry;
+import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.registry.VillagerRegistry;
import darkknight.jewelrycraft.block.BlockList;
import darkknight.jewelrycraft.client.InventoryTabVanilla;
@@ -52,10 +53,8 @@ public class ClientProxy extends CommonProxy
@Override
public void preInit()
{
- ResourceLocation pedestalResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
- TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(pedestalResourceLocation), pedestalResourceLocation);
- ResourceLocation shadowResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
- TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(shadowResourceLocation), shadowResourceLocation);
+ TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(Variables.PEDESTAL_TEXTURE), Variables.PEDESTAL_TEXTURE);
+ TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE), Variables.SHADOW_HAND_TEXTURE);
ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySmelter.class, new TileEntitySmelterRender());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMolder.class, new TileEntityMolderRender());
@@ -71,20 +70,19 @@ public class ClientProxy extends CommonProxy
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.smelter), new ItemRender(new TileEntitySmelterRender(), new TileEntitySmelter(), new ModelSmelter()));
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.molder), new ItemRender(new TileEntityMolderRender(), new TileEntityMolder(), new ModelMolder()));
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowEye), new ItemRender(new TileEntityShadowEyeRender(), new TileEntityShadowEye(), new ModelShadowEye()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(pedestalResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(shadowResourceLocation)));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(Variables.PEDESTAL_TEXTURE)));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE)));
MinecraftForgeClient.registerItemRenderer(ItemList.goldObj, new ItemRender());
VillagerRegistry.instance().registerVillagerSkin(3000, new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png"));
RenderingRegistry.registerEntityRenderingHandler(EntityHeart.class, new HeartRender(new ModelHeart(), 0.25F));
RenderingRegistry.registerEntityRenderingHandler(EntityHalfHeart.class, new HeartRender(new ModelHalfHeart(), 0.25F));
-
+
TabRegistry.registerTab(new InventoryTabVanilla());
TabRegistry.registerTab(new TabJewelry());
MinecraftForge.EVENT_BUS.register(new TabRegistry());
MinecraftForge.EVENT_BUS.register(new PlayerRenderHandler());
- ResourceLocation jeweleryTexture = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), jeweleryTexture));
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/30bcf87f94e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/30bcf87f94e3001412c4c4819c88e86b
deleted file mode 100644
index 22da1c4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/30bcf87f94e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,71 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/402c65f927e500141c50bd6848c69dc6 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/402c65f927e500141c50bd6848c69dc6
deleted file mode 100644
index 21961ed..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/402c65f927e500141c50bd6848c69dc6
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public boolean hasEffect(ItemStack item)
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) return item.getIconIndex();
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/8029efd19de3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/8029efd19de3001412c4c4819c88e86b
deleted file mode 100644
index 3361ee3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/8029efd19de3001412c4c4819c88e86b
+++ /dev/null
@@ -1,77 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import net.minecraft.block.Block;
-import net.minecraft.block.material.Material;
-import net.minecraftforge.fluids.Fluid;
-import net.minecraftforge.fluids.FluidRegistry;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.tileentity.TileEntityAltar;
-import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
-import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
-import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
-import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
-import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
-import darkknight.jewelrycraft.util.Variables;
-
-public class BlockList
-{
- public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock;
- public static BlockMoltenMetal moltenMetal;
- public static Fluid moltenMetalFluid;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
- displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
- handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
- midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock").setCreativeTab(JewelrycraftMod.jewelrycraft);
-
- GameRegistry.registerBlock(shadowOre, "shadowOre");
- GameRegistry.registerBlock(shadowBlock, "shadowBlock");
- GameRegistry.registerBlock(smelter, "Smelter");
- GameRegistry.registerBlock(molder, "Molder");
- GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
- GameRegistry.registerBlock(displayer, "Displayer");
- GameRegistry.registerBlock(jewelAltar, "Altar");
- GameRegistry.registerBlock(shadowEye, "Shadow Eye");
- GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
- GameRegistry.registerBlock(shadowHand, "Shadow Hand");
- GameRegistry.registerBlock(midasTouchBlock, "Midas Touch Block");
-
- GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
- GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
- GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
- GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
- GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
- GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
- GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
- GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
- GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
- GameRegistry.registerTileEntity(TileEntityMidasTouch.class, Variables.MODID + ":midsaTouch");
-
- moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
- if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
- moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
- GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/f072972997ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/f072972997ea001411cee0f8f86532a4
new file mode 100644
index 0000000..538e883
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7a/f072972997ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+// GL11.glEnable(GL11.GL_BLEND);
+// GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+// GL11.glColor3f(1F, 0F, 0F);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/504da4b747e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/504da4b747e700141e05cdbaeb682437
deleted file mode 100644
index 7c5a8fb..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/504da4b747e700141e05cdbaeb682437
+++ /dev/null
@@ -1,128 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(JewelryNBT.ingotColor(item));
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(JewelryNBT.ingotColor(item));
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/70dd987a96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/70dd987a96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..88d2c0f
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7b/70dd987a96ea001411cee0f8f86532a4
@@ -0,0 +1,114 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ GL11.glColor4f(0, 1, 1, 1);
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/206da33e92ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/206da33e92ea001411cee0f8f86532a4
new file mode 100644
index 0000000..b8e8da2
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/206da33e92ea001411cee0f8f86532a4
@@ -0,0 +1,184 @@
+package darkknight.jewelrycraft.model;
+
+import java.awt.Color;
+import net.minecraft.client.model.ModelBase;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.Entity;
+import org.lwjgl.opengl.GL11;
+
+/**
+ * ModelBiped - Either Mojang or a mod author Created using Tabula 4.1.1
+ */
+public class ModelBracelet extends ModelBase
+{
+ public ModelRenderer metal1;
+ public ModelRenderer metal2;
+ public ModelRenderer metal3;
+ public ModelRenderer metal4;
+ public ModelRenderer gem1;
+ public ModelRenderer gem2;
+ public ModelRenderer gem3;
+ public ModelRenderer gem4;
+ public ModelRenderer gem5;
+ public ModelRenderer gem6;
+ public ModelRenderer gem7;
+ public ModelRenderer gem8;
+ public ModelRenderer gem9;
+
+ public ModelBracelet()
+ {
+ this.textureWidth = 16;
+ this.textureHeight = 16;
+ this.metal4 = new ModelRenderer(this, 0, 8);
+ this.metal4.setRotationPoint(-5.0F, 12.0F, -2.0F);
+ this.metal4.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem4 = new ModelRenderer(this, 0, 0);
+ this.gem4.setRotationPoint(-3.0F, 12.8F, -3.5F);
+ this.gem4.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.setRotateAngle(gem4, 0.0F, 0.008901179185171082F, 0.0F);
+ this.gem3 = new ModelRenderer(this, 0, 0);
+ this.gem3.setRotationPoint(-4.8F, 12.2F, -3.5F);
+ this.gem3.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem2 = new ModelRenderer(this, 0, 0);
+ this.gem2.setRotationPoint(-1.5F, 12.8F, -3.5F);
+ this.gem2.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem1 = new ModelRenderer(this, 0, 0);
+ this.gem1.setRotationPoint(0.3F, 12.2F, -3.5F);
+ this.gem1.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.metal1 = new ModelRenderer(this, 0, 8);
+ this.metal1.setRotationPoint(-5.0F, 12.0F, -3.0F);
+ this.metal1.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem6 = new ModelRenderer(this, 0, 0);
+ this.gem6.setRotationPoint(-4.3F, 12.7F, -3.5F);
+ this.gem6.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.gem7 = new ModelRenderer(this, 0, 0);
+ this.gem7.setRotationPoint(-3.8F, 12.7F, -3.5F);
+ this.gem7.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem8 = new ModelRenderer(this, 0, 0);
+ this.gem8.setRotationPoint(-0.2F, 12.7F, -3.5F);
+ this.gem8.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.metal2 = new ModelRenderer(this, 0, 8);
+ this.metal2.setRotationPoint(-5.0F, 12.0F, 2.0F);
+ this.metal2.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem5 = new ModelRenderer(this, 0, 0);
+ this.gem5.setRotationPoint(-2.5F, 12.3F, -3.5F);
+ this.gem5.addBox(0.0F, 0.0F, 0.0F, 2, 3, 1, 0.0F);
+ this.metal3 = new ModelRenderer(this, 0, 8);
+ this.metal3.setRotationPoint(0.0F, 12.0F, -2.0F);
+ this.metal3.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem9 = new ModelRenderer(this, 0, 0);
+ this.gem9.setRotationPoint(-0.7F, 12.7F, -3.5F);
+ this.gem9.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ }
+
+ @Override
+ public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
+ {
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ }
+
+ /**
+ * This is a helper function from Tabula to set the rotation of model parts
+ */
+ public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z)
+ {
+ modelRenderer.rotateAngleX = x;
+ modelRenderer.rotateAngleY = y;
+ modelRenderer.rotateAngleZ = z;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/f0a9cd9e96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/f0a9cd9e96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..2453150
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7c/f0a9cd9e96ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glColor3f(0F, 1F, 1F);
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7d/b0ad63acfde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7d/b0ad63acfde40014174fe663e69b8422
deleted file mode 100644
index 7f0dc41..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7d/b0ad63acfde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldObject extends Item
-{
- public ItemGoldObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3e/70b5b24de0e50014109ec019d2f6c0dc b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7d/e0f61197b3ea001411cee0f8f86532a4
index cdfa90f..8b87de0 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/3e/70b5b24de0e50014109ec019d2f6c0dc
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7d/e0f61197b3ea001411cee0f8f86532a4
@@ -8,6 +8,7 @@ import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
+import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.IIcon;
@@ -47,11 +48,13 @@ public class ItemGoldObj extends Item
public String getItemStackDisplayName(ItemStack stack)
{
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
+ return "Golden " + ((Item.getItemById(Integer.valueOf(stack.getTagCompound().getTag("target").toString().split(",")[0].substring(4).replace("s", ""))) != null && stack != null && JewelryNBT.item(stack) != null) ? JewelryNBT.item(stack).getDisplayName() : "Object");
}
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
{
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Shiny, but useless :(");
+ if (displayInfo)
+ if(JewelryNBT.item(stack).getItem() instanceof ItemFood) list.add(EnumChatFormatting.DARK_PURPLE + "It's made of solid gold. How are you suppose to eat this?");
+ else list.add(EnumChatFormatting.DARK_PURPLE + "Shiny, but useless :(");
}
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/6079eceaafea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/6079eceaafea001411cee0f8f86532a4
new file mode 100644
index 0000000..cedf978
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/6079eceaafea001411cee0f8f86532a4
@@ -0,0 +1,26 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.events;
+
+import net.minecraftforge.common.MinecraftForge;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.util.Variables;
+
+public class EventList
+{
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/70e0fae86be70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/70e0fae86be70014115de2bb951f0adf
deleted file mode 100644
index a2c482f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/70e0fae86be70014115de2bb951f0adf
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.curses;
-
-/**
- * @author Sorin
- *
- */
-public class CursePentagram
-{
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/80d136b994e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/80d136b994e3001412c4c4819c88e86b
deleted file mode 100644
index 50fa890..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7e/80d136b994e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,72 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null)
- this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/1085f39501e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/1085f39501e50014174fe663e69b8422
deleted file mode 100644
index 8aa7aeb..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/1085f39501e50014174fe663e69b8422
+++ /dev/null
@@ -1,53 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- ItemStack curItem = player.inventory.getCurrentItem();
- if(curItem != null && curItem.getItem() != ItemList.goldObj && Block.getBlockFromItem(curItem.getItem()) == null){
- int index = player.inventory.currentItem;
- ItemStack item = curItem;
- ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
- JewelryNBT.addItem(result, item);
- player.inventory.setInventorySlotContents(index, result);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/10e9952ffde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/10e9952ffde40014174fe663e69b8422
deleted file mode 100644
index 07bb2b6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/7f/10e9952ffde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/100f40e4aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/100f40e4aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..32d2014
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/100f40e4aeea001411cee0f8f86532a4
@@ -0,0 +1,12 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.entities;
+
+/**
+ * @author Sorin
+ *
+ */
+public class EntityRegistry
+{
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/c002ba7395e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/c002ba7395e3001412c4c4819c88e86b
deleted file mode 100644
index 83bdfc7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/c002ba7395e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.height);
- this.setBlockBounds(0F, 0F, 0F, 1F, 1F, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/902f83c06ae70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/e068543a93ea001411cee0f8f86532a4
index 0d71b5f..4915ecf 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/12/902f83c06ae70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/80/e068543a93ea001411cee0f8f86532a4
@@ -1,59 +1,42 @@
package darkknight.jewelrycraft.events;
import java.util.Iterator;
-import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.RenderPlayerEvent;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
import darkknight.jewelrycraft.curses.CurseList;
import darkknight.jewelrycraft.entities.renders.RenderHelper;
import darkknight.jewelrycraft.item.render.BraceletRender;
import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
import darkknight.jewelrycraft.model.ModelBracelet;
import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
public class PlayerRenderHandler
{
- MaskRender mask = new MaskRender();
EarringsRender earrings = new EarringsRender();
BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
public static NBTTagCompound playersInfo = new NBTTagCompound();
@SubscribeEvent
public void renderScreen(RenderPlayerEvent.Specials.Post event)
{
ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
if (playersInfo != null){
while (players.hasNext()){
EntityPlayer player = players.next();
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
@@ -82,23 +65,36 @@ public class PlayerRenderHandler
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
GL11.glPushMatrix();
GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
+ float size = 0.055F;
if (i / 12 == 1){
+// GL11.glTranslatef(0F, -(12-i)*0.1F, 0F);
+ float sizeY=(13-i)*0.055F;
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F)
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
}else{
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F)
+ GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
@@ -118,7 +114,7 @@ public class PlayerRenderHandler
private boolean checkPlayerInfamy(String string)
{
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
return false;
}
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/81/703d9e3297ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/81/703d9e3297ea001411cee0f8f86532a4
new file mode 100644
index 0000000..6415ea5
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/81/703d9e3297ea001411cee0f8f86532a4
@@ -0,0 +1,115 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/82/9020848ffce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/82/9020848ffce40014174fe663e69b8422
deleted file mode 100644
index 3293158..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/82/9020848ffce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/6009ab0a97ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/6009ab0a97ea001411cee0f8f86532a4
new file mode 100644
index 0000000..bc6814e
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/6009ab0a97ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE);
+ GL11.glColor3f(1F, 0F, 0F);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/60fb889a96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/60fb889a96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..2ebf169
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/60fb889a96ea001411cee0f8f86532a4
@@ -0,0 +1,114 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ GL11.glColor3f(0F, 1F, 1F);
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/c0cd51bc92ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/c0cd51bc92ea001411cee0f8f86532a4
new file mode 100644
index 0000000..15b6be4
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/84/c0cd51bc92ea001411cee0f8f86532a4
@@ -0,0 +1,29 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/87/003f191173e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/85/b0cdcc6786ea001411cee0f8f86532a4
index 5964039..ad80ec8 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/87/003f191173e70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/85/b0cdcc6786ea001411cee0f8f86532a4
@@ -19,10 +19,10 @@ import darkknight.jewelrycraft.util.JewelrycraftUtil;
import darkknight.jewelrycraft.util.PlayerUtils;
import darkknight.jewelrycraft.util.Variables;
-public class CursePentagram extends Curse
+public class CurseInfamy extends Curse
{
MaskRender mask = new MaskRender();
- public CursePentagram(int id, String name, int text)
+ public CurseInfamy(int id, String name, int text)
{
super(id, name, text);
}
@@ -30,6 +30,15 @@ public class CursePentagram extends Curse
@Override
public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
{
+ if (rand.nextInt(5) == 0 && !world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && target.canAttackWithItem()){
+ NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
+ if (playerInfo.getFloat("BlackHeart") < 20F) playerInfo.setFloat("BlackHeart", playerInfo.getFloat("BlackHeart") + 1.0F);
+ if (player.getMaxHealth() >= 3F){
+ player.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(player.getMaxHealth() - 1.0F);
+ player.setHealth(player.getHealth() - 1.0F);
+ }
+ JewelrycraftUtil.addCursePoints(player, 10);
+ }
}
public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
@@ -52,6 +61,6 @@ public class CursePentagram extends Curse
public String getDescription()
{
- return "The Dark Lord has misterious ways of showing you his love.";
+ return "What have you done?!";
}
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/86/b024f95597ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/86/b024f95597ea001411cee0f8f86532a4
new file mode 100644
index 0000000..a8f6900
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/86/b024f95597ea001411cee0f8f86532a4
@@ -0,0 +1,65 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/87/307f88d486ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/87/307f88d486ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e33f7d5
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/87/307f88d486ea001411cee0f8f86532a4
@@ -0,0 +1,94 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.block.Block;
+import net.minecraft.block.BlockCompressed;
+import net.minecraft.block.BlockPressurePlate;
+import net.minecraft.block.BlockPressurePlateWeighted;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Blocks;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemArmor;
+import net.minecraft.item.ItemAxe;
+import net.minecraft.item.ItemHoe;
+import net.minecraft.item.ItemPickaxe;
+import net.minecraft.item.ItemSpade;
+import net.minecraft.item.ItemStack;
+import net.minecraft.item.ItemSword;
+import net.minecraft.util.MathHelper;
+import net.minecraft.world.World;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+
+public class CurseMidasTouch extends Curse
+{
+ public CurseMidasTouch(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
+ world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
+ TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
+ midasTouchVictim.setEntity(target);
+ world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
+ target.setDead();
+ }
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ ItemStack curItem = player.inventory.getCurrentItem();
+ if(curItem != null && curItem.getItem() != ItemList.goldObj && !isGoldenObject(curItem.getItem())){
+ int index = player.inventory.currentItem;
+ ItemStack item = curItem;
+ ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
+ JewelryNBT.addItem(result, item);
+ if(changeItem(curItem) != null) result = changeItem(curItem);
+ player.inventory.setInventorySlotContents(index, result);
+ }
+ }
+
+ public ItemStack changeItem(ItemStack currItem)
+ {
+ if(currItem.getItem() instanceof ItemSword) return new ItemStack(Items.golden_sword, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemSpade) return new ItemStack(Items.golden_shovel, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemPickaxe) return new ItemStack(Items.golden_pickaxe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemAxe) return new ItemStack(Items.golden_axe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemHoe) return new ItemStack(Items.golden_hoe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 0) return new ItemStack(Items.golden_helmet, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 1) return new ItemStack(Items.golden_chestplate, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 2) return new ItemStack(Items.golden_leggings, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 3) return new ItemStack(Items.golden_boots, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("horsearmor")) return new ItemStack(Items.golden_horse_armor, currItem.stackSize, 0);
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("nugget") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains(" nugget") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains("nugget ")) return new ItemStack(Items.gold_nugget, currItem.stackSize, 0);
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("ingot") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains(" ingot") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains("ingot ")) return new ItemStack(Items.gold_ingot, currItem.stackSize, 0);
+ else if(Block.getBlockFromItem(currItem.getItem()) instanceof BlockPressurePlate || Block.getBlockFromItem(currItem.getItem()) instanceof BlockPressurePlateWeighted) return new ItemStack(Blocks.light_weighted_pressure_plate, currItem.stackSize, 0);
+ else if(Block.getBlockFromItem(currItem.getItem()) instanceof BlockCompressed) return new ItemStack(Blocks.gold_block, currItem.stackSize, 0);
+ return null;
+ }
+
+ public boolean isGoldenObject(Item item)
+ {
+ return item.equals(Items.gold_ingot) || item.equals(Items.gold_nugget) || item.equals(Items.golden_helmet) || item.equals(Items.golden_chestplate) ||
+ item.equals(Items.golden_leggings) || item.equals(Items.golden_boots) || item.equals(Items.golden_sword) || item.equals(Items.golden_shovel) ||
+ item.equals(Items.golden_pickaxe) || item.equals(Items.golden_axe) || item.equals(Items.golden_hoe) || item.equals(Items.golden_horse_armor) ||
+ Block.getBlockFromItem(item).equals(Blocks.gold_block) || Block.getBlockFromItem(item).equals(Blocks.light_weighted_pressure_plate);
+ }
+
+ public String getDescription()
+ {
+ return "Be careful what you wish for...";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/20688e9587ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/20688e9587ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1fe3955
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/20688e9587ea001411cee0f8f86532a4
@@ -0,0 +1,22 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+ public static final ResourceLocation CURSES_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/curses0.png");
+ public static final ResourceLocation VILLAGER_TEXTURE = new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png");
+ public static final ResourceLocation MISC_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/hearts.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/6046ea82b1ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/6046ea82b1ea001411cee0f8f86532a4
new file mode 100644
index 0000000..ab073fa
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/6046ea82b1ea001411cee0f8f86532a4
@@ -0,0 +1,263 @@
+package darkknight.jewelrycraft.tileentity.renders;
+
+import java.awt.Color;
+import java.util.HashMap;
+import java.util.List;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.client.renderer.OpenGlHelper;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.entity.RenderManager;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.EnumChatFormatting;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.util.Variables;
+
+public class TileEntityDisplayerRender extends TileEntitySpecialRenderer
+{
+ ModelDisplayer displayer = new ModelDisplayer();
+ String texture = "textures/tileentities/Displayer.png";
+ HashMap<EnumChatFormatting, Integer> colors = new HashMap<EnumChatFormatting, Integer>(){
+ {
+ put(EnumChatFormatting.AQUA, 5636095);
+ put(EnumChatFormatting.BLACK, 0);
+ put(EnumChatFormatting.BLUE, 5592575);
+ put(EnumChatFormatting.DARK_AQUA, 43690);
+ put(EnumChatFormatting.DARK_BLUE, 170);
+ put(EnumChatFormatting.DARK_GRAY, 5592405);
+ put(EnumChatFormatting.DARK_GREEN, 43520);
+ put(EnumChatFormatting.DARK_PURPLE, 11141290);
+ put(EnumChatFormatting.DARK_RED, 11141120);
+ put(EnumChatFormatting.GOLD, 16755200);
+ put(EnumChatFormatting.GRAY, 11184810);
+ put(EnumChatFormatting.GREEN, 5635925);
+ put(EnumChatFormatting.LIGHT_PURPLE, 16733695);
+ put(EnumChatFormatting.RED, 16733525);
+ put(EnumChatFormatting.WHITE, 16777215);
+ put(EnumChatFormatting.YELLOW, 16777045);
+ }
+ };
+
+ /**
+ * @param te
+ * @param x
+ * @param y
+ * @param z
+ * @param scale
+ */
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ GL11.glPushMatrix();
+ GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
+ TileEntityDisplayer disp = (TileEntityDisplayer)te;
+ ResourceLocation blockTexture = new ResourceLocation(Variables.MODID, texture);
+ Minecraft.getMinecraft().renderEngine.bindTexture(blockTexture);
+ GL11.glPushMatrix();
+ GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
+ displayer.render((Entity)null, disp.ringTranslation1, disp.ringTranslation2, disp.ringTranslation3, 0.0F, 0.0F, 0.0625F);
+ try{
+ int block = disp.getBlockMetadata();
+ if (disp != null && disp.hasObject && disp.object != null && disp.object.getItem() != null && disp.object != new ItemStack(Item.getItemById(0), 0, 0)){
+ int ind = -3;
+ GL11.glPushMatrix();
+ EntityItem entityitem = new EntityItem(te.getWorldObj(), 0.0D, 0.0D, 0.0D, disp.object);
+ entityitem.hoverStart = 0.0F;
+ disp.object.stackSize = 1;
+ GL11.glRotatef(180F, 1F, 0F, 0F);
+ GL11.glTranslatef(0.0F, -0.6F + disp.ringTranslation1 / 5, 0F);
+ GL11.glRotatef(disp.rotAngle, 0F, 1F, 0F);
+ if (RenderManager.instance.options.fancyGraphics) RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ else{
+ GL11.glRotatef(180F, 0F, 1F, 0F);
+ RenderManager.instance.options.fancyGraphics = true;
+ int i = 15728880;
+ int j = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, j / 1.0F, k / 1.0F);
+ RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ RenderManager.instance.options.fancyGraphics = false;
+ }
+ EntityPlayer player = te.getWorldObj().getClosestPlayer(te.xCoord, te.yCoord, te.zCoord, 5D);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ if (player != null) renderLabel(disp.object.getDisplayName(), 0F, -0.171F * ind, 0F, block, disp, colors.get(disp.object.getRarity().rarityColor));
+ GL11.glPopMatrix();
+ ind++;
+ if (player != null && disp.quantity > 1){
+ GL11.glPushMatrix();
+ renderLabel("x" + Integer.toString(disp.quantity), 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ if (disp.object.getItem() != Items.map && player != null && disp.object.getTooltip(player, true) != null){
+ List tooltips = disp.object.getTooltip(player, true);
+ if (disp.infoIndex + 5 > tooltips.size()) disp.infoIndex = 1;
+ if (tooltips.size() < 5) for(int i = 1; i < tooltips.size(); i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ else for(int i = disp.infoIndex; i < disp.infoIndex + 5; i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ }
+ }
+ }
+ catch(Exception e){}
+ GL11.glPopMatrix();
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param par2Str
+ * @param x
+ * @param y
+ * @param z
+ * @param metadata
+ * @param te
+ * @param color
+ */
+ protected void renderLabel(String par2Str, double x, double y, double z, int metadata, TileEntity te, int color)
+ {
+ FontRenderer fontrenderer = RenderManager.instance.getFontRenderer();
+ float var14 = 0.01266667F * 1.5F;
+ float var17 = 0.015F;
+ GL11.glRotatef(180F, 0F, 0F, 1F);
+ if (metadata == 0) GL11.glRotatef(0F, 0F, 1F, 0F);
+ else if (metadata == 1) GL11.glRotatef(270F, 0F, 1F, 0F);
+ else if (metadata == 2) GL11.glRotatef(180F, 0F, 1F, 0F);
+ else if (metadata == 3) GL11.glRotatef(90F, 0F, 1F, 0F);
+ GL11.glTranslatef((float)x, (float)y, (float)z + 0.45F);
+ GL11.glScalef(-0.015F, -var14, 0.015F);
+ GL11.glPushMatrix();
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ Tessellator tessellator = Tessellator.instance;
+ GL11.glDisable(GL11.GL_TEXTURE_2D);
+ int j = fontrenderer.getStringWidth(par2Str) / 2;
+ tessellator.startDrawingQuads();
+ tessellator.setColorRGBA_F(0.0F, 0.2F, 0.2F, 0.9F);
+ tessellator.addVertex(-33.333 - 0, 0D, 0.1D);
+ tessellator.addVertex(-33.333 - 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 0D, 0.1D);
+ tessellator.draw();
+ if (fontrenderer.getStringWidth(par2Str) / 2 > 20) var17 = 0.9F / fontrenderer.getStringWidth(par2Str);
+ else var17 = var14;
+ int red = color >> 16 & 0xFF;
+ int green = color >> 8 & 0xFF;
+ int blue = color & 0xFF;
+ GL11.glTranslatef((float)x + 1f, (float)y + 1f, (float)z);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_TEXTURE_2D);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ int i = 15728880;
+ int t = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, t / 1.0F, k / 1.0F);
+ fontrenderer.drawString(par2Str.replaceFirst("§0", "§r").replaceFirst("§1", "§r").replaceFirst("§2", "§r").replaceFirst("§3", "§r").replaceFirst("§4", "§r").replaceFirst("§5", "§r").replaceFirst("§6", "§r").replaceFirst("§7", "§r").replaceFirst("§8", "§r").replaceFirst("§9", "§r").replaceFirst("§a", "§r").replaceFirst("§b", "§r").replaceFirst("§c", "§r").replaceFirst("§d", "§r").replaceFirst("§e", "§r").replaceFirst("§f", "§r"), -j, 0, 65536 * (red > 170 ? red - 170 : 0) + 256 * (green > 170 ? green - 170 : 0) + (blue > 170 ? blue - 170 : 0));
+ GL11.glPopMatrix();
+ GL11.glTranslatef((float)x - 1f, (float)y - 1f, (float)z - 1F);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ fontrenderer.drawString(par2Str, -j, 0, color);
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param str
+ * @param color
+ */
+ public void replaceEnumEnchValues(String str, int color)
+ {
+ if (str.contains("§0")){
+ color = Color.BLACK.getRGB();
+ str.replace("§0", "");
+ }
+ if (str.contains("§1")){
+ color = 85;
+ str.replace("§1", "");
+ }
+ if (str.contains("§2")){
+ color = 17920;
+ str.replace("§2", "");
+ }
+ if (str.contains("§3")){
+ color = 1336183;
+ str.replace("§3", "");
+ }
+ if (str.contains("§4")){
+ color = 4587520;
+ str.replace("§4", "");
+ }
+ if (str.contains("§5")){
+ color = 5701759;
+ str.replace("§5", "");
+ }
+ if (str.contains("§6")){
+ color = 16762880;
+ str.replace("§6", "");
+ }
+ if (str.contains("§7")){
+ color = Color.GRAY.getRGB();
+ str.replace("§7", "");
+ }
+ if (str.contains("§8")){
+ color = Color.DARK_GRAY.getRGB();
+ str.replace("§8", "");
+ }
+ if (str.contains("§9")){
+ color = Color.BLUE.getRGB();
+ str.replace("§9", "");
+ }
+ if (str.contains("§a")){
+ color = Color.GREEN.getRGB();
+ str.replace("§a", "");
+ }
+ if (str.contains("§b")){
+ color = Color.CYAN.getRGB();
+ str.replace("§b", "");
+ }
+ if (str.contains("§c")){
+ color = Color.RED.getRGB();
+ str.replace("§c", "");
+ }
+ if (str.contains("§d")){
+ color = 11665663;
+ str.replace("§d", "");
+ }
+ if (str.contains("§e")){
+ color = Color.YELLOW.getRGB();
+ str.replace("§e", "");
+ }
+ if (str.contains("§f")){
+ color = Color.WHITE.getRGB();
+ str.replace("§f", "");
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/e0c7328592ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/e0c7328592ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1e2a9da
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/88/e0c7328592ea001411cee0f8f86532a4
@@ -0,0 +1,280 @@
+package darkknight.jewelrycraft.model;
+
+import java.awt.Color;
+import net.minecraft.client.model.ModelBase;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.Entity;
+import org.lwjgl.opengl.GL11;
+
+/**
+ * ModelBiped - Either Mojang or a mod author Created using Tabula 4.1.1
+ */
+public class ModelBracelet extends ModelBase
+{
+ public ModelRenderer metal1;
+ public ModelRenderer metal2;
+ public ModelRenderer metal3;
+ public ModelRenderer metal4;
+ public ModelRenderer gem1;
+ public ModelRenderer gem2;
+ public ModelRenderer gem3;
+ public ModelRenderer gem4;
+ public ModelRenderer gem5;
+ public ModelRenderer gem6;
+ public ModelRenderer gem7;
+ public ModelRenderer gem8;
+ public ModelRenderer gem9;
+
+ public ModelBracelet()
+ {
+ this.textureWidth = 16;
+ this.textureHeight = 16;
+ this.metal4 = new ModelRenderer(this, 0, 8);
+ this.metal4.setRotationPoint(-5.0F, 12.0F, -2.0F);
+ this.metal4.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem4 = new ModelRenderer(this, 0, 0);
+ this.gem4.setRotationPoint(-3.0F, 12.8F, -3.5F);
+ this.gem4.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.setRotateAngle(gem4, 0.0F, 0.008901179185171082F, 0.0F);
+ this.gem3 = new ModelRenderer(this, 0, 0);
+ this.gem3.setRotationPoint(-4.8F, 12.2F, -3.5F);
+ this.gem3.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem2 = new ModelRenderer(this, 0, 0);
+ this.gem2.setRotationPoint(-1.5F, 12.8F, -3.5F);
+ this.gem2.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem1 = new ModelRenderer(this, 0, 0);
+ this.gem1.setRotationPoint(0.3F, 12.2F, -3.5F);
+ this.gem1.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.metal1 = new ModelRenderer(this, 0, 8);
+ this.metal1.setRotationPoint(-5.0F, 12.0F, -3.0F);
+ this.metal1.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem6 = new ModelRenderer(this, 0, 0);
+ this.gem6.setRotationPoint(-4.3F, 12.7F, -3.5F);
+ this.gem6.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.gem7 = new ModelRenderer(this, 0, 0);
+ this.gem7.setRotationPoint(-3.8F, 12.7F, -3.5F);
+ this.gem7.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem8 = new ModelRenderer(this, 0, 0);
+ this.gem8.setRotationPoint(-0.2F, 12.7F, -3.5F);
+ this.gem8.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.metal2 = new ModelRenderer(this, 0, 8);
+ this.metal2.setRotationPoint(-5.0F, 12.0F, 2.0F);
+ this.metal2.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem5 = new ModelRenderer(this, 0, 0);
+ this.gem5.setRotationPoint(-2.5F, 12.3F, -3.5F);
+ this.gem5.addBox(0.0F, 0.0F, 0.0F, 2, 3, 1, 0.0F);
+ this.metal3 = new ModelRenderer(this, 0, 8);
+ this.metal3.setRotationPoint(0.0F, 12.0F, -2.0F);
+ this.metal3.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem9 = new ModelRenderer(this, 0, 0);
+ this.gem9.setRotationPoint(-0.7F, 12.7F, -3.5F);
+ this.gem9.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ }
+
+ @Override
+ public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
+ {
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glTranslatef(0F, 3.5F, 0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ }
+
+ /**
+ * This is a helper function from Tabula to set the rotation of model parts
+ */
+ public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z)
+ {
+ modelRenderer.rotateAngleX = x;
+ modelRenderer.rotateAngleY = y;
+ modelRenderer.rotateAngleZ = z;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/403c226486ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/403c226486ea001411cee0f8f86532a4
new file mode 100644
index 0000000..a2a6da7
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/403c226486ea001411cee0f8f86532a4
@@ -0,0 +1,94 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.block.Block;
+import net.minecraft.block.BlockCompressed;
+import net.minecraft.block.BlockPressurePlate;
+import net.minecraft.block.BlockPressurePlateWeighted;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Blocks;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemArmor;
+import net.minecraft.item.ItemAxe;
+import net.minecraft.item.ItemHoe;
+import net.minecraft.item.ItemPickaxe;
+import net.minecraft.item.ItemSpade;
+import net.minecraft.item.ItemStack;
+import net.minecraft.item.ItemSword;
+import net.minecraft.util.MathHelper;
+import net.minecraft.world.World;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+
+public class CurseMidasTouch extends Curse
+{
+ public CurseMidasTouch(int id, String name, int text)
+ {
+ super(id, name, text);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
+ world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
+ TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
+ midasTouchVictim.setEntity(target);
+ world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
+ target.setDead();
+ }
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ ItemStack curItem = player.inventory.getCurrentItem();
+ if(curItem != null && curItem.getItem() != ItemList.goldObj && !isGoldenObject(curItem.getItem())){
+ int index = player.inventory.currentItem;
+ ItemStack item = curItem;
+ ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
+ JewelryNBT.addItem(result, item);
+ if(changeItem(curItem) != null) result = changeItem(curItem);
+ player.inventory.setInventorySlotContents(index, result);
+ }
+ }
+
+ public ItemStack changeItem(ItemStack currItem)
+ {
+ if(currItem.getItem() instanceof ItemSword) return new ItemStack(Items.golden_sword, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemSpade) return new ItemStack(Items.golden_shovel, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemPickaxe) return new ItemStack(Items.golden_pickaxe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemAxe) return new ItemStack(Items.golden_axe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemHoe) return new ItemStack(Items.golden_hoe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 0) return new ItemStack(Items.golden_helmet, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 1) return new ItemStack(Items.golden_chestplate, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 2) return new ItemStack(Items.golden_leggings, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 3) return new ItemStack(Items.golden_boots, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("horsearmor")) return new ItemStack(Items.golden_horse_armor, currItem.stackSize, 0);
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("nugget") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains(" nugget") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains("nugget ")) return new ItemStack(Items.gold_nugget, currItem.stackSize, 0);
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("ingot") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains(" ingot") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains("ingot ")) return new ItemStack(Items.gold_ingot, currItem.stackSize, 0);
+ else if(Block.getBlockFromItem(currItem.getItem()) instanceof BlockPressurePlate || Block.getBlockFromItem(currItem.getItem()) instanceof BlockPressurePlateWeighted) return new ItemStack(Blocks.light_weighted_pressure_plate, currItem.stackSize, 0);
+ else if(Block.getBlockFromItem(currItem.getItem()) instanceof BlockCompressed) return new ItemStack(Blocks.gold_block, currItem.stackSize, 0);
+ return null;
+ }
+
+ public boolean isGoldenObject(Item item)
+ {
+ return item.equals(Items.gold_ingot) || item.equals(Items.gold_nugget) || item.equals(Items.golden_helmet) || item.equals(Items.golden_chestplate) ||
+ item.equals(Items.golden_leggings) || item.equals(Items.golden_boots) || item.equals(Items.golden_sword) || item.equals(Items.golden_shovel) ||
+ item.equals(Items.golden_pickaxe) || item.equals(Items.golden_axe) || item.equals(Items.golden_hoe) || item.equals(Items.golden_horse_armor) ||
+ Block.getBlockFromItem(item).equals(Blocks.gold_block) || Block.getBlockFromItem(item).equals(Blocks.light_weighted_pressure_plate);
+ }
+
+ public String getDescription()
+ {
+ return "Be careful what you wish for...";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/8044082ffce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/8044082ffce40014174fe663e69b8422
deleted file mode 100644
index b9560c1..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/8044082ffce40014174fe663e69b8422
+++ /dev/null
@@ -1,37 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/b0b1a2f395ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/b0b1a2f395ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f982789
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/b0b1a2f395ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glTranslatef(0.0F, 3.0F, -2.0F);
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f01e505a95e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f01e505a95e3001412c4c4819c88e86b
deleted file mode 100644
index 0b7f8e6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f01e505a95e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(this.getBlockBoundsMinY());
- this.setBlockBounds(0F, 0F, 0F, 1F, 1F, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f02ac1bf92ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f02ac1bf92ea001411cee0f8f86532a4
new file mode 100644
index 0000000..d2c7119
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/89/f02ac1bf92ea001411cee0f8f86532a4
@@ -0,0 +1,280 @@
+package darkknight.jewelrycraft.model;
+
+import java.awt.Color;
+import net.minecraft.client.model.ModelBase;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.Entity;
+import org.lwjgl.opengl.GL11;
+
+/**
+ * ModelBiped - Either Mojang or a mod author Created using Tabula 4.1.1
+ */
+public class ModelBracelet extends ModelBase
+{
+ public ModelRenderer metal1;
+ public ModelRenderer metal2;
+ public ModelRenderer metal3;
+ public ModelRenderer metal4;
+ public ModelRenderer gem1;
+ public ModelRenderer gem2;
+ public ModelRenderer gem3;
+ public ModelRenderer gem4;
+ public ModelRenderer gem5;
+ public ModelRenderer gem6;
+ public ModelRenderer gem7;
+ public ModelRenderer gem8;
+ public ModelRenderer gem9;
+
+ public ModelBracelet()
+ {
+ this.textureWidth = 16;
+ this.textureHeight = 16;
+ this.metal4 = new ModelRenderer(this, 0, 8);
+ this.metal4.setRotationPoint(-5.0F, 12.0F, -2.0F);
+ this.metal4.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem4 = new ModelRenderer(this, 0, 0);
+ this.gem4.setRotationPoint(-3.0F, 12.8F, -3.5F);
+ this.gem4.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.setRotateAngle(gem4, 0.0F, 0.008901179185171082F, 0.0F);
+ this.gem3 = new ModelRenderer(this, 0, 0);
+ this.gem3.setRotationPoint(-4.8F, 12.2F, -3.5F);
+ this.gem3.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem2 = new ModelRenderer(this, 0, 0);
+ this.gem2.setRotationPoint(-1.5F, 12.8F, -3.5F);
+ this.gem2.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem1 = new ModelRenderer(this, 0, 0);
+ this.gem1.setRotationPoint(0.3F, 12.2F, -3.5F);
+ this.gem1.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.metal1 = new ModelRenderer(this, 0, 8);
+ this.metal1.setRotationPoint(-5.0F, 12.0F, -3.0F);
+ this.metal1.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem6 = new ModelRenderer(this, 0, 0);
+ this.gem6.setRotationPoint(-4.3F, 12.7F, -3.5F);
+ this.gem6.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.gem7 = new ModelRenderer(this, 0, 0);
+ this.gem7.setRotationPoint(-3.8F, 12.7F, -3.5F);
+ this.gem7.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem8 = new ModelRenderer(this, 0, 0);
+ this.gem8.setRotationPoint(-0.2F, 12.7F, -3.5F);
+ this.gem8.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.metal2 = new ModelRenderer(this, 0, 8);
+ this.metal2.setRotationPoint(-5.0F, 12.0F, 2.0F);
+ this.metal2.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem5 = new ModelRenderer(this, 0, 0);
+ this.gem5.setRotationPoint(-2.5F, 12.3F, -3.5F);
+ this.gem5.addBox(0.0F, 0.0F, 0.0F, 2, 3, 1, 0.0F);
+ this.metal3 = new ModelRenderer(this, 0, 8);
+ this.metal3.setRotationPoint(0.0F, 12.0F, -2.0F);
+ this.metal3.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem9 = new ModelRenderer(this, 0, 0);
+ this.gem9.setRotationPoint(-0.7F, 12.7F, -3.5F);
+ this.gem9.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ }
+
+ @Override
+ public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
+ {
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glTranslatef(0F, 6.5F, 0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ }
+
+ /**
+ * This is a helper function from Tabula to set the rotation of model parts
+ */
+ public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z)
+ {
+ modelRenderer.rotateAngleX = x;
+ modelRenderer.rotateAngleY = y;
+ modelRenderer.rotateAngleZ = z;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/90fa117a8de3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/90fa117a8de3001417b2e384bf7c3702
deleted file mode 100644
index ac90f3b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/90fa117a8de3001417b2e384bf7c3702
+++ /dev/null
@@ -1,35 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- ((EntityLiving)target).hurtTime = 0;
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/e058c2a396e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/e058c2a396e3001412c4c4819c88e86b
deleted file mode 100644
index 97531da..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8a/e058c2a396e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,36 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8b/907ae04292ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8b/907ae04292ea001411cee0f8f86532a4
new file mode 100644
index 0000000..7f15b3a
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8b/907ae04292ea001411cee0f8f86532a4
@@ -0,0 +1,280 @@
+package darkknight.jewelrycraft.model;
+
+import java.awt.Color;
+import net.minecraft.client.model.ModelBase;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.Entity;
+import org.lwjgl.opengl.GL11;
+
+/**
+ * ModelBiped - Either Mojang or a mod author Created using Tabula 4.1.1
+ */
+public class ModelBracelet extends ModelBase
+{
+ public ModelRenderer metal1;
+ public ModelRenderer metal2;
+ public ModelRenderer metal3;
+ public ModelRenderer metal4;
+ public ModelRenderer gem1;
+ public ModelRenderer gem2;
+ public ModelRenderer gem3;
+ public ModelRenderer gem4;
+ public ModelRenderer gem5;
+ public ModelRenderer gem6;
+ public ModelRenderer gem7;
+ public ModelRenderer gem8;
+ public ModelRenderer gem9;
+
+ public ModelBracelet()
+ {
+ this.textureWidth = 16;
+ this.textureHeight = 16;
+ this.metal4 = new ModelRenderer(this, 0, 8);
+ this.metal4.setRotationPoint(-5.0F, 12.0F, -2.0F);
+ this.metal4.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem4 = new ModelRenderer(this, 0, 0);
+ this.gem4.setRotationPoint(-3.0F, 12.8F, -3.5F);
+ this.gem4.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.setRotateAngle(gem4, 0.0F, 0.008901179185171082F, 0.0F);
+ this.gem3 = new ModelRenderer(this, 0, 0);
+ this.gem3.setRotationPoint(-4.8F, 12.2F, -3.5F);
+ this.gem3.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem2 = new ModelRenderer(this, 0, 0);
+ this.gem2.setRotationPoint(-1.5F, 12.8F, -3.5F);
+ this.gem2.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem1 = new ModelRenderer(this, 0, 0);
+ this.gem1.setRotationPoint(0.3F, 12.2F, -3.5F);
+ this.gem1.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.metal1 = new ModelRenderer(this, 0, 8);
+ this.metal1.setRotationPoint(-5.0F, 12.0F, -3.0F);
+ this.metal1.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem6 = new ModelRenderer(this, 0, 0);
+ this.gem6.setRotationPoint(-4.3F, 12.7F, -3.5F);
+ this.gem6.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.gem7 = new ModelRenderer(this, 0, 0);
+ this.gem7.setRotationPoint(-3.8F, 12.7F, -3.5F);
+ this.gem7.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ this.gem8 = new ModelRenderer(this, 0, 0);
+ this.gem8.setRotationPoint(-0.2F, 12.7F, -3.5F);
+ this.gem8.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
+ this.metal2 = new ModelRenderer(this, 0, 8);
+ this.metal2.setRotationPoint(-5.0F, 12.0F, 2.0F);
+ this.metal2.addBox(0.0F, 0.0F, 0.0F, 6, 2, 1, 0.0F);
+ this.gem5 = new ModelRenderer(this, 0, 0);
+ this.gem5.setRotationPoint(-2.5F, 12.3F, -3.5F);
+ this.gem5.addBox(0.0F, 0.0F, 0.0F, 2, 3, 1, 0.0F);
+ this.metal3 = new ModelRenderer(this, 0, 8);
+ this.metal3.setRotationPoint(0.0F, 12.0F, -2.0F);
+ this.metal3.addBox(0.0F, 0.0F, 0.0F, 1, 2, 4, 0.0F);
+ this.gem9 = new ModelRenderer(this, 0, 0);
+ this.gem9.setRotationPoint(-0.7F, 12.7F, -3.5F);
+ this.gem9.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
+ }
+
+ @Override
+ public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
+ {
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glTranslatef(0F, 0.5F, 0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ if ((int)f3 != -1){
+ int ingotColor = (int)f3;
+ int red = (ingotColor >> 16) & 0xff;
+ int green = (ingotColor >> 8) & 0xff;
+ int blue = ingotColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ this.metal1.render(f5);
+ this.metal2.render(f5);
+ this.metal3.render(f5);
+ this.metal4.render(f5);
+ }
+ if ((int)f4 != -1){
+ int gemColor = (int)f4;
+ int red = gemColor >> 16 & 0xff;
+ int green = gemColor >> 8 & 0xff;
+ int blue = gemColor & 0xff;
+ GL11.glColor3f((float)red / 255, (float)green / 255, (float)blue / 255);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE_MINUS_DST_COLOR);
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem4.offsetX, this.gem4.offsetY, this.gem4.offsetZ);
+ GL11.glTranslatef(this.gem4.rotationPointX * f5, this.gem4.rotationPointY * f5, this.gem4.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem4.offsetX, -this.gem4.offsetY, -this.gem4.offsetZ);
+ GL11.glTranslatef(-this.gem4.rotationPointX * f5, -this.gem4.rotationPointY * f5, -this.gem4.rotationPointZ * f5);
+ this.gem4.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem3.offsetX, this.gem3.offsetY, this.gem3.offsetZ);
+ GL11.glTranslatef(this.gem3.rotationPointX * f5, this.gem3.rotationPointY * f5, this.gem3.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem3.offsetX, -this.gem3.offsetY, -this.gem3.offsetZ);
+ GL11.glTranslatef(-this.gem3.rotationPointX * f5, -this.gem3.rotationPointY * f5, -this.gem3.rotationPointZ * f5);
+ this.gem3.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem2.offsetX, this.gem2.offsetY, this.gem2.offsetZ);
+ GL11.glTranslatef(this.gem2.rotationPointX * f5, this.gem2.rotationPointY * f5, this.gem2.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem2.offsetX, -this.gem2.offsetY, -this.gem2.offsetZ);
+ GL11.glTranslatef(-this.gem2.rotationPointX * f5, -this.gem2.rotationPointY * f5, -this.gem2.rotationPointZ * f5);
+ this.gem2.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem1.offsetX, this.gem1.offsetY, this.gem1.offsetZ);
+ GL11.glTranslatef(this.gem1.rotationPointX * f5, this.gem1.rotationPointY * f5, this.gem1.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem1.offsetX, -this.gem1.offsetY, -this.gem1.offsetZ);
+ GL11.glTranslatef(-this.gem1.rotationPointX * f5, -this.gem1.rotationPointY * f5, -this.gem1.rotationPointZ * f5);
+ this.gem1.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem6.offsetX, this.gem6.offsetY, this.gem6.offsetZ);
+ GL11.glTranslatef(this.gem6.rotationPointX * f5, this.gem6.rotationPointY * f5, this.gem6.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem6.offsetX, -this.gem6.offsetY, -this.gem6.offsetZ);
+ GL11.glTranslatef(-this.gem6.rotationPointX * f5, -this.gem6.rotationPointY * f5, -this.gem6.rotationPointZ * f5);
+ this.gem6.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem7.offsetX, this.gem7.offsetY, this.gem7.offsetZ);
+ GL11.glTranslatef(this.gem7.rotationPointX * f5, this.gem7.rotationPointY * f5, this.gem7.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem7.offsetX, -this.gem7.offsetY, -this.gem7.offsetZ);
+ GL11.glTranslatef(-this.gem7.rotationPointX * f5, -this.gem7.rotationPointY * f5, -this.gem7.rotationPointZ * f5);
+ this.gem7.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem8.offsetX, this.gem8.offsetY, this.gem8.offsetZ);
+ GL11.glTranslatef(this.gem8.rotationPointX * f5, this.gem8.rotationPointY * f5, this.gem8.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem8.offsetX, -this.gem8.offsetY, -this.gem8.offsetZ);
+ GL11.glTranslatef(-this.gem8.rotationPointX * f5, -this.gem8.rotationPointY * f5, -this.gem8.rotationPointZ * f5);
+ this.gem8.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem5.offsetX, this.gem5.offsetY, this.gem5.offsetZ);
+ GL11.glTranslatef(this.gem5.rotationPointX * f5, this.gem5.rotationPointY * f5, this.gem5.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem5.offsetX, -this.gem5.offsetY, -this.gem5.offsetZ);
+ GL11.glTranslatef(-this.gem5.rotationPointX * f5, -this.gem5.rotationPointY * f5, -this.gem5.rotationPointZ * f5);
+ this.gem5.render(f5);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glTranslatef(this.gem9.offsetX, this.gem9.offsetY, this.gem9.offsetZ);
+ GL11.glTranslatef(this.gem9.rotationPointX * f5, this.gem9.rotationPointY * f5, this.gem9.rotationPointZ * f5);
+ GL11.glScaled(0.5D, 0.5D, 0.5D);
+ GL11.glTranslatef(-this.gem9.offsetX, -this.gem9.offsetY, -this.gem9.offsetZ);
+ GL11.glTranslatef(-this.gem9.rotationPointX * f5, -this.gem9.rotationPointY * f5, -this.gem9.rotationPointZ * f5);
+ this.gem9.render(f5);
+ GL11.glPopMatrix();
+ GL11.glDisable(GL11.GL_BLEND);
+ }
+ GL11.glEnable(GL11.GL_LIGHTING);
+ }
+
+ /**
+ * This is a helper function from Tabula to set the rotation of model parts
+ */
+ public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z)
+ {
+ modelRenderer.rotateAngleX = x;
+ modelRenderer.rotateAngleY = y;
+ modelRenderer.rotateAngleZ = z;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8e/3038bcc698ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8e/3038bcc698ea001411cee0f8f86532a4
new file mode 100644
index 0000000..40249b4
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8e/3038bcc698ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-15F, -15F, -15F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/c0af41a774e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/c0af41a774e70014115de2bb951f0adf
deleted file mode 100644
index bf00345..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/c0af41a774e70014115de2bb951f0adf
+++ /dev/null
@@ -1,61 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CursePentagram extends Curse
-{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- Tessellator tessellator = Tessellator.instance;
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
- GL11.glScalef(0.7F, 0.7F, 0.7F);
- float f = 0.00390625F;
- float f1 = 0.00390625F;
- int x = 0;
- int y = 0;
- int u = 0;
- int v = 0;
- int width = 32;
- int height = 32;
- tessellator.startDrawingQuads();
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
- tessellator.draw();
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/e0ba42a391e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/e0ba42a391e3001417b2e384bf7c3702
deleted file mode 100644
index 76a6c42..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/8f/e0ba42a391e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(0.8F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, 0D, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/402cdd4674e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/402cdd4674e70014115de2bb951f0adf
deleted file mode 100644
index 090ac7a..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/402cdd4674e70014115de2bb951f0adf
+++ /dev/null
@@ -1,62 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CursePentagram extends Curse
-{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- Tessellator tessellator = Tessellator.instance;
- ItemStack itemStack = new ItemStack(Items.apple);
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
-// texturemanager.bindTexture(texturemanager.getResourceLocation(itemStack.getItemSpriteNumber()));
- texturemanager.bindTexture(curse);
- float f = 0.00390625F;
- float f1 = 0.00390625F;
- int x = 0;
- int y = 0;
- int u = 0;
- int v = 0;
- int width = 32;
- int height = 32;
- tessellator.startDrawingQuads();
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
- tessellator.draw();
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/e0c2b692fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/e0c2b692fce40014174fe663e69b8422
deleted file mode 100644
index 0e3b4b8..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/90/e0c2b692fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft).setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/90b5ab67fee40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/90b5ab67fee40014174fe663e69b8422
deleted file mode 100644
index 8db0b73..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/90b5ab67fee40014174fe663e69b8422
+++ /dev/null
@@ -1,759 +0,0 @@
-package darkknight.jewelrycraft.util;
-
-import java.util.ArrayList;
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.nbt.NBTTagList;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-
-public class JewelryNBT
-{
- // TODO NBT Tag Adding
- public static void addItem(ItemStack item, ItemStack target)
- {
- if (target != null){
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound targetNBT = new NBTTagCompound();
- target.writeToNBT(targetNBT);
- itemStackData.setTag("target", targetNBT);
- }
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param metal The metal you want to add on the item
- */
- public static void addMetal(ItemStack item, ItemStack metal)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound ingotNBT = new NBTTagCompound();
- metal.writeToNBT(ingotNBT);
- itemStackData.setTag("ingot", ingotNBT);
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param gem The gem you want to add on the item
- */
- public static void addGem(ItemStack item, ItemStack gem)
- {
- if (gem != null){
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound gemNBT = new NBTTagCompound();
- gem.writeToNBT(gemNBT);
- itemStackData.setTag("gem", gemNBT);
- }
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param modifier The modifier you want to add on the item
- */
- public static void addModifiers(ItemStack item, ArrayList<ItemStack> modifier)
- {
- if (modifier != null){
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- for(int i = 0; i < modifier.size(); i++){
- NBTTagCompound modifierNBT = new NBTTagCompound();
- modifier.get(i).writeToNBT(modifierNBT);
- itemStackData.setTag("modifier" + i, modifierNBT);
- }
- itemStackData.setInteger("modifierSize", modifier.size());
- }
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param entity The entity to add on the item
- */
- public static void addEntity(ItemStack item, EntityLivingBase entity)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound entityNBT = new NBTTagCompound();
- entity.writeToNBT(entityNBT);
- itemStackData.setTag("entity", entityNBT);
- }
-
- /**
- * @param item
- * @param entity
- */
- public static void addEntityID(ItemStack item, EntityLivingBase entity)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound entityNBT = new NBTTagCompound();
- int id = EntityList.getEntityID(entity);
- entityNBT.setInteger("entityID", id);
- itemStackData.setTag("entityID", entityNBT);
- }
-
- /**
- * @param item
- * @param x
- * @param y
- * @param z
- */
- public static void addCoordonates(ItemStack item, double x, double y, double z)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound coords = new NBTTagCompound();
- coords.setDouble("x", x);
- coords.setDouble("y", y);
- coords.setDouble("z", z);
- itemStackData.setTag("x", coords);
- itemStackData.setTag("y", coords);
- itemStackData.setTag("z", coords);
- }
-
- /**
- * @param item
- * @param world
- * @param x
- * @param y
- * @param z
- */
- public static void addTileEntityBlock(ItemStack item, World world, int x, int y, int z)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound tileNBT = new NBTTagCompound();
- NBTTagCompound block = new NBTTagCompound();
- world.getTileEntity(x, y, z).writeToNBT(tileNBT);
- itemStackData.setTag("tile", tileNBT);
- block.setInteger("blockID", Block.getIdFromBlock(world.getBlock(x, y, z)));
- block.setInteger("metadata", world.getBlockMetadata(x, y, z));
- block.setInteger("blockX", x);
- block.setInteger("blockY", y);
- block.setInteger("blockZ", z);
- itemStackData.setTag("metadata", block);
- itemStackData.setTag("blockID", block);
- itemStackData.setTag("blockX", block);
- itemStackData.setTag("blockY", block);
- itemStackData.setTag("blockZ", block);
- }
-
- /**
- * @param item
- * @param block
- * @param metadata
- */
- public static void addBlock(ItemStack item, int block, int metadata)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound blockNBT = new NBTTagCompound();
- blockNBT.setInteger("blockID", block);
- itemStackData.setTag("blockID", blockNBT);
- blockNBT.setInteger("metadata", metadata);
- itemStackData.setTag("metadata", blockNBT);
- }
-
- /**
- * @param item
- * @param x
- * @param y
- * @param z
- */
- public static void addBlockCoordonates(ItemStack item, int x, int y, int z)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound coords = new NBTTagCompound();
- coords.setInteger("blockX", x);
- coords.setInteger("blockY", y);
- coords.setInteger("blockZ", z);
- itemStackData.setTag("blockX", coords);
- itemStackData.setTag("blockY", coords);
- itemStackData.setTag("blockZ", coords);
- }
-
- /**
- * @param item
- * @param x
- * @param y
- * @param z
- * @param dim
- * @param name
- */
- public static void addCoordonatesAndDimension(ItemStack item, double x, double y, double z, int dim, String name)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound coords = new NBTTagCompound();
- coords.setDouble("x", x);
- coords.setDouble("y", y);
- coords.setDouble("z", z);
- coords.setInteger("dimension", dim);
- coords.setString("dimName", name);
- itemStackData.setTag("x", coords);
- itemStackData.setTag("y", coords);
- itemStackData.setTag("z", coords);
- itemStackData.setTag("dimension", coords);
- itemStackData.setTag("dimName", coords);
- }
-
- /**
- * @param item
- */
- public static void addFakeEnchantment(ItemStack item)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- itemStackData.setTag("ench", new NBTTagList());
- }
-
- /**
- * @param item
- * @param color
- */
- public static void addIngotColor(ItemStack item, int color)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound colors = new NBTTagCompound();
- colors.setInteger("ingotColor", color);
- itemStackData.setTag("ingotColor", colors);
- }
-
- // TODO
- /**
- * @param item
- * @param color
- */
- public static void addGemColor(ItemStack item, int color)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound colors = new NBTTagCompound();
- colors.setInteger("gemColor", color);
- itemStackData.setTag("gemColor", colors);
- }
-
- /**
- * @param item
- * @param list
- */
- @SuppressWarnings ("rawtypes")
- public static void addEntities(ItemStack item, List list)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound entityNBT = new NBTTagCompound();
- for(int i = 0; i < list.size(); i++)
- ((EntityLivingBase)list.get(i)).writeToNBT(entityNBT);
- itemStackData.setTag("entities", entityNBT);
- }
-
- // TODO NBT Tag Removing
- /**
- * @param item
- * @param tag
- */
- public static void removeNBT(ItemStack item, String tag)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- itemStackData.removeTag(tag);
- }
-
- /**
- * @param item
- */
- public static void removeEntity(ItemStack item)
- {
- JewelryNBT.removeNBT(item, "entityID");
- JewelryNBT.removeNBT(item, "entity");
- JewelryNBT.removeNBT(item, "ench");
- }
-
- /**
- * @param item
- */
- public static void removeBlock(ItemStack item)
- {
- JewelryNBT.removeNBT(item, "blockID");
- JewelryNBT.removeNBT(item, "metadata");
- JewelryNBT.removeNBT(item, "tile");
- JewelryNBT.removeNBT(item, "blockX");
- JewelryNBT.removeNBT(item, "blockY");
- JewelryNBT.removeNBT(item, "blockZ");
- }
-
- // TODO NTB Tag Checking
- /**
- * @param item
- * @param tag
- * @return
- */
- public static boolean hasTag(ItemStack item, String tag)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- if (itemStackData.hasKey(tag)) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param gem
- * @return
- */
- public static boolean isGemX(ItemStack stack, ItemStack gem)
- {
- if (gem(stack) != null && gem(stack).getItem() == gem.getItem() && gem(stack).getItemDamage() == gem.getItemDamage()) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param modifier
- * @return
- */
- public static boolean doesModifierExist(ItemStack stack, ItemStack modifier)
- {
- if (modifier(stack) != null){
- ArrayList<ItemStack> list = modifier(stack);
- for(int i = 0; i < list.size(); i++)
- if (list.get(i).getItem() == modifier.getItem() && list.get(i).getItemDamage() == modifier.getItemDamage()) return true;
- }
- return false;
- }
-
- public static int modifierSize(ItemStack stack, ItemStack modifier)
- {
- if (modifier(stack) != null){
- ArrayList<ItemStack> list = modifier(stack);
- for(int i = 0; i < list.size(); i++)
- if (list.get(i).getItem() == modifier.getItem() && list.get(i).getItemDamage() == modifier.getItemDamage()) return list.get(i).stackSize;
- }
- return -1;
- }
-
- public static int numberOfModifiers(ItemStack stack)
- {
- if (modifier(stack) != null) return modifier(stack).size();
- return -1;
- }
-
- /**
- * @param stack
- * @param ingot
- * @return
- */
- public static boolean isIngotX(ItemStack stack, ItemStack ingot)
- {
- if (ingot(stack) != null && ingot(stack).getItem() == ingot.getItem() && ingot(stack).getItemDamage() == ingot.getItemDamage()) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param player
- * @param entity
- * @return
- */
- public static boolean isEntityX(ItemStack stack, EntityPlayer player, EntityLivingBase entity)
- {
- if (entity != null && entity instanceof EntityLivingBase && entity(stack, player) != null && entity(stack, player).equals(entity)) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param dimName
- * @return
- */
- public static boolean isDimNameX(ItemStack stack, String dimName)
- {
- if (ingot(stack) != null && dimName(stack).equals(dimName)) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param dimension
- * @return
- */
- public static boolean isDimensionX(ItemStack stack, int dimension)
- {
- if (dimension(stack) != -2 && dimension(stack) == dimension) return true;
- return false;
- }
-
- // TODO Return components based on NBT
- /**
- * @param stack
- * @return
- */
- public static ItemStack gem(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("gem")){
- NBTTagCompound jewelNBT = (NBTTagCompound)stack.getTagCompound().getTag("gem");
- ItemStack gem = new ItemStack(Item.getItemById(0), 0, 0);
- gem.readFromNBT(jewelNBT);
- return gem;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static ArrayList<ItemStack> modifier(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound()){
- int size = stack.getTagCompound().getInteger("modifierSize");
- ArrayList<ItemStack> list = new ArrayList<ItemStack>();
- for(int i = 0; i < size; i++){
- ItemStack modifier = new ItemStack(Item.getItemById(0), 0, 0);
- NBTTagCompound modifierNBT = (NBTTagCompound)stack.getTagCompound().getTag("modifier" + i);
- modifier.readFromNBT(modifierNBT);
- list.add(modifier);
- }
- return list;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static ItemStack ingot(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("ingot")){
- NBTTagCompound ingotNBT = (NBTTagCompound)stack.getTagCompound().getTag("ingot");
- ItemStack ingot = new ItemStack(Item.getItemById(0), 0, 0);
- ingot.readFromNBT(ingotNBT);
- return ingot;
- }
- return null;
- }
-
- /**
- * @param stack
- * @param player
- * @return
- */
- public static EntityLivingBase entity(ItemStack stack, EntityPlayer player)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("entityID") && stack.getTagCompound().hasKey("entity")){
- NBTTagCompound enID = (NBTTagCompound)stack.getTagCompound().getTag("entityID");
- NBTTagCompound en = (NBTTagCompound)stack.getTagCompound().getTag("entity");
- int entityID = 0;
- entityID = enID.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, player.worldObj);
- if (entity != null && entity instanceof EntityLivingBase){
- entity.readFromNBT(en);
- return entity;
- }else return null;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static TileEntity tileEntity(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("tile")){
- NBTTagCompound tileNBT = (NBTTagCompound)stack.getTagCompound().getTag("tile");
- TileEntity tile = TileEntity.createAndLoadEntity(tileNBT);
- if (tile != null && tile instanceof TileEntity){
- tile.readFromNBT(tileNBT);
- return tile;
- }else return null;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static String dimName(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("dimName")){
- NBTTagCompound dim = (NBTTagCompound)stack.getTagCompound().getTag("dimName");
- String name = dim.getString("dimName");
- return name;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static String modeName(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("mode")){
- NBTTagCompound dim = (NBTTagCompound)stack.getTagCompound().getTag("mode");
- String name = dim.getString("mode");
- return name;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int dimension(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("dimension")){
- NBTTagCompound dim = (NBTTagCompound)stack.getTagCompound().getTag("dimension");
- int dimension = dim.getInteger("dimension");
- return dimension;
- }
- return -2;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockCoordX(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockX")){
- NBTTagCompound x = (NBTTagCompound)stack.getTagCompound().getTag("blockX");
- int posX = x.getInteger("blockX");
- return posX;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockCoordY(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockY")){
- NBTTagCompound y = (NBTTagCompound)stack.getTagCompound().getTag("blockY");
- int posY = y.getInteger("blockY");
- return posY;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockCoordZ(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockZ")){
- NBTTagCompound z = (NBTTagCompound)stack.getTagCompound().getTag("blockZ");
- int posZ = z.getInteger("blockZ");
- return posZ;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockID(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockID")){
- NBTTagCompound blockID = (NBTTagCompound)stack.getTagCompound().getTag("blockID");
- int blockId = blockID.getInteger("blockID");
- return blockId;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockMetadata(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("metadata")){
- NBTTagCompound metadataNBT = (NBTTagCompound)stack.getTagCompound().getTag("metadata");
- int metadata = metadataNBT.getInteger("metadata");
- return metadata;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static double playerPosX(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("x")){
- NBTTagCompound x = (NBTTagCompound)stack.getTagCompound().getTag("x");
- double posX = x.getDouble("x");
- return posX;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static double playerPosY(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("y")){
- NBTTagCompound y = (NBTTagCompound)stack.getTagCompound().getTag("y");
- double posY = y.getDouble("y");
- return posY;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static double playerPosZ(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("z")){
- NBTTagCompound z = (NBTTagCompound)stack.getTagCompound().getTag("z");
- double posZ = z.getDouble("z");
- return posZ;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int ingotColor(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("ingotColor")){
- NBTTagCompound colors = (NBTTagCompound)stack.getTagCompound().getTag("ingotColor");
- int color = colors.getInteger("ingotColor");
- return color;
- }
- return 16777215;
- }
-
- // TODO
- /**
- * @param stack
- * @return
- */
- public static int gemColor(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("gemColor")){
- NBTTagCompound colors = (NBTTagCompound)stack.getTagCompound().getTag("gemColor");
- int color = colors.getInteger("gemColor");
- return color;
- }
- return 16777215;
- }
-
- /**
- * @param stack
- * @param player
- * @return
- */
- @SuppressWarnings ({"rawtypes", "unchecked", "null"})
- public static List entities(ItemStack stack, EntityPlayer player)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("entities")){
- NBTTagCompound enID = (NBTTagCompound)stack.getTagCompound().getTag("entitiesID");
- List list = null;
- int[] entityID;
- EntityLivingBase entity;
- entityID = enID.getIntArray("entitiesID");
- for(int element: entityID){
- entity = (EntityLivingBase)EntityList.createEntityByID(element, player.worldObj);
- list.add(entity);
- }
- return list;
- }
- return null;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/c02252cb92ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/c02252cb92ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e412b64
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/91/c02252cb92ea001411cee0f8f86532a4
@@ -0,0 +1,30 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ bracelet.render(entity, 0F, 4F, 0F, (float)z, f, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/93/1066a4a395e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/93/1066a4a395e3001412c4c4819c88e86b
deleted file mode 100644
index 9246875..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/93/1066a4a395e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.height);
- this.setBlockBounds(0F, 0F, 0F, 1F, ((TileEntityMidasTouch)tile).target.height, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/00e861e202e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/00e861e202e50014174fe663e69b8422
deleted file mode 100644
index 0ec3a93..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/00e861e202e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getIcon(6, 6);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/9018c447fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/9018c447fde40014174fe663e69b8422
deleted file mode 100644
index 3f459b0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/94/9018c447fde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/1062bc07fee40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/1062bc07fee40014174fe663e69b8422
deleted file mode 100644
index 686d7ce..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/1062bc07fee40014174fe663e69b8422
+++ /dev/null
@@ -1,48 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- if(player.inventory.getCurrentItem() != null){
- int index = player.inventory.currentItem;
- ItemStack item = player.inventory.getCurrentItem();
- player.inventory.setInventorySlotContents(index, new ItemStack(ItemList.goldifiedObject, item.stackSize, item.getItemDamage()));
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/108f49d2afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/108f49d2afea001411cee0f8f86532a4
new file mode 100644
index 0000000..dedc485
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/95/108f49d2afea001411cee0f8f86532a4
@@ -0,0 +1,179 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+
+ proxy.preInit();
+
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/96/009ea381fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/96/009ea381fde40014174fe663e69b8422
deleted file mode 100644
index 6d209fe..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/96/009ea381fde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
-// thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
-// bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
-// metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
-// jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObject().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20872ad186ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20872ad186ea001411cee0f8f86532a4
new file mode 100644
index 0000000..72c06c7
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20872ad186ea001411cee0f8f86532a4
@@ -0,0 +1,62 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.item.EntityXPOrb;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.MathHelper;
+import net.minecraft.world.World;
+
+public class CurseRabbitsPaw extends Curse
+{
+ public CurseRabbitsPaw(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+
+ @Override
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {
+ for(EntityItem item: drops){
+ ItemStack drop = item.getEntityItem().copy();
+ drop.stackSize = this.rand.nextInt(4);
+ if (drop.stackSize > 0) target.entityDropItem(drop, 0.5F);
+ }
+ }
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {
+ String[] types = {"Red", "Blue", "White", "Black"};
+ String type = types[rand.nextInt(4)];
+ if (rand.nextInt(3) == 0){
+ if (type == "White"){
+ EntityHeart h = new EntityHalfHeart(world);
+ h.setType(type);
+ h.setLocationAndAngles(target.posX, target.posY, target.posZ, MathHelper.wrapAngleTo180_float(rand.nextFloat() * 360.0F), 0.0F);
+ world.spawnEntityInWorld(h);
+ }else{
+ for(int i = 1; i <= 1 + rand.nextInt(1 + (int)(target.getMaxHealth() / 20)); i++){
+ EntityHeart[] hearts = {new EntityHeart(world), new EntityHalfHeart(world)};
+ EntityHeart h = hearts[rand.nextInt(2)];
+ h.setType(type);
+ h.setLocationAndAngles(target.posX, target.posY, target.posZ, MathHelper.wrapAngleTo180_float(rand.nextFloat() * 360.0F), 0.0F);
+ world.spawnEntityInWorld(h);
+ }
+ }
+ }
+ if (rand.nextInt(3) == 0) world.spawnEntityInWorld(new EntityXPOrb(world, target.posX, target.posY, target.posZ, 1 + rand.nextInt(40)));
+ }
+
+ public String getDescription()
+ {
+ return "The Dark One is giving you a gift. Don't lose it.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20ee800597e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20ee800597e3001412c4c4819c88e86b
deleted file mode 100644
index 0a30812..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/20ee800597e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.getCollisionBorderSize());
- this.setBlockBounds(0F, 0F, 0F, 1F, ((TileEntityMidasTouch)tile).target.height, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/a0b6bcf374e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/a0b6bcf374e300141084bb8bfb075c08
deleted file mode 100644
index 9687636..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/97/a0b6bcf374e300141084bb8bfb075c08
+++ /dev/null
@@ -1,37 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/98/403c0a6287ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/98/403c0a6287ea001411cee0f8f86532a4
new file mode 100644
index 0000000..979d986
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/98/403c0a6287ea001411cee0f8f86532a4
@@ -0,0 +1,97 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+
+ public ScreenHandler(Minecraft mc)
+ {
+ super();
+ this.mc = mc;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ mc.renderEngine.bindTexture(new ResourceLocation(Variables.MODID, "textures/gui/curses" + curse.getTexturePack() + ".png"));
+ int tag = curse.getTextureID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9a/50f79109fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9a/50f79109fce40014174fe663e69b8422
deleted file mode 100644
index bcf52b4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9a/50f79109fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.*;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9b/b01a029f86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9b/b01a029f86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..c081504
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9b/b01a029f86ea001411cee0f8f86532a4
@@ -0,0 +1,137 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int id, texturepack, textureID;
+ protected String name, description;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(int id, String name, int txtID, int texturepack)
+ {
+ this.id = id;
+ this.name = name;
+ this.texturepack = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the curse ID
+ */
+ public int getID()
+ {
+ return id;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public int getTexturePack()
+ {
+ return texturepack;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/009ded5190e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/009ded5190e3001417b2e384bf7c3702
deleted file mode 100644
index 7f38eec..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/009ded5190e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,82 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch(Entity target)
- {
- this.target = target;
- }
-
- /**
- * @param nbt
- */
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- int id = EntityList.getEntityID(target);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- if (nbt.hasKey("entityID") && nbt.hasKey("entity")){
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- entity.readFromNBT(en);
- target = entity;
- }
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
-// System.out.println(target);
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/6077fb309be3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/6077fb309be3001412c4c4819c88e86b
deleted file mode 100644
index 92f5ffa..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9c/6077fb309be3001412c4c4819c88e86b
+++ /dev/null
@@ -1,96 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.Block;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.item.EntityItem;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void breakBlock(World world, int i, int j, int k, Block par5, int par6)
- {
- TileEntityMidasTouch te = (TileEntityMidasTouch)world.getTileEntity(i, j, k);
- if (te.target != null) dropItem(te.getWorldObj(), te.xCoord, te.yCoord, te.zCoord, new ItemStack(Items.gold_nugget, (int)(te.target.width * te.target.height), 0));
-// world.removeTileEntity(i, j, k);
- System.out.println("drop");
- super.breakBlock(world, i, j, k, par5, par6);
- }
-
- public void dropItem(World world, double x, double y, double z, ItemStack stack)
- {
- EntityItem entityitem = new EntityItem(world, x + 0.5D, y + 0.5D, z + 0.5D, stack);
- entityitem.motionX = 0;
- entityitem.motionZ = 0;
- entityitem.motionY = 0.11000000298023224D;
- world.spawnEntityInWorld(entityitem);
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/00cb774c9ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/00cb774c9ce3001412c4c4819c88e86b
deleted file mode 100644
index 782ca64..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/00cb774c9ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, 0D, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/50ed421e04e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/50ed421e04e50014174fe663e69b8422
deleted file mode 100644
index 2f7ec63..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/50ed421e04e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/60c0b9e2b2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/60c0b9e2b2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..3fbf051
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/60c0b9e2b2ea001411cee0f8f86532a4
@@ -0,0 +1,121 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ if ((playerInfo.hasKey("ext10") || playerInfo.hasKey("ext11")) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+ }
+ if ((playerInfo.hasKey("ext12") || playerInfo.hasKey("ext13")) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ }
+
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ if (playersInfo != null){
+ EntityPlayer player = Minecraft.getMinecraft().thePlayer;
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && playerInfo.getInteger("cursePoints") > 0) curse.playerHandRender(player, event);
+ }
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/80673fdbfae40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/80673fdbfae40014174fe663e69b8422
deleted file mode 100644
index b59c9e4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9d/80673fdbfae40014174fe663e69b8422
+++ /dev/null
@@ -1,62 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import javax.imageio.ImageIO;
-import net.minecraft.block.Block;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.client.resources.IResourceManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.DamageSource;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.effects.ModifierEffects;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {
- super();
- }
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- if (JewelryNBT.ingot(stack) != null && Item.getIdFromItem(JewelryNBT.ingot(stack).getItem()) > 0) return JewelryNBT.ingot(stack).getDisplayName().replace("Ingot", " ").trim() + " " + ("" + StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- return ("" + StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30028abb98ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30028abb98ea001411cee0f8f86532a4
new file mode 100644
index 0000000..c9d2560
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30028abb98ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-1F, -15F, -1F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30320ac0fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30320ac0fde40014174fe663e69b8422
deleted file mode 100644
index 5305900..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/30320ac0fde40014174fe663e69b8422
+++ /dev/null
@@ -1,161 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Random;
-import net.minecraft.creativetab.CreativeTabs;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.entity.passive.EntityVillager;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.potion.Potion;
-import net.minecraft.util.AxisAlignedBB;
-import net.minecraft.util.ChatComponentText;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.village.MerchantRecipe;
-import net.minecraft.village.MerchantRecipeList;
-import org.lwjgl.input.Keyboard;
-import cpw.mods.fml.common.FMLCommonHandler;
-import cpw.mods.fml.relauncher.ReflectionHelper;
-import cpw.mods.fml.relauncher.Side;
-import darkknight.jewelrycraft.util.JewelrycraftUtil;
-import darkknight.jewelrycraft.util.PlayerUtils;
-
-public class ItemThiefGloves extends Item
-{
- public Random rand = new Random();
-
- public ItemThiefGloves()
- {
- setCreativeTab(CreativeTabs.tabTools);
- setMaxStackSize(1);
- setMaxDamage(10);
- }
-
- /**
- * @param stack
- * @param player
- * @param entity
- * @return
- */
- @Override
- public boolean itemInteractionForEntity(ItemStack stack, EntityPlayer player, EntityLivingBase entity)
- {
- if (entity instanceof EntityVillager){
- EntityVillager villager = (EntityVillager)entity;
- int wealth = (Integer)ReflectionHelper.getPrivateValue(EntityVillager.class, villager, "wealth", "field_70956_bz");
- MerchantRecipeList buyingList = (MerchantRecipeList)ReflectionHelper.getPrivateValue(EntityVillager.class, villager, "buyingList", "field_70963_i");
- int chance = 5;
- boolean areOtherVillagersAround = false, canTheySeeYou = false;
- AxisAlignedBB axisalignedbb = villager.boundingBox.expand(4.0D, 4.0D, 4.0D);
- List entities = villager.worldObj.getEntitiesWithinAABBExcludingEntity(villager, axisalignedbb);
- for(Object s: entities)
- if (s instanceof EntityVillager){
- areOtherVillagersAround = true;
- chance += rand.nextInt(2);
- if (((EntityVillager)s).canEntityBeSeen(player)){
- chance += 2;
- canTheySeeYou = true;
- }
- }
- if (villager.canEntityBeSeen(player)) chance += 5;
- if (player.isPotionActive(Potion.invisibility)) chance -= 0.8 * chance;
- if (player.capabilities.isCreativeMode) chance = 1;
- int steal = rand.nextInt(chance);
- if (steal == 0){
- villager.dropItem(Items.emerald, wealth);
- ReflectionHelper.setPrivateValue(EntityVillager.class, villager, 0, "wealth", "field_70956_bz");
- }
- if (buyingList != null){
- Iterator<?> iterator = buyingList.iterator();
- if (steal == 0){
- while (iterator.hasNext()){
- MerchantRecipe recipe = (MerchantRecipe)iterator.next();
- int toolUses = (Integer)ReflectionHelper.getPrivateValue(MerchantRecipe.class, recipe, "toolUses", "field_77400_d");
- int quantity;
- if (recipe.getItemToSell().isStackable()) quantity = recipe.getItemToSell().stackSize * (7 - toolUses);
- else quantity = recipe.getItemToSell().stackSize;
- ItemStack s = new ItemStack(recipe.getItemToSell().getItem(), quantity, recipe.getItemToSell().getItemDamage());
- s.setTagCompound(recipe.getItemToSell().getTagCompound());
- if (player.inventory.addItemStackToInventory(s)) ;
- else villager.entityDropItem(s, 0);
- if (!player.capabilities.isCreativeMode) JewelrycraftUtil.addCursePoints(player, 5);
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + ": Hmmm... I seem to have lost my " + s.getDisplayName() + "!"));
- stack.damageItem(1, player);
- }
- buyingList.clear();
- ReflectionHelper.setPrivateValue(EntityVillager.class, villager, 300, "timeUntilReset", "field_70961_j");
- ReflectionHelper.setPrivateValue(EntityVillager.class, villager, true, "needsInitilization", "field_70959_by");
- player.addChatMessage(new ChatComponentText("You hear a faint whisper in your ear: "));
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_PURPLE + "Those who steal but don't get caught get rewarded and do not."));
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_PURPLE + "Embrace the path you have gone, for the darkness will not"));
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_PURPLE + "dwell on."));
- }else{
- stack.damageItem(1, player);
- if (!player.capabilities.isCreativeMode) JewelrycraftUtil.addCursePoints(player, 25);
- if (player.isPotionActive(Potion.invisibility)){
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " sensed a strange presence around him, making him cling on to his items. You didn't get anything."));
- }
- else{
- if (areOtherVillagersAround){
- if (!canTheySeeYou){
- player.addChatMessage(new ChatComponentText("As he was passing by, a random villager caught you trying to steal from Villager #" + villager.getProfession() + "."));
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " curses you for the attempt."));
- return true;
- }
- else{
- player.addChatMessage(new ChatComponentText("A villager nearby saw you trying to steal from Villager #" + villager.getProfession() + "."));
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " curses you for the attempt."));
- return true;
- }
- }else{
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " caught you trying to steal from him."));
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " curses you for the attempt."));
- return true;
- }
- }
- }
- }
- return true;
- }else return super.itemInteractionForEntity(stack, player, entity);
- }
-
- /**
- * @param stack
- * @param player
- * @param list
- * @param par4
- */
- @Override
- @SuppressWarnings ("unchecked")
- public void addInformation(ItemStack stack, EntityPlayer player, @SuppressWarnings ("rawtypes") List list, boolean par4)
- {
- if (!shouldAddAdditionalInfo()) list.add(EnumChatFormatting.GRAY + additionalInfoInstructions());
- else{
- list.add(EnumChatFormatting.GRAY + "Right click with the gloves,");
- list.add(EnumChatFormatting.GRAY + "while sneaking, on a villager");
- list.add(EnumChatFormatting.GRAY + "to steal his stuff.");
- }
- }
-
- /**
- * @return
- */
- public static boolean shouldAddAdditionalInfo()
- {
- if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) if (Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) return true;
- return false;
- }
-
- /**
- * @return
- */
- public static String additionalInfoInstructions()
- {
- String message = "\247oPress \247b<SHIFT>\2477\247o for more information.";
- return message;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/403b2d4afbe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/403b2d4afbe40014174fe663e69b8422
deleted file mode 100644
index 8ea2641..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/403b2d4afbe40014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import javax.imageio.ImageIO;
-import net.minecraft.block.Block;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.client.resources.IResourceManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.DamageSource;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.effects.ModifierEffects;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {
- super();
- }
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/d0d0f67107e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/70481ab2b3ea001411cee0f8f86532a4
index fb62f3d..1507884 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/d0d0f67107e50014174fe663e69b8422
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/70481ab2b3ea001411cee0f8f86532a4
@@ -7,7 +7,9 @@ import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
+import net.minecraft.init.Items;
import net.minecraft.item.Item;
+import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.IIcon;
@@ -42,20 +44,18 @@ public class ItemGoldObj extends Item
{
ItemStack item = JewelryNBT.item(stack);
if (item != null) return item.getIconIndex();
- return itemIcon;
+ return new ItemStack(Blocks.end_portal).getIconIndex();
}
public String getItemStackDisplayName(ItemStack stack)
{
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
+ return "Golden " + ((Item.getItemById(Integer.valueOf(stack.getTagCompound().getTag("target").toString().split(",")[0].substring(4).replace("s", ""))) != null && stack != null && JewelryNBT.item(stack) != null) ? JewelryNBT.item(stack).getDisplayName() : "Object");
}
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
{
- if (displayInfo){
-// ItemStack item = JewelryNBT.item(stack);
-// if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
+ if (displayInfo)
+ if(JewelryNBT.item(stack).getItem() instanceof ItemFood) list.add(EnumChatFormatting.DARK_PURPLE + "It's made of solid gold. How are you suppose to eat this?");
+ else list.add(EnumChatFormatting.DARK_PURPLE + "Shiny, but useless :(");
}
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/904d6c6392e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/904d6c6392e3001417b2e384bf7c3702
deleted file mode 100644
index 089799a..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9e/904d6c6392e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, 0D, 0D, 0D, 0F, 1F);
-// RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, midas.target.posX - Minecraft.getMinecraft().thePlayer.posX, midas.target.posY - Minecraft.getMinecraft().thePlayer.posY, midas.target.posZ - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/10132f5697e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/10132f5697e3001412c4c4819c88e86b
deleted file mode 100644
index 48775e1..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/10132f5697e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(0F, 0F, 0F, ((TileEntityMidasTouch)tile).target.width, ((TileEntityMidasTouch)tile).target.height, ((TileEntityMidasTouch)tile).target.width);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/d0d7417947e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/d0d7417947e700141e05cdbaeb682437
deleted file mode 100644
index 05b2c1e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/9f/d0d7417947e700141e05cdbaeb682437
+++ /dev/null
@@ -1,126 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a/8044e5d790e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a/8044e5d790e3001417b2e384bf7c3702
deleted file mode 100644
index bc8f775..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a/8044e5d790e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,82 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch()
- {}
-
- public void setEntity(Entity ent)
- {
- target = ent;
- }
-
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- if (target != null){
- int id = EntityList.getEntityID(target);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- entity.readFromNBT(en);
- target = entity;
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- // System.out.println(target);
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/40594fd502e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/40594fd502e50014174fe663e69b8422
deleted file mode 100644
index f6be9b5..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/40594fd502e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(6);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/a088aa6692e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/a088aa6692e3001417b2e384bf7c3702
deleted file mode 100644
index 14219fd..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a0/a088aa6692e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, 0D, 0D, 0D, 1F, 1F);
-// RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, midas.target.posX - Minecraft.getMinecraft().thePlayer.posX, midas.target.posY - Minecraft.getMinecraft().thePlayer.posY, midas.target.posZ - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/50ed3e1bb0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/50ed3e1bb0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..7c7b2ee
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/50ed3e1bb0ea001411cee0f8f86532a4
@@ -0,0 +1,160 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.EventList;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ EventList.preInit(e);
+ proxy.preInit();
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ EventList.init(e);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ EventList.postInit(e);
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/e04fcd7287ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/e04fcd7287ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1748816
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a2/e04fcd7287ea001411cee0f8f86532a4
@@ -0,0 +1,94 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.block.Block;
+import net.minecraft.block.BlockCompressed;
+import net.minecraft.block.BlockPressurePlate;
+import net.minecraft.block.BlockPressurePlateWeighted;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Blocks;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemArmor;
+import net.minecraft.item.ItemAxe;
+import net.minecraft.item.ItemHoe;
+import net.minecraft.item.ItemPickaxe;
+import net.minecraft.item.ItemSpade;
+import net.minecraft.item.ItemStack;
+import net.minecraft.item.ItemSword;
+import net.minecraft.util.MathHelper;
+import net.minecraft.world.World;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+
+public class CurseMidasTouch extends Curse
+{
+ public CurseMidasTouch(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
+ world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
+ TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
+ midasTouchVictim.setEntity(target);
+ world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
+ target.setDead();
+ }
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ ItemStack curItem = player.inventory.getCurrentItem();
+ if(curItem != null && curItem.getItem() != ItemList.goldObj && !isGoldenObject(curItem.getItem())){
+ int index = player.inventory.currentItem;
+ ItemStack item = curItem;
+ ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
+ JewelryNBT.addItem(result, item);
+ if(changeItem(curItem) != null) result = changeItem(curItem);
+ player.inventory.setInventorySlotContents(index, result);
+ }
+ }
+
+ public ItemStack changeItem(ItemStack currItem)
+ {
+ if(currItem.getItem() instanceof ItemSword) return new ItemStack(Items.golden_sword, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemSpade) return new ItemStack(Items.golden_shovel, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemPickaxe) return new ItemStack(Items.golden_pickaxe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemAxe) return new ItemStack(Items.golden_axe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemHoe) return new ItemStack(Items.golden_hoe, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 0) return new ItemStack(Items.golden_helmet, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 1) return new ItemStack(Items.golden_chestplate, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 2) return new ItemStack(Items.golden_leggings, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem() instanceof ItemArmor && ((ItemArmor)currItem.getItem()).armorType == 3) return new ItemStack(Items.golden_boots, currItem.stackSize, currItem.getItemDamage());
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("horsearmor")) return new ItemStack(Items.golden_horse_armor, currItem.stackSize, 0);
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("nugget") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains(" nugget") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains("nugget ")) return new ItemStack(Items.gold_nugget, currItem.stackSize, 0);
+ else if(currItem.getItem().getUnlocalizedName().toLowerCase().contains("ingot") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains(" ingot") || currItem.getItem().getItemStackDisplayName(currItem).toLowerCase().contains("ingot ")) return new ItemStack(Items.gold_ingot, currItem.stackSize, 0);
+ else if(Block.getBlockFromItem(currItem.getItem()) instanceof BlockPressurePlate || Block.getBlockFromItem(currItem.getItem()) instanceof BlockPressurePlateWeighted) return new ItemStack(Blocks.light_weighted_pressure_plate, currItem.stackSize, 0);
+ else if(Block.getBlockFromItem(currItem.getItem()) instanceof BlockCompressed) return new ItemStack(Blocks.gold_block, currItem.stackSize, 0);
+ return null;
+ }
+
+ public boolean isGoldenObject(Item item)
+ {
+ return item.equals(Items.gold_ingot) || item.equals(Items.gold_nugget) || item.equals(Items.golden_helmet) || item.equals(Items.golden_chestplate) ||
+ item.equals(Items.golden_leggings) || item.equals(Items.golden_boots) || item.equals(Items.golden_sword) || item.equals(Items.golden_shovel) ||
+ item.equals(Items.golden_pickaxe) || item.equals(Items.golden_axe) || item.equals(Items.golden_hoe) || item.equals(Items.golden_horse_armor) ||
+ Block.getBlockFromItem(item).equals(Blocks.gold_block) || Block.getBlockFromItem(item).equals(Blocks.light_weighted_pressure_plate);
+ }
+
+ public String getDescription()
+ {
+ return "Be careful what you wish for...";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3011827398ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3011827398ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e99c4bc
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3011827398ea001411cee0f8f86532a4
@@ -0,0 +1,139 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3073a9c599ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3073a9c599ea001411cee0f8f86532a4
new file mode 100644
index 0000000..fd2a27b
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/3073a9c599ea001411cee0f8f86532a4
@@ -0,0 +1,132 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int textureID;
+ protected String name, description, texturePackName;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(String name, int txtID, String texturepack)
+ {
+ this.name = name;
+ this.texturePackName = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public String getTexturePack()
+ {
+ return texturePackName;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public void playerHandRender(EntityPlayer player, RenderHandEvent event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/502b9fa69ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/502b9fa69ce3001412c4c4819c88e86b
deleted file mode 100644
index f0737fb..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a4/502b9fa69ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
-// GL11.glRotatef(yawOffset, 0, -1, 0);
-// GL11.glRotatef(yaw - 90, 0, 1, 0);
-// GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(target, midas.xCoord - RenderManager.instance.renderPosX, midas.yCoord - RenderManager.instance.renderPosY, midas.zCoord - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a5/80728a19fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a5/80728a19fde40014174fe663e69b8422
deleted file mode 100644
index 5199975..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a5/80728a19fde40014174fe663e69b8422
+++ /dev/null
@@ -1,50 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.material.Material;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public ItemGoldifiedObject(Material mat)
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a7/b09d7740fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a7/b09d7740fce40014174fe663e69b8422
deleted file mode 100644
index a781774..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a7/b09d7740fce40014174fe663e69b8422
+++ /dev/null
@@ -1,67 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import javax.imageio.ImageIO;
-import net.minecraft.block.Block;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.client.resources.IResourceManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.DamageSource;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.effects.ModifierEffects;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {
- }
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/00bcf92d8ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/00bcf92d8ee3001417b2e384bf7c3702
deleted file mode 100644
index 55d81d5..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/00bcf92d8ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glColor4f(1F, 0.0F, 1.0F, 0.3F);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/20e62f5486ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/20e62f5486ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e31db02
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/20e62f5486ea001411cee0f8f86532a4
@@ -0,0 +1,38 @@
+package darkknight.jewelrycraft.curses;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseList
+{
+ public static Curse rotten;
+ public static Curse flaming;
+ public static Curse blind;
+ public static Curse greed;
+ public static Curse infamy;
+ public static Curse midasTouch;
+ public static Curse rabbitsPaw;
+ public static Curse pentagram;
+ public static Curse vampireHunger;
+ public static Curse humbleBundle;
+ public static Curse deathsTouch;
+ public static Curse antichrist;
+ public static Curse moneyEqualsPower;
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ rotten = new CurseRottenHeart(0, Variables.MODNAME + ":" + "Rotten Heart", 0);
+ flaming = new CurseFlamingSoul(1, Variables.MODNAME + ":" + "Flaming Soul", 0);
+ greed = new CurseGreed(2, Variables.MODNAME + ":" + "Greed", 0);
+ blind = new CurseBlind(3, Variables.MODNAME + ":" + "Blind", 0);
+ infamy = new CurseInfamy(4, Variables.MODNAME + ":" + "Infamy", 0);
+ midasTouch = new CurseMidasTouch(5, Variables.MODNAME + ":" + "Midas Touch", 0);
+ rabbitsPaw = new CurseRabbitsPaw(6, Variables.MODNAME + ":" + "Rabbit's Paw", 0);
+ pentagram = new CursePentagram(7, Variables.MODNAME + ":" + "Pentagram", 0);
+// vampireHunger = new CurseMidasTouch(8, Variables.MODNAME + ":" + "Vampire Hunger", 0);
+// humbleBundle = new CurseMidasTouch(9, Variables.MODNAME + ":" + "Humble Bundle", 0);
+// deathsTouch = new CurseMidasTouch(10, Variables.MODNAME + ":" + "Deaths Touch", 0);
+// antichrist = new CurseMidasTouch(11, Variables.MODNAME + ":" + "Antichrist", 0);
+// moneyEqualsPower = new CurseMidasTouch(12, Variables.MODNAME + ":" + "Money Equals Power", 0);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/f0c56a6887ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/f0c56a6887ea001411cee0f8f86532a4
new file mode 100644
index 0000000..fdca3e0
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a8/f0c56a6887ea001411cee0f8f86532a4
@@ -0,0 +1,60 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(Variables.CURSES_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/30408fedfbe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/30408fedfbe40014174fe663e69b8422
deleted file mode 100644
index d970f43..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/30408fedfbe40014174fe663e69b8422
+++ /dev/null
@@ -1,64 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.*;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/906a5c63fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/906a5c63fce40014174fe663e69b8422
deleted file mode 100644
index bcf52b4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/a9/906a5c63fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.*;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/aa/2006adf198e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/aa/2006adf198e3001412c4c4819c88e86b
deleted file mode 100644
index ef542a7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/aa/2006adf198e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
-// GL11.glRotatef(, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, midas.target.rotationYaw, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/00104ff947e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/00104ff947e700141e05cdbaeb682437
deleted file mode 100644
index e728502..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/00104ff947e700141e05cdbaeb682437
+++ /dev/null
@@ -1,127 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
-// System.out.println(playersInfo);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/a0a9345b87ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/a0a9345b87ea001411cee0f8f86532a4
new file mode 100644
index 0000000..6c979e9
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ac/a0a9345b87ea001411cee0f8f86532a4
@@ -0,0 +1,128 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int texturepack, textureID;
+ protected String name, description;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(String name, int txtID, int texturepack)
+ {
+ this.name = name;
+ this.texturepack = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public int getTexturePack()
+ {
+ return texturepack;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/004937966be70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/004937966be70014115de2bb951f0adf
deleted file mode 100644
index 30a9d0c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/004937966be70014115de2bb951f0adf
+++ /dev/null
@@ -1,123 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/4031063499e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/4031063499e3001412c4c4819c88e86b
deleted file mode 100644
index ef542a7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/4031063499e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
-// GL11.glRotatef(, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, midas.target.rotationYaw, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/705d0e479ae3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/705d0e479ae3001412c4c4819c88e86b
deleted file mode 100644
index f558f5e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/705d0e479ae3001412c4c4819c88e86b
+++ /dev/null
@@ -1,87 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune)
- {
- ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
-
- int count = quantityDropped(metadata, fortune, world.rand);
- TileEntity tile = world.getTileEntity(x, y, z);
- if (tile != null && ((TileEntityMidasTouch)tile).target != null)
- ret.add(new ItemStack(Items.gold_nugget, (int)(((TileEntityMidasTouch)tile).target.width*((TileEntityMidasTouch)tile).target.height), 0));
-
- return ret;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/9087c735b0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/9087c735b0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..66fc1d0
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/9087c735b0ea001411cee0f8f86532a4
@@ -0,0 +1,131 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.item.Item;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.EventList;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ EventList.preInit(e);
+ proxy.preInit();
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ EventList.init(e);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ EventList.postInit(e);
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/a067720cb2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/a067720cb2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..4b0c516
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ad/a067720cb2ea001411cee0f8f86532a4
@@ -0,0 +1,31 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/204f8c71adea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/204f8c71adea001411cee0f8f86532a4
new file mode 100644
index 0000000..7455ce8
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/204f8c71adea001411cee0f8f86532a4
@@ -0,0 +1,21 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+ public static final ResourceLocation VILLAGER_TEXTURE = new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png");
+ public static final ResourceLocation MISC_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/hearts.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/60b40fee99ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/60b40fee99ea001411cee0f8f86532a4
new file mode 100644
index 0000000..c141d68
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ae/60b40fee99ea001411cee0f8f86532a4
@@ -0,0 +1,132 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int textureID;
+ protected String name, description, texturePackName;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(String name, int txtID, String texturepack)
+ {
+ this.name = name;
+ this.texturePackName = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public String getTexturePack()
+ {
+ return texturePackName;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public void playerHandRender(RenderHandEvent event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/af/e06aaecd74e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/af/e06aaecd74e70014115de2bb951f0adf
deleted file mode 100644
index a67f108..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/af/e06aaecd74e70014115de2bb951f0adf
+++ /dev/null
@@ -1,63 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CursePentagram extends Curse
-{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- Tessellator tessellator = Tessellator.instance;
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
-// GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 2F, 1F);
- GL11.glRotatef(90F, 1F, 0F, 0F);
- float f = 0.00390625F;
- float f1 = 0.00390625F;
- int x = 0;
- int y = 0;
- int u = 0;
- int v = 0;
- int width = 32;
- int height = 32;
- tessellator.startDrawingQuads();
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
- tessellator.draw();
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/000c08e404e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/000c08e404e50014174fe663e69b8422
deleted file mode 100644
index c4c5777..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/000c08e404e50014174fe663e69b8422
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
-// System.out.println(Block.getBlockFromItem(item.getItem()) + " " + item.getIconIndex());
- if (item != null)return item.getIconIndex();
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/80218fae95ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/80218fae95ea001411cee0f8f86532a4
new file mode 100644
index 0000000..cc1914d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/80218fae95ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ GL11.glTranslatef(0.0F, 3.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90e8344505e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90e8344505e50014174fe663e69b8422
deleted file mode 100644
index 9c2e86f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90e8344505e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
-// System.out.println(Block.getBlockFromItem(item.getItem()) + " " + item.getIconIndex());
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getIconIndex();
- else{
-// System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90ee5d8397ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90ee5d8397ea001411cee0f8f86532a4
new file mode 100644
index 0000000..5de5263
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/90ee5d8397ea001411cee0f8f86532a4
@@ -0,0 +1,66 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+// GL11.glColor4f(1F, 1F, 1F, 0.3F);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/d0e487bc85ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/d0e487bc85ea001411cee0f8f86532a4
new file mode 100644
index 0000000..51e38e7
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b/d0e487bc85ea001411cee0f8f86532a4
@@ -0,0 +1,22 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+// public static final ResourceLocation CURSES_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ public static final ResourceLocation VILLAGER_TEXTURE = new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png");
+ public static final ResourceLocation MISC_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/hearts.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/305eddda88ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/305eddda88ea001411cee0f8f86532a4
new file mode 100644
index 0000000..417a185
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/305eddda88ea001411cee0f8f86532a4
@@ -0,0 +1,63 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/40ae81ce86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/40ae81ce86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..81474dc
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/40ae81ce86ea001411cee0f8f86532a4
@@ -0,0 +1,38 @@
+package darkknight.jewelrycraft.curses;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseList
+{
+ public static Curse rotten;
+ public static Curse flaming;
+ public static Curse blind;
+ public static Curse greed;
+ public static Curse infamy;
+ public static Curse midasTouch;
+ public static Curse rabbitsPaw;
+ public static Curse pentagram;
+ public static Curse vampireHunger;
+ public static Curse humbleBundle;
+ public static Curse deathsTouch;
+ public static Curse antichrist;
+ public static Curse moneyEqualsPower;
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ rotten = new CurseRottenHeart(0, Variables.MODNAME + ":" + "Rotten Heart", 0, 0);
+ flaming = new CurseFlamingSoul(1, Variables.MODNAME + ":" + "Flaming Soul", 1, 0);
+ greed = new CurseGreed(2, Variables.MODNAME + ":" + "Greed", 2, 0);
+ blind = new CurseBlind(3, Variables.MODNAME + ":" + "Blind", 3, 0);
+ infamy = new CurseInfamy(4, Variables.MODNAME + ":" + "Infamy", 4, 0);
+ midasTouch = new CurseMidasTouch(5, Variables.MODNAME + ":" + "Midas Touch", 5, 0);
+ rabbitsPaw = new CurseRabbitsPaw(6, Variables.MODNAME + ":" + "Rabbit's Paw", 6, 0);
+ pentagram = new CursePentagram(7, Variables.MODNAME + ":" + "Pentagram", 7, 0);
+// vampireHunger = new CurseMidasTouch(8, Variables.MODNAME + ":" + "Vampire Hunger", 8, 0);
+// humbleBundle = new CurseMidasTouch(9, Variables.MODNAME + ":" + "Humble Bundle", 9, 0);
+// deathsTouch = new CurseMidasTouch(10, Variables.MODNAME + ":" + "Deaths Touch", 10, 0);
+// antichrist = new CurseMidasTouch(11, Variables.MODNAME + ":" + "Antichrist", 11, 0);
+// moneyEqualsPower = new CurseMidasTouch(12, Variables.MODNAME + ":" + "Money Equals Power", 12, 0);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/c0347e0403e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/c0347e0403e50014174fe663e69b8422
deleted file mode 100644
index 6a6f566..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b0/c0347e0403e50014174fe663e69b8422
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
-// else return Block.getBlockFromItem(item.getItem()).getIcon(6, 6);
- }else return itemIcon;
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b1/e0e1250efde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b1/e0e1250efde40014174fe663e69b8422
deleted file mode 100644
index a499d75..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b1/e0e1250efde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/20cba1de86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/20cba1de86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..36d070d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/20cba1de86ea001411cee0f8f86532a4
@@ -0,0 +1,30 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.potion.Potion;
+import net.minecraft.potion.PotionEffect;
+import net.minecraft.world.World;
+
+public class CurseGreed extends Curse
+{
+ public CurseGreed(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ }
+
+ @Override
+ public boolean itemToss()
+ {
+ return true;
+ }
+
+ public String getDescription()
+ {
+ return "You might need that later";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/a0f5943b87ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/a0f5943b87ea001411cee0f8f86532a4
new file mode 100644
index 0000000..452f586
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b2/a0f5943b87ea001411cee0f8f86532a4
@@ -0,0 +1,22 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+ public static final ResourceLocation CURSES_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ public static final ResourceLocation VILLAGER_TEXTURE = new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png");
+ public static final ResourceLocation MISC_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/hearts.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/80253a9b9ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/80253a9b9ce3001412c4c4819c88e86b
deleted file mode 100644
index c0e1327..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/80253a9b9ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,33 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- EntityLiving target = ((EntityLiving)midas.target);
- target.hurtTime = 0;
- float yaw = target.prevRotationYawHead + (target.rotationYawHead - target.prevRotationYawHead);
- float yawOffset = target.prevRenderYawOffset + (target.renderYawOffset - target.prevRenderYawOffset);
- float pitch = target.prevRotationPitch + (target.rotationPitch - target.prevRotationPitch);
- GL11.glRotatef(yawOffset, 0, -1, 0);
-// GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glTranslatef(0.5F, 0.0F, 0.5F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(target, midas.xCoord - RenderManager.instance.renderPosX, midas.yCoord - RenderManager.instance.renderPosY, midas.zCoord - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d00f578784ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d00f578784ea001411cee0f8f86532a4
new file mode 100644
index 0000000..0e95b8e
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d00f578784ea001411cee0f8f86532a4
@@ -0,0 +1,20 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+ public static final ResourceLocation CURSES_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d0ac8fe598e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d0ac8fe598e3001412c4c4819c88e86b
deleted file mode 100644
index 784d37e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b3/d0ac8fe598e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
- GL11.glRotatef(midas.target.rotationYaw, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/106c1b7185ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/106c1b7185ea001411cee0f8f86532a4
new file mode 100644
index 0000000..355cd8c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/106c1b7185ea001411cee0f8f86532a4
@@ -0,0 +1,100 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+ static ResourceLocation texture;
+
+ public ScreenHandler(Minecraft mc, ResourceLocation tex)
+ {
+ super();
+ this.mc = mc;
+ texture = tex;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(Variables.HEARTS_TEXTURE);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ mc.renderEngine.bindTexture(texture);
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(Variables.HEARTS_TEXTURE);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(Variables.HEARTS_TEXTURE);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.HEARTS_TEXTURE);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.HEARTS_TEXTURE);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c067553a97e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c067553a97e3001412c4c4819c88e86b
deleted file mode 100644
index 953b34c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c067553a97e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.ySize);
- this.setBlockBounds(0F, 0F, 0F, 1F, ((TileEntityMidasTouch)tile).target.height, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c0d7994c88ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c0d7994c88ea001411cee0f8f86532a4
new file mode 100644
index 0000000..41ba443
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b4/c0d7994c88ea001411cee0f8f86532a4
@@ -0,0 +1,62 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+ public static final ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/20d8e0a4b0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/20d8e0a4b0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..a0085f3
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/20d8e0a4b0ea001411cee0f8f86532a4
@@ -0,0 +1,76 @@
+package darkknight.jewelrycraft.block;
+
+import net.minecraft.block.Block;
+import net.minecraft.block.material.Material;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.fluids.Fluid;
+import net.minecraftforge.fluids.FluidRegistry;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.tileentity.TileEntityAltar;
+import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
+import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
+import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
+import darkknight.jewelrycraft.tileentity.TileEntityMolder;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
+import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
+import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BlockList
+{
+ public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock;
+ public static BlockMoltenMetal moltenMetal;
+ public static Fluid moltenMetalFluid;
+ private static boolean isInitialized = false;
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
+ midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock");
+ moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
+ if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
+ moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
+
+ GameRegistry.registerBlock(shadowOre, "shadowOre");
+ GameRegistry.registerBlock(shadowBlock, "shadowBlock");
+ GameRegistry.registerBlock(smelter, "Smelter");
+ GameRegistry.registerBlock(molder, "Molder");
+ GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
+ GameRegistry.registerBlock(displayer, "Displayer");
+ GameRegistry.registerBlock(jewelAltar, "Altar");
+ GameRegistry.registerBlock(shadowEye, "Shadow Eye");
+ GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
+ GameRegistry.registerBlock(shadowHand, "Shadow Hand");
+ GameRegistry.registerBlock(midasTouchBlock, "Midas Touch Block");
+ GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
+
+ GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
+ GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
+ GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
+ GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
+ GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
+ GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
+ GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
+ GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
+ GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
+ GameRegistry.registerTileEntity(TileEntityMidasTouch.class, Variables.MODID + ":midsaTouch");
+
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/a02d9af974e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/a02d9af974e300141084bb8bfb075c08
deleted file mode 100644
index ed9e210..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b5/a02d9af974e300141084bb8bfb075c08
+++ /dev/null
@@ -1,37 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
-// target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/50e569a4aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/50e569a4aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..47b4170
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/50e569a4aeea001411cee0f8f86532a4
@@ -0,0 +1,24 @@
+package darkknight.jewelrycraft.network;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PacketHandler
+{
+
+ public void preInit(FMLPreInitializationEvent e)
+ {
+ JewelrycraftMod.netWrapper = NetworkRegistry.INSTANCE.newSimpleChannel(Variables.MODID);
+ JewelrycraftMod.netWrapper.registerMessage(PacketRequestLiquidData.class, PacketRequestLiquidData.class, 0, Side.SERVER);
+ JewelrycraftMod.netWrapper.registerMessage(PacketSendLiquidData.class, PacketSendLiquidData.class, 1, Side.CLIENT);
+ JewelrycraftMod.netWrapper.registerMessage(PacketClearColorCache.class, PacketClearColorCache.class, 2, Side.CLIENT);
+ JewelrycraftMod.netWrapper.registerMessage(PacketKeyPressEvent.class, PacketKeyPressEvent.class, 3, Side.SERVER);
+ JewelrycraftMod.netWrapper.registerMessage(PacketRequestPlayerInfo.class, PacketRequestPlayerInfo.class, 4, Side.SERVER);
+ JewelrycraftMod.netWrapper.registerMessage(PacketSendClientPlayerInfo.class, PacketSendClientPlayerInfo.class, 5, Side.CLIENT);
+ JewelrycraftMod.netWrapper.registerMessage(PacketSendServerPlayersInfo.class, PacketSendServerPlayersInfo.class, 6, Side.CLIENT);
+ JewelrycraftMod.netWrapper.registerMessage(PacketRequestSetSlot.class, PacketRequestSetSlot.class, 7, Side.SERVER);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/602b567104e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/602b567104e50014174fe663e69b8422
deleted file mode 100644
index 302a721..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b6/602b567104e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
-// System.out.println(item.getItem().getIconIndex(JewelryNBT.item(stack)));
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else{
-// System.out.println(Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1));
- return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/701f73bd96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/701f73bd96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..21d6c9d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/701f73bd96ea001411cee0f8f86532a4
@@ -0,0 +1,115 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glColor3f(0F, 1F, 1F);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/70fcef5db0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/70fcef5db0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f8b75f7
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/70fcef5db0ea001411cee0f8f86532a4
@@ -0,0 +1,12 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.worldGen.village;
+
+/**
+ * @author Sorin
+ *
+ */
+public class VillageHandler
+{
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/e0b972a8fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/e0b972a8fce40014174fe663e69b8422
deleted file mode 100644
index a781774..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b7/e0b972a8fce40014174fe663e69b8422
+++ /dev/null
@@ -1,67 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import javax.imageio.ImageIO;
-import net.minecraft.block.Block;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.client.resources.IResourceManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.DamageSource;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.effects.ModifierEffects;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {
- }
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b8/e0ea3a7199ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b8/e0ea3a7199ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f46bf69
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b8/e0ea3a7199ea001411cee0f8f86532a4
@@ -0,0 +1,128 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int textureID;
+ protected String name, description, texturePackName;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(String name, int txtID, String texturepack)
+ {
+ this.name = name;
+ this.texturePackName = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public String getTexturePack()
+ {
+ return texturePackName;
+ }
+
+ /**
+ * @return the texture ID
+ */
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/003e90f5fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/003e90f5fce40014174fe663e69b8422
deleted file mode 100644
index 3293158..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/003e90f5fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/43/30263c9474e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/20cdd23d86ea001411cee0f8f86532a4
index 8251ee5..b5cba7c 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/43/30263c9474e70014115de2bb951f0adf
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/20cdd23d86ea001411cee0f8f86532a4
@@ -1,24 +1,19 @@
package darkknight.jewelrycraft.curses;
import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.texture.TextureManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraftforge.client.event.RenderPlayerEvent;
import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
import darkknight.jewelrycraft.util.Variables;
public class CursePentagram extends Curse
{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ float rot = 0F;
+
public CursePentagram(int id, String name, int text)
{
super(id, name, text);
@@ -26,8 +21,7 @@ public class CursePentagram extends Curse
@Override
public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
+ {}
public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
{
@@ -35,12 +29,18 @@ public class CursePentagram extends Curse
GL11.glColor4f(1, 1, 1, 1);
Tessellator tessellator = Tessellator.instance;
TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
+ texturemanager.bindTexture(Variables.CURSES_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
float f = 0.00390625F;
float f1 = 0.00390625F;
int x = 0;
int y = 0;
- int u = 0;
+ int u = 32 * 7;
int v = 0;
int width = 32;
int height = 32;
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/4057874afde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/4057874afde40014174fe663e69b8422
deleted file mode 100644
index d17def9..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/4057874afde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObject().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/60396614fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/60396614fde40014174fe663e69b8422
deleted file mode 100644
index 3293158..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/60396614fde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/706877bc92e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/706877bc92e3001417b2e384bf7c3702
deleted file mode 100644
index 79a0c23..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/b9/706877bc92e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
-// RenderManager.instance.renderEntityWithPosYaw(midas.target, 2D, 0D, 0D, 1F, 1F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/10dd91b3fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/10dd91b3fce40014174fe663e69b8422
deleted file mode 100644
index 62c96d7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/10dd91b3fce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemGoldifiedObject goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = (ItemGoldifiedObject)new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/a064cf8efee40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/a064cf8efee40014174fe663e69b8422
deleted file mode 100644
index 7b48afc..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bb/a064cf8efee40014174fe663e69b8422
+++ /dev/null
@@ -1,48 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- if(player.inventory.getCurrentItem() != null){
- int index = player.inventory.currentItem;
- ItemStack item = player.inventory.getCurrentItem();
- player.inventory.setInventorySlotContents(index, new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage()));
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/30816beb3de700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/30816beb3de700141e05cdbaeb682437
deleted file mode 100644
index 3ff5ed4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/30816beb3de700141e05cdbaeb682437
+++ /dev/null
@@ -1,122 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
- public static String[] infamyCache = new String[]{};
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (infamyCache != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- for(int i = 0; i < infamyCache.length; i++)
- if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/8027385d97ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/8027385d97ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f7a557c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/8027385d97ea001411cee0f8f86532a4
@@ -0,0 +1,66 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ GL11.glColor4f(1F, 1F, 1F, 0.3F);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/a042836db0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/a042836db0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e92f0a4
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bc/a042836db0ea001411cee0f8f86532a4
@@ -0,0 +1,27 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.worldGen.village;
+
+import java.io.IOException;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.util.Variables;
+
+public class VillageHandler
+{
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ JewelrycraftMod.logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bf/208d91aafae40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bf/208d91aafae40014174fe663e69b8422
deleted file mode 100644
index 78287bf..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/bf/208d91aafae40014174fe663e69b8422
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-/**
- * @author Sorin
- *
- */
-public class ItemGoldifiedObject
-{
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/70125005fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/70125005fde40014174fe663e69b8422
deleted file mode 100644
index e497953..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/70125005fde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
-// public boolean requiresMultipleRenderPasses()
-// {
-// return true;
-// }
-//
-// @SideOnly (Side.CLIENT)
-// public int getColorFromItemStack(ItemStack stack, int pass)
-// {
-// return 0xffff00;
-// }
-//
-// @Override
-// public IIcon getIcon(ItemStack stack, int pass)
-// {
-// if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
-// return itemIcon;
-// }
-//
-// public String getItemStackDisplayName(ItemStack stack)
-// {
-// return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
-// }
-//
-// public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
-// {
-// if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
-// }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/e08d97b398ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/e08d97b398ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e695204
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c/e08d97b398ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-1F, -1F, -1F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/804ee2aa87ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/804ee2aa87ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1332aaf
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/804ee2aa87ea001411cee0f8f86532a4
@@ -0,0 +1,62 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+ public static final ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(Variables.CURSES_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/902e10a698e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/902e10a698e3001412c4c4819c88e86b
deleted file mode 100644
index a58d4e1..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/902e10a698e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,26 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
-// GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/a02202f990e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/a02202f990e3001417b2e384bf7c3702
deleted file mode 100644
index cd64227..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c0/a02202f990e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glColor3f(1F, 0.0F, 1.0F);
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/000e0f74fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/000e0f74fde40014174fe663e69b8422
deleted file mode 100644
index 72283da..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/000e0f74fde40014174fe663e69b8422
+++ /dev/null
@@ -1,79 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import net.minecraft.block.Block;
-import net.minecraft.block.material.Material;
-import net.minecraftforge.fluids.Fluid;
-import net.minecraftforge.fluids.FluidRegistry;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.tileentity.TileEntityAltar;
-import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
-import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
-import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
-import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
-import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
-import darkknight.jewelrycraft.util.Variables;
-
-public class BlockList
-{
- public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock, bloi;
- public static BlockMoltenMetal moltenMetal;
- public static Fluid moltenMetalFluid;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
- displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
- handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
- midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock");
- bloi = new Block(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock");
-
-
- GameRegistry.registerBlock(shadowOre, "shadowOre");
- GameRegistry.registerBlock(shadowBlock, "shadowBlock");
- GameRegistry.registerBlock(smelter, "Smelter");
- GameRegistry.registerBlock(molder, "Molder");
- GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
- GameRegistry.registerBlock(displayer, "Displayer");
- GameRegistry.registerBlock(jewelAltar, "Altar");
- GameRegistry.registerBlock(shadowEye, "Shadow Eye");
- GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
- GameRegistry.registerBlock(shadowHand, "Shadow Hand");
- GameRegistry.registerBlock(midasTouchBlock, "Midas Touch Block");
-
- GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
- GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
- GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
- GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
- GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
- GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
- GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
- GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
- GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
- GameRegistry.registerTileEntity(TileEntityMidasTouch.class, Variables.MODID + ":midsaTouch");
-
- moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
- if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
- moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
- GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/f04127e586ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/f04127e586ea001411cee0f8f86532a4
new file mode 100644
index 0000000..12cab58
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c1/f04127e586ea001411cee0f8f86532a4
@@ -0,0 +1,25 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.potion.Potion;
+import net.minecraft.potion.PotionEffect;
+import net.minecraft.world.World;
+
+public class CurseRottenHeart extends Curse
+{
+ public CurseRottenHeart(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ if (!player.isPotionActive(Potion.poison) || player.getActivePotionEffect(Potion.poison).getDuration() < 30) player.addPotionEffect(new PotionEffect(Potion.poison.id, 80));
+ }
+
+ public String getDescription()
+ {
+ return "Your heart slowly rots inside";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c2/a0107643fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c2/a0107643fce40014174fe663e69b8422
deleted file mode 100644
index 49637bd..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c2/a0107643fce40014174fe663e69b8422
+++ /dev/null
@@ -1,67 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import javax.imageio.ImageIO;
-import net.minecraft.block.Block;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.client.resources.IResourceManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.DamageSource;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.effects.ModifierEffects;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject
-{
- public ItemGoldifiedObject()
- {
- }
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c3/30c6932ffde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c3/30c6932ffde40014174fe663e69b8422
deleted file mode 100644
index 07bb2b6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c3/30c6932ffde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/10491e1095e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/10491e1095e3001412c4c4819c88e86b
deleted file mode 100644
index b23d77d..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/10491e1095e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.boundingBox.calculateXOffset(((TileEntityMidasTouch)tile).target.boundingBox, 0f));
- this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/40aec02197e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/40aec02197e3001412c4c4819c88e86b
deleted file mode 100644
index 833c904..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/40aec02197e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.myEntitySize);
- this.setBlockBounds(0F, 0F, 0F, 1F, ((TileEntityMidasTouch)tile).target.height, 1F);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/701ec417b0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/701ec417b0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..ce591c4
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/701ec417b0ea001411cee0f8f86532a4
@@ -0,0 +1,52 @@
+/**
+ *
+ */
+package darkknight.jewelrycraft.events;
+
+import net.minecraftforge.common.MinecraftForge;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+
+public class EventList
+{
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+ }
+
+ public static void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ public static void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/d0a333fafbe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/d0a333fafbe40014174fe663e69b8422
deleted file mode 100644
index a72948e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c4/d0a333fafbe40014174fe663e69b8422
+++ /dev/null
@@ -1,64 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.*;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemGoldifiedObject goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c6/90bc489493e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c6/90bc489493e3001412c4c4819c88e86b
deleted file mode 100644
index c6df60c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c6/90bc489493e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,81 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch()
- {}
-
- public void setEntity(Entity ent)
- {
- target = ent;
- }
-
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- if (target != null){
- int id = EntityList.getEntityID(target);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- entity.readFromNBT(en);
- target = entity;
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c8/40c3ebde71e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c8/40c3ebde71e300141084bb8bfb075c08
deleted file mode 100644
index 89a05e0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c8/40c3ebde71e300141084bb8bfb075c08
+++ /dev/null
@@ -1,38 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.SharedMonsterAttributes;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.damage.DamageSourceList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.util.JewelrycraftUtil;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- target.setDead();
- world.setBlock(target.posX, target.posY, target.posZ, BlockList.midasTouchBlock, 0, 2);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/0091fdd79ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/0091fdd79ce3001412c4c4819c88e86b
deleted file mode 100644
index 81589a5..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/0091fdd79ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,96 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.Block;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.item.EntityItem;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 0;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void breakBlock(World world, int i, int j, int k, Block par5, int par6)
- {
- TileEntityMidasTouch te = (TileEntityMidasTouch)world.getTileEntity(i, j, k);
- if (te.target != null) dropItem(te.getWorldObj(), te.xCoord, te.yCoord, te.zCoord, new ItemStack(Items.gold_nugget, (int)(te.target.width * te.target.height * 100), 0));
-// world.removeTileEntity(i, j, k);
- System.out.println("drop");
- super.breakBlock(world, i, j, k, par5, par6);
- }
-
- public void dropItem(World world, double x, double y, double z, ItemStack stack)
- {
- EntityItem entityitem = new EntityItem(world, x + 0.5D, y + 0.5D, z + 0.5D, stack);
- entityitem.motionX = 0;
- entityitem.motionZ = 0;
- entityitem.motionY = 0.11000000298023224D;
- world.spawnEntityInWorld(entityitem);
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/1032154385ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/1032154385ea001411cee0f8f86532a4
new file mode 100644
index 0000000..214125e
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/1032154385ea001411cee0f8f86532a4
@@ -0,0 +1,100 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+ static ResourceLocation texture;
+
+ public ScreenHandler(Minecraft mc, ResourceLocation tex)
+ {
+ super();
+ this.mc = mc;
+ texture = tex;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(Variables.HEARTS_TEXTURE);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ mc.renderEngine.bindTexture(texture);
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(hearts);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(hearts);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/80e3852ffde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/80e3852ffde40014174fe663e69b8422
deleted file mode 100644
index a499d75..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/80e3852ffde40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/a03c4cbb97e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/a03c4cbb97e3001412c4c4819c88e86b
deleted file mode 100644
index c7e9a98..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/a03c4cbb97e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(1f - ((TileEntityMidasTouch)tile).target.width/2, 0F, 1f -((TileEntityMidasTouch)tile).target.width/2, 1f +((TileEntityMidasTouch)tile).target.width/2, ((TileEntityMidasTouch)tile).target.height, 1f +((TileEntityMidasTouch)tile).target.width/2);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c09e66a3b1ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c09e66a3b1ea001411cee0f8f86532a4
new file mode 100644
index 0000000..ab073fa
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c09e66a3b1ea001411cee0f8f86532a4
@@ -0,0 +1,263 @@
+package darkknight.jewelrycraft.tileentity.renders;
+
+import java.awt.Color;
+import java.util.HashMap;
+import java.util.List;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.client.renderer.OpenGlHelper;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.entity.RenderManager;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.EnumChatFormatting;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.util.Variables;
+
+public class TileEntityDisplayerRender extends TileEntitySpecialRenderer
+{
+ ModelDisplayer displayer = new ModelDisplayer();
+ String texture = "textures/tileentities/Displayer.png";
+ HashMap<EnumChatFormatting, Integer> colors = new HashMap<EnumChatFormatting, Integer>(){
+ {
+ put(EnumChatFormatting.AQUA, 5636095);
+ put(EnumChatFormatting.BLACK, 0);
+ put(EnumChatFormatting.BLUE, 5592575);
+ put(EnumChatFormatting.DARK_AQUA, 43690);
+ put(EnumChatFormatting.DARK_BLUE, 170);
+ put(EnumChatFormatting.DARK_GRAY, 5592405);
+ put(EnumChatFormatting.DARK_GREEN, 43520);
+ put(EnumChatFormatting.DARK_PURPLE, 11141290);
+ put(EnumChatFormatting.DARK_RED, 11141120);
+ put(EnumChatFormatting.GOLD, 16755200);
+ put(EnumChatFormatting.GRAY, 11184810);
+ put(EnumChatFormatting.GREEN, 5635925);
+ put(EnumChatFormatting.LIGHT_PURPLE, 16733695);
+ put(EnumChatFormatting.RED, 16733525);
+ put(EnumChatFormatting.WHITE, 16777215);
+ put(EnumChatFormatting.YELLOW, 16777045);
+ }
+ };
+
+ /**
+ * @param te
+ * @param x
+ * @param y
+ * @param z
+ * @param scale
+ */
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ GL11.glPushMatrix();
+ GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
+ TileEntityDisplayer disp = (TileEntityDisplayer)te;
+ ResourceLocation blockTexture = new ResourceLocation(Variables.MODID, texture);
+ Minecraft.getMinecraft().renderEngine.bindTexture(blockTexture);
+ GL11.glPushMatrix();
+ GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
+ displayer.render((Entity)null, disp.ringTranslation1, disp.ringTranslation2, disp.ringTranslation3, 0.0F, 0.0F, 0.0625F);
+ try{
+ int block = disp.getBlockMetadata();
+ if (disp != null && disp.hasObject && disp.object != null && disp.object.getItem() != null && disp.object != new ItemStack(Item.getItemById(0), 0, 0)){
+ int ind = -3;
+ GL11.glPushMatrix();
+ EntityItem entityitem = new EntityItem(te.getWorldObj(), 0.0D, 0.0D, 0.0D, disp.object);
+ entityitem.hoverStart = 0.0F;
+ disp.object.stackSize = 1;
+ GL11.glRotatef(180F, 1F, 0F, 0F);
+ GL11.glTranslatef(0.0F, -0.6F + disp.ringTranslation1 / 5, 0F);
+ GL11.glRotatef(disp.rotAngle, 0F, 1F, 0F);
+ if (RenderManager.instance.options.fancyGraphics) RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ else{
+ GL11.glRotatef(180F, 0F, 1F, 0F);
+ RenderManager.instance.options.fancyGraphics = true;
+ int i = 15728880;
+ int j = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, j / 1.0F, k / 1.0F);
+ RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ RenderManager.instance.options.fancyGraphics = false;
+ }
+ EntityPlayer player = te.getWorldObj().getClosestPlayer(te.xCoord, te.yCoord, te.zCoord, 5D);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ if (player != null) renderLabel(disp.object.getDisplayName(), 0F, -0.171F * ind, 0F, block, disp, colors.get(disp.object.getRarity().rarityColor));
+ GL11.glPopMatrix();
+ ind++;
+ if (player != null && disp.quantity > 1){
+ GL11.glPushMatrix();
+ renderLabel("x" + Integer.toString(disp.quantity), 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ if (disp.object.getItem() != Items.map && player != null && disp.object.getTooltip(player, true) != null){
+ List tooltips = disp.object.getTooltip(player, true);
+ if (disp.infoIndex + 5 > tooltips.size()) disp.infoIndex = 1;
+ if (tooltips.size() < 5) for(int i = 1; i < tooltips.size(); i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ else for(int i = disp.infoIndex; i < disp.infoIndex + 5; i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ }
+ }
+ }
+ catch(Exception e){}
+ GL11.glPopMatrix();
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param par2Str
+ * @param x
+ * @param y
+ * @param z
+ * @param metadata
+ * @param te
+ * @param color
+ */
+ protected void renderLabel(String par2Str, double x, double y, double z, int metadata, TileEntity te, int color)
+ {
+ FontRenderer fontrenderer = RenderManager.instance.getFontRenderer();
+ float var14 = 0.01266667F * 1.5F;
+ float var17 = 0.015F;
+ GL11.glRotatef(180F, 0F, 0F, 1F);
+ if (metadata == 0) GL11.glRotatef(0F, 0F, 1F, 0F);
+ else if (metadata == 1) GL11.glRotatef(270F, 0F, 1F, 0F);
+ else if (metadata == 2) GL11.glRotatef(180F, 0F, 1F, 0F);
+ else if (metadata == 3) GL11.glRotatef(90F, 0F, 1F, 0F);
+ GL11.glTranslatef((float)x, (float)y, (float)z + 0.45F);
+ GL11.glScalef(-0.015F, -var14, 0.015F);
+ GL11.glPushMatrix();
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ Tessellator tessellator = Tessellator.instance;
+ GL11.glDisable(GL11.GL_TEXTURE_2D);
+ int j = fontrenderer.getStringWidth(par2Str) / 2;
+ tessellator.startDrawingQuads();
+ tessellator.setColorRGBA_F(0.0F, 0.2F, 0.2F, 0.9F);
+ tessellator.addVertex(-33.333 - 0, 0D, 0.1D);
+ tessellator.addVertex(-33.333 - 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 0D, 0.1D);
+ tessellator.draw();
+ if (fontrenderer.getStringWidth(par2Str) / 2 > 20) var17 = 0.9F / fontrenderer.getStringWidth(par2Str);
+ else var17 = var14;
+ int red = color >> 16 & 0xFF;
+ int green = color >> 8 & 0xFF;
+ int blue = color & 0xFF;
+ GL11.glTranslatef((float)x + 1f, (float)y + 1f, (float)z);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_TEXTURE_2D);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ int i = 15728880;
+ int t = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, t / 1.0F, k / 1.0F);
+ fontrenderer.drawString(par2Str.replaceFirst("§0", "§r").replaceFirst("§1", "§r").replaceFirst("§2", "§r").replaceFirst("§3", "§r").replaceFirst("§4", "§r").replaceFirst("§5", "§r").replaceFirst("§6", "§r").replaceFirst("§7", "§r").replaceFirst("§8", "§r").replaceFirst("§9", "§r").replaceFirst("§a", "§r").replaceFirst("§b", "§r").replaceFirst("§c", "§r").replaceFirst("§d", "§r").replaceFirst("§e", "§r").replaceFirst("§f", "§r"), -j, 0, 65536 * (red > 170 ? red - 170 : 0) + 256 * (green > 170 ? green - 170 : 0) + (blue > 170 ? blue - 170 : 0));
+ GL11.glPopMatrix();
+ GL11.glTranslatef((float)x - 1f, (float)y - 1f, (float)z - 1F);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ fontrenderer.drawString(par2Str, -j, 0, color);
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param str
+ * @param color
+ */
+ public void replaceEnumEnchValues(String str, int color)
+ {
+ if (str.contains("§0")){
+ color = Color.BLACK.getRGB();
+ str.replace("§0", "");
+ }
+ if (str.contains("§1")){
+ color = 85;
+ str.replace("§1", "");
+ }
+ if (str.contains("§2")){
+ color = 17920;
+ str.replace("§2", "");
+ }
+ if (str.contains("§3")){
+ color = 1336183;
+ str.replace("§3", "");
+ }
+ if (str.contains("§4")){
+ color = 4587520;
+ str.replace("§4", "");
+ }
+ if (str.contains("§5")){
+ color = 5701759;
+ str.replace("§5", "");
+ }
+ if (str.contains("§6")){
+ color = 16762880;
+ str.replace("§6", "");
+ }
+ if (str.contains("§7")){
+ color = Color.GRAY.getRGB();
+ str.replace("§7", "");
+ }
+ if (str.contains("§8")){
+ color = Color.DARK_GRAY.getRGB();
+ str.replace("§8", "");
+ }
+ if (str.contains("§9")){
+ color = Color.BLUE.getRGB();
+ str.replace("§9", "");
+ }
+ if (str.contains("§a")){
+ color = Color.GREEN.getRGB();
+ str.replace("§a", "");
+ }
+ if (str.contains("§b")){
+ color = Color.CYAN.getRGB();
+ str.replace("§b", "");
+ }
+ if (str.contains("§c")){
+ color = Color.RED.getRGB();
+ str.replace("§c", "");
+ }
+ if (str.contains("§d")){
+ color = 11665663;
+ str.replace("§d", "");
+ }
+ if (str.contains("§e")){
+ color = Color.YELLOW.getRGB();
+ str.replace("§e", "");
+ }
+ if (str.contains("§f")){
+ color = Color.WHITE.getRGB();
+ str.replace("§f", "");
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cb/c0a19fa1aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cb/c0a19fa1aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..0ce34d4
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cb/c0a19fa1aeea001411cee0f8f86532a4
@@ -0,0 +1,197 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ ModMetadata metadata = e.getModMetadata();
+ List<String> authorList = new ArrayList<String>();
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+
+ dir = e.getModConfigurationDirectory();
+ proxy.preInit();
+ netWrapper = NetworkRegistry.INSTANCE.newSimpleChannel(Variables.MODID);
+ netWrapper.registerMessage(PacketRequestLiquidData.class, PacketRequestLiquidData.class, 0, Side.SERVER);
+ netWrapper.registerMessage(PacketSendLiquidData.class, PacketSendLiquidData.class, 1, Side.CLIENT);
+ netWrapper.registerMessage(PacketClearColorCache.class, PacketClearColorCache.class, 2, Side.CLIENT);
+ netWrapper.registerMessage(PacketKeyPressEvent.class, PacketKeyPressEvent.class, 3, Side.SERVER);
+ netWrapper.registerMessage(PacketRequestPlayerInfo.class, PacketRequestPlayerInfo.class, 4, Side.SERVER);
+ netWrapper.registerMessage(PacketSendClientPlayerInfo.class, PacketSendClientPlayerInfo.class, 5, Side.CLIENT);
+ netWrapper.registerMessage(PacketSendServerPlayersInfo.class, PacketSendServerPlayersInfo.class, 6, Side.CLIENT);
+ netWrapper.registerMessage(PacketRequestSetSlot.class, PacketRequestSetSlot.class, 7, Side.SERVER);
+
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+
+ createEntity(EntityHeart.class, Variables.MODID + ".Heart", 0xFF0000, 0xFF0000, false);
+ createEntity(EntityHalfHeart.class, Variables.MODID + ".Half-Heart", 0x000000, 0xFF0000, false);
+
+ }
+
+ public void createEntity(Class<? extends Entity> entity, String entityName, int solidColor, int spotColor, boolean hasSpawnEgg)
+ {
+ int randomID = EntityRegistry.findGlobalUniqueEntityId();
+ if(hasSpawnEgg) EntityRegistry.registerGlobalEntityID(entity, entityName, randomID, solidColor, spotColor);
+ else EntityRegistry.registerGlobalEntityID(entity, entityName, randomID);
+ EntityRegistry.registerModEntity(entity, entityName, randomID, this, 40, 3, true);
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cc/90bd5dcb47e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cc/90bd5dcb47e700141e05cdbaeb682437
deleted file mode 100644
index 31ebcd5..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cc/90bd5dcb47e700141e05cdbaeb682437
+++ /dev/null
@@ -1,127 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(playersInfo);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cd/a066fa7271e300141084bb8bfb075c08 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cd/a066fa7271e300141084bb8bfb075c08
deleted file mode 100644
index e80ad70..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cd/a066fa7271e300141084bb8bfb075c08
+++ /dev/null
@@ -1,36 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.SharedMonsterAttributes;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.damage.DamageSourceList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.util.JewelrycraftUtil;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/d063631307e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/20b26b8f84ea001411cee0f8f86532a4
index 3432c76..885ebed 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/d063631307e50014174fe663e69b8422
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/20b26b8f84ea001411cee0f8f86532a4
@@ -7,6 +7,7 @@ import net.minecraftforge.client.MinecraftForgeClient;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.client.registry.RenderingRegistry;
+import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.registry.VillagerRegistry;
import darkknight.jewelrycraft.block.BlockList;
import darkknight.jewelrycraft.client.InventoryTabVanilla;
@@ -17,6 +18,7 @@ import darkknight.jewelrycraft.entities.EntityHeart;
import darkknight.jewelrycraft.entities.renders.HeartRender;
import darkknight.jewelrycraft.events.PlayerRenderHandler;
import darkknight.jewelrycraft.events.ScreenHandler;
+import darkknight.jewelrycraft.item.ItemList;
import darkknight.jewelrycraft.item.render.ItemRender;
import darkknight.jewelrycraft.model.ModelDisplayer;
import darkknight.jewelrycraft.model.ModelHalfHeart;
@@ -51,10 +53,8 @@ public class ClientProxy extends CommonProxy
@Override
public void preInit()
{
- ResourceLocation pedestalResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
- TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(pedestalResourceLocation), pedestalResourceLocation);
- ResourceLocation shadowResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
- TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(shadowResourceLocation), shadowResourceLocation);
+ TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(Variables.PEDESTAL_TEXTURE), Variables.PEDESTAL_TEXTURE);
+ TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE), Variables.SHADOW_HAND_TEXTURE);
ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySmelter.class, new TileEntitySmelterRender());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMolder.class, new TileEntityMolderRender());
@@ -70,19 +70,20 @@ public class ClientProxy extends CommonProxy
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.smelter), new ItemRender(new TileEntitySmelterRender(), new TileEntitySmelter(), new ModelSmelter()));
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.molder), new ItemRender(new TileEntityMolderRender(), new TileEntityMolder(), new ModelMolder()));
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowEye), new ItemRender(new TileEntityShadowEyeRender(), new TileEntityShadowEye(), new ModelShadowEye()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(pedestalResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(shadowResourceLocation)));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(Variables.PEDESTAL_TEXTURE)));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE)));
+ MinecraftForgeClient.registerItemRenderer(ItemList.goldObj, new ItemRender());
+
VillagerRegistry.instance().registerVillagerSkin(3000, new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png"));
RenderingRegistry.registerEntityRenderingHandler(EntityHeart.class, new HeartRender(new ModelHeart(), 0.25F));
RenderingRegistry.registerEntityRenderingHandler(EntityHalfHeart.class, new HeartRender(new ModelHalfHeart(), 0.25F));
-
+
TabRegistry.registerTab(new InventoryTabVanilla());
TabRegistry.registerTab(new TabJewelry());
MinecraftForge.EVENT_BUS.register(new TabRegistry());
MinecraftForge.EVENT_BUS.register(new PlayerRenderHandler());
- ResourceLocation jeweleryTexture = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), jeweleryTexture));
+ MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), Variables.CURSES_TEXTURE));
}
@Override
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/405365adb0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/405365adb0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..a57eb5c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/405365adb0ea001411cee0f8f86532a4
@@ -0,0 +1,64 @@
+package darkknight.jewelrycraft.item;
+
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.GameRegistry;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ItemList
+{
+ public static Item thiefGloves;
+ public static Item shadowIngot;
+ public static Item molds;
+ public static Item clayMolds;
+ public static Item crystal;
+ public static ItemRing ring;
+ public static ItemNecklace necklace;
+ public static ItemBracelet bracelet;
+ public static ItemEarrings earrings;
+ public static Item guide;
+ public static Item jewelryModifier;
+ public static ItemMoltenMetalBucket bucket;
+ public static ItemMoltenMetal metal;
+ public static Item goldObj;
+ private static boolean isInitialized = false;
+
+ /**
+ * @param e
+ */
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
+ metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
+ jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
+ goldObj = new ItemGoldObj().setUnlocalizedName(Variables.MODID + ".goldObject");
+ GameRegistry.registerItem(thiefGloves, "thiefGloves");
+ GameRegistry.registerItem(shadowIngot, "shadowIngot");
+ GameRegistry.registerItem(molds, "molds");
+ GameRegistry.registerItem(clayMolds, "clayMolds");
+ GameRegistry.registerItem(ring, "ring");
+ GameRegistry.registerItem(necklace, "necklace");
+ GameRegistry.registerItem(bracelet, "bracelet");
+ GameRegistry.registerItem(earrings, "earrings");
+ GameRegistry.registerItem(crystal, "crystal");
+ GameRegistry.registerItem(guide, "guide");
+ GameRegistry.registerItem(bucket, "moltenMetalBucket");
+ GameRegistry.registerItem(metal, "moltenMetal");
+ GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
+ GameRegistry.registerItem(goldObj, "goldObject");
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/909313c197e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/909313c197e3001412c4c4819c88e86b
deleted file mode 100644
index 4567d02..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ce/909313c197e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width/2, 0F, 0.5f -((TileEntityMidasTouch)tile).target.width/2, 1f +((TileEntityMidasTouch)tile).target.width/2, ((TileEntityMidasTouch)tile).target.height, 1f +((TileEntityMidasTouch)tile).target.width/2);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cf/500511a5afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cf/500511a5afea001411cee0f8f86532a4
new file mode 100644
index 0000000..696228d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/cf/500511a5afea001411cee0f8f86532a4
@@ -0,0 +1,178 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+
+ proxy.preInit();
+
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/0050b8c588ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/0050b8c588ea001411cee0f8f86532a4
new file mode 100644
index 0000000..a678584
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/0050b8c588ea001411cee0f8f86532a4
@@ -0,0 +1,63 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+// GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/501c43e4aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/501c43e4aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..34cc2ed
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/501c43e4aeea001411cee0f8f86532a4
@@ -0,0 +1,18 @@
+package darkknight.jewelrycraft.entities;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.util.Variables;
+
+public class EntityList
+{
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+
+ createEntity(EntityHeart.class, Variables.MODID + ".Heart", 0xFF0000, 0xFF0000, false);
+ createEntity(EntityHalfHeart.class, Variables.MODID + ".Half-Heart", 0x000000, 0xFF0000, false);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/70703c0a94ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/70703c0a94ea001411cee0f8f86532a4
new file mode 100644
index 0000000..907fc62
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d/70703c0a94ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int gemCol = -1;
+ int ingotCol = -1;
+ float size = 0.055F;
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ GL11.glTranslatef(0.0F, 3.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) gemCol = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotCol = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotCol, (float)gemCol, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/102ad27afde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/102ad27afde40014174fe663e69b8422
deleted file mode 100644
index d17def9..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/102ad27afde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObject().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/10b8e31685ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/10b8e31685ea001411cee0f8f86532a4
new file mode 100644
index 0000000..079ab0e
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/10b8e31685ea001411cee0f8f86532a4
@@ -0,0 +1,101 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import net.minecraftforge.event.entity.player.PlayerOpenContainerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+ static ResourceLocation texture;
+
+ public ScreenHandler(Minecraft mc, ResourceLocation tex)
+ {
+ super();
+ this.mc = mc;
+ texture = tex;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(hearts);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ mc.renderEngine.bindTexture(texture);
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(hearts);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(hearts);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/203f4a6a07e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/203f4a6a07e50014174fe663e69b8422
deleted file mode 100644
index 34c4920..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/203f4a6a07e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public boolean hasEffect(ItemStack item)
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) return item.getIconIndex();
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/90c5727dfde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/90c5727dfde40014174fe663e69b8422
deleted file mode 100644
index 13859cf..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/90c5727dfde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
-// jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObject().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/a0f6c7b4fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/a0f6c7b4fde40014174fe663e69b8422
deleted file mode 100644
index e55c31f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d0/a0f6c7b4fde40014174fe663e69b8422
+++ /dev/null
@@ -1,43 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldObject extends Item
-{
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d1/d0592b5d92e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d1/d0592b5d92e3001417b2e384bf7c3702
deleted file mode 100644
index 389aebc..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d1/d0592b5d92e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
-// RenderManager.instance.render
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, RenderManager.instance.renderPosX, midas.target.posY - Minecraft.getMinecraft().thePlayer.posY, midas.target.posZ - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d2/d0f0ec8488ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d2/d0f0ec8488ea001411cee0f8f86532a4
new file mode 100644
index 0000000..9ffd2a3
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d2/d0f0ec8488ea001411cee0f8f86532a4
@@ -0,0 +1,66 @@
+package darkknight.jewelrycraft.curses;
+
+import org.lwjgl.opengl.GL11;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.SharedMonsterAttributes;
+import net.minecraft.entity.monster.EntityMob;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.MaskRender;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.PlayerUtils;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseInfamy extends Curse
+{
+ MaskRender mask = new MaskRender();
+ public CurseInfamy(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (rand.nextInt(5) == 0 && !world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && target.canAttackWithItem()){
+ NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
+ if (playerInfo.getFloat("BlackHeart") < 20F) playerInfo.setFloat("BlackHeart", playerInfo.getFloat("BlackHeart") + 1.0F);
+ if (player.getMaxHealth() >= 3F){
+ player.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(player.getMaxHealth() - 1.0F);
+ player.setHealth(player.getHealth() - 1.0F);
+ }
+ JewelrycraftUtil.addCursePoints(player, 10);
+ }
+ }
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(1.6f, 1.6f, 1.6f);
+ GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
+ mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "What have you done?!";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/10f60dd394e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/10f60dd394e3001412c4c4819c88e86b
deleted file mode 100644
index 9c61922..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/10f60dd394e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target);
- this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/2075207185ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/2075207185ea001411cee0f8f86532a4
new file mode 100644
index 0000000..d1274ad
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d3/2075207185ea001411cee0f8f86532a4
@@ -0,0 +1,22 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+ public static final ResourceLocation CURSES_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
+ public static final ResourceLocation VILLAGER_TEXTURE = new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png");
+ public static final ResourceLocation HEARTS_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/hearts.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d4/601541c896ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d4/601541c896ea001411cee0f8f86532a4
new file mode 100644
index 0000000..7a54a7d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d4/601541c896ea001411cee0f8f86532a4
@@ -0,0 +1,116 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glColor3f(0F, 1F, 1F);
+ GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_DST_COLOR);
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/504bd33404e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/504bd33404e50014174fe663e69b8422
deleted file mode 100644
index 65e863e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/504bd33404e50014174fe663e69b8422
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
-// System.out.println(item.getItem().getIconIndex(JewelryNBT.item(stack)));
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getBlockTextureFromSide(1);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/70d86f778de3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/70d86f778de3001417b2e384bf7c3702
deleted file mode 100644
index 981b9a5..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/70d86f778de3001417b2e384bf7c3702
+++ /dev/null
@@ -1,38 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.block.Block;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.monster.EntityMob;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart)){
- world.setBlock((int)target.posX, (int)target.posY, (int)target.posZ, BlockList.midasTouchBlock, 0, 2);
-
- TileEntity midasTouchVictim = new TileEntityMidasTouch(target);
- world.setTileEntity((int)target.posX, (int)target.posY, (int)target.posZ, midasTouchVictim);
- target.setDead();
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/90909424afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/90909424afea001411cee0f8f86532a4
new file mode 100644
index 0000000..e2663cf
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/90909424afea001411cee0f8f86532a4
@@ -0,0 +1,181 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ ModMetadata metadata = e.getModMetadata();
+ List<String> authorList = new ArrayList<String>();
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+
+ dir = e.getModConfigurationDirectory();
+ proxy.preInit();
+ PacketHandler.preInit(e);
+
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+
+ EntityList.preInit(e);
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/b00062e0ffe40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/b00062e0ffe40014174fe663e69b8422
deleted file mode 100644
index 01f16ca..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/b00062e0ffe40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldObj;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldObj = new ItemGoldObj().setUnlocalizedName(Variables.MODID + ".goldObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldObj, "goldObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/d026faa2cbe6001411c8f2d2b3d65935 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/d026faa2cbe6001411c8f2d2b3d65935
deleted file mode 100644
index e4105c8..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d5/d026faa2cbe6001411c8f2d2b3d65935
+++ /dev/null
@@ -1,24 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CurseList
-{
- private static Curse rotten;
- private static Curse flaming;
- private static Curse blind;
- private static Curse greed;
- private static Curse infamy;
- private static Curse midasTouch;
-
- public static void preInit(FMLPreInitializationEvent e)
- {
- rotten = new CurseRottenHeart(0, Variables.MODNAME + ":" + "Rotten Heart", 0);
- flaming = new CurseFlamingSoul(1, Variables.MODNAME + ":" + "Flaming Soul", 0);
- greed = new CurseGreed(2, Variables.MODNAME + ":" + "Greed", 0);
- blind = new CurseBlind(3, Variables.MODNAME + ":" + "Blind", 0);
- infamy = new CurseInfamy(4, Variables.MODNAME + ":" + "Infamy", 0);
- midasTouch = new CurseMidasTouch(5, Variables.MODNAME + ":" + "Midas Touch", 0);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d6/f004df7701e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d6/f004df7701e50014174fe663e69b8422
deleted file mode 100644
index 5210d03..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d6/f004df7701e50014174fe663e69b8422
+++ /dev/null
@@ -1,51 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- if(player.inventory.getCurrentItem() != null && player.inventory.getCurrentItem().getItem() != ItemList.goldObj){
- int index = player.inventory.currentItem;
- ItemStack item = player.inventory.getCurrentItem();
- ItemStack result = new ItemStack(ItemList.goldObj, item.stackSize, item.getItemDamage());
- JewelryNBT.addItem(result, item);
- player.inventory.setInventorySlotContents(index, result);
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d7/e01fa45502e60014127dc373d78c1666 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d7/e01fa45502e60014127dc373d78c1666
deleted file mode 100644
index a42a1f3..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d7/e01fa45502e60014127dc373d78c1666
+++ /dev/null
@@ -1,77 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import net.minecraft.block.Block;
-import net.minecraft.block.material.Material;
-import net.minecraftforge.fluids.Fluid;
-import net.minecraftforge.fluids.FluidRegistry;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.tileentity.TileEntityAltar;
-import darkknight.jewelrycraft.tileentity.TileEntityBlockShadow;
-import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
-import darkknight.jewelrycraft.tileentity.TileEntityHandPedestal;
-import darkknight.jewelrycraft.tileentity.TileEntityJewelrsCraftingTable;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowEye;
-import darkknight.jewelrycraft.tileentity.TileEntityShadowHand;
-import darkknight.jewelrycraft.tileentity.TileEntitySmelter;
-import darkknight.jewelrycraft.util.Variables;
-
-public class BlockList
-{
- public static Block shadowOre, smelter, molder, displayer, jewelCraftingTable, shadowBlock, shadowEye, jewelAltar, handPedestal, shadowHand, midasTouchBlock;
- public static BlockMoltenMetal moltenMetal;
- public static Fluid moltenMetalFluid;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- shadowOre = new BlockJCOre().setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(Variables.MODID + ":oreShadow").setBlockName(Variables.MODID + ".oreShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- smelter = new BlockSmelter().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".smelter").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molder = new BlockMolder(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".molder").setCreativeTab(JewelrycraftMod.jewelrycraft);
- displayer = new BlockDisplayer(Material.iron).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".displayer").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelCraftingTable = new BlockJewelrsCraftingTable(Material.rock).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".jewelCraftingTable").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowBlock = new BlockShadow().setHardness(5.0F).setResistance(7.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":blockShadow").setBlockName(Variables.MODID + ".blockShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- jewelAltar = new BlockJewelAltar().setHardness(5.0F).setResistance(2.0F).setStepSound(Block.soundTypeMetal).setBlockTextureName(Variables.MODID + ":altar").setBlockName(Variables.MODID + ".altar").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowEye = new BlockShadowEye().setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowEye").setCreativeTab(JewelrycraftMod.jewelrycraft);
- handPedestal = new BlockHandPedestal(Material.rock).setHardness(5.0F).setResistance(6.0F).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".handPedestal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowHand = new BlockShadowHand(Material.rock).setStepSound(Block.soundTypePiston).setBlockName(Variables.MODID + ".shadowHand").setCreativeTab(JewelrycraftMod.jewelrycraft).setBlockUnbreakable();
- midasTouchBlock = new BlockMidasTouch(Material.iron).setHardness(3.0F).setResistance(10.0F).setStepSound(Block.soundTypeMetal).setBlockName(Variables.MODID + ".midasTouchBlock");
-
- GameRegistry.registerBlock(shadowOre, "shadowOre");
- GameRegistry.registerBlock(shadowBlock, "shadowBlock");
- GameRegistry.registerBlock(smelter, "Smelter");
- GameRegistry.registerBlock(molder, "Molder");
- GameRegistry.registerBlock(jewelCraftingTable, "jewelCraftingTable");
- GameRegistry.registerBlock(displayer, "Displayer");
- GameRegistry.registerBlock(jewelAltar, "Altar");
- GameRegistry.registerBlock(shadowEye, "Shadow Eye");
- GameRegistry.registerBlock(handPedestal, "Stone Bricks Pedestal");
- GameRegistry.registerBlock(shadowHand, "Shadow Hand");
- GameRegistry.registerBlock(midasTouchBlock, "Midas Touch Block");
-
- GameRegistry.registerTileEntity(TileEntitySmelter.class, Variables.MODID + ":smelter");
- GameRegistry.registerTileEntity(TileEntityMolder.class, Variables.MODID + ":molder");
- GameRegistry.registerTileEntity(TileEntityJewelrsCraftingTable.class, Variables.MODID + ":table");
- GameRegistry.registerTileEntity(TileEntityDisplayer.class, Variables.MODID + ":displayer");
- GameRegistry.registerTileEntity(TileEntityBlockShadow.class, Variables.MODID + ":blockShadow");
- GameRegistry.registerTileEntity(TileEntityAltar.class, Variables.MODID + ":altar");
- GameRegistry.registerTileEntity(TileEntityShadowEye.class, Variables.MODID + ":shadowEye");
- GameRegistry.registerTileEntity(TileEntityHandPedestal.class, Variables.MODID + ":handPedestal");
- GameRegistry.registerTileEntity(TileEntityShadowHand.class, Variables.MODID + ":shadowHand");
- GameRegistry.registerTileEntity(TileEntityMidasTouch.class, Variables.MODID + ":midsaTouch");
-
- moltenMetalFluid = new Fluid("metal.molten").setLuminosity(15).setDensity(3000).setTemperature(2000).setViscosity(6000);
- if (!FluidRegistry.registerFluid(moltenMetalFluid)) moltenMetalFluid = FluidRegistry.getFluid("metal.molten");
- moltenMetal = new BlockMoltenMetal(moltenMetalFluid, Material.lava);
- GameRegistry.registerBlock(moltenMetal, "moltenMetalLiquid");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d8/6023bb4999e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d8/6023bb4999e3001412c4c4819c88e86b
deleted file mode 100644
index 522a726..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d8/6023bb4999e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
-// GL11.glRotatef(, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.xCoord - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, midas.target.rotationYaw, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/b0614a4248e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/b0614a4248e700141e05cdbaeb682437
deleted file mode 100644
index 9c25ad9..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/b0614a4248e700141e05cdbaeb682437
+++ /dev/null
@@ -1,127 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
-// System.out.println(PlayerUtils.getModPlayerPersistTag(player, Variables.MODID));
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/e0c5a699fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/e0c5a699fde40014174fe663e69b8422
deleted file mode 100644
index a9b0e1a..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/d9/e0c5a699fde40014174fe663e69b8422
+++ /dev/null
@@ -1,164 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Random;
-import net.minecraft.creativetab.CreativeTabs;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.entity.passive.EntityVillager;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.potion.Potion;
-import net.minecraft.util.AxisAlignedBB;
-import net.minecraft.util.ChatComponentText;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.village.MerchantRecipe;
-import net.minecraft.village.MerchantRecipeList;
-import org.lwjgl.input.Keyboard;
-import cpw.mods.fml.common.FMLCommonHandler;
-import cpw.mods.fml.relauncher.ReflectionHelper;
-import cpw.mods.fml.relauncher.Side;
-import darkknight.jewelrycraft.util.JewelrycraftUtil;
-import darkknight.jewelrycraft.util.PlayerUtils;
-
-public class ItemThiefGloves extends Item
-{
- public Random rand = new Random();
-
- /**
- *
- */
- public ItemThiefGloves()
- {
- setCreativeTab(CreativeTabs.tabTools);
- setMaxStackSize(1);
- setMaxDamage(10);
- }
-
- /**
- * @param stack
- * @param player
- * @param entity
- * @return
- */
- @Override
- public boolean itemInteractionForEntity(ItemStack stack, EntityPlayer player, EntityLivingBase entity)
- {
- if (entity instanceof EntityVillager){
- EntityVillager villager = (EntityVillager)entity;
- int wealth = (Integer)ReflectionHelper.getPrivateValue(EntityVillager.class, villager, "wealth", "field_70956_bz");
- MerchantRecipeList buyingList = (MerchantRecipeList)ReflectionHelper.getPrivateValue(EntityVillager.class, villager, "buyingList", "field_70963_i");
- int chance = 5;
- boolean areOtherVillagersAround = false, canTheySeeYou = false;
- AxisAlignedBB axisalignedbb = villager.boundingBox.expand(4.0D, 4.0D, 4.0D);
- List entities = villager.worldObj.getEntitiesWithinAABBExcludingEntity(villager, axisalignedbb);
- for(Object s: entities)
- if (s instanceof EntityVillager){
- areOtherVillagersAround = true;
- chance += rand.nextInt(2);
- if (((EntityVillager)s).canEntityBeSeen(player)){
- chance += 2;
- canTheySeeYou = true;
- }
- }
- if (villager.canEntityBeSeen(player)) chance += 5;
- if (player.isPotionActive(Potion.invisibility)) chance -= 0.8 * chance;
- if (player.capabilities.isCreativeMode) chance = 1;
- int steal = rand.nextInt(chance);
- if (steal == 0){
- villager.dropItem(Items.emerald, wealth);
- ReflectionHelper.setPrivateValue(EntityVillager.class, villager, 0, "wealth", "field_70956_bz");
- }
- if (buyingList != null){
- Iterator<?> iterator = buyingList.iterator();
- if (steal == 0){
- while (iterator.hasNext()){
- MerchantRecipe recipe = (MerchantRecipe)iterator.next();
- int toolUses = (Integer)ReflectionHelper.getPrivateValue(MerchantRecipe.class, recipe, "toolUses", "field_77400_d");
- int quantity;
- if (recipe.getItemToSell().isStackable()) quantity = recipe.getItemToSell().stackSize * (7 - toolUses);
- else quantity = recipe.getItemToSell().stackSize;
- ItemStack s = new ItemStack(recipe.getItemToSell().getItem(), quantity, recipe.getItemToSell().getItemDamage());
- s.setTagCompound(recipe.getItemToSell().getTagCompound());
- if (player.inventory.addItemStackToInventory(s)) ;
- else villager.entityDropItem(s, 0);
- if (!player.capabilities.isCreativeMode) JewelrycraftUtil.addCursePoints(player, 5);
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + ": Hmmm... I seem to have lost my " + s.getDisplayName() + "!"));
- stack.damageItem(1, player);
- }
- buyingList.clear();
- ReflectionHelper.setPrivateValue(EntityVillager.class, villager, 300, "timeUntilReset", "field_70961_j");
- ReflectionHelper.setPrivateValue(EntityVillager.class, villager, true, "needsInitilization", "field_70959_by");
- player.addChatMessage(new ChatComponentText("You hear a faint whisper in your ear: "));
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_PURPLE + "Those who steal but don't get caught get rewarded and do not."));
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_PURPLE + "Embrace the path you have gone, for the darkness will not"));
- player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_PURPLE + "dwell on."));
- }else{
- stack.damageItem(1, player);
- if (!player.capabilities.isCreativeMode) JewelrycraftUtil.addCursePoints(player, 25);
- if (player.isPotionActive(Potion.invisibility)){
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " sensed a strange presence around him, making him cling on to his items. You didn't get anything."));
- }
- else{
- if (areOtherVillagersAround){
- if (!canTheySeeYou){
- player.addChatMessage(new ChatComponentText("As he was passing by, a random villager caught you trying to steal from Villager #" + villager.getProfession() + "."));
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " curses you for the attempt."));
- return true;
- }
- else{
- player.addChatMessage(new ChatComponentText("A villager nearby saw you trying to steal from Villager #" + villager.getProfession() + "."));
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " curses you for the attempt."));
- return true;
- }
- }else{
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " caught you trying to steal from him."));
- player.addChatMessage(new ChatComponentText("Villager #" + villager.getProfession() + " curses you for the attempt."));
- return true;
- }
- }
- }
- }
- return true;
- }else return super.itemInteractionForEntity(stack, player, entity);
- }
-
- /**
- * @param stack
- * @param player
- * @param list
- * @param par4
- */
- @Override
- @SuppressWarnings ("unchecked")
- public void addInformation(ItemStack stack, EntityPlayer player, @SuppressWarnings ("rawtypes") List list, boolean par4)
- {
- if (!shouldAddAdditionalInfo()) list.add(EnumChatFormatting.GRAY + additionalInfoInstructions());
- else{
- list.add(EnumChatFormatting.GRAY + "Right click with the gloves,");
- list.add(EnumChatFormatting.GRAY + "while sneaking, on a villager");
- list.add(EnumChatFormatting.GRAY + "to steal his stuff.");
- }
- }
-
- /**
- * @return
- */
- public static boolean shouldAddAdditionalInfo()
- {
- if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) if (Keyboard.isKeyDown(Keyboard.KEY_LSHIFT)) return true;
- return false;
- }
-
- /**
- * @return
- */
- public static String additionalInfoInstructions()
- {
- String message = "\247oPress \247b<SHIFT>\2477\247o for more information.";
- return message;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/da/a0ebd00b3de700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/da/a0ebd00b3de700141e05cdbaeb682437
deleted file mode 100644
index b53c27d..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/da/a0ebd00b3de700141e05cdbaeb682437
+++ /dev/null
@@ -1,122 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (infamyCache != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- for(int i = 0; i < infamyCache.length; i++)
- if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/605b1c3449e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/db/50cc9fe591ea001411cee0f8f86532a4
index 05b2c1e..3b161f4 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/11/605b1c3449e700141e05cdbaeb682437
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/db/50cc9fe591ea001411cee0f8f86532a4
@@ -1,59 +1,42 @@
package darkknight.jewelrycraft.events;
import java.util.Iterator;
-import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.RenderPlayerEvent;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
import darkknight.jewelrycraft.curses.CurseList;
import darkknight.jewelrycraft.entities.renders.RenderHelper;
import darkknight.jewelrycraft.item.render.BraceletRender;
import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
import darkknight.jewelrycraft.model.ModelBracelet;
import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
public class PlayerRenderHandler
{
- MaskRender mask = new MaskRender();
EarringsRender earrings = new EarringsRender();
BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
public static NBTTagCompound playersInfo = new NBTTagCompound();
@SubscribeEvent
public void renderScreen(RenderPlayerEvent.Specials.Post event)
{
ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
if (playersInfo != null){
while (players.hasNext()){
EntityPlayer player = players.next();
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
@@ -82,23 +65,37 @@ public class PlayerRenderHandler
ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
GL11.glPushMatrix();
GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
+ float size = 0.055F;
if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
+// GL11.glTranslatef(0F, -(12-i)*0.1F, 0F);
+ float sizeY=(13-i)*0.055F;
+ rightArm.postRender(size);
+// if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+// if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F)
+// GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+// }else{
+// GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * sizeY, rightArm.rotationPointZ * size);
+// if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+// if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+// if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+// }
+// GL11.glScalef(0.05f, 0.03f, 0.05f);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
}else{
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F)
+ GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
int gemColor = -1;
int ingotColor = -1;
if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
@@ -118,9 +115,7 @@ public class PlayerRenderHandler
private boolean checkPlayerInfamy(String string)
{
NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
return false;
}
}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/db/60d6c516b2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/db/60d6c516b2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f8c4658
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/db/60d6c516b2ea001411cee0f8f86532a4
@@ -0,0 +1,31 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ if (z != -1) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if (x != -1) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/00dead5b97ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/00dead5b97ea001411cee0f8f86532a4
new file mode 100644
index 0000000..4956b0d
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/00dead5b97ea001411cee0f8f86532a4
@@ -0,0 +1,66 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.util.ResourceLocation;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(String name, int txtID, String pack)
+ {
+ super(name, txtID, pack);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ @Override
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ GL11.glColor4f(1F, 1F, 1F, 0.3F);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/50108b1b96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/50108b1b96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..0666b45
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/50108b1b96ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.07f, 0.07f, 0.07f);
+ GL11.glTranslatef(0.0F, 1.0F, -1.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/d03b0e77b1ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/d03b0e77b1ea001411cee0f8f86532a4
new file mode 100644
index 0000000..8554473
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/d03b0e77b1ea001411cee0f8f86532a4
@@ -0,0 +1,266 @@
+package darkknight.jewelrycraft.tileentity.renders;
+
+import java.awt.Color;
+import java.util.HashMap;
+import java.util.List;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.client.renderer.OpenGlHelper;
+import net.minecraft.client.renderer.RenderHelper;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.entity.RenderManager;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.EnumChatFormatting;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelDisplayer;
+import darkknight.jewelrycraft.tileentity.TileEntityDisplayer;
+import darkknight.jewelrycraft.util.Variables;
+
+public class TileEntityDisplayerRender extends TileEntitySpecialRenderer
+{
+ ModelDisplayer displayer = new ModelDisplayer();
+ String texture = "textures/tileentities/Displayer.png";
+ HashMap<EnumChatFormatting, Integer> colors = new HashMap<EnumChatFormatting, Integer>(){
+ {
+ put(EnumChatFormatting.AQUA, 5636095);
+ put(EnumChatFormatting.BLACK, 0);
+ put(EnumChatFormatting.BLUE, 5592575);
+ put(EnumChatFormatting.DARK_AQUA, 43690);
+ put(EnumChatFormatting.DARK_BLUE, 170);
+ put(EnumChatFormatting.DARK_GRAY, 5592405);
+ put(EnumChatFormatting.DARK_GREEN, 43520);
+ put(EnumChatFormatting.DARK_PURPLE, 11141290);
+ put(EnumChatFormatting.DARK_RED, 11141120);
+ put(EnumChatFormatting.GOLD, 16755200);
+ put(EnumChatFormatting.GRAY, 11184810);
+ put(EnumChatFormatting.GREEN, 5635925);
+ put(EnumChatFormatting.LIGHT_PURPLE, 16733695);
+ put(EnumChatFormatting.RED, 16733525);
+ put(EnumChatFormatting.WHITE, 16777215);
+ put(EnumChatFormatting.YELLOW, 16777045);
+ }
+ };
+
+ /**
+ * @param te
+ * @param x
+ * @param y
+ * @param z
+ * @param scale
+ */
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ GL11.glPushMatrix();
+ GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
+ TileEntityDisplayer disp = (TileEntityDisplayer)te;
+ ResourceLocation blockTexture = new ResourceLocation(Variables.MODID, texture);
+ Minecraft.getMinecraft().renderEngine.bindTexture(blockTexture);
+ GL11.glPushMatrix();
+ GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
+ displayer.render((Entity)null, disp.ringTranslation1, disp.ringTranslation2, disp.ringTranslation3, 0.0F, 0.0F, 0.0625F);
+ RenderHelper.enableStandardItemLighting();
+ try{
+ int block = disp.getBlockMetadata();
+ if (disp != null && disp.hasObject && disp.object != null && disp.object.getItem() != null && disp.object != new ItemStack(Item.getItemById(0), 0, 0)){
+ int ind = -3;
+ GL11.glPushMatrix();
+ EntityItem entityitem = new EntityItem(te.getWorldObj(), 0.0D, 0.0D, 0.0D, disp.object);
+ entityitem.hoverStart = 0.0F;
+ disp.object.stackSize = 1;
+ GL11.glRotatef(180F, 1F, 0F, 0F);
+ GL11.glTranslatef(0.0F, -0.6F + disp.ringTranslation1 / 5, 0F);
+ GL11.glRotatef(disp.rotAngle, 0F, 1F, 0F);
+ if (RenderManager.instance.options.fancyGraphics) RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ else{
+ GL11.glRotatef(180F, 0F, 1F, 0F);
+ RenderManager.instance.options.fancyGraphics = true;
+ int i = 15728880;
+ int j = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, j / 1.0F, k / 1.0F);
+ RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
+ RenderManager.instance.options.fancyGraphics = false;
+ }
+ EntityPlayer player = te.getWorldObj().getClosestPlayer(te.xCoord, te.yCoord, te.zCoord, 5D);
+ GL11.glPopMatrix();
+ GL11.glPushMatrix();
+ if (player != null) renderLabel(disp.object.getDisplayName(), 0F, -0.171F * ind, 0F, block, disp, colors.get(disp.object.getRarity().rarityColor));
+ GL11.glPopMatrix();
+ ind++;
+ if (player != null && disp.quantity > 1){
+ GL11.glPushMatrix();
+ renderLabel("x" + Integer.toString(disp.quantity), 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ if (disp.object.getItem() != Items.map && player != null && disp.object.getTooltip(player, true) != null){
+ List tooltips = disp.object.getTooltip(player, true);
+ if (disp.infoIndex + 5 > tooltips.size()) disp.infoIndex = 1;
+ if (tooltips.size() < 5) for(int i = 1; i < tooltips.size(); i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ else for(int i = disp.infoIndex; i < disp.infoIndex + 5; i++){
+ String tooltip = tooltips.get(i).toString();
+ RenderManager.instance.getFontRenderer();
+ if (tooltip != ""){
+ GL11.glPushMatrix();
+ renderLabel(tooltip, 0F, -0.171F * ind, 0F, block, disp, Color.GRAY.getRGB());
+ GL11.glPopMatrix();
+ ind++;
+ }
+ }
+ }
+ }
+ }
+ catch(Exception e){}
+ RenderHelper.disableStandardItemLighting();
+ GL11.glPopMatrix();
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param par2Str
+ * @param x
+ * @param y
+ * @param z
+ * @param metadata
+ * @param te
+ * @param color
+ */
+ protected void renderLabel(String par2Str, double x, double y, double z, int metadata, TileEntity te, int color)
+ {
+ FontRenderer fontrenderer = RenderManager.instance.getFontRenderer();
+ float var14 = 0.01266667F * 1.5F;
+ float var17 = 0.015F;
+ GL11.glRotatef(180F, 0F, 0F, 1F);
+ if (metadata == 0) GL11.glRotatef(0F, 0F, 1F, 0F);
+ else if (metadata == 1) GL11.glRotatef(270F, 0F, 1F, 0F);
+ else if (metadata == 2) GL11.glRotatef(180F, 0F, 1F, 0F);
+ else if (metadata == 3) GL11.glRotatef(90F, 0F, 1F, 0F);
+ GL11.glTranslatef((float)x, (float)y, (float)z + 0.45F);
+ GL11.glScalef(-0.015F, -var14, 0.015F);
+ GL11.glPushMatrix();
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ Tessellator tessellator = Tessellator.instance;
+ GL11.glDisable(GL11.GL_TEXTURE_2D);
+ int j = fontrenderer.getStringWidth(par2Str) / 2;
+ tessellator.startDrawingQuads();
+ tessellator.setColorRGBA_F(0.0F, 0.2F, 0.2F, 0.9F);
+ tessellator.addVertex(-33.333 - 0, 0D, 0.1D);
+ tessellator.addVertex(-33.333 - 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 9D, 0.1D);
+ tessellator.addVertex(33.333 + 0, 0D, 0.1D);
+ tessellator.draw();
+ if (fontrenderer.getStringWidth(par2Str) / 2 > 20) var17 = 0.9F / fontrenderer.getStringWidth(par2Str);
+ else var17 = var14;
+ int red = color >> 16 & 0xFF;
+ int green = color >> 8 & 0xFF;
+ int blue = color & 0xFF;
+ GL11.glTranslatef((float)x + 1f, (float)y + 1f, (float)z);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_TEXTURE_2D);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ int i = 15728880;
+ int t = i % 65536;
+ int k = i / 65536;
+ OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, t / 1.0F, k / 1.0F);
+ fontrenderer.drawString(par2Str.replaceFirst("§0", "§r").replaceFirst("§1", "§r").replaceFirst("§2", "§r").replaceFirst("§3", "§r").replaceFirst("§4", "§r").replaceFirst("§5", "§r").replaceFirst("§6", "§r").replaceFirst("§7", "§r").replaceFirst("§8", "§r").replaceFirst("§9", "§r").replaceFirst("§a", "§r").replaceFirst("§b", "§r").replaceFirst("§c", "§r").replaceFirst("§d", "§r").replaceFirst("§e", "§r").replaceFirst("§f", "§r"), -j, 0, 65536 * (red > 170 ? red - 170 : 0) + 256 * (green > 170 ? green - 170 : 0) + (blue > 170 ? blue - 170 : 0));
+ GL11.glPopMatrix();
+ GL11.glTranslatef((float)x - 1f, (float)y - 1f, (float)z - 1F);
+ GL11.glScalef(var17 * 70F, 1F, 0F);
+ fontrenderer.drawString(par2Str, -j, 0, color);
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glEnable(GL11.GL_LIGHTING);
+ GL11.glPopMatrix();
+ }
+
+ /**
+ * @param str
+ * @param color
+ */
+ public void replaceEnumEnchValues(String str, int color)
+ {
+ if (str.contains("§0")){
+ color = Color.BLACK.getRGB();
+ str.replace("§0", "");
+ }
+ if (str.contains("§1")){
+ color = 85;
+ str.replace("§1", "");
+ }
+ if (str.contains("§2")){
+ color = 17920;
+ str.replace("§2", "");
+ }
+ if (str.contains("§3")){
+ color = 1336183;
+ str.replace("§3", "");
+ }
+ if (str.contains("§4")){
+ color = 4587520;
+ str.replace("§4", "");
+ }
+ if (str.contains("§5")){
+ color = 5701759;
+ str.replace("§5", "");
+ }
+ if (str.contains("§6")){
+ color = 16762880;
+ str.replace("§6", "");
+ }
+ if (str.contains("§7")){
+ color = Color.GRAY.getRGB();
+ str.replace("§7", "");
+ }
+ if (str.contains("§8")){
+ color = Color.DARK_GRAY.getRGB();
+ str.replace("§8", "");
+ }
+ if (str.contains("§9")){
+ color = Color.BLUE.getRGB();
+ str.replace("§9", "");
+ }
+ if (str.contains("§a")){
+ color = Color.GREEN.getRGB();
+ str.replace("§a", "");
+ }
+ if (str.contains("§b")){
+ color = Color.CYAN.getRGB();
+ str.replace("§b", "");
+ }
+ if (str.contains("§c")){
+ color = Color.RED.getRGB();
+ str.replace("§c", "");
+ }
+ if (str.contains("§d")){
+ color = 11665663;
+ str.replace("§d", "");
+ }
+ if (str.contains("§e")){
+ color = Color.YELLOW.getRGB();
+ str.replace("§e", "");
+ }
+ if (str.contains("§f")){
+ color = Color.WHITE.getRGB();
+ str.replace("§f", "");
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/f0768b8386ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/f0768b8386ea001411cee0f8f86532a4
new file mode 100644
index 0000000..cd75e26
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/dc/f0768b8386ea001411cee0f8f86532a4
@@ -0,0 +1,98 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+
+ public ScreenHandler(Minecraft mc)
+ {
+ super();
+ this.mc = mc;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ mc.renderEngine.bindTexture(new ResourceLocation(Variables.MODID, "textures/gui/curses" + curse.getTexturePack() + ".png"));
+ int tag = curse.getID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(Variables.MISC_TEXTURE);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/de/8070a46bb0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/de/8070a46bb0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..da7395c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/de/8070a46bb0ea001411cee0f8f86532a4
@@ -0,0 +1,130 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.item.Item;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.EventList;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ EventList.preInit(e);
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ EventList.init(e);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ EventList.postInit(e);
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/20a9f8c891e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/20a9f8c891e3001417b2e384bf7c3702
deleted file mode 100644
index 3dc5a44..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/20a9f8c891e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, te.xCoord, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/30c6f47f87ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/30c6f47f87ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e28deaf
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/30c6f47f87ea001411cee0f8f86532a4
@@ -0,0 +1,30 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.potion.Potion;
+import net.minecraft.potion.PotionEffect;
+import net.minecraft.world.World;
+
+public class CurseGreed extends Curse
+{
+ public CurseGreed(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ }
+
+ @Override
+ public boolean itemToss()
+ {
+ return true;
+ }
+
+ public String getDescription()
+ {
+ return "You might need that later";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/706fd6f390e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/706fd6f390e3001417b2e384bf7c3702
deleted file mode 100644
index 1593dd6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/706fd6f390e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glColor4f(1F, 0.0F, 1.0F, 0.3F);
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/90e9856afce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/90e9856afce40014174fe663e69b8422
deleted file mode 100644
index bcf52b4..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/90e9856afce40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.*;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/f0dbfc7597e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/f0dbfc7597e3001412c4c4819c88e86b
deleted file mode 100644
index 0a028cf..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e/f0dbfc7597e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(1 - ((TileEntityMidasTouch)tile).target.width, 0F, 1 - ((TileEntityMidasTouch)tile).target.width, ((TileEntityMidasTouch)tile).target.width, ((TileEntityMidasTouch)tile).target.height, ((TileEntityMidasTouch)tile).target.width);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/1021610993ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/1021610993ea001411cee0f8f86532a4
new file mode 100644
index 0000000..f24fde9
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/1021610993ea001411cee0f8f86532a4
@@ -0,0 +1,31 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/8018db0c86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/8018db0c86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..75b4056
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e0/8018db0c86ea001411cee0f8f86532a4
@@ -0,0 +1,128 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int id, texturepack;
+ protected String name, description;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(int id, String name, int texturepack)
+ {
+ this.id = id;
+ this.name = name;
+ this.texturepack = texturepack;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the curse ID
+ */
+ public int getID()
+ {
+ return id;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public int getTexturePack()
+ {
+ return texturepack;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e1/90df506301e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e1/90df506301e50014174fe663e69b8422
deleted file mode 100644
index ddf14d8..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e1/90df506301e50014174fe663e69b8422
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null && Block.getBlockFromItem(item.getItem()) == null)
- return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/308fca16fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/308fca16fde40014174fe663e69b8422
deleted file mode 100644
index ae58ad0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/308fca16fde40014174fe663e69b8422
+++ /dev/null
@@ -1,66 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.block.material.Material;
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static Item goldifiedObject;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject(Material.air).setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/5045c01799ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/5045c01799ea001411cee0f8f86532a4
new file mode 100644
index 0000000..669827c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e3/5045c01799ea001411cee0f8f86532a4
@@ -0,0 +1,141 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ System.out.println(event.renderPass);
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -16F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e4/60b445e4aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e4/60b445e4aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..34cc2ed
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e4/60b445e4aeea001411cee0f8f86532a4
@@ -0,0 +1,18 @@
+package darkknight.jewelrycraft.entities;
+
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.util.Variables;
+
+public class EntityList
+{
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+
+ createEntity(EntityHeart.class, Variables.MODID + ".Heart", 0xFF0000, 0xFF0000, false);
+ createEntity(EntityHalfHeart.class, Variables.MODID + ".Half-Heart", 0x000000, 0xFF0000, false);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/00004ede9ae3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/00004ede9ae3001412c4c4819c88e86b
deleted file mode 100644
index f9a583a..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/00004ede9ae3001412c4c4819c88e86b
+++ /dev/null
@@ -1,95 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.Block;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.item.EntityItem;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void breakBlock(World world, int i, int j, int k, Block par5, int par6)
- {
- TileEntityMidasTouch te = (TileEntityMidasTouch)world.getTileEntity(i, j, k);
- if (te.target != null) dropItem(te.getWorldObj(), te.xCoord, te.yCoord, te.zCoord, new ItemStack(Items.gold_nugget, (int)(((TileEntityMidasTouch)tile).target.width * ((TileEntityMidasTouch)tile).target.height), 0));
-// world.removeTileEntity(i, j, k);
- super.breakBlock(world, i, j, k, par5, par6);
- }
-
- public void dropItem(World world, double x, double y, double z, ItemStack stack)
- {
- EntityItem entityitem = new EntityItem(world, x + 0.5D, y + 0.5D, z + 0.5D, stack);
- entityitem.motionX = 0;
- entityitem.motionZ = 0;
- entityitem.motionY = 0.11000000298023224D;
- world.spawnEntityInWorld(entityitem);
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/50d52b2996ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/50d52b2996ea001411cee0f8f86532a4
new file mode 100644
index 0000000..9df617a
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e6/50d52b2996ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.05f, 0.05f);
+ GL11.glTranslatef(0.0F, 1.0F, -1.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/909b303c96ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/909b303c96ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1ff4900
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/909b303c96ea001411cee0f8f86532a4
@@ -0,0 +1,113 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.init.Items;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.JewelryNBT;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -1.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+
+ /**
+ * @param string
+ * @return
+ */
+ private boolean checkPlayerInfamy(String string)
+ {
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
+ if (playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
+ return false;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/b0d35f77b0ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/b0d35f77b0ea001411cee0f8f86532a4
new file mode 100644
index 0000000..730bb56
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/b0d35f77b0ea001411cee0f8f86532a4
@@ -0,0 +1,118 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.item.Item;
+import net.minecraft.nbt.NBTTagCompound;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.EventList;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.village.VillageHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+ VillageHandler.preInit(e);
+ EventList.preInit(e);
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ EventList.init(e);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ EventList.postInit(e);
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/c04057b047e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/c04057b047e700141e05cdbaeb682437
deleted file mode 100644
index e705fa6..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e7/c04057b047e700141e05cdbaeb682437
+++ /dev/null
@@ -1,128 +0,0 @@
-package darkknight.jewelrycraft.events;
-
-import java.util.Iterator;
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.model.ModelBiped;
-import net.minecraft.client.model.ModelRenderer;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.util.ResourceLocation;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import cpw.mods.fml.common.eventhandler.SubscribeEvent;
-import darkknight.jewelrycraft.curses.CurseList;
-import darkknight.jewelrycraft.entities.renders.RenderHelper;
-import darkknight.jewelrycraft.item.render.BraceletRender;
-import darkknight.jewelrycraft.item.render.EarringsRender;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.model.ModelBracelet;
-import darkknight.jewelrycraft.util.JewelryNBT;
-import darkknight.jewelrycraft.util.PlayerUtils;
-import darkknight.jewelrycraft.util.Variables;
-
-public class PlayerRenderHandler
-{
- MaskRender mask = new MaskRender();
- EarringsRender earrings = new EarringsRender();
- BraceletRender bracelet = new BraceletRender();
-// public static String[] infamyCache = new String[]{};
- public static NBTTagCompound playersInfo = new NBTTagCompound();
-
- @SubscribeEvent
- public void renderScreen(RenderPlayerEvent.Specials.Post event)
- {
- ModelBiped main = event.renderer.modelBipedMain;
- Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
- if (playersInfo != null){
- while (players.hasNext()){
- EntityPlayer player = players.next();
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
- if (checkPlayerInfamy(player.getDisplayName()) && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0){
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(1.6f, 1.6f, 1.6f);
- GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
- mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
- GL11.glPopMatrix();
- }
- if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
- float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
- float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glRotatef(yawOffset, 0, -1, 0);
- GL11.glRotatef(yaw - 90, 0, 1, 0);
- GL11.glRotatef(pitch, 0, 0, -1);
- GL11.glRotatef(90F, 0, 1F, 0F);
- RenderHelper.translateToHeadLevel(player);
- GL11.glScalef(0.07f, 0.07f, 0.07f);
- GL11.glTranslatef(0.0F, 3.0F, -2.0F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- earrings.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- GL11.glPopMatrix();
- }
- for(int i = 10; i <= 13; i++)
- if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
- NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
- ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- GL11.glTranslatef((i / 12 == 1) ? -0.275F : 0.475F, 0.2F + ((i / 12 == 1) ? (i - 12) * 0.08F : (i - 10) * 0.08F), 0F);
- if (player.isSneaking()) GL11.glTranslatef(0F, 0F, -((i == 10 || i == 12) ? (0.1F) : 0.05F));
- if (i / 12 == 1){
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedRightArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedRightArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0.0F);
- }else{
- GL11.glScalef(0.05f, 0.03f, 0.05f);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleX * (180F / (float)Math.PI), 1F, 0F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleY * (180F / (float)Math.PI), 0F, 1F, 0F);
- GL11.glRotatef(main.bipedLeftArm.rotateAngleZ * (180F / (float)Math.PI), 0F, 0F, 1F);
- int gemColor = -1;
- int ingotColor = -1;
- if (JewelryNBT.gem(item) != null) gemColor = JewelryNBT.gemColor(item);
- if (JewelryNBT.ingot(item) != null) ingotColor = JewelryNBT.ingotColor(item);
- System.out.println(item);
- bracelet.doRender(event.entityPlayer, 0F, 0F, (float)ingotColor, (float)gemColor, 0F);
- }
- GL11.glPopMatrix();
- }
- }
- }
- }
-
- /**
- * @param string
- * @return
- */
- private boolean checkPlayerInfamy(String string)
- {
- NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(string);
- if(playerInfo.getInteger(CurseList.infamy.getName()) > 0) return true;
-// for(int i = 0; i < infamyCache.length; i++)
-// if (infamyCache[i].equals(string)) return true;
- return false;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/00dc62a998e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/00dc62a998e3001412c4c4819c88e86b
deleted file mode 100644
index c66477f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/00dc62a998e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
-// GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- System.out.println(midas.target.rotationYaw);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/606bf5d786ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/606bf5d786ea001411cee0f8f86532a4
new file mode 100644
index 0000000..ed8c629
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/e8/606bf5d786ea001411cee0f8f86532a4
@@ -0,0 +1,65 @@
+package darkknight.jewelrycraft.curses;
+
+import org.lwjgl.opengl.GL11;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.SharedMonsterAttributes;
+import net.minecraft.entity.monster.EntityMob;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.MaskRender;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.PlayerUtils;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseInfamy extends Curse
+{
+ MaskRender mask = new MaskRender();
+ public CurseInfamy(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (rand.nextInt(5) == 0 && !world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && target.canAttackWithItem()){
+ NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
+ if (playerInfo.getFloat("BlackHeart") < 20F) playerInfo.setFloat("BlackHeart", playerInfo.getFloat("BlackHeart") + 1.0F);
+ if (player.getMaxHealth() >= 3F){
+ player.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(player.getMaxHealth() - 1.0F);
+ player.setHealth(player.getHealth() - 1.0F);
+ }
+ JewelrycraftUtil.addCursePoints(player, 10);
+ }
+ }
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(1.6f, 1.6f, 1.6f);
+ GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
+ mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "What have you done?!";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/705e53cd96e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/705e53cd96e3001412c4c4819c88e86b
deleted file mode 100644
index a69b87f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/705e53cd96e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,26 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/80100efb96e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/80100efb96e3001412c4c4819c88e86b
deleted file mode 100644
index 33a2363..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/80100efb96e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,72 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0F, 0F, 0F, 1F, ((TileEntityMidasTouch)tile).target.height, 1F);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/a053aefe94e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/a053aefe94e3001412c4c4819c88e86b
deleted file mode 100644
index f7cdd74..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ea/a053aefe94e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,74 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
- TileEntity tile = world.getTileEntity(x, y, z);
- if(((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.boundingBox.calculateXOffset(((TileEntityMidasTouch)tile).target.boundingBox, 1f));
- this.setBlockBounds((float)((TileEntityMidasTouch)tile).target.boundingBox.minX, (float)((TileEntityMidasTouch)tile).target.boundingBox.minY, (float)((TileEntityMidasTouch)tile).target.boundingBox.minZ, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxX, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxY, (float)((TileEntityMidasTouch)tile).target.boundingBox.maxZ);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/001088b1b2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/001088b1b2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..37e291e
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/001088b1b2ea001411cee0f8f86532a4
@@ -0,0 +1,32 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+ System.out.println((int)x + " " + (int)z);
+ if (z != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if (x != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/4003450d99ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/4003450d99ea001411cee0f8f86532a4
new file mode 100644
index 0000000..e520fc9
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/4003450d99ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -16F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/506ecaee98ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/506ecaee98ea001411cee0f8f86532a4
new file mode 100644
index 0000000..c505024
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/506ecaee98ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/90c9eff2fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/90c9eff2fce40014174fe663e69b8422
deleted file mode 100644
index a499d75..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/90c9eff2fce40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/e0c7efa692e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/e0c7efa692e3001417b2e384bf7c3702
deleted file mode 100644
index cb3c72b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/eb/e0c7efa692e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - Minecraft.getMinecraft().thePlayer.posX, midas.target.posY - Minecraft.getMinecraft().thePlayer.posY, midas.target.posZ - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
-// RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, midas.target.posX - Minecraft.getMinecraft().thePlayer.posX, midas.target.posY - Minecraft.getMinecraft().thePlayer.posY, midas.target.posZ - Minecraft.getMinecraft().thePlayer.posZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ec/304cb8c386ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ec/304cb8c386ea001411cee0f8f86532a4
new file mode 100644
index 0000000..d88333a
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ec/304cb8c386ea001411cee0f8f86532a4
@@ -0,0 +1,60 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CursePentagram extends Curse
+{
+ float rot = 0F;
+
+ public CursePentagram(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(Variables.CURSES_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "The Dark Lord has misterious ways of showing you his love.";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/101c29e799e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/101c29e799e3001412c4c4819c88e86b
deleted file mode 100644
index 9f6222b..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/101c29e799e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,72 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/60f0442899ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/60f0442899ea001411cee0f8f86532a4
new file mode 100644
index 0000000..0263396
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ee/60f0442899ea001411cee0f8f86532a4
@@ -0,0 +1,141 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ System.out.println(event.context.getDebugInfoRenders());
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, -16F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/10d23bbdb2ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/10d23bbdb2ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1567ffe
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/10d23bbdb2ea001411cee0f8f86532a4
@@ -0,0 +1,32 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+// System.out.println((int)x + " " + (int)z);
+ if (z != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if (x != (float)-1) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/70093e68afea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/70093e68afea001411cee0f8f86532a4
new file mode 100644
index 0000000..e1fef46
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/70093e68afea001411cee0f8f86532a4
@@ -0,0 +1,180 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.EntityList;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+ List<String> authorList = new ArrayList<String>();
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ModMetadata metadata = e.getModMetadata();
+ dir = e.getModConfigurationDirectory();
+
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ PacketHandler.preInit(e);
+ EntityList.preInit(e);
+
+ proxy.preInit();
+
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/b02994c8fce50014127dc373d78c1666 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/b02994c8fce50014127dc373d78c1666
deleted file mode 100644
index 7c02d6c..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/b02994c8fce50014127dc373d78c1666
+++ /dev/null
@@ -1,94 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.Block;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.item.EntityItem;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 0;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void breakBlock(World world, int i, int j, int k, Block par5, int par6)
- {
- TileEntityMidasTouch te = (TileEntityMidasTouch)world.getTileEntity(i, j, k);
- if (te.target != null) dropItem(te.getWorldObj(), te.xCoord, te.yCoord, te.zCoord, new ItemStack(Items.gold_nugget, (int)(te.target.width * te.target.height * 100), 0));
- super.breakBlock(world, i, j, k, par5, par6);
- }
-
- public void dropItem(World world, double x, double y, double z, ItemStack stack)
- {
- EntityItem entityitem = new EntityItem(world, x + 0.5D, y + 0.5D, z + 0.5D, stack);
- entityitem.motionX = 0;
- entityitem.motionZ = 0;
- entityitem.motionY = 0.11000000298023224D;
- world.spawnEntityInWorld(entityitem);
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/e0b44d1186ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/e0b44d1186ea001411cee0f8f86532a4
new file mode 100644
index 0000000..2e70e63
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ef/e0b44d1186ea001411cee0f8f86532a4
@@ -0,0 +1,134 @@
+package darkknight.jewelrycraft.curses;
+
+import java.util.ArrayList;
+import java.util.Random;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.item.EntityItem;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+
+public class Curse
+{
+ protected int id, texturepack, textureID;
+ protected String name, description;
+ protected Random rand = new Random();
+ private static ArrayList<Curse> curses = new ArrayList<Curse>();
+ public static ArrayList<Curse> availableCurses = new ArrayList<Curse>();
+
+ /**
+ * @param id the ID of the curse
+ * @param name the name of the curse
+ * @param texturepack the ID of the pack the texture is located in
+ */
+ protected Curse(int id, String name, int txtID, int texturepack)
+ {
+ this.id = id;
+ this.name = name;
+ this.texturepack = texturepack;
+ this.textureID = txtID;
+ curses.add(this);
+ availableCurses.add(this);
+ }
+
+ /**
+ * @return the name of the curse
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * @return the description of the curse
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ public Curse setDescription(String desc)
+ {
+ description = desc;
+ return this;
+ }
+
+ /**
+ * @return the curse ID
+ */
+ public int getID()
+ {
+ return id;
+ }
+
+ /**
+ * @return the texture pack ID
+ */
+ public int getTexturePack()
+ {
+ return texturepack;
+ }
+
+ public int getTextureID()
+ {
+ return textureID;
+ }
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void action(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void playerDeathAction(World world, EntityPlayer player)
+ {}
+
+ public void entityDeathAction(World world, EntityLivingBase target, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void respawnAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedAction(World world, EntityPlayer player)
+ {}
+
+ /**
+ * @param world
+ * @param player
+ */
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {}
+
+ public void entityDropItems(EntityPlayer player, Entity target, ArrayList<EntityItem> drops)
+ {}
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {}
+
+ public boolean itemToss()
+ {
+ return false;
+ }
+
+ /**
+ * @return
+ */
+ public static ArrayList<Curse> getCurseList()
+ {
+ return curses;
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f/10c9048a91e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f/10c9048a91e3001417b2e384bf7c3702
deleted file mode 100644
index ed399b8..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f/10c9048a91e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1F, 0.0F, 1.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, 0D, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f1/60bb815703e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f1/60bb815703e50014174fe663e69b8422
deleted file mode 100644
index 2a639d2..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f1/60bb815703e50014174fe663e69b8422
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null){
- if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getIcon(0, 0);
- }else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/00f951d59ce3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/00f951d59ce3001412c4c4819c88e86b
deleted file mode 100644
index f06b435..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/00f951d59ce3001412c4c4819c88e86b
+++ /dev/null
@@ -1,96 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.Block;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.item.EntityItem;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void breakBlock(World world, int i, int j, int k, Block par5, int par6)
- {
- TileEntityMidasTouch te = (TileEntityMidasTouch)world.getTileEntity(i, j, k);
- if (te.target != null) dropItem(te.getWorldObj(), te.xCoord, te.yCoord, te.zCoord, new ItemStack(Items.gold_nugget, (int)(te.target.width * te.target.height * 100), 0));
-// world.removeTileEntity(i, j, k);
- System.out.println("drop");
- super.breakBlock(world, i, j, k, par5, par6);
- }
-
- public void dropItem(World world, double x, double y, double z, ItemStack stack)
- {
- EntityItem entityitem = new EntityItem(world, x + 0.5D, y + 0.5D, z + 0.5D, stack);
- entityitem.motionX = 0;
- entityitem.motionZ = 0;
- entityitem.motionY = 0.11000000298023224D;
- world.spawnEntityInWorld(entityitem);
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/308b24a298ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/308b24a298ea001411cee0f8f86532a4
new file mode 100644
index 0000000..a307d00
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/308b24a298ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-16F, 15F, -16F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/a0e185aeb4ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/a0e185aeb4ea001411cee0f8f86532a4
new file mode 100644
index 0000000..5b38d47
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/a0e185aeb4ea001411cee0f8f86532a4
@@ -0,0 +1,32 @@
+package darkknight.jewelrycraft.item.render;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
+import net.minecraft.entity.Entity;
+import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.ResourceLocation;
+import org.lwjgl.opengl.GL11;
+import darkknight.jewelrycraft.model.ModelBracelet;
+import darkknight.jewelrycraft.util.Variables;
+
+public class BraceletRender extends TileEntitySpecialRenderer
+{
+ public ModelBracelet bracelet = new ModelBracelet();
+ ResourceLocation texture = new ResourceLocation(Variables.MODID, "textures/entities/Bracelet.png");
+
+ @Override
+ public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
+ {
+ }
+
+ public void doRender(Entity entity, double x, double y, double z, float f, float g)
+ {
+ GL11.glPushMatrix();
+ Minecraft.getMinecraft().renderEngine.bindTexture(texture);
+// System.out.println((int)x + " " + (int)z);
+ if ((int)z != 16777215) bracelet.render(entity, 0F, 0F, 0F, (float)z, f, 1.0F);
+ GL11.glTranslatef(0F, 3F, 0F);
+ if ((int)x != 16777215) bracelet.render(entity, 0F, 0F, 0F, (float)x, (float)y, 1.0F);
+ GL11.glPopMatrix();
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0a9941f9be3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0a9941f9be3001412c4c4819c88e86b
deleted file mode 100644
index 1055fc5..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0a9941f9be3001412c4c4819c88e86b
+++ /dev/null
@@ -1,95 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.Block;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.entity.item.EntityItem;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-import darkknight.jewelrycraft.tileentity.TileEntityMolder;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public void breakBlock(World world, int i, int j, int k, Block par5, int par6)
- {
- TileEntityMidasTouch te = (TileEntityMidasTouch)world.getTileEntity(i, j, k);
- if (te.target != null) dropItem(te.getWorldObj(), te.xCoord, te.yCoord, te.zCoord, new ItemStack(Items.gold_nugget, (int)(te.target.width * te.target.height), 0));
-// world.removeTileEntity(i, j, k);
- super.breakBlock(world, i, j, k, par5, par6);
- }
-
- public void dropItem(World world, double x, double y, double z, ItemStack stack)
- {
- EntityItem entityitem = new EntityItem(world, x + 0.5D, y + 0.5D, z + 0.5D, stack);
- entityitem.motionX = 0;
- entityitem.motionZ = 0;
- entityitem.motionY = 0.11000000298023224D;
- world.spawnEntityInWorld(entityitem);
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0d474f9aeea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0d474f9aeea001411cee0f8f86532a4
new file mode 100644
index 0000000..9f2f570
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f2/b0d474f9aeea001411cee0f8f86532a4
@@ -0,0 +1,190 @@
+/*
+ * Mod made by DarkKnight during the Modjam 3
+ * It's an awesome mod
+ * I love me! :D
+ */
+package darkknight.jewelrycraft;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Logger;
+import net.minecraft.creativetab.CreativeTabs;
+import net.minecraft.entity.Entity;
+import net.minecraft.item.Item;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.gen.structure.MapGenStructureIO;
+import net.minecraftforge.common.MinecraftForge;
+import net.minecraftforge.oredict.OreDictionary;
+import cpw.mods.fml.common.FMLCommonHandler;
+import cpw.mods.fml.common.Mod;
+import cpw.mods.fml.common.Mod.EventHandler;
+import cpw.mods.fml.common.Mod.Instance;
+import cpw.mods.fml.common.ModMetadata;
+import cpw.mods.fml.common.SidedProxy;
+import cpw.mods.fml.common.event.FMLInitializationEvent;
+import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.event.FMLServerStartingEvent;
+import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
+import cpw.mods.fml.common.registry.VillagerRegistry;
+import cpw.mods.fml.relauncher.Side;
+import darkknight.jewelrycraft.block.BlockList;
+import darkknight.jewelrycraft.client.gui.GuiHandler;
+import darkknight.jewelrycraft.commands.JewelrycraftCommands;
+import darkknight.jewelrycraft.config.ConfigHandler;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.effects.EffectsList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.events.BlockEventHandler;
+import darkknight.jewelrycraft.events.BucketHandler;
+import darkknight.jewelrycraft.events.EntityEventHandler;
+import darkknight.jewelrycraft.events.EventCommonHandler;
+import darkknight.jewelrycraft.events.KeyBindings;
+import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.network.PacketClearColorCache;
+import darkknight.jewelrycraft.network.PacketHandler;
+import darkknight.jewelrycraft.network.PacketKeyPressEvent;
+import darkknight.jewelrycraft.network.PacketRequestLiquidData;
+import darkknight.jewelrycraft.network.PacketRequestPlayerInfo;
+import darkknight.jewelrycraft.network.PacketRequestSetSlot;
+import darkknight.jewelrycraft.network.PacketSendServerPlayersInfo;
+import darkknight.jewelrycraft.network.PacketSendLiquidData;
+import darkknight.jewelrycraft.network.PacketSendClientPlayerInfo;
+import darkknight.jewelrycraft.proxy.CommonProxy;
+import darkknight.jewelrycraft.recipes.CraftingRecipes;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.Variables;
+import darkknight.jewelrycraft.worldGen.Generation;
+import darkknight.jewelrycraft.worldGen.village.ComponentJewelry;
+import darkknight.jewelrycraft.worldGen.village.JCTrades;
+import darkknight.jewelrycraft.worldGen.village.VillageJewelryHandler;
+
+@Mod (modid = Variables.MODID, name = Variables.MODNAME, version = Variables.VERSION, guiFactory = Variables.CONFIG_GUI, acceptedMinecraftVersions = "[1.7.10,1.8)", canBeDeactivated = true)
+public class JewelrycraftMod
+{
+ @Instance (Variables.MODID)
+ public static JewelrycraftMod instance;
+
+ @SidedProxy (clientSide = Variables.CLIENT_PROXY, serverSide = Variables.SERVER_PROXY)
+ public static CommonProxy proxy;
+ public static final Logger logger = Logger.getLogger("Jewelrycraft");
+ public static File dir;
+
+ public static CreativeTabs jewelrycraft = new CreativeTabs(Variables.MODID){
+ @Override
+ public Item getTabIconItem()
+ {
+ return Item.getItemFromBlock(BlockList.jewelCraftingTable);
+ }
+ };
+
+ public static CreativeTabs liquids = new CreativeTabLiquids("Liquids");
+ public static NBTTagCompound saveData = new NBTTagCompound();
+ public static NBTTagCompound clientData = new NBTTagCompound();
+ public static File liquidsConf;
+ public static SimpleNetworkWrapper netWrapper;
+ public static boolean fancyRender;
+
+ /**
+ * Pre initialization of mod stuff.
+ *
+ * @param e FMLPreInitializationEvent
+ * @throws IOException Signals that an I/O exception has occurred.
+ */
+ @EventHandler
+ public void preInit(FMLPreInitializationEvent e) throws IOException
+ {
+ ConfigHandler.INSTANCE.loadConfig(e);
+ BlockList.preInit(e);
+ ItemList.preInit(e);
+ CraftingRecipes.preInit(e);
+ CurseList.preInit(e);
+ OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot));
+ OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre));
+ VillagerRegistry.instance().registerVillagerId(3000);
+ VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades());
+ VillagerRegistry.instance().registerVillageCreationHandler(new VillageJewelryHandler());
+ try{
+ MapGenStructureIO.func_143031_a(ComponentJewelry.class, Variables.MODID + ":Jewelry");
+ }
+ catch(Throwable e2){
+ logger.severe("Error registering Jewelrycraft Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.10");
+ }
+ MinecraftForge.EVENT_BUS.register(new EntityEventHandler());
+ MinecraftForge.EVENT_BUS.register(new BlockEventHandler());
+ MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
+ FMLCommonHandler.instance().bus().register(new EventCommonHandler());
+ BucketHandler.INSTANCE.buckets.put(BlockList.moltenMetal, ItemList.bucket);
+
+ ModMetadata metadata = e.getModMetadata();
+ List<String> authorList = new ArrayList<String>();
+
+ authorList.add("OnyxDarkKnight");
+ authorList.add("bspkrs");
+ authorList.add("domi1819");
+
+ dir = e.getModConfigurationDirectory();
+ proxy.preInit();
+ PacketHandler.preInit(e);
+
+ metadata.autogenerated = false;
+ metadata.authorList = authorList;
+ metadata.url = "https://github.com/sor1n/Jewelrycraft";
+
+ createEntity(EntityHeart.class, Variables.MODID + ".Heart", 0xFF0000, 0xFF0000, false);
+ createEntity(EntityHalfHeart.class, Variables.MODID + ".Half-Heart", 0x000000, 0xFF0000, false);
+
+ }
+
+ public void createEntity(Class<? extends Entity> entity, String entityName, int solidColor, int spotColor, boolean hasSpawnEgg)
+ {
+ int randomID = EntityRegistry.findGlobalUniqueEntityId();
+ if(hasSpawnEgg) EntityRegistry.registerGlobalEntityID(entity, entityName, randomID, solidColor, spotColor);
+ else EntityRegistry.registerGlobalEntityID(entity, entityName, randomID);
+ EntityRegistry.registerModEntity(entity, entityName, randomID, this, 40, 3, true);
+ }
+
+ /**
+ * Initializes the world generation and key bindings.
+ *
+ * @param e FMLInitializationEvent
+ */
+ @EventHandler
+ public void init(FMLInitializationEvent e)
+ {
+ GameRegistry.registerWorldGenerator(new Generation(), 0);
+ if (FMLCommonHandler.instance().getSide() == Side.CLIENT) FMLCommonHandler.instance().bus().register(new KeyBindings());
+ new GuiHandler();
+ FMLCommonHandler.instance().bus().register(ConfigHandler.INSTANCE);
+ }
+
+ /**
+ * Post initialization of metals, modifiers and others.
+ *
+ * @param e FMLPostInitializationEvent
+ */
+ @EventHandler
+ public void postInit(FMLPostInitializationEvent e)
+ {
+ JewelrycraftUtil.addMetals();
+ JewelrycraftUtil.jamcrafters();
+ EffectsList.postInit(e);
+ DamageSourceList.postInit(e);
+ proxy.postInit();
+ }
+
+ @Mod.EventHandler
+ public void serverLoad(FMLServerStartingEvent event)
+ {
+ event.registerServerCommand(new JewelrycraftCommands());
+ }
+
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/c0c8f29707e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f3/2044223785ea001411cee0f8f86532a4
index ec1b0c0..446cf92 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/5/c0c8f29707e50014174fe663e69b8422
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f3/2044223785ea001411cee0f8f86532a4
@@ -7,6 +7,7 @@ import net.minecraftforge.client.MinecraftForgeClient;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.client.registry.RenderingRegistry;
+import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.registry.VillagerRegistry;
import darkknight.jewelrycraft.block.BlockList;
import darkknight.jewelrycraft.client.InventoryTabVanilla;
@@ -52,10 +53,8 @@ public class ClientProxy extends CommonProxy
@Override
public void preInit()
{
- ResourceLocation pedestalResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
- TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(pedestalResourceLocation), pedestalResourceLocation);
- ResourceLocation shadowResourceLocation = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
- TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(shadowResourceLocation), shadowResourceLocation);
+ TileEntityHandPedestalRender pedestalRender = new TileEntityHandPedestalRender(new ModelHandPedestal(Variables.PEDESTAL_TEXTURE), Variables.PEDESTAL_TEXTURE);
+ TileEntityShadowHandRender shadowHandRender = new TileEntityShadowHandRender(new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE), Variables.SHADOW_HAND_TEXTURE);
ClientRegistry.bindTileEntitySpecialRenderer(TileEntitySmelter.class, new TileEntitySmelterRender());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMolder.class, new TileEntityMolderRender());
@@ -71,21 +70,20 @@ public class ClientProxy extends CommonProxy
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.smelter), new ItemRender(new TileEntitySmelterRender(), new TileEntitySmelter(), new ModelSmelter()));
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.molder), new ItemRender(new TileEntityMolderRender(), new TileEntityMolder(), new ModelMolder()));
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowEye), new ItemRender(new TileEntityShadowEyeRender(), new TileEntityShadowEye(), new ModelShadowEye()));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(pedestalResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(shadowResourceLocation)));
- MinecraftForgeClient.registerItemRenderer(ItemList.goldObj, new ItemRender(null));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.handPedestal), new ItemRender(pedestalRender, new TileEntityHandPedestal(), new ModelHandPedestal(Variables.PEDESTAL_TEXTURE)));
+ MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(BlockList.shadowHand), new ItemRender(shadowHandRender, new TileEntityShadowHand(), new ModelShadowHand(Variables.SHADOW_HAND_TEXTURE)));
+ MinecraftForgeClient.registerItemRenderer(ItemList.goldObj, new ItemRender());
- VillagerRegistry.instance().registerVillagerSkin(3000, new ResourceLocation(Variables.MODID, "textures/entities/jeweler.png"));
+ VillagerRegistry.instance().registerVillagerSkin(3000, Variables.VILLAGER_TEXTURE);
RenderingRegistry.registerEntityRenderingHandler(EntityHeart.class, new HeartRender(new ModelHeart(), 0.25F));
RenderingRegistry.registerEntityRenderingHandler(EntityHalfHeart.class, new HeartRender(new ModelHalfHeart(), 0.25F));
-
+
TabRegistry.registerTab(new InventoryTabVanilla());
TabRegistry.registerTab(new TabJewelry());
MinecraftForge.EVENT_BUS.register(new TabRegistry());
MinecraftForge.EVENT_BUS.register(new PlayerRenderHandler());
- ResourceLocation jeweleryTexture = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), jeweleryTexture));
+ MinecraftForge.EVENT_BUS.register(new ScreenHandler(Minecraft.getMinecraft(), Variables.CURSES_TEXTURE));
}
@Override
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f3/f03670018ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f3/f03670018ee3001417b2e384bf7c3702
deleted file mode 100644
index 07f5a94..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f3/f03670018ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,24 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor4f(1F, 0.0F, 0.0F, 1F);
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/a015049497e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/a015049497e3001412c4c4819c88e86b
deleted file mode 100644
index 0199fbb..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/a015049497e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(-((TileEntityMidasTouch)tile).target.width, 0F, -((TileEntityMidasTouch)tile).target.width, ((TileEntityMidasTouch)tile).target.width, ((TileEntityMidasTouch)tile).target.height, ((TileEntityMidasTouch)tile).target.width);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/b08f72dafce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/b08f72dafce40014174fe663e69b8422
deleted file mode 100644
index a499d75..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f4/b08f72dafce40014174fe663e69b8422
+++ /dev/null
@@ -1,46 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.StatCollector;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public abstract class ItemGoldifiedObject extends Item
-{
- public ItemGoldifiedObject()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- if (JewelryNBT.gem(stack) != null) return this.getIconIndex(JewelryNBT.gem(stack));
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return (StatCollector.translateToLocal(getUnlocalizedNameInefficiently(stack) + ".name")).trim();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/40205b7887ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/40205b7887ea001411cee0f8f86532a4
new file mode 100644
index 0000000..03d31d0
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/40205b7887ea001411cee0f8f86532a4
@@ -0,0 +1,65 @@
+package darkknight.jewelrycraft.curses;
+
+import org.lwjgl.opengl.GL11;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLiving;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.SharedMonsterAttributes;
+import net.minecraft.entity.monster.EntityMob;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.world.World;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import darkknight.jewelrycraft.damage.DamageSourceList;
+import darkknight.jewelrycraft.entities.EntityHalfHeart;
+import darkknight.jewelrycraft.entities.EntityHeart;
+import darkknight.jewelrycraft.entities.renders.RenderHelper;
+import darkknight.jewelrycraft.item.render.MaskRender;
+import darkknight.jewelrycraft.util.JewelrycraftUtil;
+import darkknight.jewelrycraft.util.PlayerUtils;
+import darkknight.jewelrycraft.util.Variables;
+
+public class CurseInfamy extends Curse
+{
+ MaskRender mask = new MaskRender();
+ public CurseInfamy(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+ @Override
+ public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
+ {
+ if (rand.nextInt(5) == 0 && !world.isRemote && !(target instanceof EntityMob) && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && target.canAttackWithItem()){
+ NBTTagCompound playerInfo = PlayerUtils.getModPlayerPersistTag(player, Variables.MODID);
+ if (playerInfo.getFloat("BlackHeart") < 20F) playerInfo.setFloat("BlackHeart", playerInfo.getFloat("BlackHeart") + 1.0F);
+ if (player.getMaxHealth() >= 3F){
+ player.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(player.getMaxHealth() - 1.0F);
+ player.setHealth(player.getHealth() - 1.0F);
+ }
+ JewelrycraftUtil.addCursePoints(player, 10);
+ }
+ }
+
+ public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
+ {
+ float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * event.partialRenderTick;
+ float yawOffset = player.prevRenderYawOffset + (player.renderYawOffset - player.prevRenderYawOffset) * event.partialRenderTick;
+ float pitch = player.prevRotationPitch + (player.rotationPitch - player.prevRotationPitch) * event.partialRenderTick;
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ GL11.glRotatef(yawOffset, 0, -1, 0);
+ GL11.glRotatef(yaw - 90, 0, 1, 0);
+ GL11.glRotatef(pitch, 0, 0, -1);
+ GL11.glRotatef(90F, 0, 1F, 0F);
+ RenderHelper.translateToHeadLevel(player);
+ GL11.glScalef(1.6f, 1.6f, 1.6f);
+ GL11.glTranslatef(-0.25F, -0.25F, -0.25F);
+ mask.doRender(event.entityPlayer, 0F, 0F, 0F, 0F, 0F);
+ GL11.glPopMatrix();
+ }
+
+ public String getDescription()
+ {
+ return "What have you done?!";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/4093e81d8ee3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/4093e81d8ee3001417b2e384bf7c3702
deleted file mode 100644
index be1ccdc..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/4093e81d8ee3001417b2e384bf7c3702
+++ /dev/null
@@ -1,25 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glColor4f(1F, 0.0F, 1.0F, 0.3F);
- GL11.glTranslatef(0.5F, 0.0F, 0.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- RenderManager.instance.renderEntityStatic(midas.target, 1F, false);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/602433bf74e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/602433bf74e70014115de2bb951f0adf
deleted file mode 100644
index 2943ec9..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/602433bf74e70014115de2bb951f0adf
+++ /dev/null
@@ -1,63 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CursePentagram extends Curse
-{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- Tessellator tessellator = Tessellator.instance;
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
- GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 1F, 1F);
- GL11.glRotatef(90F, 1F, 0F, 0F);
- float f = 0.00390625F;
- float f1 = 0.00390625F;
- int x = 0;
- int y = 0;
- int u = 0;
- int v = 0;
- int width = 32;
- int height = 32;
- tessellator.startDrawingQuads();
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
- tessellator.draw();
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/c0204a4dfde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/c0204a4dfde40014174fe663e69b8422
deleted file mode 100644
index c3781ad..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f5/c0204a4dfde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldObject();
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f6/40e2247284ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f6/40e2247284ea001411cee0f8f86532a4
new file mode 100644
index 0000000..276342c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f6/40e2247284ea001411cee0f8f86532a4
@@ -0,0 +1,19 @@
+package darkknight.jewelrycraft.util;
+
+import net.minecraft.util.ResourceLocation;
+
+public class Variables
+{
+ public static final String MODID = "jewelrycraft2";
+ public static final String MODNAME = "Jewelrycraft 2";
+ public static final String VERSION = "1.0";
+ public static final String PACKET_CHANNEL = "jewelrycraft2";
+
+ public static final String CONFIG_GUI = "darkknight.jewelrycraft.config.ConfigGuiFactory";
+ public static final String CLIENT_PROXY = "darkknight.jewelrycraft.proxy.ClientProxy";
+ public static final String SERVER_PROXY = "darkknight.jewelrycraft.proxy.CommonProxy";
+
+ public static final int MAX_CURSES = 10;
+ public static final ResourceLocation PEDESTAL_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/BricksPedestal.png");
+ public static final ResourceLocation SHADOW_HAND_TEXTURE = new ResourceLocation(Variables.MODID, "textures/tileentities/ShadowHand.png");
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f7/80a33c36fde40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f7/80a33c36fde40014174fe663e69b8422
deleted file mode 100644
index f395f9f..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f7/80a33c36fde40014174fe663e69b8422
+++ /dev/null
@@ -1,65 +0,0 @@
-package darkknight.jewelrycraft.item;
-
-import net.minecraft.item.Item;
-import cpw.mods.fml.common.event.FMLPreInitializationEvent;
-import cpw.mods.fml.common.registry.GameRegistry;
-import darkknight.jewelrycraft.JewelrycraftMod;
-import darkknight.jewelrycraft.util.Variables;
-
-public class ItemList
-{
- public static Item thiefGloves;
- public static Item shadowIngot;
- public static Item molds;
- public static Item clayMolds;
- public static Item crystal;
- public static ItemRing ring;
- public static ItemNecklace necklace;
- public static ItemBracelet bracelet;
- public static ItemEarrings earrings;
- public static Item guide;
- public static Item jewelryModifier;
- public static ItemMoltenMetalBucket bucket;
- public static ItemMoltenMetal metal;
- public static Item goldifiedObject;
- private static boolean isInitialized = false;
-
- /**
- * @param e
- */
- public static void preInit(FMLPreInitializationEvent e)
- {
- if (!isInitialized){
- thiefGloves = new ItemThiefGloves().setUnlocalizedName(Variables.MODID + ".thiefGloves").setTextureName(Variables.MODID + ":thiefGloves").setCreativeTab(JewelrycraftMod.jewelrycraft);
- shadowIngot = new Item().setUnlocalizedName(Variables.MODID + ".ingotShadow").setTextureName(Variables.MODID + ":ingotShadow").setCreativeTab(JewelrycraftMod.jewelrycraft);
- molds = new ItemMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- clayMolds = new ItemClayMolds().setUnlocalizedName(Variables.MODID + ".mold").setTextureName("Mold").setCreativeTab(JewelrycraftMod.jewelrycraft);
- ring = (ItemRing)new ItemRing().setUnlocalizedName(Variables.MODID + ".ring").setTextureName(Variables.MODID + ":ring").setCreativeTab(JewelrycraftMod.jewelrycraft);
- necklace = (ItemNecklace)new ItemNecklace().setUnlocalizedName(Variables.MODID + ".necklace").setTextureName(Variables.MODID + ":necklace").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bracelet = (ItemBracelet)new ItemBracelet().setUnlocalizedName(Variables.MODID + ".bracelet").setTextureName(Variables.MODID + ":bracelet").setCreativeTab(JewelrycraftMod.jewelrycraft);
- earrings = (ItemEarrings)new ItemEarrings().setUnlocalizedName(Variables.MODID + ".earrings").setTextureName(Variables.MODID + ":earrings").setCreativeTab(JewelrycraftMod.jewelrycraft);
- crystal = new ItemCrystal().setUnlocalizedName(Variables.MODID + ".crystal").setTextureName(Variables.MODID + ":crystal").setCreativeTab(JewelrycraftMod.jewelrycraft);
- guide = new ItemGuide().setUnlocalizedName(Variables.MODID + ".guide").setTextureName(Variables.MODID + ":guide").setCreativeTab(JewelrycraftMod.jewelrycraft);
- bucket = (ItemMoltenMetalBucket)new ItemMoltenMetalBucket().setUnlocalizedName(Variables.MODID + ".bucket");
- metal = (ItemMoltenMetal)new ItemMoltenMetal().setUnlocalizedName(Variables.MODID + ".bucket");
- jewelryModifier = new ItemJewelryModifier().setUnlocalizedName(Variables.MODID + ".jewelryModifier").setTextureName(Variables.MODID + ":jewelryModifier").setCreativeTab(JewelrycraftMod.jewelrycraft);
- goldifiedObject = new ItemGoldifiedObject().setUnlocalizedName(Variables.MODID + ".goldifiedObject");
-
- GameRegistry.registerItem(thiefGloves, "thiefGloves");
- GameRegistry.registerItem(shadowIngot, "shadowIngot");
- GameRegistry.registerItem(molds, "molds");
- GameRegistry.registerItem(clayMolds, "clayMolds");
- GameRegistry.registerItem(ring, "ring");
- GameRegistry.registerItem(necklace, "necklace");
- GameRegistry.registerItem(bracelet, "bracelet");
- GameRegistry.registerItem(earrings, "earrings");
- GameRegistry.registerItem(crystal, "crystal");
- GameRegistry.registerItem(guide, "guide");
- GameRegistry.registerItem(bucket, "moltenMetalBucket");
- GameRegistry.registerItem(metal, "moltenMetal");
- GameRegistry.registerItem(jewelryModifier, "jewelryModifier");
- GameRegistry.registerItem(goldifiedObject, "goldifiedObject");
- isInitialized = true;
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/007cb0a590e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/007cb0a590e3001417b2e384bf7c3702
deleted file mode 100644
index eec4f55..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/007cb0a590e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,85 +0,0 @@
-package darkknight.jewelrycraft.tileentity;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.network.NetworkManager;
-import net.minecraft.network.Packet;
-import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
-import net.minecraft.tileentity.TileEntity;
-
-public class TileEntityMidasTouch extends TileEntity
-{
- public Entity target;
-
- public TileEntityMidasTouch()
- {
- }
-
- public void setEntity(Entity ent)
- {
- target = ent;
- }
-
- @Override
- public void writeToNBT(NBTTagCompound nbt)
- {
- super.writeToNBT(nbt);
- if (target != null){
- int id = EntityList.getEntityID(target);
- NBTTagCompound tag = new NBTTagCompound();
- target.writeToNBT(tag);
- nbt.setInteger("entityID", id);
- nbt.setTag("entity", tag);
- }
- }
-
- /**
- * @param nbt
- */
- @Override
- public void readFromNBT(NBTTagCompound nbt)
- {
- super.readFromNBT(nbt);
- if (nbt.hasKey("entityID") && nbt.hasKey("entity")){
- NBTTagCompound en = (NBTTagCompound)nbt.getTag("entity");
- int entityID = nbt.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, worldObj);
- entity.readFromNBT(en);
- target = entity;
- }
- }
-
- /**
- *
- */
- @Override
- public void updateEntity()
- {
- super.updateEntity();
- // System.out.println(target);
- }
-
- /**
- * @return
- */
- @Override
- public Packet getDescriptionPacket()
- {
- NBTTagCompound nbttagcompound = new NBTTagCompound();
- writeToNBT(nbttagcompound);
- return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound);
- }
-
- /**
- * @param net
- * @param packet
- */
- @Override
- public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet)
- {
- readFromNBT(packet.func_148857_g());
- worldObj.func_147479_m(xCoord, yCoord, zCoord);
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/00dc645002e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/00dc645002e50014174fe663e69b8422
deleted file mode 100644
index f13e940..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/00dc645002e50014174fe663e69b8422
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) if (Block.getBlockFromItem(item.getItem()) == Blocks.air) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return Block.getBlockFromItem(item.getItem()).getIcon(0, 0);
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/60e51a8387ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/60e51a8387ea001411cee0f8f86532a4
new file mode 100644
index 0000000..1b32080
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/60e51a8387ea001411cee0f8f86532a4
@@ -0,0 +1,23 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+
+public class CurseFlamingSoul extends Curse
+{
+ public CurseFlamingSoul(String name, int txtID, int packID)
+ {
+ super(name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ if (!player.isBurning() && rand.nextInt(20) == 0) player.setFire(5);
+ }
+
+ public String getDescription()
+ {
+ return "Is it me or is it getting hot in here?";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/802b95f798e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/802b95f798e3001412c4c4819c88e86b
deleted file mode 100644
index 1c311a2..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f8/802b95f798e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
-// System.out.println(midas.target.rotationYaw);
-// GL11.glRotatef(, 0.0F, 1.0F, 0.0F);
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 23F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/100285e848e700141e05cdbaeb682437 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/100285e848e700141e05cdbaeb682437
deleted file mode 100644
index 295a776..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/100285e848e700141e05cdbaeb682437
+++ /dev/null
@@ -1,770 +0,0 @@
-package darkknight.jewelrycraft.util;
-
-import java.util.ArrayList;
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.EntityList;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-import net.minecraft.nbt.NBTTagList;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.World;
-
-public class JewelryNBT
-{
- // TODO NBT Tag Adding
- public static void addItem(ItemStack item, ItemStack target)
- {
- if (target != null){
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound targetNBT = new NBTTagCompound();
- target.writeToNBT(targetNBT);
- itemStackData.setTag("target", targetNBT);
- }
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param metal The metal you want to add on the item
- */
- public static void addMetal(ItemStack item, ItemStack metal)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound ingotNBT = new NBTTagCompound();
- metal.writeToNBT(ingotNBT);
- itemStackData.setTag("ingot", ingotNBT);
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param gem The gem you want to add on the item
- */
- public static void addGem(ItemStack item, ItemStack gem)
- {
- if (gem != null){
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound gemNBT = new NBTTagCompound();
- gem.writeToNBT(gemNBT);
- itemStackData.setTag("gem", gemNBT);
- }
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param modifier The modifier you want to add on the item
- */
- public static void addModifiers(ItemStack item, ArrayList<ItemStack> modifier)
- {
- if (modifier != null){
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- for(int i = 0; i < modifier.size(); i++){
- NBTTagCompound modifierNBT = new NBTTagCompound();
- modifier.get(i).writeToNBT(modifierNBT);
- itemStackData.setTag("modifier" + i, modifierNBT);
- }
- itemStackData.setInteger("modifierSize", modifier.size());
- }
- }
-
- /**
- * @param item The item you want to add the NBT data on
- * @param entity The entity to add on the item
- */
- public static void addEntity(ItemStack item, EntityLivingBase entity)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound entityNBT = new NBTTagCompound();
- entity.writeToNBT(entityNBT);
- itemStackData.setTag("entity", entityNBT);
- }
-
- /**
- * @param item
- * @param entity
- */
- public static void addEntityID(ItemStack item, EntityLivingBase entity)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound entityNBT = new NBTTagCompound();
- int id = EntityList.getEntityID(entity);
- entityNBT.setInteger("entityID", id);
- itemStackData.setTag("entityID", entityNBT);
- }
-
- /**
- * @param item
- * @param x
- * @param y
- * @param z
- */
- public static void addCoordonates(ItemStack item, double x, double y, double z)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound coords = new NBTTagCompound();
- coords.setDouble("x", x);
- coords.setDouble("y", y);
- coords.setDouble("z", z);
- itemStackData.setTag("x", coords);
- itemStackData.setTag("y", coords);
- itemStackData.setTag("z", coords);
- }
-
- /**
- * @param item
- * @param world
- * @param x
- * @param y
- * @param z
- */
- public static void addTileEntityBlock(ItemStack item, World world, int x, int y, int z)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound tileNBT = new NBTTagCompound();
- NBTTagCompound block = new NBTTagCompound();
- world.getTileEntity(x, y, z).writeToNBT(tileNBT);
- itemStackData.setTag("tile", tileNBT);
- block.setInteger("blockID", Block.getIdFromBlock(world.getBlock(x, y, z)));
- block.setInteger("metadata", world.getBlockMetadata(x, y, z));
- block.setInteger("blockX", x);
- block.setInteger("blockY", y);
- block.setInteger("blockZ", z);
- itemStackData.setTag("metadata", block);
- itemStackData.setTag("blockID", block);
- itemStackData.setTag("blockX", block);
- itemStackData.setTag("blockY", block);
- itemStackData.setTag("blockZ", block);
- }
-
- /**
- * @param item
- * @param block
- * @param metadata
- */
- public static void addBlock(ItemStack item, int block, int metadata)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound blockNBT = new NBTTagCompound();
- blockNBT.setInteger("blockID", block);
- itemStackData.setTag("blockID", blockNBT);
- blockNBT.setInteger("metadata", metadata);
- itemStackData.setTag("metadata", blockNBT);
- }
-
- /**
- * @param item
- * @param x
- * @param y
- * @param z
- */
- public static void addBlockCoordonates(ItemStack item, int x, int y, int z)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound coords = new NBTTagCompound();
- coords.setInteger("blockX", x);
- coords.setInteger("blockY", y);
- coords.setInteger("blockZ", z);
- itemStackData.setTag("blockX", coords);
- itemStackData.setTag("blockY", coords);
- itemStackData.setTag("blockZ", coords);
- }
-
- /**
- * @param item
- * @param x
- * @param y
- * @param z
- * @param dim
- * @param name
- */
- public static void addCoordonatesAndDimension(ItemStack item, double x, double y, double z, int dim, String name)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound coords = new NBTTagCompound();
- coords.setDouble("x", x);
- coords.setDouble("y", y);
- coords.setDouble("z", z);
- coords.setInteger("dimension", dim);
- coords.setString("dimName", name);
- itemStackData.setTag("x", coords);
- itemStackData.setTag("y", coords);
- itemStackData.setTag("z", coords);
- itemStackData.setTag("dimension", coords);
- itemStackData.setTag("dimName", coords);
- }
-
- /**
- * @param item
- */
- public static void addFakeEnchantment(ItemStack item)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- itemStackData.setTag("ench", new NBTTagList());
- }
-
- /**
- * @param item
- * @param color
- */
- public static void addIngotColor(ItemStack item, int color)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound colors = new NBTTagCompound();
- colors.setInteger("ingotColor", color);
- itemStackData.setTag("ingotColor", colors);
- }
-
- // TODO
- /**
- * @param item
- * @param color
- */
- public static void addGemColor(ItemStack item, int color)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound colors = new NBTTagCompound();
- colors.setInteger("gemColor", color);
- itemStackData.setTag("gemColor", colors);
- }
-
- /**
- * @param item
- * @param list
- */
- @SuppressWarnings ("rawtypes")
- public static void addEntities(ItemStack item, List list)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- NBTTagCompound entityNBT = new NBTTagCompound();
- for(int i = 0; i < list.size(); i++)
- ((EntityLivingBase)list.get(i)).writeToNBT(entityNBT);
- itemStackData.setTag("entities", entityNBT);
- }
-
- // TODO NBT Tag Removing
- /**
- * @param item
- * @param tag
- */
- public static void removeNBT(ItemStack item, String tag)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- itemStackData.removeTag(tag);
- }
-
- /**
- * @param item
- */
- public static void removeEntity(ItemStack item)
- {
- JewelryNBT.removeNBT(item, "entityID");
- JewelryNBT.removeNBT(item, "entity");
- JewelryNBT.removeNBT(item, "ench");
- }
-
- /**
- * @param item
- */
- public static void removeBlock(ItemStack item)
- {
- JewelryNBT.removeNBT(item, "blockID");
- JewelryNBT.removeNBT(item, "metadata");
- JewelryNBT.removeNBT(item, "tile");
- JewelryNBT.removeNBT(item, "blockX");
- JewelryNBT.removeNBT(item, "blockY");
- JewelryNBT.removeNBT(item, "blockZ");
- }
-
- // TODO NTB Tag Checking
- /**
- * @param item
- * @param tag
- * @return
- */
- public static boolean hasTag(ItemStack item, String tag)
- {
- NBTTagCompound itemStackData;
- if (item.hasTagCompound()) itemStackData = item.getTagCompound();
- else{
- itemStackData = new NBTTagCompound();
- item.setTagCompound(itemStackData);
- }
- if (itemStackData.hasKey(tag)) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param gem
- * @return
- */
- public static boolean isGemX(ItemStack stack, ItemStack gem)
- {
- if (gem(stack) != null && gem(stack).getItem() == gem.getItem() && gem(stack).getItemDamage() == gem.getItemDamage()) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param modifier
- * @return
- */
- public static boolean doesModifierExist(ItemStack stack, ItemStack modifier)
- {
- if (modifier(stack) != null){
- ArrayList<ItemStack> list = modifier(stack);
- for(int i = 0; i < list.size(); i++)
- if (list.get(i).getItem() == modifier.getItem() && list.get(i).getItemDamage() == modifier.getItemDamage()) return true;
- }
- return false;
- }
-
- public static int modifierSize(ItemStack stack, ItemStack modifier)
- {
- if (modifier(stack) != null){
- ArrayList<ItemStack> list = modifier(stack);
- for(int i = 0; i < list.size(); i++)
- if (list.get(i).getItem() == modifier.getItem() && list.get(i).getItemDamage() == modifier.getItemDamage()) return list.get(i).stackSize;
- }
- return -1;
- }
-
- public static int numberOfModifiers(ItemStack stack)
- {
- if (modifier(stack) != null) return modifier(stack).size();
- return -1;
- }
-
- /**
- * @param stack
- * @param ingot
- * @return
- */
- public static boolean isIngotX(ItemStack stack, ItemStack ingot)
- {
- if (ingot(stack) != null && ingot(stack).getItem() == ingot.getItem() && ingot(stack).getItemDamage() == ingot.getItemDamage()) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param player
- * @param entity
- * @return
- */
- public static boolean isEntityX(ItemStack stack, EntityPlayer player, EntityLivingBase entity)
- {
- if (entity != null && entity instanceof EntityLivingBase && entity(stack, player) != null && entity(stack, player).equals(entity)) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param dimName
- * @return
- */
- public static boolean isDimNameX(ItemStack stack, String dimName)
- {
- if (ingot(stack) != null && dimName(stack).equals(dimName)) return true;
- return false;
- }
-
- /**
- * @param stack
- * @param dimension
- * @return
- */
- public static boolean isDimensionX(ItemStack stack, int dimension)
- {
- if (dimension(stack) != -2 && dimension(stack) == dimension) return true;
- return false;
- }
-
- // TODO Return components based on NBT
- public static ItemStack item(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("target")){
- NBTTagCompound itemNBT = (NBTTagCompound)stack.getTagCompound().getTag("target");
- ItemStack target = new ItemStack(Item.getItemById(0), 0, 0);
- target.readFromNBT(itemNBT);
- return target;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static ItemStack gem(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("gem")){
- NBTTagCompound jewelNBT = (NBTTagCompound)stack.getTagCompound().getTag("gem");
- ItemStack gem = new ItemStack(Item.getItemById(0), 0, 0);
- gem.readFromNBT(jewelNBT);
- return gem;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static ArrayList<ItemStack> modifier(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound()){
- int size = stack.getTagCompound().getInteger("modifierSize");
- ArrayList<ItemStack> list = new ArrayList<ItemStack>();
- for(int i = 0; i < size; i++){
- ItemStack modifier = new ItemStack(Item.getItemById(0), 0, 0);
- NBTTagCompound modifierNBT = (NBTTagCompound)stack.getTagCompound().getTag("modifier" + i);
- modifier.readFromNBT(modifierNBT);
- list.add(modifier);
- }
- return list;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static ItemStack ingot(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("ingot")){
- NBTTagCompound ingotNBT = (NBTTagCompound)stack.getTagCompound().getTag("ingot");
- ItemStack ingot = new ItemStack(Item.getItemById(0), 0, 0);
- ingot.readFromNBT(ingotNBT);
- return ingot;
- }
- return null;
- }
-
- /**
- * @param stack
- * @param player
- * @return
- */
- public static EntityLivingBase entity(ItemStack stack, EntityPlayer player)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("entityID") && stack.getTagCompound().hasKey("entity")){
- NBTTagCompound enID = (NBTTagCompound)stack.getTagCompound().getTag("entityID");
- NBTTagCompound en = (NBTTagCompound)stack.getTagCompound().getTag("entity");
- int entityID = 0;
- entityID = enID.getInteger("entityID");
- EntityLivingBase entity = (EntityLivingBase)EntityList.createEntityByID(entityID, player.worldObj);
- if (entity != null && entity instanceof EntityLivingBase){
- entity.readFromNBT(en);
- return entity;
- }else return null;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static TileEntity tileEntity(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("tile")){
- NBTTagCompound tileNBT = (NBTTagCompound)stack.getTagCompound().getTag("tile");
- TileEntity tile = TileEntity.createAndLoadEntity(tileNBT);
- if (tile != null && tile instanceof TileEntity){
- tile.readFromNBT(tileNBT);
- return tile;
- }else return null;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static String dimName(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("dimName")){
- NBTTagCompound dim = (NBTTagCompound)stack.getTagCompound().getTag("dimName");
- String name = dim.getString("dimName");
- return name;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static String modeName(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("mode")){
- NBTTagCompound dim = (NBTTagCompound)stack.getTagCompound().getTag("mode");
- String name = dim.getString("mode");
- return name;
- }
- return null;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int dimension(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("dimension")){
- NBTTagCompound dim = (NBTTagCompound)stack.getTagCompound().getTag("dimension");
- int dimension = dim.getInteger("dimension");
- return dimension;
- }
- return -2;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockCoordX(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockX")){
- NBTTagCompound x = (NBTTagCompound)stack.getTagCompound().getTag("blockX");
- int posX = x.getInteger("blockX");
- return posX;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockCoordY(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockY")){
- NBTTagCompound y = (NBTTagCompound)stack.getTagCompound().getTag("blockY");
- int posY = y.getInteger("blockY");
- return posY;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockCoordZ(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockZ")){
- NBTTagCompound z = (NBTTagCompound)stack.getTagCompound().getTag("blockZ");
- int posZ = z.getInteger("blockZ");
- return posZ;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockID(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("blockID")){
- NBTTagCompound blockID = (NBTTagCompound)stack.getTagCompound().getTag("blockID");
- int blockId = blockID.getInteger("blockID");
- return blockId;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int blockMetadata(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("metadata")){
- NBTTagCompound metadataNBT = (NBTTagCompound)stack.getTagCompound().getTag("metadata");
- int metadata = metadataNBT.getInteger("metadata");
- return metadata;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static double playerPosX(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("x")){
- NBTTagCompound x = (NBTTagCompound)stack.getTagCompound().getTag("x");
- double posX = x.getDouble("x");
- return posX;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static double playerPosY(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("y")){
- NBTTagCompound y = (NBTTagCompound)stack.getTagCompound().getTag("y");
- double posY = y.getDouble("y");
- return posY;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static double playerPosZ(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("z")){
- NBTTagCompound z = (NBTTagCompound)stack.getTagCompound().getTag("z");
- double posZ = z.getDouble("z");
- return posZ;
- }
- return -1;
- }
-
- /**
- * @param stack
- * @return
- */
- public static int ingotColor(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("ingotColor")){
- NBTTagCompound colors = (NBTTagCompound)stack.getTagCompound().getTag("ingotColor");
- int color = colors.getInteger("ingotColor");
- return color;
- }
- return 16777215;
- }
-
- // TODO
- /**
- * @param stack
- * @return
- */
- public static int gemColor(ItemStack stack)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.hasTagCompound() && stack.getTagCompound().hasKey("gemColor")){
- NBTTagCompound colors = (NBTTagCompound)stack.getTagCompound().getTag("gemColor");
- int color = colors.getInteger("gemColor");
- return color;
- }
- return 16777215;
- }
-
- /**
- * @param stack
- * @param player
- * @return
- */
- @SuppressWarnings ({"rawtypes", "unchecked", "null"})
- public static List entities(ItemStack stack, EntityPlayer player)
- {
- if (stack != null && stack != new ItemStack(Item.getItemById(0), 0, 0) && stack.getTagCompound().hasKey("entities")){
- NBTTagCompound enID = (NBTTagCompound)stack.getTagCompound().getTag("entitiesID");
- List list = null;
- int[] entityID;
- EntityLivingBase entity;
- entityID = enID.getIntArray("entitiesID");
- for(int element: entityID){
- entity = (EntityLivingBase)EntityList.createEntityByID(element, player.worldObj);
- list.add(entity);
- }
- return list;
- }
- return null;
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/201cfc0598e3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/201cfc0598e3001412c4c4819c88e86b
deleted file mode 100644
index 62b87a0..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/f9/201cfc0598e3001412c4c4819c88e86b
+++ /dev/null
@@ -1,75 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null){
- System.out.println(((TileEntityMidasTouch)tile).target.width);
- this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width/2, 0F, 0.5f -((TileEntityMidasTouch)tile).target.width/2, 0.5f +((TileEntityMidasTouch)tile).target.width/2, ((TileEntityMidasTouch)tile).target.height, 0.5f +((TileEntityMidasTouch)tile).target.width/2);
- }
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/00a6fb0785ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/00a6fb0785ea001411cee0f8f86532a4
new file mode 100644
index 0000000..5a7b728
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/00a6fb0785ea001411cee0f8f86532a4
@@ -0,0 +1,102 @@
+package darkknight.jewelrycraft.events;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.Gui;
+import net.minecraft.client.gui.GuiChat;
+import net.minecraft.client.gui.ScaledResolution;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.MathHelper;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderGameOverlayEvent;
+import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
+import net.minecraftforge.event.entity.player.PlayerOpenContainerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.util.Variables;
+
+public class ScreenHandler extends Gui
+{
+ private Minecraft mc;
+ public static NBTTagCompound tagCache = null;
+ public static int cooldown;
+ static ResourceLocation texture;
+ static ResourceLocation hearts = new ResourceLocation(Variables.MODID, "textures/gui/hearts.png");
+
+ public ScreenHandler(Minecraft mc, ResourceLocation tex)
+ {
+ super();
+ this.mc = mc;
+ texture = tex;
+ }
+
+ @SubscribeEvent
+ public void renderScreen(RenderGameOverlayEvent event)
+ {
+ if (event.isCancelable() || event.type != ElementType.ALL || tagCache == null) return;
+ if (!mc.gameSettings.showDebugInfo && !(mc.currentScreen instanceof GuiChat)){
+ int count = 0;
+ int size = 32;
+ ScaledResolution resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
+ if (tagCache.hasKey("cursePoints") && tagCache.getInteger("cursePoints") > 0){
+ mc.renderEngine.bindTexture(hearts);
+ for(Curse curse: Curse.getCurseList()){
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ drawTexturedModalRect(-16, -16 + (size - 6) * count, 0, 32, 144, 60);
+ count++;
+ }
+ }
+ mc.renderEngine.bindTexture(texture);
+ count = 0;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ GL11.glPushMatrix();
+ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
+ GL11.glDisable(GL11.GL_LIGHTING);
+ GL11.glScalef(0.45f, 0.45f, 0.0f);
+ drawTexturedModalRect(28, 18 + (size + 26) * count, tag % size * size, tag / size * size, size, size);
+ GL11.glPopMatrix();
+ count++;
+ }
+ count = 0;
+ size = 16;
+ for(Curse curse: Curse.getCurseList())
+ if (tagCache.hasKey(curse.getName()) && tagCache.getInteger(curse.getName()) > 0){
+ int tag = curse.getID();
+ mc.fontRenderer.drawStringWithShadow(curse.getName().split(":")[1], 30, 11 + (size + 10) * count, 16777215);
+ if (tagCache.getInteger(curse.getName()) == 2){
+ mc.renderEngine.bindTexture(hearts);
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glColor4f(1f, 1f, 1f, 0.5f);
+ drawTexturedModalRect(95, 7 + (size + 10) * count, 3 * size, 0, size, size);
+ GL11.glPopMatrix();
+ }
+ count++;
+ }
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1f, 1f, 1f, 1.0f);
+ mc.renderEngine.bindTexture(hearts);
+ count = 0;
+ size = 16;
+ if (tagCache.getFloat("BlueHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 0 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlueHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("BlackHeart") > 0){
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 1 * size, 0 * size, size, size);
+ mc.fontRenderer.drawStringWithShadow("x" + (MathHelper.ceiling_float_int(tagCache.getFloat("BlackHeart")) / 2.0F), 15 + 35*count, resolution.getScaledHeight() - 16, 16777215);
+ }
+ count++;
+ mc.renderEngine.bindTexture(hearts);
+ if (tagCache.getFloat("WhiteHeart") > 0)
+ drawTexturedModalRect(5 + 35*count, resolution.getScaledHeight() - 20, 2 * size, 1 * size, size, size);
+ GL11.glPopMatrix();
+ }
+ }
+} \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/40f248b698ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/40f248b698ea001411cee0f8f86532a4
new file mode 100644
index 0000000..bc6f40c
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/40f248b698ea001411cee0f8f86532a4
@@ -0,0 +1,140 @@
+package darkknight.jewelrycraft.events;
+
+import java.util.Iterator;
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.model.ModelBiped;
+import net.minecraft.client.model.ModelRenderer;
+import net.minecraft.client.renderer.Tessellator;
+import net.minecraft.client.renderer.texture.TextureManager;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.nbt.NBTTagCompound;
+import net.minecraft.util.ResourceLocation;
+import net.minecraftforge.client.event.RenderHandEvent;
+import net.minecraftforge.client.event.RenderPlayerEvent;
+import org.lwjgl.opengl.GL11;
+import cpw.mods.fml.common.eventhandler.SubscribeEvent;
+import darkknight.jewelrycraft.curses.Curse;
+import darkknight.jewelrycraft.curses.CurseList;
+import darkknight.jewelrycraft.item.render.BraceletRender;
+import darkknight.jewelrycraft.item.render.EarringsRender;
+import darkknight.jewelrycraft.util.JewelryNBT;
+import darkknight.jewelrycraft.util.Variables;
+
+public class PlayerRenderHandler
+{
+ EarringsRender earrings = new EarringsRender();
+ BraceletRender bracelet = new BraceletRender();
+ public static NBTTagCompound playersInfo = new NBTTagCompound();
+ int[] gemColor = {-1, -1, -1, -1};
+ int[] ingotColor = {-1, -1, -1, -1};
+ int earringGem = -1;
+ int earringIngot = -1;
+ float size = 0.055F;
+
+ @SubscribeEvent
+ public void renderScreen(RenderPlayerEvent.Specials.Post event)
+ {
+ ModelBiped main = event.renderer.modelBipedMain;
+ ModelRenderer rightArm = event.renderer.modelBipedMain.bipedRightArm;
+ ModelRenderer leftArm = event.renderer.modelBipedMain.bipedLeftArm;
+ ModelRenderer head = event.renderer.modelBipedMain.bipedHead;
+ Iterator<EntityPlayer> players = event.entityPlayer.worldObj.playerEntities.iterator();
+ if (playersInfo != null){
+ while (players.hasNext()){
+ EntityPlayer player = players.next();
+ NBTTagCompound playerInfo = (NBTTagCompound)playersInfo.getTag(player.getDisplayName());
+ for(Curse curse: Curse.getCurseList())
+ if (playerInfo.getInteger(curse.getName()) > 0 && event.entityPlayer.getDisplayName().equals(player.getDisplayName()) && playerInfo.getInteger("cursePoints") > 0) curse.playerRender(player, event);
+ if (playerInfo.hasKey("ext17") && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext17");
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ GL11.glPushMatrix();
+ if (head.rotateAngleX == 0.0F && head.rotateAngleY == 0.0F && head.rotateAngleZ == 0.0F){
+ if (head.rotationPointX != 0.0F || head.rotationPointY != 0.0F || head.rotationPointZ != 0.0F) GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(head.rotationPointX * size, head.rotationPointY * size, head.rotationPointZ * size);
+ if (head.rotateAngleZ != 0.0F) GL11.glRotatef(head.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (head.rotateAngleY != 0.0F) GL11.glRotatef(head.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (head.rotateAngleX != 0.0F) GL11.glRotatef(head.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.0625f, 0.0625f, 0.0625f);
+ GL11.glTranslatef(0.0F, 1.0F, -2.0F);
+ if (JewelryNBT.gem(item) != null) earringGem = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) earringIngot = JewelryNBT.ingotColor(item);
+ earrings.doRender(event.entityPlayer, 0F, 0F, (float)earringIngot, (float)earringGem, 0F);
+ GL11.glPopMatrix();
+ }
+ for(int i = 10; i <= 13; i++)
+ if (playerInfo.hasKey("ext" + i) && event.entityPlayer.getDisplayName().equals(player.getDisplayName())){
+ NBTTagCompound nbt = (NBTTagCompound)playerInfo.getTag("ext" + i);
+ ItemStack item = ItemStack.loadItemStackFromNBT(nbt);
+ if (JewelryNBT.gem(item) != null) gemColor[i - 10] = JewelryNBT.gemColor(item);
+ if (JewelryNBT.ingot(item) != null) ingotColor[i - 10] = JewelryNBT.ingotColor(item);
+ }
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (rightArm.rotateAngleX == 0.0F && rightArm.rotateAngleY == 0.0F && rightArm.rotateAngleZ == 0.0F){
+ if (rightArm.rotationPointX != 0.0F || rightArm.rotationPointY != 0.0F || rightArm.rotationPointZ != 0.0F) GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(rightArm.rotationPointX * size, rightArm.rotationPointY * size, rightArm.rotationPointZ * size);
+ if (rightArm.rotateAngleZ != 0.0F) GL11.glRotatef(rightArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (rightArm.rotateAngleY != 0.0F) GL11.glRotatef(rightArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (rightArm.rotateAngleX != 0.0F) GL11.glRotatef(rightArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[0], (float)gemColor[0], (float)ingotColor[1], (float)gemColor[1], 0.0F);
+ GL11.glPopMatrix();
+
+ GL11.glPushMatrix();
+ GL11.glColor4f(1, 1, 1, 1);
+ if (leftArm.rotateAngleX == 0.0F && leftArm.rotateAngleY == 0.0F && leftArm.rotateAngleZ == 0.0F){
+ if (leftArm.rotationPointX != 0.0F || leftArm.rotationPointY != 0.0F || leftArm.rotationPointZ != 0.0F) GL11.glTranslatef(leftArm.rotationPointX * size, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ }else{
+ GL11.glTranslatef(leftArm.rotationPointX * size + 0.2F, leftArm.rotationPointY * size, leftArm.rotationPointZ * size);
+ if (leftArm.rotateAngleZ != 0.0F) GL11.glRotatef(leftArm.rotateAngleZ * (180F / (float)Math.PI), 0.0F, 0.0F, 1.0F);
+ if (leftArm.rotateAngleY != 0.0F) GL11.glRotatef(leftArm.rotateAngleY * (180F / (float)Math.PI), 0.0F, 1.0F, 0.0F);
+ if (leftArm.rotateAngleX != 0.0F) GL11.glRotatef(leftArm.rotateAngleX * (180F / (float)Math.PI), 1.0F, 0.0F, 0.0F);
+ }
+ GL11.glScalef(0.05f, 0.03f, 0.05f);
+ bracelet.doRender(event.entityPlayer, (float)ingotColor[2], (float)gemColor[2], (float)ingotColor[3], (float)gemColor[3], 0F);
+ GL11.glPopMatrix();
+ }
+ }
+ }
+ float rot = 0F;
+
+ @SubscribeEvent
+ public void renderHand(RenderHandEvent event)
+ {
+ ResourceLocation PENTAGRAM_TEXTURE = new ResourceLocation(Variables.MODID, "textures/gui/" + CurseList.pentagram.getTexturePack() + ".png");
+ GL11.glPushMatrix();
+ GL11.glEnable(GL11.GL_BLEND);
+ GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_SRC_COLOR);
+ Tessellator tessellator = Tessellator.instance;
+ TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
+ texturemanager.bindTexture(PENTAGRAM_TEXTURE);
+ GL11.glRotatef(rot, 0F, 1F, 0F);
+ GL11.glScalef(0.1F, 0.1F, 0.1F);
+ GL11.glTranslatef(-1F, -4F, -1F);
+ GL11.glRotatef(90F, 1F, 0F, 0F);
+ rot += 3F;
+ if (rot > 360F) rot = 0F;
+ float f = 0.00390625F;
+ float f1 = 0.00390625F;
+ int x = 0;
+ int y = 0;
+ int u = 32 * 7;
+ int v = 0;
+ int width = 32;
+ int height = 32;
+ tessellator.startDrawingQuads();
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
+ tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
+ tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
+ tessellator.draw();
+ GL11.glDisable(GL11.GL_BLEND);
+ GL11.glPopMatrix();
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/d0acf8ff27e500141c50bd6848c69dc6 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/d0acf8ff27e500141c50bd6848c69dc6
deleted file mode 100644
index 5a61768..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/d0acf8ff27e500141c50bd6848c69dc6
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public boolean hasEffect(ItemStack item)
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) return item.getIconIndex();
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo) list.add(EnumChatFormatting.DARK_PURPLE + "Shiny, but useless :c");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/e0cd16ca92e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/e0cd16ca92e3001417b2e384bf7c3702
deleted file mode 100644
index 2072a65..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fa/e0cd16ca92e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,27 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.renderEntityWithPosYaw(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
-// RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, midas.target.posX - RenderManager.instance.renderPosX, midas.target.posY - RenderManager.instance.renderPosY, midas.target.posZ - RenderManager.instance.renderPosZ, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/10e7546d07e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/10e7546d07e50014174fe663e69b8422
deleted file mode 100644
index 9ed257e..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/10e7546d07e50014174fe663e69b8422
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Blocks;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public boolean hasEffect(ItemStack item)
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) return item.getIconIndex();
- return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
-// if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/303da9d874e70014115de2bb951f0adf b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/303da9d874e70014115de2bb951f0adf
deleted file mode 100644
index 2efe23d..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/303da9d874e70014115de2bb951f0adf
+++ /dev/null
@@ -1,63 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.ItemRenderer;
-import net.minecraft.client.renderer.Tessellator;
-import net.minecraft.client.renderer.texture.TextureManager;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.init.Items;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.IIcon;
-import net.minecraft.util.ResourceLocation;
-import net.minecraft.world.World;
-import net.minecraftforge.client.event.RenderPlayerEvent;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.item.render.MaskRender;
-import darkknight.jewelrycraft.util.Variables;
-
-public class CursePentagram extends Curse
-{
- ResourceLocation curse = new ResourceLocation(Variables.MODID, "textures/gui/curses.png");
- public CursePentagram(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- }
-
- public void playerRender(EntityPlayer player, RenderPlayerEvent.Specials.Post event)
- {
- GL11.glPushMatrix();
- GL11.glColor4f(1, 1, 1, 1);
- Tessellator tessellator = Tessellator.instance;
- TextureManager texturemanager = Minecraft.getMinecraft().getTextureManager();
- texturemanager.bindTexture(curse);
- GL11.glScalef(0.1F, 0.1F, 0.1F);
- GL11.glTranslatef(1F, 15F, 1F);
- GL11.glRotatef(90F, 1F, 0F, 0F);
- float f = 0.00390625F;
- float f1 = 0.00390625F;
- int x = 0;
- int y = 0;
- int u = 0;
- int v = 0;
- int width = 32;
- int height = 32;
- tessellator.startDrawingQuads();
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + height), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + height), (double)0, (double)((float)(u + width) * f), (double)((float)(v + height) * f1));
- tessellator.addVertexWithUV((double)(x + width), (double)(y + 0), (double)0, (double)((float)(u + width) * f), (double)((float)(v + 0) * f1));
- tessellator.addVertexWithUV((double)(x + 0), (double)(y + 0), (double)0, (double)((float)(u + 0) * f), (double)((float)(v + 0) * f1));
- tessellator.draw();
- GL11.glPopMatrix();
- }
-
- public String getDescription()
- {
- return "The Dark Lord has misterious ways of showing you his love.";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/30be15db86ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/30be15db86ea001411cee0f8f86532a4
new file mode 100644
index 0000000..0a88315
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fc/30be15db86ea001411cee0f8f86532a4
@@ -0,0 +1,25 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.potion.Potion;
+import net.minecraft.potion.PotionEffect;
+import net.minecraft.world.World;
+
+public class CurseBlind extends Curse
+{
+ public CurseBlind(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ if (!player.isPotionActive(Potion.blindness) || player.getActivePotionEffect(Potion.blindness).getDuration() < 30) player.addPotionEffect(new PotionEffect(Potion.blindness.id, 60));
+ }
+
+ public String getDescription()
+ {
+ return "You see the light slowly fading in front of you";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/40224cbcafea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/40224cbcafea001411cee0f8f86532a4
new file mode 100644
index 0000000..1b8b1f7
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/40224cbcafea001411cee0f8f86532a4
@@ -0,0 +1,25 @@
+package darkknight.jewelrycraft.entities;
+
+import net.minecraft.entity.Entity;
+import cpw.mods.fml.common.event.FMLPreInitializationEvent;
+import cpw.mods.fml.common.registry.EntityRegistry;
+import darkknight.jewelrycraft.JewelrycraftMod;
+import darkknight.jewelrycraft.util.Variables;
+
+public class EntityList
+{
+
+ public static void preInit(FMLPreInitializationEvent e)
+ {
+ createEntity(EntityHeart.class, Variables.MODID + ".Heart", 0xFF0000, 0xFF0000, false);
+ createEntity(EntityHalfHeart.class, Variables.MODID + ".Half-Heart", 0x000000, 0xFF0000, false);
+ }
+
+ public static void createEntity(Class<? extends Entity> entity, String entityName, int solidColor, int spotColor, boolean hasSpawnEgg)
+ {
+ int randomID = EntityRegistry.findGlobalUniqueEntityId();
+ if(hasSpawnEgg) EntityRegistry.registerGlobalEntityID(entity, entityName, randomID, solidColor, spotColor);
+ else EntityRegistry.registerGlobalEntityID(entity, entityName, randomID);
+ EntityRegistry.registerModEntity(entity, entityName, randomID, JewelrycraftMod.instance, 40, 3, true);
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/900f624402e50014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/900f624402e50014174fe663e69b8422
deleted file mode 100644
index d61aba7..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/900f624402e50014174fe663e69b8422
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- *
- */
-package darkknight.jewelrycraft.item;
-
-import java.util.List;
-import net.minecraft.block.Block;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.EnumChatFormatting;
-import net.minecraft.util.IIcon;
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import darkknight.jewelrycraft.util.JewelryNBT;
-
-public class ItemGoldObj extends Item
-{
- public ItemGoldObj()
- {}
-
- public boolean requiresMultipleRenderPasses()
- {
- return true;
- }
-
- @SideOnly (Side.CLIENT)
- public int getColorFromItemStack(ItemStack stack, int pass)
- {
- return 0xffff00;
- }
-
- @Override
- public IIcon getIcon(ItemStack stack, int pass)
- {
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) return item.getItem().getIconIndex(JewelryNBT.item(stack));
- else return itemIcon;
- }
-
- public String getItemStackDisplayName(ItemStack stack)
- {
- return "Golden " + JewelryNBT.item(stack).getDisplayName();
- }
-
- public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean displayInfo)
- {
- if (displayInfo){
- ItemStack item = JewelryNBT.item(stack);
- if (item != null) list.add("Item: " + EnumChatFormatting.BLUE + item.getDisplayName());
- list.add(EnumChatFormatting.DARK_PURPLE + "Well this is useless now");
- }
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/e07ed5e186ea001411cee0f8f86532a4 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/e07ed5e186ea001411cee0f8f86532a4
new file mode 100644
index 0000000..8e44936
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fd/e07ed5e186ea001411cee0f8f86532a4
@@ -0,0 +1,23 @@
+package darkknight.jewelrycraft.curses;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.world.World;
+
+public class CurseFlamingSoul extends Curse
+{
+ public CurseFlamingSoul(int id, String name, int txtID, int packID)
+ {
+ super(id, name, txtID, packID);
+ }
+
+ @Override
+ public void action(World world, EntityPlayer player)
+ {
+ if (!player.isBurning() && rand.nextInt(20) == 0) player.setFire(5);
+ }
+
+ public String getDescription()
+ {
+ return "Is it me or is it getting hot in here?";
+ }
+}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/c010f86d9ae3001412c4c4819c88e86b b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/c010f86d9ae3001412c4c4819c88e86b
deleted file mode 100644
index e9b08aa..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/c010f86d9ae3001412c4c4819c88e86b
+++ /dev/null
@@ -1,86 +0,0 @@
-package darkknight.jewelrycraft.block;
-
-import java.util.ArrayList;
-import java.util.Random;
-import net.minecraft.block.BlockContainer;
-import net.minecraft.block.material.Material;
-import net.minecraft.client.renderer.texture.IIconRegister;
-import net.minecraft.init.Items;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.tileentity.TileEntity;
-import net.minecraft.world.IBlockAccess;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class BlockMidasTouch extends BlockContainer
-{
- protected BlockMidasTouch(Material mat)
- {
- super(mat);
- }
-
- @Override
- public TileEntity createNewTileEntity(World world, int var2)
- {
- return new TileEntityMidasTouch();
- }
-
- @Override
- public boolean renderAsNormalBlock()
- {
- return false;
- }
-
- @Override
- public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
- {
- return false;
- }
-
- @Override
- public boolean isOpaqueCube()
- {
- return false;
- }
-
- @Override
- public int getRenderType()
- {
- return -1;
- }
-
- public int quantityDropped(Random rand)
- {
- return 1;
- }
-
- public Item getItemDropped(int id, Random rand, int size)
- {
- return Items.gold_nugget;
- }
-
- @Override
- public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune)
- {
- ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
-
- TileEntity tile = world.getTileEntity(x, y, z);
- if (tile != null && ((TileEntityMidasTouch)tile).target != null)
- ret.add(new ItemStack(Items.gold_nugget, 23, 0));
-
- return ret;
- }
-
- public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
- {
- TileEntity tile = world.getTileEntity(x, y, z);
- if (((TileEntityMidasTouch)tile).target != null) this.setBlockBounds(0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0F, 0.5f - ((TileEntityMidasTouch)tile).target.width / 2, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2, ((TileEntityMidasTouch)tile).target.height, 0.5f + ((TileEntityMidasTouch)tile).target.width / 2);
- }
-
- @Override
- public void registerBlockIcons(IIconRegister icon)
- {
- blockIcon = icon.registerIcon("minecraft:gold_block");
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/d0474cdb91e3001417b2e384bf7c3702 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/d0474cdb91e3001417b2e384bf7c3702
deleted file mode 100644
index ce67e78..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/fe/d0474cdb91e3001417b2e384bf7c3702
+++ /dev/null
@@ -1,26 +0,0 @@
-package darkknight.jewelrycraft.tileentity.renders;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.tileentity.TileEntity;
-import org.lwjgl.opengl.GL11;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class TileEntityMidasTouchRender extends TileEntitySpecialRenderer
-{
- @Override
- public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale)
- {
- GL11.glPushMatrix();
- TileEntityMidasTouch midas = (TileEntityMidasTouch)te;
- GL11.glTranslatef(1.0F, 0.0F, 1.0F);
- if (midas.target != null){
- ((EntityLiving)midas.target).hurtTime = 0;
- GL11.glColor3f(1.0F, 1.0F, 0.0F);
- RenderManager.instance.getEntityRenderObject(midas.target).doRender(midas.target, te.xCoord - Minecraft.getMinecraft().thePlayer.posX, 0D, 0D, 0F, 1F);
- }
- GL11.glPopMatrix();
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ff/b02f1331fce40014174fe663e69b8422 b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ff/b02f1331fce40014174fe663e69b8422
deleted file mode 100644
index c4fbc04..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.history/ff/b02f1331fce40014174fe663e69b8422
+++ /dev/null
@@ -1,48 +0,0 @@
-package darkknight.jewelrycraft.curses;
-
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.EntityLiving;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.item.ItemStack;
-import net.minecraft.util.MathHelper;
-import net.minecraft.world.World;
-import darkknight.jewelrycraft.block.BlockList;
-import darkknight.jewelrycraft.entities.EntityHalfHeart;
-import darkknight.jewelrycraft.entities.EntityHeart;
-import darkknight.jewelrycraft.item.ItemList;
-import darkknight.jewelrycraft.tileentity.TileEntityMidasTouch;
-
-public class CurseMidasTouch extends Curse
-{
- public CurseMidasTouch(int id, String name, int text)
- {
- super(id, name, text);
- }
-
- @Override
- public void attackedByPlayerAction(World world, EntityPlayer player, Entity target)
- {
- if (!world.isRemote && target instanceof EntityLiving && !(target instanceof EntityHeart) && !(target instanceof EntityHalfHeart) && player.inventory.getCurrentItem() == null){
- world.setBlock(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), BlockList.midasTouchBlock, 0, 2);
- TileEntityMidasTouch midasTouchVictim = new TileEntityMidasTouch();
- midasTouchVictim.setEntity(target);
- world.setTileEntity(MathHelper.floor_double(target.posX), MathHelper.floor_double(target.posY), MathHelper.floor_double(target.posZ), midasTouchVictim);
- target.setDead();
- }
- }
-
- @Override
- public void action(World world, EntityPlayer player)
- {
- if(player.inventory.getCurrentItem() != null){
- int index = player.inventory.currentItem;
- ItemStack item = player.inventory.getCurrentItem();
- player.inventory.setInventorySlotContents(index, new ItemStack(ItemList.goldifiedObject,item.stackSize,item.getItemDamage()));
- }
- }
-
- public String getDescription()
- {
- return "Be careful what you wish for...";
- }
-}
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.markers.snap b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.markers.snap
new file mode 100644
index 0000000..ed1c082
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.markers.snap
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.syncinfo.snap b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.syncinfo.snap
new file mode 100644
index 0000000..ed1c082
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.jdt.core.external.folders/.syncinfo.snap
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/6a/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/6a/history.index
index bf2c649..498af17 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/6a/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/6a/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/history.index
index 48569fa..1d109f7 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/13/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2/history.index
index 38c474c..2cdce4d 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/29/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/29/history.index
index 728c0fd..dcb0e91 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/29/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/29/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2e/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2e/history.index
index 985133f..641513f 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2e/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/2e/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/3f/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/3f/history.index
new file mode 100644
index 0000000..0c24836
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/3f/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/5e/ac/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/5e/ac/history.index
new file mode 100644
index 0000000..3db9800
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/5e/ac/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/6e/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/6e/history.index
index 9d4afeb..65479b1 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/6e/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/6e/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/8d/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/8d/history.index
index 000689c..e0793a8 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/8d/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/8d/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/df/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/df/history.index
index d4653cf..69a90bc 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/df/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/df/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/e7/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/e7/history.index
index eb2d439..e216449 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/e7/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/e7/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/9d/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/9d/history.index
index ad15fa4..d88876d 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/9d/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/9d/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/history.index
deleted file mode 100644
index 4428198..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/ef/history.index
+++ /dev/null
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/history.index b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/history.index
index 3605671..00c6ba5 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/history.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.indexes/e4/b9/22/7d/96/history.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.markers.snap b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.markers.snap
new file mode 100644
index 0000000..ed1c082
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.markers.snap
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.syncinfo.snap b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.syncinfo.snap
new file mode 100644
index 0000000..ed1c082
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/.syncinfo.snap
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/org.eclipse.jdt.core/state.dat b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/org.eclipse.jdt.core/state.dat
deleted file mode 100644
index f8b6680..0000000
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/Minecraft/org.eclipse.jdt.core/state.dat
+++ /dev/null
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap
new file mode 100644
index 0000000..ed1c082
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/66.tree b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/68.tree
index b823a83..25482f4 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/66.tree
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/68.tree
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
index 8c181f8..b159f63 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.core.resources/68.snap b/eclipse/.metadata/.plugins/org.eclipse.core.resources/68.snap
new file mode 100644
index 0000000..26076e2
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.core.resources/68.snap
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/eclipse/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
index cf8ee5a..6954273 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
+++ b/eclipse/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="ASCII"?>
-<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_Z50IkM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.legacy.ide.application" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_Z50Ikc9SEeSV1Mx9A3xekQ" bindingContexts="_Z51X0s9SEeSV1Mx9A3xekQ">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;workbench>&#xD;&#xA;&lt;mruList>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;ItemRenderer.class&quot; tooltip=&quot;net.minecraft.client.renderer.ItemRenderer&quot;>&#xD;&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.client.renderer(ItemRenderer.class&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ClientProxy.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/proxy/ClientProxy.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/proxy/ClientProxy.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;Gui.class&quot; tooltip=&quot;net.minecraft.client.gui.Gui&quot;>&#xD;&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.client.gui(Gui.class&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ScreenHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/ScreenHandler.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/ScreenHandler.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;NBTBase.class&quot; tooltip=&quot;net.minecraft.nbt.NBTBase&quot;>&#xD;&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.nbt(NBTBase.class&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;NBTTagCompound.class&quot; tooltip=&quot;net.minecraft.nbt.NBTTagCompound&quot;>&#xD;&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.nbt(NBTTagCompound.class&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ItemGoldObj.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemGoldObj.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemGoldObj.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;JewelryNBT.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/util/JewelryNBT.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/util/JewelryNBT.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ItemRender.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/render/ItemRender.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/render/ItemRender.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;BlockAir.class&quot; tooltip=&quot;net.minecraft.block.BlockAir&quot;>&#xD;&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.block(BlockAir.class&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CursePentagram.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/CursePentagram.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/CursePentagram.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CurseInfamy.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseInfamy.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseInfamy.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;JewelrycraftMod.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;PacketKeyPressEvent.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/network/PacketKeyPressEvent.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/network/PacketKeyPressEvent.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;KeyBindings.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/KeyBindings.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/KeyBindings.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;/mruList>&#xD;&#xA;&lt;/workbench>"/>
+<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_emgrgOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.legacy.ide.application" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_emgrgerNEeSOidyff_nu0w" bindingContexts="_emmLnurNEeSOidyff_nu0w">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;workbench>&#xD;&#xA;&lt;mruList>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ItemList.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemList.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemList.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ItemGoldObj.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemGoldObj.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemGoldObj.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;BraceletRender.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/render/BraceletRender.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/render/BraceletRender.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;GuiGuide.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/client/gui/GuiGuide.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/client/gui/GuiGuide.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;TileEntityDisplayerRender.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/tileentity/renders/TileEntityDisplayerRender.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/tileentity/renders/TileEntityDisplayerRender.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;BlockList.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/block/BlockList.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/block/BlockList.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;JewelrycraftMod.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;VillageHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/worldGen/village/VillageHandler.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/worldGen/village/VillageHandler.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CommonProxy.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/proxy/CommonProxy.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/proxy/CommonProxy.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;EventList.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/EventList.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/EventList.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;BlockEventHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/BlockEventHandler.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/BlockEventHandler.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;PacketHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/network/PacketHandler.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/network/PacketHandler.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Variables.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/util/Variables.java&quot;>&#xD;&#xA;&lt;persistable path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/util/Variables.java&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;Mod.class&quot; tooltip=&quot;cpw.mods.fml.common.Mod&quot;>&#xD;&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;cpw.mods.fml.common(Mod.class&quot;/>&#xD;&#xA;&lt;/file>&#xD;&#xA;&lt;/mruList>&#xD;&#xA;&lt;/workbench>"/>
<tags>activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration</tags>
<tags>ModelMigrationProcessor.001</tags>
- <children xsi:type="basic:TrimmedWindow" xmi:id="_Z50Ikc9SEeSV1Mx9A3xekQ" elementId="IDEWindow" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_Z50Iks9SEeSV1Mx9A3xekQ" x="0" y="0" width="697" height="735">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_emgrgerNEeSOidyff_nu0w" elementId="IDEWindow" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_emgrgurNEeSOidyff_nu0w" x="0" y="0" width="697" height="735">
<persistedState key="coolBarVisible" value="true"/>
<persistedState key="perspectiveBarVisible" value="true"/>
<persistedState key="workingSets" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;workingSets/>"/>
<persistedState key="aggregateWorkingSetId" value="Aggregate for window 1413973370715"/>
<tags>topLevel</tags>
<tags>shellMaximized</tags>
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50Iks9SEeSV1Mx9A3xekQ" selectedElement="_Z50Ik89SEeSV1Mx9A3xekQ" horizontal="true">
- <children xsi:type="advanced:PerspectiveStack" xmi:id="_Z50Ik89SEeSV1Mx9A3xekQ" containerData="7500" selectedElement="_Z50Irs9SEeSV1Mx9A3xekQ">
- <children xsi:type="advanced:Perspective" xmi:id="_Z50IlM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.j2ee.J2EEPerspective" selectedElement="_Z50Ilc9SEeSV1Mx9A3xekQ" label="Java EE" iconURI="platform:/plugin/org.eclipse.jst.j2ee.ui/icons/full/cview16/j2ee_perspective.gif">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgrgurNEeSOidyff_nu0w" selectedElement="_emgrg-rNEeSOidyff_nu0w" horizontal="true">
+ <children xsi:type="advanced:PerspectiveStack" xmi:id="_emgrg-rNEeSOidyff_nu0w" containerData="7500" selectedElement="_emgrnurNEeSOidyff_nu0w">
+ <children xsi:type="advanced:Perspective" xmi:id="_emgrhOrNEeSOidyff_nu0w" elementId="org.eclipse.jst.j2ee.J2EEPerspective" selectedElement="_emgrherNEeSOidyff_nu0w" label="Java EE" iconURI="platform:/plugin/org.eclipse.jst.j2ee.ui/icons/full/cview16/j2ee_perspective.gif">
<persistedState key="persp.hiddenItems" value="persp.hideToolbarSC:org.eclipse.debug.ui.commands.RunToLine,persp.hideToolbarSC:org.eclipse.jdt.ui.actions.OpenProjectWizard,persp.hideToolbarSC:org.eclipse.ui.edit.text.toggleShowSelectedElementOnly,"/>
<tags>persp.actionSet:org.eclipse.mylyn.context.ui.actionSet</tags>
<tags>persp.actionSet:org.eclipse.mylyn.doc.actionSet</tags>
@@ -67,46 +67,46 @@
<tags>persp.actionSet:org.eclipse.wst.server.ui.internal.webbrowser.actionSet</tags>
<tags>persp.actionSet:org.eclipse.debug.ui.breakpointActionSet</tags>
<tags>persp.actionSet:org.eclipse.wst.ws.explorer.explorer</tags>
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50Ilc9SEeSV1Mx9A3xekQ" selectedElement="_Z50Im89SEeSV1Mx9A3xekQ" horizontal="true">
- <children xsi:type="basic:PartStack" xmi:id="_Z50Ils9SEeSV1Mx9A3xekQ" elementId="topLeft" containerData="2500" selectedElement="_Z50Il89SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgrherNEeSOidyff_nu0w" selectedElement="_emgri-rNEeSOidyff_nu0w" horizontal="true">
+ <children xsi:type="basic:PartStack" xmi:id="_emgrhurNEeSOidyff_nu0w" elementId="topLeft" containerData="2500" selectedElement="_emgrh-rNEeSOidyff_nu0w">
<tags>newtablook</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Il89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigator.ProjectExplorer" ref="_Z50KAM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50ImM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ResourceNavigator" toBeRendered="false" ref="_Z50KA89SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Imc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.TypeHierarchy" toBeRendered="false" ref="_Z50KBM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ims9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackagesView" toBeRendered="false" ref="_Z50KB89SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrh-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigator.ProjectExplorer" ref="_emigsurNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgriOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ResourceNavigator" toBeRendered="false" ref="_emigterNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrierNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.TypeHierarchy" toBeRendered="false" ref="_emigturNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgriurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackagesView" toBeRendered="false" ref="_emiguerNEeSOidyff_nu0w"/>
</children>
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50Im89SEeSV1Mx9A3xekQ" containerData="7500" selectedElement="_Z50InM9SEeSV1Mx9A3xekQ">
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50InM9SEeSV1Mx9A3xekQ" containerData="7654" selectedElement="_Z50Inc9SEeSV1Mx9A3xekQ" horizontal="true">
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Inc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editorss" containerData="7000" ref="_Z50J5s9SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgri-rNEeSOidyff_nu0w" containerData="7500" selectedElement="_emgrjOrNEeSOidyff_nu0w">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgrjOrNEeSOidyff_nu0w" containerData="7654" selectedElement="_emgrjerNEeSOidyff_nu0w" horizontal="true">
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrjerNEeSOidyff_nu0w" elementId="org.eclipse.ui.editorss" containerData="7000" ref="_emh6G-rNEeSOidyff_nu0w">
<tags>Maximized</tags>
</children>
- <children xsi:type="basic:PartStack" xmi:id="_Z50Ins9SEeSV1Mx9A3xekQ" elementId="topRight" visible="false" containerData="3000" selectedElement="_Z50In89SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartStack" xmi:id="_emgrjurNEeSOidyff_nu0w" elementId="topRight" visible="false" containerData="3000" selectedElement="_emgrj-rNEeSOidyff_nu0w">
<tags>newtablook</tags>
<tags>Minimized</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50In89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ContentOutline" ref="_Z50KQc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IoM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" ref="_Z50v5c9SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrj-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ContentOutline" ref="_emig5urNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrkOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" ref="_emjH2urNEeSOidyff_nu0w"/>
</children>
</children>
- <children xsi:type="basic:PartStack" xmi:id="_Z50Ioc9SEeSV1Mx9A3xekQ" elementId="bottomRight" containerData="2346" selectedElement="_Z50Iqc9SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartStack" xmi:id="_emgrkerNEeSOidyff_nu0w" elementId="bottomRight" containerData="2346" selectedElement="_emgrmerNEeSOidyff_nu0w">
<tags>newtablook</tags>
<tags>org.eclipse.e4.secondaryDataStack</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ios9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.AllMarkersView" ref="_Z50KCM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Io89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.PropertySheet" ref="_Z50KC89SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IpM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.ui.ServersView" ref="_Z50KDs9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ipc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator" ref="_Z50KD89SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ips9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.common.snippets.internal.ui.SnippetsView" ref="_Z50KEM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ip89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView" toBeRendered="false" ref="_Z50KEc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IqM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.TaskList" toBeRendered="false" ref="_Z50KHM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iqc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.console.ConsoleView" ref="_Z50KHc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iqs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.BookmarkView" toBeRendered="false" ref="_Z50KPM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iq89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProgressView" toBeRendered="false" ref="_Z50KPc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IrM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.views.SearchView" ref="_Z50KPs9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Irc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView" ref="_Z50wG89SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrkurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.AllMarkersView" ref="_emiguurNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrk-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.PropertySheet" ref="_emigverNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrlOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.ui.ServersView" ref="_emigwOrNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrlerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator" ref="_emigwerNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrlurNEeSOidyff_nu0w" elementId="org.eclipse.wst.common.snippets.internal.ui.SnippetsView" ref="_emigwurNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrl-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView" toBeRendered="false" ref="_emigw-rNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrmOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.TaskList" toBeRendered="false" ref="_emigz-rNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrmerNEeSOidyff_nu0w" elementId="org.eclipse.ui.console.ConsoleView" ref="_emig0OrNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrmurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.BookmarkView" toBeRendered="false" ref="_emig4erNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrm-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProgressView" toBeRendered="false" ref="_emig4urNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrnOrNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.views.SearchView" ref="_emig4-rNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrnerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView" ref="_emjIEurNEeSOidyff_nu0w"/>
</children>
</children>
</children>
</children>
- <children xsi:type="advanced:Perspective" xmi:id="_Z50Irs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavaPerspective" selectedElement="_Z50Ir89SEeSV1Mx9A3xekQ" label="Java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/jperspective.gif">
+ <children xsi:type="advanced:Perspective" xmi:id="_emgrnurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavaPerspective" selectedElement="_emgrn-rNEeSOidyff_nu0w" label="Java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/jperspective.gif">
<persistedState key="persp.hiddenItems" value="persp.hideToolbarSC:org.eclipse.debug.ui.commands.RunToLine,persp.hideToolbarSC:org.eclipse.jdt.ui.actions.OpenProjectWizard,persp.hideToolbarSC:org.eclipse.ui.edit.text.toggleShowSelectedElementOnly,persp.hideToolbarSC:org.eclipse.ui.workbench.file,persp.hideToolbarSC:newWizardDropDown,persp.hideToolbarSC:org.eclipse.ui.file.save,persp.hideToolbarSC:org.eclipse.ui.file.saveAll,persp.hideToolbarSC:print,persp.hideToolbarSC:org.eclipse.wb.core.wizards.actions.NewDesignerTypeDropDownAction,persp.hideToolbarSC:org.eclipse.debug.ui.commands.Disconnect,persp.hideToolbarSC:org.eclipse.debug.ui.commands.StepInto,persp.hideToolbarSC:org.eclipse.debug.ui.commands.StepOver,persp.hideToolbarSC:org.eclipse.debug.ui.commands.StepReturn,persp.hideToolbarSC:org.eclipse.debug.ui.commands.DropToFrame,persp.hideToolbarSC:org.eclipse.debug.ui.commands.ToggleStepFilters,persp.hideToolbarSC:org.eclipse.ui.edit.text.actionSet.presentation,persp.hideToolbarSC:org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb,persp.hideToolbarSC:org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences,persp.hideToolbarSC:org.eclipse.mylyn.java.ui.editor.folding.auto,persp.hideToolbarSC:org.eclipse.ui.edit.text.toggleBlockSelectionMode,persp.hideToolbarSC:org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters,persp.hideToolbarSC:org.eclipse.ui.workbench.navigate,persp.hideToolbarSC:org.eclipse.ui.navigate.backwardHistory,persp.hideToolbarSC:org.eclipse.ui.navigate.forwardHistory,persp.hideToolbarSC:org.eclipse.ui.window.pinEditor,persp.hideToolbarSC:org.eclipse.ui.navigate.next,persp.hideToolbarSC:org.eclipse.ui.navigate.previous,persp.hideToolbarSC:org.eclipse.ui.edit.text.gotoLastEditPosition,persp.hideToolbarSC:org.eclipse.ui.workbench.help,persp.hideMenuSC:XMLContentAssist,persp.hideMenuSC:org.eclipse.ant.ui.open.declaration.command,persp.hideMenuSC:org.eclipse.ant.ui.openExternalDoc,persp.hideMenuSC:org.eclipse.mylyn.task.ui.editor.QuickOutline,"/>
<tags>persp.actionSet:org.eclipse.mylyn.doc.actionSet</tags>
<tags>persp.actionSet:org.eclipse.mylyn.tasks.ui.navigation</tags>
@@ -189,3051 +189,3168 @@
<tags>persp.viewSC:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
<tags>persp.actionSet:org.eclipse.ui.edit.text.actionSet.annotationNavigation</tags>
<tags>persp.actionSet:org.eclipse.debug.ui.breakpointActionSet</tags>
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50Ir89SEeSV1Mx9A3xekQ" selectedElement="_Z50Iu89SEeSV1Mx9A3xekQ" horizontal="true">
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50IsM9SEeSV1Mx9A3xekQ" visible="false" containerData="1745" selectedElement="_Z50Isc9SEeSV1Mx9A3xekQ">
- <children xsi:type="basic:PartStack" xmi:id="_Z50Isc9SEeSV1Mx9A3xekQ" elementId="left" visible="false" containerData="6000" selectedElement="_Z50Iss9SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgrn-rNEeSOidyff_nu0w" selectedElement="_emgroOrNEeSOidyff_nu0w" horizontal="true">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgroOrNEeSOidyff_nu0w" visible="false" containerData="1745" selectedElement="_emgroerNEeSOidyff_nu0w">
+ <children xsi:type="basic:PartStack" xmi:id="_emgroerNEeSOidyff_nu0w" elementId="left" visible="false" containerData="6000" selectedElement="_emgrourNEeSOidyff_nu0w">
<tags>newtablook</tags>
<tags>org.eclipse.e4.primaryNavigationStack</tags>
<tags>Minimized</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iss9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer" ref="_Z50wJM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Is89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.TypeHierarchy" ref="_Z50KBM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50ItM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ResourceNavigator" toBeRendered="false" ref="_Z50KA89SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Itc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigator.ProjectExplorer" toBeRendered="false" ref="_Z50KAM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Its9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.ResultView" toBeRendered="false" ref="_Z50wUc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50It89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.StructureView" toBeRendered="false" ref="_Z50wUs9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IuM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.PaletteView" toBeRendered="false" ref="_Z50wU89SEeSV1Mx9A3xekQ"/>
+ <tags>active</tags>
+ <tags>noFocus</tags>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrourNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer" ref="_emjIG-rNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgro-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.TypeHierarchy" ref="_emigturNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrpOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ResourceNavigator" toBeRendered="false" ref="_emigterNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrperNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigator.ProjectExplorer" toBeRendered="false" ref="_emigsurNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrpurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.ResultView" toBeRendered="false" ref="_emju8OrNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrp-rNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.StructureView" toBeRendered="false" ref="_emju8erNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrqOrNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.PaletteView" toBeRendered="false" ref="_emju8urNEeSOidyff_nu0w"/>
</children>
- <children xsi:type="basic:PartStack" xmi:id="_Z50Iuc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewMStack" toBeRendered="false" containerData="4000">
+ <children xsi:type="basic:PartStack" xmi:id="_emgrqerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewMStack" toBeRendered="false" containerData="4000">
<tags>newtablook</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ius9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesView" toBeRendered="false" ref="_Z50wUM9SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrqurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesView" toBeRendered="false" ref="_emju7-rNEeSOidyff_nu0w"/>
</children>
</children>
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50Iu89SEeSV1Mx9A3xekQ" containerData="8255" selectedElement="_Z50IvM9SEeSV1Mx9A3xekQ" horizontal="true">
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50IvM9SEeSV1Mx9A3xekQ" containerData="7500" selectedElement="_Z50Ivc9SEeSV1Mx9A3xekQ">
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ivc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editorss" containerData="7966" ref="_Z50J5s9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="basic:PartStack" xmi:id="_Z50Ivs9SEeSV1Mx9A3xekQ" elementId="bottom" containerData="2034" selectedElement="_Z50Iw89SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgrq-rNEeSOidyff_nu0w" containerData="8255" selectedElement="_emgrrOrNEeSOidyff_nu0w" horizontal="true">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgrrOrNEeSOidyff_nu0w" containerData="7500" selectedElement="_emgrrerNEeSOidyff_nu0w">
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrrerNEeSOidyff_nu0w" elementId="org.eclipse.ui.editorss" containerData="7732" ref="_emh6G-rNEeSOidyff_nu0w"/>
+ <children xsi:type="basic:PartStack" xmi:id="_emgrrurNEeSOidyff_nu0w" elementId="bottom" containerData="2268" selectedElement="_emgrs-rNEeSOidyff_nu0w">
<tags>newtablook</tags>
<tags>org.eclipse.e4.secondaryDataStack</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iv89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView" ref="_Z50KEc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IwM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavadocView" ref="_Z50wSc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iwc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.SourceView" ref="_Z50wTc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iws9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.views.SearchView" ref="_Z50KPs9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iw89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.console.ConsoleView" ref="_Z50KHc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IxM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.BookmarkView" toBeRendered="false" ref="_Z50KPM9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ixc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProgressView" toBeRendered="false" ref="_Z50KPc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ixs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView" ref="_Z50wG89SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Ix89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.GenericHistoryView" ref="_Z50wVM9SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrr-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView" ref="_emigw-rNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrsOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavadocView" ref="_emju6OrNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrserNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.SourceView" ref="_emju7OrNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrsurNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.views.SearchView" ref="_emig4-rNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrs-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.console.ConsoleView" ref="_emig0OrNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrtOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.BookmarkView" toBeRendered="false" ref="_emig4erNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrterNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProgressView" toBeRendered="false" ref="_emig4urNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrturNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView" ref="_emjIEurNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrt-rNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.GenericHistoryView" ref="_emju8-rNEeSOidyff_nu0w"/>
</children>
</children>
- <children xsi:type="basic:PartSashContainer" xmi:id="_Z50IyM9SEeSV1Mx9A3xekQ" visible="false" containerData="2500" selectedElement="_Z50Iy89SEeSV1Mx9A3xekQ">
- <children xsi:type="basic:PartStack" xmi:id="_Z50Iyc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasksMStack" visible="false" containerData="5000" selectedElement="_Z50Iys9SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartSashContainer" xmi:id="_emgruOrNEeSOidyff_nu0w" visible="false" containerData="2500" selectedElement="_emgru-rNEeSOidyff_nu0w">
+ <children xsi:type="basic:PartStack" xmi:id="_emgruerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasksMStack" visible="false" containerData="5000" selectedElement="_emgruurNEeSOidyff_nu0w">
<tags>newtablook</tags>
<tags>Minimized</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Iys9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" ref="_Z50v5c9SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgruurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" ref="_emjH2urNEeSOidyff_nu0w"/>
</children>
- <children xsi:type="basic:PartStack" xmi:id="_Z50Iy89SEeSV1Mx9A3xekQ" elementId="right" visible="false" containerData="5000" selectedElement="_Z50IzM9SEeSV1Mx9A3xekQ">
+ <children xsi:type="basic:PartStack" xmi:id="_emgru-rNEeSOidyff_nu0w" elementId="right" visible="false" containerData="5000" selectedElement="_emgrvOrNEeSOidyff_nu0w">
<tags>newtablook</tags>
<tags>org.eclipse.e4.secondaryNavigationStack</tags>
<tags>Minimized</tags>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50IzM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ContentOutline" ref="_Z50KQc9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Izc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.texteditor.TemplatesView" toBeRendered="false" ref="_Z50wTs9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50Izs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.views.AntView" toBeRendered="false" ref="_Z50wT89SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrvOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ContentOutline" ref="_emig5urNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrverNEeSOidyff_nu0w" elementId="org.eclipse.ui.texteditor.TemplatesView" toBeRendered="false" ref="_emju7erNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrvurNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.views.AntView" toBeRendered="false" ref="_emju7urNEeSOidyff_nu0w"/>
</children>
</children>
</children>
</children>
</children>
</children>
- <children xsi:type="basic:PartStack" xmi:id="_Z50Iz89SEeSV1Mx9A3xekQ" elementId="stickyFolderRight" toBeRendered="false" containerData="2500">
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50I0M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.help.ui.HelpView" toBeRendered="false" ref="_Z50J489SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50I0c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.internal.introview" toBeRendered="false" ref="_Z50J5M9SEeSV1Mx9A3xekQ"/>
- <children xsi:type="advanced:Placeholder" xmi:id="_Z50I0s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.cheatsheets.views.CheatSheetView" toBeRendered="false" ref="_Z50J5c9SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="basic:PartStack" xmi:id="_emgrv-rNEeSOidyff_nu0w" elementId="stickyFolderRight" toBeRendered="false" containerData="2500">
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrwOrNEeSOidyff_nu0w" elementId="org.eclipse.help.ui.HelpView" toBeRendered="false" ref="_emh6GOrNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrwerNEeSOidyff_nu0w" elementId="org.eclipse.ui.internal.introview" toBeRendered="false" ref="_emh6GerNEeSOidyff_nu0w"/>
+ <children xsi:type="advanced:Placeholder" xmi:id="_emgrwurNEeSOidyff_nu0w" elementId="org.eclipse.ui.cheatsheets.views.CheatSheetView" toBeRendered="false" ref="_emh6GurNEeSOidyff_nu0w"/>
</children>
</children>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50J489SEeSV1Mx9A3xekQ" elementId="org.eclipse.help.ui.HelpView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Help" iconURI="platform:/plugin/org.eclipse.help.ui//icons/view16/help_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emh6GOrNEeSOidyff_nu0w" elementId="org.eclipse.help.ui.HelpView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Help" iconURI="platform:/plugin/org.eclipse.help.ui//icons/view16/help_view.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Help</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50J5M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.internal.introview" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Welcome" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emh6GerNEeSOidyff_nu0w" elementId="org.eclipse.ui.internal.introview" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Welcome" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50J5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.cheatsheets.views.CheatSheetView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Cheat Sheets" iconURI="platform:/plugin/org.eclipse.ui.cheatsheets//icons/view16/cheatsheet_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emh6GurNEeSOidyff_nu0w" elementId="org.eclipse.ui.cheatsheets.views.CheatSheetView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Cheat Sheets" iconURI="platform:/plugin/org.eclipse.ui.cheatsheets//icons/view16/cheatsheet_view.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Help</tags>
</sharedElements>
- <sharedElements xsi:type="advanced:Area" xmi:id="_Z50J5s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editorss" selectedElement="_Z50J589SEeSV1Mx9A3xekQ">
- <children xsi:type="basic:PartStack" xmi:id="_Z50J589SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.primaryDataStack" selectedElement="_ZTOnIOdjEeSw1PatLR9qrg">
+ <sharedElements xsi:type="advanced:Area" xmi:id="_emh6G-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.editorss" selectedElement="_emh6HOrNEeSOidyff_nu0w">
+ <children xsi:type="basic:PartStack" xmi:id="_emh6HOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.primaryDataStack" selectedElement="_emh6I-rNEeSOidyff_nu0w">
<tags>newtablook</tags>
<tags>org.eclipse.e4.primaryDataStack</tags>
<tags>EditorStack</tags>
- <tags>active</tags>
- <children xsi:type="basic:Part" xmi:id="_Fft3UOYZEeSzLJaotmh6og" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="JewelrycraftMod.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;JewelrycraftMod.java&quot; partName=&quot;JewelrycraftMod.java&quot; title=&quot;JewelrycraftMod.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;15&quot; selectionOffset=&quot;3360&quot; selectionTopPixel=&quot;85&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emh6HerNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="JewelrycraftMod.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;JewelrycraftMod.java&quot; partName=&quot;JewelrycraftMod.java&quot; title=&quot;JewelrycraftMod.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/JewelrycraftMod.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;3205&quot; selectionTopPixel=&quot;425&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_z-OVQObCEeSB38Db84OA6g" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="CurseList.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CurseList.java&quot; partName=&quot;CurseList.java&quot; title=&quot;CurseList.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseList.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseList.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1393&quot; selectionTopPixel=&quot;0&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emh6HurNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="CurseList.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CurseList.java&quot; partName=&quot;CurseList.java&quot; title=&quot;CurseList.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseList.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseList.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1191&quot; selectionTopPixel=&quot;0&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_TAhvsObDEeSB38Db84OA6g" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="CurseRabbitsPaw.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CurseRabbitsPaw.java&quot; partName=&quot;CurseRabbitsPaw.java&quot; title=&quot;CurseRabbitsPaw.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseRabbitsPaw.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/CurseRabbitsPaw.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;2337&quot; selectionTopPixel=&quot;168&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emh6H-rNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Curse.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Curse.java&quot; partName=&quot;Curse.java&quot; title=&quot;Curse.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/Curse.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/Curse.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;21&quot; selectionOffset=&quot;2883&quot; selectionTopPixel=&quot;1397&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_WPTY0ObDEeSB38Db84OA6g" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Curse.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Curse.java&quot; partName=&quot;Curse.java&quot; title=&quot;Curse.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/Curse.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/Curse.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;2723&quot; selectionTopPixel=&quot;1324&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emh6IOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PlayerRenderHandler.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;PlayerRenderHandler.java&quot; partName=&quot;PlayerRenderHandler.java&quot; title=&quot;PlayerRenderHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/PlayerRenderHandler.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/PlayerRenderHandler.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1827&quot; selectionTopPixel=&quot;1108&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_g4gzMObDEeSB38Db84OA6g" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="EntityEventHandler.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;EntityEventHandler.java&quot; partName=&quot;EntityEventHandler.java&quot; title=&quot;EntityEventHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/EntityEventHandler.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/EntityEventHandler.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;7535&quot; selectionTopPixel=&quot;1023&quot;/>&#xD;&#xA;&lt;/editor>"/>
- <tags>Editor</tags>
- <tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
- <tags>removeOnHide</tags>
- </children>
- <children xsi:type="basic:Part" xmi:id="_o4tKoObIEeSB38Db84OA6g" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="BlockEventHandler.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;BlockEventHandler.java&quot; partName=&quot;BlockEventHandler.java&quot; title=&quot;BlockEventHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/BlockEventHandler.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/BlockEventHandler.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;635&quot; selectionTopPixel=&quot;0&quot;/>&#xD;&#xA;&lt;/editor>"/>
- <tags>Editor</tags>
- <tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
- <tags>removeOnHide</tags>
- </children>
- <children xsi:type="basic:Part" xmi:id="_VshKgOc0EeSTmKvBaHO00w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PlayerRenderHandler.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;PlayerRenderHandler.java&quot; partName=&quot;PlayerRenderHandler.java&quot; title=&quot;PlayerRenderHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/PlayerRenderHandler.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/PlayerRenderHandler.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;2073&quot; selectionTopPixel=&quot;115&quot;/>&#xD;&#xA;&lt;/editor>"/>
- <tags>Editor</tags>
- <tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
- <tags>removeOnHide</tags>
- </children>
- <children xsi:type="basic:Part" xmi:id="_agJRkOc0EeSTmKvBaHO00w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PacketSendServerPlayersInfo.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <children xsi:type="basic:Part" xmi:id="_emh6IerNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PacketSendServerPlayersInfo.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;PacketSendServerPlayersInfo.java&quot; partName=&quot;PacketSendServerPlayersInfo.java&quot; title=&quot;PacketSendServerPlayersInfo.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/network/PacketSendServerPlayersInfo.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/network/PacketSendServerPlayersInfo.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1945&quot; selectionTopPixel=&quot;287&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_ZTOnIOdjEeSw1PatLR9qrg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="CursePentagram.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CursePentagram.java&quot; partName=&quot;CursePentagram.java&quot; title=&quot;CursePentagram.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/CursePentagram.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/CursePentagram.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1464&quot; selectionTopPixel=&quot;219&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emh6IurNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="CursePentagram.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;CursePentagram.java&quot; partName=&quot;CursePentagram.java&quot; title=&quot;CursePentagram.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/curses/CursePentagram.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/curses/CursePentagram.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1712&quot; selectionTopPixel=&quot;0&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
- <tags>active</tags>
- <tags>activeOnClose</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_UJR1UOdkEeSw1PatLR9qrg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="ItemRender.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ItemRender.java&quot; partName=&quot;ItemRender.java&quot; title=&quot;ItemRender.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/render/ItemRender.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/render/ItemRender.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;8009&quot; selectionTopPixel=&quot;2057&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emh6I-rNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="BraceletRender.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;BraceletRender.java&quot; partName=&quot;BraceletRender.java&quot; title=&quot;BraceletRender.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/render/BraceletRender.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/render/BraceletRender.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;673&quot; selectionTopPixel=&quot;0&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emh6JOrNEeSOidyff_nu0w" elementId="#CompilationUnitEditorContext">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:#CompilationUnitEditorContext</tags>
+ <tags>popup:org.eclipse.jdt.ui.CompilationUnitEditor.EditorContext</tags>
+ <tags>popup:#AbstractTextEditorContext</tags>
+ </menus>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emh6JerNEeSOidyff_nu0w" elementId="#CompilationUnitRulerContext">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:#CompilationUnitRulerContext</tags>
+ <tags>popup:org.eclipse.jdt.ui.CompilationUnitEditor.RulerContext</tags>
+ <tags>popup:#AbstractTextEditorRulerContext</tags>
+ </menus>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emh6JurNEeSOidyff_nu0w" elementId="#OverviewRulerContext">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:#OverviewRulerContext</tags>
+ </menus>
</children>
- <children xsi:type="basic:Part" xmi:id="_G0wnEOdrEeSw1PatLR9qrg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="ScreenHandler.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ScreenHandler.java&quot; partName=&quot;ScreenHandler.java&quot; title=&quot;ScreenHandler.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/events/ScreenHandler.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/events/ScreenHandler.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;55&quot; selectionOffset=&quot;2094&quot; selectionTopPixel=&quot;51&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emigsOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="ItemGoldObj.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ItemGoldObj.java&quot; partName=&quot;ItemGoldObj.java&quot; title=&quot;ItemGoldObj.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemGoldObj.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemGoldObj.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1591&quot; selectionTopPixel=&quot;139&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_IF0mUOdrEeSw1PatLR9qrg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Gui.class" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/classf_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;Gui.class&quot; partName=&quot;Gui.class&quot; title=&quot;Gui.class&quot; tooltip=&quot;net.minecraft.client.gui.Gui&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.client.gui(Gui.class&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;5664&quot; selectionTopPixel=&quot;1834&quot;/>&#xD;&#xA;&lt;/editor>"/>
- <tags>Editor</tags>
- <tags>org.eclipse.jdt.ui.ClassFileEditor</tags>
- <tags>removeOnHide</tags>
- </children>
- <children xsi:type="basic:Part" xmi:id="_QEmawOdrEeSw1PatLR9qrg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="ClientProxy.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ClientProxy.java&quot; partName=&quot;ClientProxy.java&quot; title=&quot;ClientProxy.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/proxy/ClientProxy.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/proxy/ClientProxy.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;110&quot; selectionOffset=&quot;6572&quot; selectionTopPixel=&quot;185&quot;/>&#xD;&#xA;&lt;/editor>"/>
+ <children xsi:type="basic:Part" xmi:id="_emigserNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="ItemList.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" closeable="true">
+ <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;ItemList.java&quot; partName=&quot;ItemList.java&quot; title=&quot;ItemList.java&quot; tooltip=&quot;Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemList.java&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Minecraft/src/main/java/darkknight/jewelrycraft/item/ItemList.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;0&quot; selectionTopPixel=&quot;204&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
- <children xsi:type="basic:Part" xmi:id="_ByB3kOdsEeSw1PatLR9qrg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="ItemRenderer.class" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/classf_obj.gif" closeable="true">
- <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;ItemRenderer.class&quot; partName=&quot;ItemRenderer.class&quot; title=&quot;ItemRenderer.class&quot; tooltip=&quot;net.minecraft.client.renderer.ItemRenderer&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.client.renderer(ItemRenderer.class&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;11681&quot; selectionTopPixel=&quot;2924&quot;/>&#xD;&#xA;&lt;/editor>"/>
- <tags>Editor</tags>
- <tags>org.eclipse.jdt.ui.ClassFileEditor</tags>
- <tags>removeOnHide</tags>
- </children>
</children>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigator.ProjectExplorer" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Project Explorer" iconURI="platform:/plugin/org.eclipse.ui.navigator.resources//icons/full/eview16/resource_persp.gif" tooltip="Workspace" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigsurNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigator.ProjectExplorer" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Project Explorer" iconURI="platform:/plugin/org.eclipse.ui.navigator.resources//icons/full/eview16/resource_persp.gif" tooltip="Workspace" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view CommonNavigator.LINKING_ENABLED=&quot;0&quot; org.eclipse.ui.navigator.resources.workingSets.showTopLevelWorkingSets=&quot;0&quot;/>"/>
<tags>View</tags>
<tags>categoryTag:General</tags>
- <menus xmi:id="_Z50KAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigator.ProjectExplorer">
+ <menus xmi:id="_emigs-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigator.ProjectExplorer">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <toolbar xmi:id="_Z50KAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigator.ProjectExplorer"/>
+ <toolbar xmi:id="_emigtOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigator.ProjectExplorer"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ResourceNavigator" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Navigator" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/filenav_nav.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigterNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ResourceNavigator" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Navigator" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/filenav_nav.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.TypeHierarchy" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Type Hierarchy" iconURI="platform:/plugin/org.eclipse.jdt.ui//icons/full/eview16/class_hi.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigturNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.TypeHierarchy" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Type Hierarchy" iconURI="platform:/plugin/org.eclipse.jdt.ui//icons/full/eview16/class_hi.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view hidefields=&quot;false&quot; hidelocaltypes=&quot;false&quot; hidenonpublic=&quot;false&quot; hidestatic=&quot;false&quot; input=&quot;=Minecraft/C:\/Users\/Sorin\/.gradle\/caches\/minecraft\/net\/minecraftforge\/forge\/1.7.10-10.13.0.1208\/forgeSrc-1.7.10-10.13.0.1208.jar&amp;lt;net.minecraft.inventory&quot; link_editors=&quot;0&quot; mv_vertical_scroll=&quot;0&quot; orientation=&quot;3&quot; qualified_names=&quot;0&quot; ratio=&quot;350&quot; selection=&quot;=Minecraft/C:\/Program Files\/Java\/jdk1.7.0_71\/jre\/lib\/rt.jar&amp;lt;java.lang(Object.class[Object&quot; showinherited=&quot;false&quot; sortbydefiningtype=&quot;false&quot; vertical_scroll=&quot;0&quot; view=&quot;2&quot; workingSetName=&quot;Aggregate for window 1413973370715&quot;/>"/>
<tags>View</tags>
<tags>categoryTag:Java</tags>
- <menus xmi:id="_Z50KBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.TypeHierarchy">
+ <menus xmi:id="_emigt-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.TypeHierarchy">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <toolbar xmi:id="_Z50KBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.TypeHierarchy" visible="false"/>
+ <toolbar xmi:id="_emiguOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.TypeHierarchy" visible="false"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackagesView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Packages" iconURI="platform:/plugin/org.eclipse.jdt.ui//icons/full/eview16/packages.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emiguerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackagesView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Packages" iconURI="platform:/plugin/org.eclipse.jdt.ui//icons/full/eview16/packages.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Java Browsing</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.AllMarkersView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Markers" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/problems_view.gif" tooltip="8 items" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emiguurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.AllMarkersView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Markers" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/problems_view.gif" tooltip="8 items" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view PRIMARY_SORT_FIELD=&quot;org.eclipse.ui.ide.allSeverityField&quot; categoryGroup=&quot;org.eclipse.ui.ide.type&quot; markerContentGenerator=&quot;org.eclipse.ui.ide.allMarkersGenerator&quot; partName=&quot;Markers&quot;>&#xD;&#xA;&lt;expanded>&#xD;&#xA;&lt;category IMemento.internal.id=&quot;Java Task (6 items)&quot;/>&#xD;&#xA;&lt;/expanded>&#xD;&#xA;&lt;columnWidths org.eclipse.ui.ide.allSeverityField=&quot;300&quot; org.eclipse.ui.ide.locationField=&quot;90&quot; org.eclipse.ui.ide.markerType=&quot;90&quot; org.eclipse.ui.ide.pathField=&quot;120&quot; org.eclipse.ui.ide.resourceField=&quot;90&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.allSeverityField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.resourceField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.pathField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.locationField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.markerType&quot;/>&#xD;&#xA;&lt;/view>"/>
<tags>View</tags>
<tags>categoryTag:General</tags>
- <menus xmi:id="_Z50KCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.AllMarkersView">
+ <menus xmi:id="_emigu-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.AllMarkersView">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <toolbar xmi:id="_Z50KCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.AllMarkersView" visible="false"/>
+ <toolbar xmi:id="_emigvOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.AllMarkersView" visible="false"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.PropertySheet" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Properties" iconURI="platform:/plugin/org.eclipse.ui.views//icons/full/eview16/prop_ps.gif" tooltip="" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigverNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.PropertySheet" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Properties" iconURI="platform:/plugin/org.eclipse.ui.views//icons/full/eview16/prop_ps.gif" tooltip="" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view/>"/>
<tags>View</tags>
<tags>categoryTag:General</tags>
- <menus xmi:id="_Z50KDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.PropertySheet">
+ <menus xmi:id="_emigvurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.PropertySheet">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <toolbar xmi:id="_Z50KDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.PropertySheet" visible="false"/>
+ <toolbar xmi:id="_emigv-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.PropertySheet" visible="false"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KDs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.ui.ServersView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Servers" iconURI="platform:/plugin/org.eclipse.wst.server.ui/icons/cview16/servers_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigwOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.ui.ServersView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Servers" iconURI="platform:/plugin/org.eclipse.wst.server.ui/icons/cview16/servers_view.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Server</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Data Source Explorer" iconURI="platform:/plugin/org.eclipse.datatools.connectivity.ui.dse/icons/full/cview16/enterprise_explorer.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigwerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Data Source Explorer" iconURI="platform:/plugin/org.eclipse.datatools.connectivity.ui.dse/icons/full/cview16/enterprise_explorer.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Data Management</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.common.snippets.internal.ui.SnippetsView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Snippets" iconURI="platform:/plugin/org.eclipse.wst.common.snippets//icons/snippets_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigwurNEeSOidyff_nu0w" elementId="org.eclipse.wst.common.snippets.internal.ui.SnippetsView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Snippets" iconURI="platform:/plugin/org.eclipse.wst.common.snippets//icons/snippets_view.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/problems_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigw-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/problems_view.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view PRIMARY_SORT_FIELD=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot; categoryGroup=&quot;org.eclipse.ui.ide.severity&quot; markerContentGenerator=&quot;org.eclipse.ui.ide.problemsGenerator&quot; partName=&quot;Problems&quot;>&#xD;&#xA;&lt;columnWidths org.eclipse.ui.ide.locationField=&quot;90&quot; org.eclipse.ui.ide.markerType=&quot;90&quot; org.eclipse.ui.ide.pathField=&quot;120&quot; org.eclipse.ui.ide.resourceField=&quot;90&quot; org.eclipse.ui.ide.severityAndDescriptionField=&quot;461&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.resourceField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.pathField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.locationField&quot;/>&#xD;&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.markerType&quot;/>&#xD;&#xA;&lt;/view>"/>
<tags>View</tags>
<tags>categoryTag:General</tags>
- <menus xmi:id="_Z50KEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xmi:id="_emigxOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KE89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigxerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:org.eclipse.ui.views.ProblemView</tags>
+ <tags>popup:org.eclipse.ui.ide.MarkersView</tags>
+ </menus>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigxurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigx-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigyOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KFs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigyerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigyurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KGM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigy-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KGc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigzOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KGs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emigzerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.ui.views.ProblemView</tags>
<tags>popup:org.eclipse.ui.ide.MarkersView</tags>
</menus>
- <toolbar xmi:id="_Z50KG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView" visible="false"/>
+ <toolbar xmi:id="_emigzurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView" visible="false"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.TaskList" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Tasks" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/tasks_tsk.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emigz-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.TaskList" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Tasks" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/tasks_tsk.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.console.ConsoleView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Console" iconURI="platform:/plugin/org.eclipse.ui.console//icons/full/cview16/console_view.gif" tooltip="" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emig0OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.console.ConsoleView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Console" iconURI="platform:/plugin/org.eclipse.ui.console//icons/full/cview16/console_view.gif" tooltip="" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view/>"/>
<tags>View</tags>
<tags>categoryTag:General</tags>
- <menus xmi:id="_Z50KHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.console.ConsoleView">
+ <menus xmi:id="_emig0erNEeSOidyff_nu0w" elementId="org.eclipse.ui.console.ConsoleView">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig0urNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig0-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig1OrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig1erNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KI89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig1urNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig1-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig2OrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50KJs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig2erNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu</tags>
</menus>
- <toolbar xmi:id="_Z50KJ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.console.ConsoleView"/>
+ <toolbar xmi:id="_emig2urNEeSOidyff_nu0w" elementId="org.eclipse.ui.console.ConsoleView"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.BookmarkView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Bookmarks" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/bkmrk_nav.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emig4erNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.BookmarkView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Bookmarks" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/bkmrk_nav.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProgressView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Progress" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/pview.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emig4urNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProgressView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Progress" iconURI="platform:/plugin/org.eclipse.ui.ide//icons/full/eview16/pview.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.views.SearchView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Search" iconURI="platform:/plugin/org.eclipse.search//icons/full/eview16/searchres.gif" tooltip="" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emig4-rNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.views.SearchView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Search" iconURI="platform:/plugin/org.eclipse.search//icons/full/eview16/searchres.gif" tooltip="" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view isPinned=&quot;false&quot;>&#xD;&#xA;&lt;view IMemento.internal.id=&quot;org.eclipse.search.text.FileSearchResultPage&quot; org.eclipse.search.lastActivation=&quot;1&quot; org.eclipse.search.resultpage.layout=&quot;2&quot; org.eclipse.search.resultpage.limit=&quot;1000&quot; org.eclipse.search.resultpage.sorting=&quot;2&quot;/>&#xD;&#xA;&lt;view IMemento.internal.id=&quot;&quot; org.eclipse.search.lastActivation=&quot;0&quot;/>&#xD;&#xA;&lt;/view>"/>
<tags>View</tags>
<tags>categoryTag:General</tags>
- <menus xmi:id="_Z50KP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.views.SearchView">
+ <menus xmi:id="_emig5OrNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.views.SearchView">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <toolbar xmi:id="_Z50KQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.views.SearchView" visible="false"/>
+ <toolbar xmi:id="_emig5erNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.views.SearchView" visible="false"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50KQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ContentOutline" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Outline" iconURI="platform:/plugin/org.eclipse.ui.views//icons/full/eview16/outline_co.gif" tooltip="" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emig5urNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ContentOutline" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Outline" iconURI="platform:/plugin/org.eclipse.ui.views//icons/full/eview16/outline_co.gif" tooltip="" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view/>"/>
<tags>View</tags>
<tags>categoryTag:General</tags>
- <menus xmi:id="_Z50KQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ContentOutline">
+ <menus xmi:id="_emig5-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ContentOutline">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50voc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig8urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:org.eclipse.jdt.ui.outline</tags>
+ </menus>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig8-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vos9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig9OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vo89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig9erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vpM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig9urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vpc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig9-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vps9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig-OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vp89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig-erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vqM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig-urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vqc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig--rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vqs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig_OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vq89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig_erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vrM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig_urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vrc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emig_-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vrs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihAOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vr89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihAerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vsM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihAurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vsc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihA-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vss9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihBOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vs89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihBerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vtM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihBurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vtc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihB-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vts9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihCOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vt89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihCerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vuM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihCurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vuc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihC-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vus9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihDOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vu89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihDerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vvM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihDurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vvc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihD-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vvs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emihEOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vv89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHwOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vwM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHwerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vwc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHwurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vws9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHw-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vw89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHxOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vxM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHxerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vxc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHxurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vxs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHx-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vx89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHyOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vyM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHyerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vyc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHyurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vys9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHy-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vy89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHzOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vzM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHzerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vzc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHzurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vzs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjHz-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50vz89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.outline">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH0OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.outline">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.outline</tags>
</menus>
- <toolbar xmi:id="_Z50v0M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ContentOutline"/>
+ <toolbar xmi:id="_emjH0erNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ContentOutline"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50v5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Task List" iconURI="platform:/plugin/org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emjH2urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Task List" iconURI="platform:/plugin/org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view linkWithEditor=&quot;true&quot; presentation=&quot;org.eclipse.mylyn.tasks.ui.categorized&quot;>&#xD;&#xA;&lt;sorter groupBy=&quot;CATEGORY_QUERY&quot;>&#xD;&#xA;&lt;sorter>&#xD;&#xA;&lt;sort0 sortDirection=&quot;1&quot; sortKey=&quot;PRIORITY&quot;/>&#xD;&#xA;&lt;sort1 sortDirection=&quot;1&quot; sortKey=&quot;RANK&quot;/>&#xD;&#xA;&lt;sort2 sortDirection=&quot;1&quot; sortKey=&quot;DATE_CREATED&quot;/>&#xD;&#xA;&lt;sort3 sortDirection=&quot;1&quot; sortKey=&quot;NONE&quot;/>&#xD;&#xA;&lt;sort4 sortDirection=&quot;1&quot; sortKey=&quot;NONE&quot;/>&#xD;&#xA;&lt;sort5 sortDirection=&quot;1&quot; sortKey=&quot;NONE&quot;/>&#xD;&#xA;&lt;sort6 sortDirection=&quot;1&quot; sortKey=&quot;NONE&quot;/>&#xD;&#xA;&lt;sort7 sortDirection=&quot;1&quot; sortKey=&quot;NONE&quot;/>&#xD;&#xA;&lt;/sorter>&#xD;&#xA;&lt;/sorter>&#xD;&#xA;&lt;filteredTreeFindHistory/>&#xD;&#xA;&lt;/view>"/>
<tags>View</tags>
<tags>categoryTag:Mylyn</tags>
- <menus xmi:id="_Z50v5s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xmi:id="_emjH2-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50v_M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH8erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
+ </menus>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH8urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
+ </menus>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH8-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50v_c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH9OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50v_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH9erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50v_89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH9urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH9-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH-OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH-erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH-urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH--rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH_OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH_erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH_urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjH_-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIAOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIAerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.menus.activeTask">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.menus.activeTask</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIAurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
</menus>
- <toolbar xmi:id="_Z50wDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks"/>
+ <toolbar xmi:id="_emjIA-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Debug" iconURI="platform:/plugin/org.eclipse.debug.ui//icons/full/eview16/debug_view.gif" tooltip="" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emjIEurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Debug" iconURI="platform:/plugin/org.eclipse.debug.ui//icons/full/eview16/debug_view.gif" tooltip="" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view/>"/>
<tags>View</tags>
<tags>categoryTag:Debug</tags>
- <menus xmi:id="_Z50wHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView">
+ <menus xmi:id="_emjIE-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIFOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.DebugView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIFerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.DebugView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIFurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.DebugView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIF-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.DebugView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIGOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.DebugView</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emjIGerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.debug.ui.DebugView</tags>
</menus>
- <toolbar xmi:id="_Z50wI89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView" visible="false"/>
+ <toolbar xmi:id="_emjIGurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView" visible="false"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Package Explorer" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/package.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emjIG-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Package Explorer" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/package.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1413973370715&quot;>&#xD;&#xA;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;>&#xD;&#xA;&lt;xmlDefinedFilters>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.mylyn.java.ui.MembersFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;/xmlDefinedFilters>&#xD;&#xA;&lt;/customFilters>&#xD;&#xA;&lt;/view>"/>
<tags>View</tags>
<tags>categoryTag:Java</tags>
- <menus xmi:id="_Z50wJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <tags>active</tags>
+ <menus xmi:id="_emjIHOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wO89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju2erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju2urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju2-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju3OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju3erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju3urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju3-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju4OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
</menus>
- <toolbar xmi:id="_Z50wQ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer"/>
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju4erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer">
+ <tags>menuContribution:popup</tags>
+ <tags>popup:org.eclipse.jdt.ui.PackageExplorer</tags>
+ </menus>
+ <toolbar xmi:id="_emju4urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wSc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavadocView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Javadoc" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/javadoc.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju6OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavadocView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Javadoc" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/javadoc.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view/>"/>
<tags>View</tags>
<tags>categoryTag:Java</tags>
- <menus xmi:id="_Z50wSs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavadocView">
+ <menus xmi:id="_emju6erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavadocView">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <menus xsi:type="menu:PopupMenu" xmi:id="_Z50wS89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavadocView">
+ <menus xsi:type="menu:PopupMenu" xmi:id="_emju6urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavadocView">
<tags>menuContribution:popup</tags>
<tags>popup:org.eclipse.jdt.ui.JavadocView</tags>
</menus>
- <toolbar xmi:id="_Z50wTM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavadocView" visible="false"/>
+ <toolbar xmi:id="_emju6-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavadocView" visible="false"/>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wTc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.SourceView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Declaration" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/source.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju7OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.SourceView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Declaration" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/source.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wTs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.texteditor.TemplatesView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Templates" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/templates.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju7erNEeSOidyff_nu0w" elementId="org.eclipse.ui.texteditor.TemplatesView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Templates" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/templates.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wT89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.views.AntView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Ant" iconURI="platform:/plugin/org.eclipse.ant.ui/icons/full/eview16/ant_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju7urNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.views.AntView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Ant" iconURI="platform:/plugin/org.eclipse.ant.ui/icons/full/eview16/ant_view.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Ant</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wUM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Git Repositories" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/repo_rep.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju7-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Git Repositories" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/repo_rep.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Git</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wUc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.ResultView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="JUnit" iconURI="platform:/plugin/org.eclipse.jdt.junit/icons/full/eview16/junit.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju8OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.ResultView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="JUnit" iconURI="platform:/plugin/org.eclipse.jdt.junit/icons/full/eview16/junit.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wUs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.StructureView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Structure" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/properties_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju8erNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.StructureView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Structure" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/properties_view.gif" closeable="true">
<tags>View</tags>
<tags>categoryTag:WindowBuilder</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wU89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.PaletteView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Palette" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/palette.png" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju8urNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.PaletteView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Palette" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/palette.png" closeable="true">
<tags>View</tags>
<tags>categoryTag:WindowBuilder</tags>
</sharedElements>
- <sharedElements xsi:type="basic:Part" xmi:id="_Z50wVM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.GenericHistoryView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="History" iconURI="platform:/plugin/org.eclipse.team.ui/icons/full/eview16/history_view.gif" closeable="true">
+ <sharedElements xsi:type="basic:Part" xmi:id="_emju8-rNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.GenericHistoryView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="History" iconURI="platform:/plugin/org.eclipse.team.ui/icons/full/eview16/history_view.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view/>"/>
<tags>View</tags>
<tags>categoryTag:Team</tags>
- <menus xmi:id="_Z50wVc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.GenericHistoryView">
+ <menus xmi:id="_emju9OrNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.GenericHistoryView">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
</menus>
- <toolbar xmi:id="_Z50wVs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.GenericHistoryView" visible="false"/>
+ <toolbar xmi:id="_emju9erNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.GenericHistoryView" visible="false"/>
</sharedElements>
- <trimBars xmi:id="_Z50wV89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.main.toolbar">
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wWM9SEeSV1Mx9A3xekQ" elementId="group.file" toBeRendered="false">
+ <trimBars xmi:id="_emju9urNEeSOidyff_nu0w" elementId="org.eclipse.ui.main.toolbar">
+ <children xsi:type="menu:ToolBar" xmi:id="_emju9-rNEeSOidyff_nu0w" elementId="group.file" toBeRendered="false">
<tags>toolbarSeparator</tags>
- <children xsi:type="menu:ToolBarSeparator" xmi:id="_Z50wWc9SEeSV1Mx9A3xekQ" elementId="group.file" toBeRendered="false"/>
+ <children xsi:type="menu:ToolBarSeparator" xmi:id="_emju-OrNEeSOidyff_nu0w" elementId="group.file" toBeRendered="false"/>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wWs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.workbench.file">
+ <children xsi:type="menu:ToolBar" xmi:id="_emju-erNEeSOidyff_nu0w" elementId="org.eclipse.ui.workbench.file">
<tags>Draggable</tags>
- <children xsi:type="menu:HandledToolItem" xmi:id="_kahF8OhmEeSxcNmyBARhQw" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_Z53Mr89SEeSV1Mx9A3xekQ"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emju-urNEeSOidyff_nu0w" elementId="new.group">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emju--rNEeSOidyff_nu0w" elementId="newWizardDropDown" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emju_OrNEeSOidyff_nu0w" elementId="new.ext" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emju_erNEeSOidyff_nu0w" elementId="save.group" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emju_urNEeSOidyff_nu0w" elementId="save" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emju_-rNEeSOidyff_nu0w" elementId="saveAll" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvAOrNEeSOidyff_nu0w" elementId="save.ext" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_emjvAerNEeSOidyff_nu0w" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_emv8H-rNEeSOidyff_nu0w"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvAurNEeSOidyff_nu0w" elementId="print.ext" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvA-rNEeSOidyff_nu0w" elementId="build.group">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvBOrNEeSOidyff_nu0w" elementId="build.ext" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvBerNEeSOidyff_nu0w" elementId="additions">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvBurNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.wizards.actions.NewDesignerTypeDropDownAction" visible="false">
+ <tags>Opaque</tags>
+ </children>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50waM9SEeSV1Mx9A3xekQ" elementId="additions" toBeRendered="false">
+ <children xsi:type="menu:ToolBar" xmi:id="_emjvB-rNEeSOidyff_nu0w" elementId="additions" toBeRendered="false">
<tags>toolbarSeparator</tags>
- <children xsi:type="menu:ToolBarSeparator" xmi:id="_Z50wac9SEeSV1Mx9A3xekQ" elementId="additions" toBeRendered="false"/>
+ <children xsi:type="menu:ToolBarSeparator" xmi:id="_emjvCOrNEeSOidyff_nu0w" elementId="additions" toBeRendered="false"/>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wkc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavaElementCreationActionSet">
+ <children xsi:type="menu:ToolBar" xmi:id="_emjvMOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavaElementCreationActionSet">
<tags>Draggable</tags>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvMerNEeSOidyff_nu0w" elementId="JavaWizards">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emjvMurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.actions.OpenProjectWizard" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV4OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.actions.OpenPackageWizard">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV4erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.actions.NewTypeDropDown">
+ <tags>Opaque</tags>
+ </children>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wls9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.breakpointActionSet">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV4urNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.breakpointActionSet">
<tags>Draggable</tags>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wl89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.debugActionSet">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV4-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.debugActionSet">
<tags>Draggable</tags>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wmM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.launchActionSet">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV5OrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.launchActionSet">
<tags>Draggable</tags>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV5erNEeSOidyff_nu0w" elementId="debug">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV5urNEeSOidyff_nu0w" elementId="org.eclipse.debug.internal.ui.actions.DebugDropDownAction">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV5-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.internal.ui.actions.RunDropDownAction">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV6OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar">
+ <tags>Opaque</tags>
+ </children>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wnc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.j2ee.J2eeMainActionSet">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV6erNEeSOidyff_nu0w" elementId="org.eclipse.jst.j2ee.J2eeMainActionSet">
<tags>Draggable</tags>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wns9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.searchActionSet">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV6urNEeSOidyff_nu0w" elementId="org.eclipse.search.searchActionSet">
<tags>Draggable</tags>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV6-rNEeSOidyff_nu0w" elementId="Search">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV7OrNEeSOidyff_nu0w" elementId="openType">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV7erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.openTask">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV7urNEeSOidyff_nu0w" elementId="org.eclipse.search.OpenSearchDialogPage">
+ <tags>Opaque</tags>
+ </children>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wo89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.actionSet.presentation">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV7-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.actionSet.presentation">
<tags>Draggable</tags>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV8OrNEeSOidyff_nu0w" elementId="Presentation">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV8erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV8urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV8-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV9OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV9erNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV9urNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly" visible="false">
+ <tags>Opaque</tags>
+ </children>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wq89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.ui.internal.webbrowser.actionSet">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV9-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.ui.internal.webbrowser.actionSet">
<tags>Draggable</tags>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wrM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.ws.explorer.explorer">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV-OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.ws.explorer.explorer">
<tags>Draggable</tags>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wrc9SEeSV1Mx9A3xekQ" elementId="group.nav" toBeRendered="false">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV-erNEeSOidyff_nu0w" elementId="group.nav" toBeRendered="false">
<tags>toolbarSeparator</tags>
- <children xsi:type="menu:ToolBarSeparator" xmi:id="_Z50wrs9SEeSV1Mx9A3xekQ" elementId="group.nav" toBeRendered="false"/>
+ <children xsi:type="menu:ToolBarSeparator" xmi:id="_emkV-urNEeSOidyff_nu0w" elementId="group.nav" toBeRendered="false"/>
+ </children>
+ <children xsi:type="menu:ToolBar" xmi:id="_emkV--rNEeSOidyff_nu0w" elementId="org.eclipse.ui.workbench.navigate">
+ <tags>Draggable</tags>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV_OrNEeSOidyff_nu0w" elementId="history.group">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV_erNEeSOidyff_nu0w" elementId="group.application" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV_urNEeSOidyff_nu0w" elementId="backardHistory" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkV_-rNEeSOidyff_nu0w" elementId="forwardHistory" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkWAOrNEeSOidyff_nu0w" elementId="pin.group">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:HandledToolItem" xmi:id="_emkWAerNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.pinEditor" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_emrq2erNEeSOidyff_nu0w"/>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkWAurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.gotoNextAnnotation" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkWA-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.gotoPreviousAnnotation" visible="false">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkWBOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition" visible="false">
+ <tags>Opaque</tags>
+ </children>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wr89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.workbench.navigate">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkWBerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.CompilationUnitEditor">
<tags>Draggable</tags>
- <children xsi:type="menu:HandledToolItem" xmi:id="_ka0A4OhmEeSxcNmyBARhQw" elementId="org.eclipse.ui.window.pinEditor" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_Z52mOc9SEeSV1Mx9A3xekQ"/>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wus9SEeSV1Mx9A3xekQ" elementId="group.editor" toBeRendered="false">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkWBurNEeSOidyff_nu0w" elementId="group.editor" toBeRendered="false">
<tags>toolbarSeparator</tags>
- <children xsi:type="menu:ToolBarSeparator" xmi:id="_Z50wu89SEeSV1Mx9A3xekQ" elementId="group.editor" toBeRendered="false"/>
+ <children xsi:type="menu:ToolBarSeparator" xmi:id="_emkWB-rNEeSOidyff_nu0w" elementId="group.editor" toBeRendered="false"/>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wvM9SEeSV1Mx9A3xekQ" elementId="group.help" toBeRendered="false">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkWCOrNEeSOidyff_nu0w" elementId="group.help" toBeRendered="false">
<tags>toolbarSeparator</tags>
- <children xsi:type="menu:ToolBarSeparator" xmi:id="_Z50wvc9SEeSV1Mx9A3xekQ" elementId="group.help" toBeRendered="false"/>
+ <children xsi:type="menu:ToolBarSeparator" xmi:id="_emkWCerNEeSOidyff_nu0w" elementId="group.help" toBeRendered="false"/>
</children>
- <children xsi:type="menu:ToolBar" xmi:id="_Z50wvs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.workbench.help" visible="false">
+ <children xsi:type="menu:ToolBar" xmi:id="_emkWCurNEeSOidyff_nu0w" elementId="org.eclipse.ui.workbench.help" visible="false">
<tags>Draggable</tags>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkWC-rNEeSOidyff_nu0w" elementId="group.help">
+ <tags>Opaque</tags>
+ </children>
+ <children xsi:type="menu:DirectToolItem" xmi:id="_emkWDOrNEeSOidyff_nu0w" elementId="group.application" visible="false">
+ <tags>Opaque</tags>
+ </children>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50wwc9SEeSV1Mx9A3xekQ" elementId="PerspectiveSpacer" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.LayoutModifierToolControl">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWDerNEeSOidyff_nu0w" elementId="PerspectiveSpacer" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.LayoutModifierToolControl">
<tags>stretch</tags>
<tags>SHOW_RESTORE_MENU</tags>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50wxc9SEeSV1Mx9A3xekQ" elementId="PerspectiveSwitcher" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWEerNEeSOidyff_nu0w" elementId="PerspectiveSwitcher" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher">
<tags>Draggable</tags>
<tags>HIDEABLE</tags>
<tags>SHOW_RESTORE_MENU</tags>
</children>
</trimBars>
- <trimBars xmi:id="_Z50wzM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.trim.status" side="Bottom">
- <children xsi:type="menu:ToolControl" xmi:id="_Z50wzc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.StatusLine" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.StandardTrim">
+ <trimBars xmi:id="_emkWGOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.trim.status" side="Bottom">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWGerNEeSOidyff_nu0w" elementId="org.eclipse.ui.StatusLine" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.StandardTrim">
<tags>stretch</tags>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50wzs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.HeapStatus" toBeRendered="false" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.StandardTrim"/>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50wz89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ProgressBar" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.StandardTrim">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWGurNEeSOidyff_nu0w" elementId="org.eclipse.ui.HeapStatus" toBeRendered="false" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.StandardTrim"/>
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWG-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.ProgressBar" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.StandardTrim">
<tags>Draggable</tags>
</children>
</trimBars>
- <trimBars xmi:id="_Z50w0M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.trim.vertical1" side="Left">
- <children xsi:type="menu:ToolControl" xmi:id="_Z50w0c9SEeSV1Mx9A3xekQ" elementId="topLeft(org.eclipse.jst.j2ee.J2EEPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
+ <trimBars xmi:id="_emkWHOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.trim.vertical1" side="Left">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWHerNEeSOidyff_nu0w" elementId="topLeft(org.eclipse.jst.j2ee.J2EEPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50w0s9SEeSV1Mx9A3xekQ" elementId="left(org.eclipse.jdt.ui.JavaPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWHurNEeSOidyff_nu0w" elementId="left(org.eclipse.jdt.ui.JavaPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<persistedState key="XSize" value="492"/>
<persistedState key="YSize" value="400"/>
<tags>TrimStack</tags>
+ <tags>MinimizedAndShowing</tags>
</children>
</trimBars>
- <trimBars xmi:id="_Z50w089SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.trim.vertical2" side="Right">
- <children xsi:type="menu:ToolControl" xmi:id="_Z50w1M9SEeSV1Mx9A3xekQ" elementId="topRight(org.eclipse.jst.j2ee.J2EEPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
+ <trimBars xmi:id="_emkWH-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.trim.vertical2" side="Right">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWIOrNEeSOidyff_nu0w" elementId="topRight(org.eclipse.jst.j2ee.J2EEPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50w1c9SEeSV1Mx9A3xekQ" elementId="bottomRight(org.eclipse.jst.j2ee.J2EEPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWIerNEeSOidyff_nu0w" elementId="bottomRight(org.eclipse.jst.j2ee.J2EEPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50w1s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasksMStack(org.eclipse.jdt.ui.JavaPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWIurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasksMStack(org.eclipse.jdt.ui.JavaPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50w189SEeSV1Mx9A3xekQ" elementId="right(org.eclipse.jdt.ui.JavaPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWI-rNEeSOidyff_nu0w" elementId="right(org.eclipse.jdt.ui.JavaPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
</children>
- <children xsi:type="menu:ToolControl" xmi:id="_Z50w2M9SEeSV1Mx9A3xekQ" elementId="bottom(org.eclipse.jdt.ui.JavaPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
+ <children xsi:type="menu:ToolControl" xmi:id="_emkWJOrNEeSOidyff_nu0w" elementId="bottom(org.eclipse.jdt.ui.JavaPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
</children>
</trimBars>
</children>
- <bindingTables xmi:id="_Z50w2c9SEeSV1Mx9A3xekQ" contributorURI="platform:/plugin/org.eclipse.ui.workbench" bindingContext="_Z51X0s9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z50w2s9SEeSV1Mx9A3xekQ" keySequence="CTRL+INSERT" command="_Z52m-c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w289SEeSV1Mx9A3xekQ" keySequence="CTRL+A" command="_Z52m7c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w3M9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+I" command="_Z52mPc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w3c9SEeSV1Mx9A3xekQ" keySequence="CTRL+SPACE" command="_Z52nQc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w3s9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+SPACE" command="_Z53NFc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w389SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+F3" command="_Z53NkM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w4M9SEeSV1Mx9A3xekQ" keySequence="CTRL+F10" command="_Z52nIM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w4c9SEeSV1Mx9A3xekQ" keySequence="CTRL+Z" command="_Z52mhc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w4s9SEeSV1Mx9A3xekQ" keySequence="CTRL+Y" command="_Z53MqM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w489SEeSV1Mx9A3xekQ" keySequence="CTRL+X" command="_Z53MRs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w5M9SEeSV1Mx9A3xekQ" keySequence="CTRL+V" command="_Z52mdM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w5c9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+L" command="_Z52mYM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w5s9SEeSV1Mx9A3xekQ" keySequence="CTRL+1" command="_Z53MFM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w589SEeSV1Mx9A3xekQ" keySequence="SHIFT+INSERT" command="_Z52mdM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w6M9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+D" command="_Z53Mn89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w6c9SEeSV1Mx9A3xekQ" keySequence="SHIFT+DEL" command="_Z53MRs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w6s9SEeSV1Mx9A3xekQ" keySequence="ALT+PAGE_UP" command="_Z52nOc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w689SEeSV1Mx9A3xekQ" keySequence="CTRL+C" command="_Z52m-c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w7M9SEeSV1Mx9A3xekQ" keySequence="ALT+PAGE_DOWN" command="_Z53MWc9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emkWJerNEeSOidyff_nu0w" contributorURI="platform:/plugin/org.eclipse.ui.workbench" bindingContext="_emmLnurNEeSOidyff_nu0w">
+ <bindings xmi:id="_emkWJurNEeSOidyff_nu0w" keySequence="CTRL+INSERT" command="_emsR-urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWJ-rNEeSOidyff_nu0w" keySequence="CTRL+A" command="_emsR7urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWKOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+I" command="_emrq3erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWKerNEeSOidyff_nu0w" keySequence="CTRL+SPACE" command="_emtf6urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWKurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+SPACE" command="_emv8herNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWK-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+F3" command="_emxKSOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWLOrNEeSOidyff_nu0w" keySequence="CTRL+F10" command="_emsSIerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWLerNEeSOidyff_nu0w" keySequence="CTRL+Z" command="_emrrJerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWLurNEeSOidyff_nu0w" keySequence="CTRL+Y" command="_emv8GOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWL-rNEeSOidyff_nu0w" keySequence="CTRL+X" command="_emvVCOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWMOrNEeSOidyff_nu0w" keySequence="CTRL+V" command="_emrrFOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWMerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+L" command="_emrrAOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWMurNEeSOidyff_nu0w" keySequence="CTRL+1" command="_emuuCurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWM-rNEeSOidyff_nu0w" keySequence="SHIFT+INSERT" command="_emrrFOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWNOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+D" command="_emvVYerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWNerNEeSOidyff_nu0w" keySequence="SHIFT+DEL" command="_emvVCOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWNurNEeSOidyff_nu0w" keySequence="ALT+PAGE_UP" command="_emtf4urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWN-rNEeSOidyff_nu0w" keySequence="CTRL+C" command="_emsR-urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWOOrNEeSOidyff_nu0w" keySequence="ALT+PAGE_DOWN" command="_emvVG-rNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z50w7c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.javaEditorScope" bindingContext="_Z51X3c9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z50w7s9SEeSV1Mx9A3xekQ" keySequence="CTRL+I" command="_Z52nCM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w789SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F" command="_Z53Mns9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w8M9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_UP" command="_Z53MLc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w8c9SEeSV1Mx9A3xekQ" keySequence="CTRL+/" command="_Z52mPs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w8s9SEeSV1Mx9A3xekQ" keySequence="CTRL+7" command="_Z52mPs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w889SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+O" command="_Z52mC89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w9M9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+P" command="_Z52nNc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w9c9SEeSV1Mx9A3xekQ" keySequence="CTRL+T" command="_Z52nEM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w9s9SEeSV1Mx9A3xekQ" keySequence="CTRL+F3" command="_Z53L_c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w989SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+/" command="_Z52mQs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w-M9SEeSV1Mx9A3xekQ" keySequence="CTRL+O" command="_Z52mzc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w-c9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+U" command="_Z53M8M9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w-s9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+M" command="_Z53Mtc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w-89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+ARROW_UP" command="_Z53MIc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w_M9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+B" command="_Z53Mo89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w_c9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_DOWN" command="_Z52m4s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w_s9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_RIGHT" command="_Z53Nl89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50w_89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+C" command="_Z52mPs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xAM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+\" command="_Z53Nnc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xAc9SEeSV1Mx9A3xekQ" keySequence="CTRL+2 F" command="_Z53M6M9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xAs9SEeSV1Mx9A3xekQ" keySequence="CTRL+2 L" command="_Z52nGM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xA89SEeSV1Mx9A3xekQ" keySequence="CTRL+2 R" command="_Z52mks9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xBM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_LEFT" command="_Z53NMc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xBc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+ARROW_DOWN" command="_Z53NlM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xBs9SEeSV1Mx9A3xekQ" keySequence="CTRL+2 M" command="_Z53zE89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xB89SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+J" command="_Z53zqs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xCM9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+I" command="_Z53zqM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xCc9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+K" command="_Z53zqc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xCs9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+O" command="_Z53zp89SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emkWOerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.javaEditorScope" bindingContext="_emmLqerNEeSOidyff_nu0w">
+ <bindings xmi:id="_emkWOurNEeSOidyff_nu0w" keySequence="CTRL+I" command="_emsSCerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWO-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F" command="_emvVYOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWPOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_UP" command="_emuuI-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWPerNEeSOidyff_nu0w" keySequence="CTRL+/" command="_emrq3urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWPurNEeSOidyff_nu0w" keySequence="CTRL+7" command="_emrq3urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWP-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+O" command="_emrqq-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWQOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+P" command="_emtf3urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWQerNEeSOidyff_nu0w" keySequence="CTRL+T" command="_emsSEerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWQurNEeSOidyff_nu0w" keySequence="CTRL+F3" command="_emut8-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWQ-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+/" command="_emrq4urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWROrNEeSOidyff_nu0w" keySequence="CTRL+O" command="_emsRzurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emkWRerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+U" command="_emv8YOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk88OrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+M" command="_emv8JerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk88erNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+ARROW_UP" command="_emuuF-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk88urNEeSOidyff_nu0w" keySequence="ALT+SHIFT+B" command="_emv8E-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk88-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_DOWN" command="_emsR4-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk89OrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_RIGHT" command="_emxKT-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk89erNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+C" command="_emrq3urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk89urNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+\" command="_emxKVerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk89-rNEeSOidyff_nu0w" keySequence="CTRL+2 F" command="_emv8WOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8-OrNEeSOidyff_nu0w" keySequence="CTRL+2 L" command="_emsSGerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8-erNEeSOidyff_nu0w" keySequence="CTRL+2 R" command="_emrrMurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8-urNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_LEFT" command="_emwjMurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8--rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+ARROW_DOWN" command="_emxKTOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8_OrNEeSOidyff_nu0w" keySequence="CTRL+2 M" command="_emzmcurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8_erNEeSOidyff_nu0w" keySequence="ALT+CTRL+J" command="_em0NvurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8_urNEeSOidyff_nu0w" keySequence="ALT+CTRL+I" command="_em0NvOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk8_-rNEeSOidyff_nu0w" keySequence="ALT+CTRL+K" command="_em0NverNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9AOrNEeSOidyff_nu0w" keySequence="ALT+CTRL+O" command="_em0Nu-rNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z50xC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.javaEditorScope" bindingContext="_Z51X289SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z50xDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.structuredTextEditorScope" bindingContext="_Z51X389SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z50xDc9SEeSV1Mx9A3xekQ" keySequence="CTRL+I" command="_Z52mQM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xDs9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F" command="_Z52nG89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xD89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+>" command="_Z52nAs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xEM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_UP" command="_Z52mE89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xEc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+P" command="_Z53NIc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xEs9SEeSV1Mx9A3xekQ" keySequence="F3" command="_Z53L8M9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xE89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+/" command="_Z53MKs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xFM9SEeSV1Mx9A3xekQ" keySequence="CTRL+O" command="_Z53Mmc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xFc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+A" command="_Z53NUs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xFs9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+ARROW_UP" command="_Z53NMM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xF89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_DOWN" command="_Z52m089SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xGM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_RIGHT" command="_Z53Mz89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xGc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+C" command="_Z52mtM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xGs9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+\" command="_Z53MX89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xG89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_LEFT" command="_Z53NYs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xHM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+ARROW_DOWN" command="_Z52mmM9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emk9AerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.javaEditorScope" bindingContext="_emmLp-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emk9AurNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.structuredTextEditorScope" bindingContext="_emmLq-rNEeSOidyff_nu0w">
+ <bindings xmi:id="_emk9A-rNEeSOidyff_nu0w" keySequence="CTRL+I" command="_emrq4OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9BOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F" command="_emsSHOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9BerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+>" command="_emsSA-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9BurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_UP" command="_emrqs-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9B-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+P" command="_emwjIurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9COrNEeSOidyff_nu0w" keySequence="F3" command="_emuG--rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9CerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+/" command="_emuuIOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9CurNEeSOidyff_nu0w" keySequence="CTRL+O" command="_emvVW-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9C-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+A" command="_emwjU-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9DOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+ARROW_UP" command="_emwjMerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9DerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_DOWN" command="_emsR1OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9DurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_RIGHT" command="_emv8P-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9D-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+C" command="_emsRterNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9EOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+\" command="_emvVIerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9EerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_LEFT" command="_emwjY-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9EurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+ARROW_DOWN" command="_emrrOOrNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z50xHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.textEditorScope" bindingContext="_Z51X2c9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z50xHs9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+J" command="_Z53Mac9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xH89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+NUMPAD_MULTIPLY" command="_Z52mR89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xIM9SEeSV1Mx9A3xekQ" keySequence="CTRL+ARROW_UP" command="_Z53Mq89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xIc9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+ARROW_UP" command="_Z53Mv89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xIs9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+INSERT" command="_Z53MUs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xI89SEeSV1Mx9A3xekQ" keySequence="ALT+ARROW_DOWN" command="_Z53MSM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xJM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+A" command="_Z53MB89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xJc9SEeSV1Mx9A3xekQ" keySequence="CTRL+ARROW_DOWN" command="_Z53MpM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xJs9SEeSV1Mx9A3xekQ" keySequence="CTRL+K" command="_Z53NXc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xJ89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+K" command="_Z53Nec9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xKM9SEeSV1Mx9A3xekQ" keySequence="CTRL+J" command="_Z52nJM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xKc9SEeSV1Mx9A3xekQ" keySequence="CTRL+L" command="_Z53MWM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xKs9SEeSV1Mx9A3xekQ" keySequence="INSERT" command="_Z52mWM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xK89SEeSV1Mx9A3xekQ" keySequence="CTRL+F10" command="_Z53MGM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xLM9SEeSV1Mx9A3xekQ" keySequence="SHIFT+CR" command="_Z52nPc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xLc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+CR" command="_Z52mKc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xLs9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+X" command="_Z53NI89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xL89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+Y" command="_Z53MLs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xMM9SEeSV1Mx9A3xekQ" keySequence="END" command="_Z53Nmc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xMc9SEeSV1Mx9A3xekQ" keySequence="HOME" command="_Z53MAc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xMs9SEeSV1Mx9A3xekQ" keySequence="F2" command="_Z52mVM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xM89SEeSV1Mx9A3xekQ" keySequence="ALT+/" command="_Z53Nus9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xNM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+Q" command="_Z53MS89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xNc9SEeSV1Mx9A3xekQ" keySequence="CTRL+NUMPAD_DIVIDE" command="_Z53MlM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xNs9SEeSV1Mx9A3xekQ" keySequence="CTRL+NUMPAD_MULTIPLY" command="_Z52nQs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xN89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+NUMPAD_DIVIDE" command="_Z52nL89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xOM9SEeSV1Mx9A3xekQ" keySequence="CTRL+NUMPAD_ADD" command="_Z53L-s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xOc9SEeSV1Mx9A3xekQ" keySequence="CTRL+NUMPAD_SUBTRACT" command="_Z53MzM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xOs9SEeSV1Mx9A3xekQ" keySequence="CTRL+HOME" command="_Z53M2c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xO89SEeSV1Mx9A3xekQ" keySequence="SHIFT+END" command="_Z52mJM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xPM9SEeSV1Mx9A3xekQ" keySequence="CTRL+DEL" command="_Z52mgs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xPc9SEeSV1Mx9A3xekQ" keySequence="ALT+ARROW_UP" command="_Z53M4s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xPs9SEeSV1Mx9A3xekQ" keySequence="CTRL+BS" command="_Z52msc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xP89SEeSV1Mx9A3xekQ" keySequence="CTRL+END" command="_Z52mWc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xQM9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+J" command="_Z53Mqs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xQc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+ARROW_LEFT" command="_Z53MPc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xQs9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+DEL" command="_Z52mos9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xQ89SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+ARROW_DOWN" command="_Z53M6s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xRM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+ARROW_RIGHT" command="_Z53Njs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xRc9SEeSV1Mx9A3xekQ" keySequence="SHIFT+HOME" command="_Z53MY89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xRs9SEeSV1Mx9A3xekQ" keySequence="CTRL+ARROW_LEFT" command="_Z52mlM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xR89SEeSV1Mx9A3xekQ" keySequence="CTRL+D" command="_Z52nHs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xSM9SEeSV1Mx9A3xekQ" keySequence="CTRL+ARROW_RIGHT" command="_Z53M8s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z50xSc9SEeSV1Mx9A3xekQ" keySequence="F12" command="_Z53N2s9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emk9E-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.textEditorScope" bindingContext="_emmLperNEeSOidyff_nu0w">
+ <bindings xmi:id="_emk9FOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+J" command="_emvVK-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9FerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+NUMPAD_MULTIPLY" command="_emrq5-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9FurNEeSOidyff_nu0w" keySequence="CTRL+ARROW_UP" command="_emv8G-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9F-rNEeSOidyff_nu0w" keySequence="ALT+CTRL+ARROW_UP" command="_emv8L-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9GOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+INSERT" command="_emvVFOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9GerNEeSOidyff_nu0w" keySequence="ALT+ARROW_DOWN" command="_emvVCurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9GurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+A" command="_emut_erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9G-rNEeSOidyff_nu0w" keySequence="CTRL+ARROW_DOWN" command="_emv8FOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9HOrNEeSOidyff_nu0w" keySequence="CTRL+K" command="_emwjXurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9HerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+K" command="_emxKMerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9HurNEeSOidyff_nu0w" keySequence="CTRL+J" command="_emsSJerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9H-rNEeSOidyff_nu0w" keySequence="CTRL+L" command="_emvVGurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9IOrNEeSOidyff_nu0w" keySequence="INSERT" command="_emrq-OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9IerNEeSOidyff_nu0w" keySequence="CTRL+F10" command="_emuuDurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9IurNEeSOidyff_nu0w" keySequence="SHIFT+CR" command="_emtf5urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9I-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+CR" command="_emrqyerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9JOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+X" command="_emwjJOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9JerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+Y" command="_emuuJOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9JurNEeSOidyff_nu0w" keySequence="END" command="_emxKUerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9J-rNEeSOidyff_nu0w" keySequence="HOME" command="_emut9-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9KOrNEeSOidyff_nu0w" keySequence="F2" command="_emrq9OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9KerNEeSOidyff_nu0w" keySequence="ALT+/" command="_emxKcurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9KurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+Q" command="_emvVDerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9K-rNEeSOidyff_nu0w" keySequence="CTRL+NUMPAD_DIVIDE" command="_emvVVurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9LOrNEeSOidyff_nu0w" keySequence="CTRL+NUMPAD_MULTIPLY" command="_emtf6-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9LerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+NUMPAD_DIVIDE" command="_emtf2OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9LurNEeSOidyff_nu0w" keySequence="CTRL+NUMPAD_ADD" command="_emut8OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9L-rNEeSOidyff_nu0w" keySequence="CTRL+NUMPAD_SUBTRACT" command="_emv8POrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9MOrNEeSOidyff_nu0w" keySequence="CTRL+HOME" command="_emv8SerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9MerNEeSOidyff_nu0w" keySequence="SHIFT+END" command="_emrqxOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9MurNEeSOidyff_nu0w" keySequence="CTRL+DEL" command="_emrrIurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9M-rNEeSOidyff_nu0w" keySequence="ALT+ARROW_UP" command="_emv8UurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9NOrNEeSOidyff_nu0w" keySequence="CTRL+BS" command="_emsRsurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9NerNEeSOidyff_nu0w" keySequence="CTRL+END" command="_emrq-erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9NurNEeSOidyff_nu0w" keySequence="ALT+CTRL+J" command="_emv8GurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9N-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+ARROW_LEFT" command="_emuuM-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9OOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+DEL" command="_emrrQurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9OerNEeSOidyff_nu0w" keySequence="ALT+CTRL+ARROW_DOWN" command="_emv8WurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9OurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+ARROW_RIGHT" command="_emxKRurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9O-rNEeSOidyff_nu0w" keySequence="SHIFT+HOME" command="_emvVJerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9POrNEeSOidyff_nu0w" keySequence="CTRL+ARROW_LEFT" command="_emrrNOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9PerNEeSOidyff_nu0w" keySequence="CTRL+D" command="_emsSH-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9PurNEeSOidyff_nu0w" keySequence="CTRL+ARROW_RIGHT" command="_emv8YurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9P-rNEeSOidyff_nu0w" keySequence="F12" command="_emxxQOrNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z50xSs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.contexts.window" bindingContext="_Z51X089SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z50xS89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+NUMPAD_MULTIPLY" command="_Z52mIc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WsM9SEeSV1Mx9A3xekQ" keySequence="ALT+ARROW_LEFT" command="_Z53MH89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wsc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+D T" command="_Z53L8s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wss9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+D A" command="_Z53MyM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Ws89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+D J" command="_Z53NJc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WtM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+D Q" command="_Z53Mjs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wtc9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+SHIFT+ARROW_RIGHT" command="_Z52mRc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wts9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+J" command="_Z53Nw89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wt89SEeSV1Mx9A3xekQ" keySequence="ALT+ARROW_RIGHT" command="_Z53MsM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WuM9SEeSV1Mx9A3xekQ" keySequence="CTRL+B" command="_Z52mH89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wuc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+V" command="_Z52mo89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wus9SEeSV1Mx9A3xekQ" keySequence="CTRL+U" command="_Z53Nyc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wu89SEeSV1Mx9A3xekQ" keySequence="CTRL+-" command="_Z53MO89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WvM9SEeSV1Mx9A3xekQ" keySequence="CTRL+F11" command="_Z53Mvc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wvc9SEeSV1Mx9A3xekQ" keySequence="F11" command="_Z52miM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wvs9SEeSV1Mx9A3xekQ" keySequence="SHIFT+F5" command="_Z52mjs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wv89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+N" command="_Z52mDc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WwM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+R" command="_Z53MP89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wwc9SEeSV1Mx9A3xekQ" keySequence="SHIFT+F2" command="_Z53NDs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wws9SEeSV1Mx9A3xekQ" keySequence="CTRL+3" command="_Z53Nkc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Ww89SEeSV1Mx9A3xekQ" keySequence="CTRL+Q" command="_Z53Mfs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WxM9SEeSV1Mx9A3xekQ" keySequence="F2" command="_Z52mxs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wxc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+U" command="_Z52mS89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wxs9SEeSV1Mx9A3xekQ" keySequence="F3" command="_Z53MU89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wx89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+T" command="_Z53L7s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WyM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+L" command="_Z53NLc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wyc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+M" command="_Z53NQM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wys9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+T" command="_Z53Mxc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wy89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Z" command="_Z52mM89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51WzM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F12" command="_Z53NNc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wzc9SEeSV1Mx9A3xekQ" keySequence="CTRL+F12" command="_Z52nTM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wzs9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+SHIFT+F12" command="_Z53M_M9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Wz89SEeSV1Mx9A3xekQ" keySequence="CTRL+F9" command="_Z52mas9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W0M9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F9" command="_Z52ma89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W0c9SEeSV1Mx9A3xekQ" keySequence="F4" command="_Z53MD89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W0s9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+S" command="_Z52meM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W089SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+O" command="_Z53Mcs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W1M9SEeSV1Mx9A3xekQ" keySequence="CTRL+N" command="_Z52m789SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W1c9SEeSV1Mx9A3xekQ" keySequence="CTRL+W" command="_Z52m7s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W1s9SEeSV1Mx9A3xekQ" keySequence="CTRL+F4" command="_Z52m7s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W189SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+W" command="_Z53Nic9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W2M9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F4" command="_Z53Nic9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W2c9SEeSV1Mx9A3xekQ" keySequence="CTRL+S" command="_Z53MCM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W2s9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+S" command="_Z52nFc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W289SEeSV1Mx9A3xekQ" keySequence="CTRL+P" command="_Z53Mr89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W3M9SEeSV1Mx9A3xekQ" keySequence="ALT+CR" command="_Z53M289SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W3c9SEeSV1Mx9A3xekQ" keySequence="F5" command="_Z52mm89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W3s9SEeSV1Mx9A3xekQ" keySequence="DEL" command="_Z52mYc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W389SEeSV1Mx9A3xekQ" keySequence="CTRL+." command="_Z52my89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W4M9SEeSV1Mx9A3xekQ" keySequence="CTRL+," command="_Z52md89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W4c9SEeSV1Mx9A3xekQ" keySequence="ALT+-" command="_Z53MLM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W4s9SEeSV1Mx9A3xekQ" keySequence="F12" command="_Z53Mcc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W489SEeSV1Mx9A3xekQ" keySequence="CTRL+M" command="_Z52nKs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W5M9SEeSV1Mx9A3xekQ" keySequence="CTRL+F6" command="_Z52mpc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W5c9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F6" command="_Z52nJ89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W5s9SEeSV1Mx9A3xekQ" keySequence="CTRL+F7" command="_Z53M1s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W589SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F7" command="_Z53L4s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W6M9SEeSV1Mx9A3xekQ" keySequence="CTRL+F8" command="_Z53NuM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W6c9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F8" command="_Z53L8c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W6s9SEeSV1Mx9A3xekQ" keySequence="ALT+F7" command="_Z53MHc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W689SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+F7" command="_Z52nC89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W7M9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+NUMPAD_DIVIDE" command="_Z53Mks9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W7c9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+R" command="_Z52nDc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W7s9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+W" command="_Z52mwM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W789SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+N" command="_Z52mf89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W8M9SEeSV1Mx9A3xekQ" keySequence="CTRL+G" command="_Z52m1c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W8c9SEeSV1Mx9A3xekQ" keySequence="CTRL+H" command="_Z53M3M9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W8s9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+SHIFT+ARROW_UP" command="_Z53MRM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W889SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+H" command="_Z52mG89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W9M9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+I" command="_Z52m8s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W9c9SEeSV1Mx9A3xekQ" keySequence="CTRL+E" command="_Z52mbM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W9s9SEeSV1Mx9A3xekQ" keySequence="CTRL+=" command="_Z53ME89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51W989SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q C" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51W-M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.console.ConsoleView"/>
+ <bindingTables xmi:id="_emk9QOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.contexts.window" bindingContext="_emmLn-rNEeSOidyff_nu0w">
+ <bindings xmi:id="_emk9QerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+NUMPAD_MULTIPLY" command="_emrqwerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9QurNEeSOidyff_nu0w" keySequence="ALT+ARROW_LEFT" command="_emuuFerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9Q-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+D T" command="_emuG_erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emk9ROrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+D A" command="_emv8OOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkAOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+D J" command="_emwjJurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkAerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+D Q" command="_emvVUOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkAurNEeSOidyff_nu0w" keySequence="ALT+CTRL+SHIFT+ARROW_RIGHT" command="_emrq5erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkA-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+J" command="_emxKe-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkBOrNEeSOidyff_nu0w" keySequence="ALT+ARROW_RIGHT" command="_emv8IOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkBerNEeSOidyff_nu0w" keySequence="CTRL+B" command="_emrqv-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkBurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+V" command="_emrrQ-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkB-rNEeSOidyff_nu0w" keySequence="CTRL+U" command="_emxKgerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkCOrNEeSOidyff_nu0w" keySequence="CTRL+-" command="_emuuMerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkCerNEeSOidyff_nu0w" keySequence="CTRL+F11" command="_emv8LerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkCurNEeSOidyff_nu0w" keySequence="F11" command="_emrrKOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkC-rNEeSOidyff_nu0w" keySequence="SHIFT+F5" command="_emrrLurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkDOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+N" command="_emrqrerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkDerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+R" command="_emvVAerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkDurNEeSOidyff_nu0w" keySequence="SHIFT+F2" command="_emv8furNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkD-rNEeSOidyff_nu0w" keySequence="CTRL+3" command="_emxKSerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkEOrNEeSOidyff_nu0w" keySequence="CTRL+Q" command="_emvVQOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkEerNEeSOidyff_nu0w" keySequence="F2" command="_emsRx-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkEurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+U" command="_emrq6-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkE-rNEeSOidyff_nu0w" keySequence="F3" command="_emvVFerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkFOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+T" command="_emuG-erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkFerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+L" command="_emwjLurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkFurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+M" command="_emwjQerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkF-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+T" command="_emv8NerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkGOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Z" command="_emrq0-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkGerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F12" command="_emwjNurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkGurNEeSOidyff_nu0w" keySequence="CTRL+F12" command="_emuG5urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkG-rNEeSOidyff_nu0w" keySequence="ALT+CTRL+SHIFT+F12" command="_emv8bOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkHOrNEeSOidyff_nu0w" keySequence="CTRL+F9" command="_emrrCurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkHerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F9" command="_emrrC-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkHurNEeSOidyff_nu0w" keySequence="F4" command="_emuuBerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkH-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+S" command="_emrrGOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkIOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+O" command="_emvVNOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkIerNEeSOidyff_nu0w" keySequence="CTRL+N" command="_emsR8OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkIurNEeSOidyff_nu0w" keySequence="CTRL+W" command="_emsR7-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkI-rNEeSOidyff_nu0w" keySequence="CTRL+F4" command="_emsR7-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkJOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+W" command="_emxKQerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkJerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F4" command="_emxKQerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkJurNEeSOidyff_nu0w" keySequence="CTRL+S" command="_emut_urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkJ-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+S" command="_emsSFurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkKOrNEeSOidyff_nu0w" keySequence="CTRL+P" command="_emv8H-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkKerNEeSOidyff_nu0w" keySequence="ALT+CR" command="_emv8S-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkKurNEeSOidyff_nu0w" keySequence="F5" command="_emrrO-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkK-rNEeSOidyff_nu0w" keySequence="DEL" command="_emrrAerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkLOrNEeSOidyff_nu0w" keySequence="CTRL+." command="_emsRzOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkLerNEeSOidyff_nu0w" keySequence="CTRL+," command="_emrrF-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkLurNEeSOidyff_nu0w" keySequence="ALT+-" command="_emuuIurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkL-rNEeSOidyff_nu0w" keySequence="F12" command="_emvVM-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkMOrNEeSOidyff_nu0w" keySequence="CTRL+M" command="_emtf0-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkMerNEeSOidyff_nu0w" keySequence="CTRL+F6" command="_emrrRerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkMurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F6" command="_emtf0OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkM-rNEeSOidyff_nu0w" keySequence="CTRL+F7" command="_emv8RurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkNOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F7" command="_emuG7erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkNerNEeSOidyff_nu0w" keySequence="CTRL+F8" command="_emxKcOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkNurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F8" command="_emuG_OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkN-rNEeSOidyff_nu0w" keySequence="ALT+F7" command="_emuuE-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkOOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+F7" command="_emsSDOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkOerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+NUMPAD_DIVIDE" command="_emvVVOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkOurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+R" command="_emsSDurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkO-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+W" command="_emsRwerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkPOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+N" command="_emrrH-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkPerNEeSOidyff_nu0w" keySequence="CTRL+G" command="_emsR1urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkPurNEeSOidyff_nu0w" keySequence="CTRL+H" command="_emv8TOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkP-rNEeSOidyff_nu0w" keySequence="ALT+CTRL+SHIFT+ARROW_UP" command="_emvVBurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkQOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+H" command="_emrqu-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkQerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+I" command="_emsR8-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkQurNEeSOidyff_nu0w" keySequence="CTRL+E" command="_emrrDOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkQ-rNEeSOidyff_nu0w" keySequence="CTRL+=" command="_emuuCerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkROrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q C" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkRerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.console.ConsoleView"/>
</bindings>
- <bindings xmi:id="_Z51W-c9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q H" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51W-s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.cheatsheets.views.CheatSheetView"/>
+ <bindings xmi:id="_emlkRurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q H" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkR-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.cheatsheets.views.CheatSheetView"/>
</bindings>
- <bindings xmi:id="_Z51W-89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q Z" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51W_M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.team.ui.GenericHistoryView"/>
+ <bindings xmi:id="_emlkSOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q Z" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkSerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.team.ui.GenericHistoryView"/>
</bindings>
- <bindings xmi:id="_Z51W_c9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q Y" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51W_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.team.sync.views.SynchronizeView"/>
+ <bindings xmi:id="_emlkSurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q Y" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkS-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.team.sync.views.SynchronizeView"/>
</bindings>
- <bindings xmi:id="_Z51W_89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q S" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.search.ui.views.SearchView"/>
+ <bindings xmi:id="_emlkTOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q S" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkTerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.search.ui.views.SearchView"/>
</bindings>
- <bindings xmi:id="_Z51XAc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q K" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.mylyn.tasks.ui.views.tasks"/>
+ <bindings xmi:id="_emlkTurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q K" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkT-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.mylyn.tasks.ui.views.tasks"/>
</bindings>
- <bindings xmi:id="_Z51XA89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q V" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.debug.ui.VariableView"/>
+ <bindings xmi:id="_emlkUOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q V" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkUerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.debug.ui.VariableView"/>
</bindings>
- <bindings xmi:id="_Z51XBc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q B" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.debug.ui.BreakpointView"/>
+ <bindings xmi:id="_emlkUurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q B" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkU-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.debug.ui.BreakpointView"/>
</bindings>
- <bindings xmi:id="_Z51XB89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+X Q" command="_Z53MKM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XCM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+X J" command="_Z53Myc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XCc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+X A" command="_Z53NpM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XCs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+X T" command="_Z53M2s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XC89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q Q" command="_Z53Nfs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XDM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q X" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.views.ProblemView"/>
+ <bindings xmi:id="_emlkVOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+X Q" command="_emuuHurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkVerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+X J" command="_emv8OerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkVurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+X A" command="_emxKXOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkV-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+X T" command="_emv8SurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkWOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q Q" command="_emxKNurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkWerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q X" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkWurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.views.ProblemView"/>
</bindings>
- <bindings xmi:id="_Z51XDs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q J" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.JavadocView"/>
+ <bindings xmi:id="_emlkW-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q J" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkXOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.JavadocView"/>
</bindings>
- <bindings xmi:id="_Z51XEM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q D" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.SourceView"/>
+ <bindings xmi:id="_emlkXerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q D" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkXurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.SourceView"/>
</bindings>
- <bindings xmi:id="_Z51XEs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q P" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XE89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.PackageExplorer"/>
+ <bindings xmi:id="_emlkX-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q P" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkYOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.PackageExplorer"/>
</bindings>
- <bindings xmi:id="_Z51XFM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q T" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.TypeHierarchy"/>
+ <bindings xmi:id="_emlkYerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q T" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkYurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.jdt.ui.TypeHierarchy"/>
</bindings>
- <bindings xmi:id="_Z51XFs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q L" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.pde.runtime.LogView"/>
+ <bindings xmi:id="_emlkY-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q L" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkZOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.pde.runtime.LogView"/>
</bindings>
- <bindings xmi:id="_Z51XGM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+Q O" command="_Z53Nfs9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XGc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.views.ContentOutline"/>
+ <bindings xmi:id="_emlkZerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+Q O" command="_emxKNurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkZurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="org.eclipse.ui.views.showView.viewId" value="org.eclipse.ui.views.ContentOutline"/>
</bindings>
- <bindings xmi:id="_Z51XGs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+C" command="_Z53M6c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XG89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+B" command="_Z53Me89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XHM9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+G" command="_Z52mZ89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XHc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+E" command="_Z53L4M9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XHs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+F" command="_Z53Nms9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XH89SEeSV1Mx9A3xekQ" keySequence="CTRL+F" command="_Z53MSc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XIM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+G" command="_Z52mcs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XIc9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+H" command="_Z52mes9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XIs9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+SHIFT+ARROW_DOWN" command="_Z53NOM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XI89SEeSV1Mx9A3xekQ" keySequence="CTRL+#" command="_Z53N-c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XJM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+H" command="_Z53zAM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XJc9SEeSV1Mx9A3xekQ" keySequence="ALT+F5" command="_Z53zJc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XJs9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+P" command="_Z53OB89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XJ89SEeSV1Mx9A3xekQ" keySequence="CTRL+{" command="_Z53y-89SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XKM9SEeSV1Mx9A3xekQ" elementId="Splitter.isHorizontal" name="Splitter.isHorizontal" value="false"/>
+ <bindings xmi:id="_emlkZ-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+C" command="_emv8WerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkaOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+B" command="_emvVPerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkaerNEeSOidyff_nu0w" keySequence="ALT+CTRL+G" command="_emrrB-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkaurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+E" command="_emuG6-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlka-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+F" command="_emxKUurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkbOrNEeSOidyff_nu0w" keySequence="CTRL+F" command="_emvVC-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkberNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+G" command="_emrrEurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkburNEeSOidyff_nu0w" keySequence="ALT+CTRL+H" command="_emrrGurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkb-rNEeSOidyff_nu0w" keySequence="ALT+CTRL+SHIFT+ARROW_DOWN" command="_emwjOerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkcOrNEeSOidyff_nu0w" keySequence="CTRL+#" command="_emxxX-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkcerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+H" command="_emxxnerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkcurNEeSOidyff_nu0w" keySequence="ALT+F5" command="_emzmhOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkc-rNEeSOidyff_nu0w" keySequence="ALT+CTRL+P" command="_emxxberNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkdOrNEeSOidyff_nu0w" keySequence="CTRL+{" command="_emxxmOrNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkderNEeSOidyff_nu0w" elementId="Splitter.isHorizontal" name="Splitter.isHorizontal" value="false"/>
</bindings>
- <bindings xmi:id="_Z51XKc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+P" command="_Z53ODM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XKs9SEeSV1Mx9A3xekQ" keySequence="CTRL+_" command="_Z53y-89SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z51XK89SEeSV1Mx9A3xekQ" elementId="Splitter.isHorizontal" name="Splitter.isHorizontal" value="true"/>
+ <bindings xmi:id="_emlkdurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+P" command="_emxxcurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkd-rNEeSOidyff_nu0w" keySequence="CTRL+_" command="_emxxmOrNEeSOidyff_nu0w">
+ <parameters xmi:id="_emlkeOrNEeSOidyff_nu0w" elementId="Splitter.isHorizontal" name="Splitter.isHorizontal" value="true"/>
</bindings>
- <bindings xmi:id="_Z51XLM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+X M" command="_Z53zKc9SEeSV1Mx9A3xekQ"/>
+ <bindings xmi:id="_emlkeerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+X M" command="_emzmiOrNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XLc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.SQLEditorScope" bindingContext="_Z51X3s9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XLs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.AntEditorScope" bindingContext="_Z51X2s9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XL89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+F" command="_Z53Mns9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XMM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+O" command="_Z53NfM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XMc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+R" command="_Z52mMs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XMs9SEeSV1Mx9A3xekQ" keySequence="SHIFT+F2" command="_Z52nAc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XM89SEeSV1Mx9A3xekQ" keySequence="F3" command="_Z53N3c9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emlkeurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.SQLEditorScope" bindingContext="_emmLqurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emlke-rNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.AntEditorScope" bindingContext="_emmLpurNEeSOidyff_nu0w">
+ <bindings xmi:id="_emlkfOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+F" command="_emvVYOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkferNEeSOidyff_nu0w" keySequence="ALT+SHIFT+O" command="_emxKNOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkfurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+R" command="_emrq0urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkf-rNEeSOidyff_nu0w" keySequence="SHIFT+F2" command="_emsSAurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkgOrNEeSOidyff_nu0w" keySequence="F3" command="_emxxQ-rNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XNM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.pdeEditorContext" bindingContext="_Z51X8s9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XNc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.javascriptViewScope" bindingContext="_Z51X3M9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XNs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.serverViewScope" bindingContext="_Z51X189SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XN89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" bindingContext="_Z51X1c9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XOM9SEeSV1Mx9A3xekQ" keySequence="ALT+ARROW_DOWN" command="_Z53Mfc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XOc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_UP" command="_Z52mOM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XOs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+R" command="_Z52mi89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XO89SEeSV1Mx9A3xekQ" keySequence="INSERT" command="_Z52nS89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XPM9SEeSV1Mx9A3xekQ" keySequence="CTRL+CR" command="_Z53Mgc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XPc9SEeSV1Mx9A3xekQ" keySequence="F4" command="_Z53MgM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XPs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+U" command="_Z53L9s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XP89SEeSV1Mx9A3xekQ" keySequence="ALT+ARROW_UP" command="_Z52m8c9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XQM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+ARROW_DOWN" command="_Z53NmM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XQc9SEeSV1Mx9A3xekQ" keySequence="SHIFT+INSERT" command="_Z53MTc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XQs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+I" command="_Z52nSM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XQ89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+C" command="_Z53Mys9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emlkgerNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.pdeEditorContext" bindingContext="_emmLvurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emlkgurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.javascriptViewScope" bindingContext="_emmLqOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emlkg-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.serverViewScope" bindingContext="_emmLo-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emlkhOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" bindingContext="_emmLoerNEeSOidyff_nu0w">
+ <bindings xmi:id="_emlkherNEeSOidyff_nu0w" keySequence="ALT+ARROW_DOWN" command="_emvVP-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkhurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_UP" command="_emrq2OrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkh-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+R" command="_emrrK-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkiOrNEeSOidyff_nu0w" keySequence="INSERT" command="_emuG5erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkierNEeSOidyff_nu0w" keySequence="CTRL+CR" command="_emvVQ-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkiurNEeSOidyff_nu0w" keySequence="F4" command="_emvVQurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlki-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+U" command="_emuHAerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkjOrNEeSOidyff_nu0w" keySequence="ALT+ARROW_UP" command="_emsR8urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkjerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+ARROW_DOWN" command="_emxKUOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkjurNEeSOidyff_nu0w" keySequence="SHIFT+INSERT" command="_emvVD-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkj-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+I" command="_emuG4urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emlkkOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+C" command="_emv8OurNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XRM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.pagedesigner.editorContext" bindingContext="_Z51X8c9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XRc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" bindingContext="_Z51X689SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XRs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.memory.abstractasynctablerendering" bindingContext="_Z51X_c9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XR89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+," command="_Z53Nds9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XSM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+." command="_Z52mBM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XSc9SEeSV1Mx9A3xekQ" keySequence="CTRL+G" command="_Z52nUM9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLEOrNEeSOidyff_nu0w" elementId="org.eclipse.jst.pagedesigner.editorContext" bindingContext="_emmLverNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLEerNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" bindingContext="_emmLt-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLEurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.memory.abstractasynctablerendering" bindingContext="_emmLyerNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLE-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+," command="_emwjd-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLFOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+." command="_emrqpOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLFerNEeSOidyff_nu0w" keySequence="CTRL+G" command="_emuG6urNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XSs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.memoryview" bindingContext="_Z51YAM9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XS89SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+N" command="_Z52mV89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XTM9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+M" command="_Z52mNc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XTc9SEeSV1Mx9A3xekQ" keySequence="CTRL+T" command="_Z53Mf89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XTs9SEeSV1Mx9A3xekQ" keySequence="CTRL+N" command="_Z53MMc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XT89SEeSV1Mx9A3xekQ" keySequence="CTRL+W" command="_Z53L6M9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLFurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.memoryview" bindingContext="_emmLzOrNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLF-rNEeSOidyff_nu0w" keySequence="ALT+CTRL+N" command="_emrq9-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLGOrNEeSOidyff_nu0w" keySequence="ALT+CTRL+M" command="_emrq1erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLGerNEeSOidyff_nu0w" keySequence="CTRL+T" command="_emvVQerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLGurNEeSOidyff_nu0w" keySequence="CTRL+N" command="_emuuJ-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLG-rNEeSOidyff_nu0w" keySequence="CTRL+W" command="_emuG8-rNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XUM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.debugging" bindingContext="_Z51X_M9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XUc9SEeSV1Mx9A3xekQ" keySequence="CTRL+R" command="_Z52m_89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XUs9SEeSV1Mx9A3xekQ" keySequence="CTRL+F2" command="_Z52nSc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XU89SEeSV1Mx9A3xekQ" keySequence="F6" command="_Z52mMc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XVM9SEeSV1Mx9A3xekQ" keySequence="F7" command="_Z53Nks9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XVc9SEeSV1Mx9A3xekQ" keySequence="F8" command="_Z53NyM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XVs9SEeSV1Mx9A3xekQ" keySequence="CTRL+F5" command="_Z53MSs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XV89SEeSV1Mx9A3xekQ" keySequence="F5" command="_Z53Mqc9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLHOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.debugging" bindingContext="_emmLyOrNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLHerNEeSOidyff_nu0w" keySequence="CTRL+R" command="_emsSAOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLHurNEeSOidyff_nu0w" keySequence="CTRL+F2" command="_emuG4-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLH-rNEeSOidyff_nu0w" keySequence="F6" command="_emrq0erNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLIOrNEeSOidyff_nu0w" keySequence="F7" command="_emxKSurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLIerNEeSOidyff_nu0w" keySequence="F8" command="_emxKgOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLIurNEeSOidyff_nu0w" keySequence="CTRL+F5" command="_emvVDOrNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLI-rNEeSOidyff_nu0w" keySequence="F5" command="_emv8GerNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XWM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.propertiesEditorScope" bindingContext="_Z51X9M9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XWc9SEeSV1Mx9A3xekQ" keySequence="CTRL+/" command="_Z52mPs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XWs9SEeSV1Mx9A3xekQ" keySequence="CTRL+7" command="_Z52mPs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XW89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+C" command="_Z52mPs9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLJOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.propertiesEditorScope" bindingContext="_emmLwOrNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLJerNEeSOidyff_nu0w" keySequence="CTRL+/" command="_emrq3urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLJurNEeSOidyff_nu0w" keySequence="CTRL+7" command="_emrq3urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLJ-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+C" command="_emrq3urNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XXM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.editors.task" bindingContext="_Z51X8M9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XXc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+R" command="_Z52mi89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XXs9SEeSV1Mx9A3xekQ" keySequence="CTRL+O" command="_Z53Ncc9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XX89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+U" command="_Z53L9s9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XYM9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+S" command="_Z53Np89SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XYc9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+M" command="_Z52myM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XYs9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+I" command="_Z52nSM9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XY89SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+C" command="_Z53Mys9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLKOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.editors.task" bindingContext="_emmLvOrNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLKerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+R" command="_emrrK-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLKurNEeSOidyff_nu0w" keySequence="CTRL+O" command="_emwjcurNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLK-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+U" command="_emuHAerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLLOrNEeSOidyff_nu0w" keySequence="ALT+SHIFT+S" command="_emxKX-rNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLLerNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+M" command="_emsRyerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLLurNEeSOidyff_nu0w" keySequence="ALT+SHIFT+I" command="_emuG4urNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLL-rNEeSOidyff_nu0w" keySequence="ALT+SHIFT+C" command="_emv8OurNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XZM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsf.facesconfig.editorContext" bindingContext="_Z51X-M9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XZc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.BreakpointView" bindingContext="_Z51X1s9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XZs9SEeSV1Mx9A3xekQ" keySequence="ALT+CR" command="_Z53Msc9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLMOrNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsf.facesconfig.editorContext" bindingContext="_emmLxOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLMerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.BreakpointView" bindingContext="_emmLourNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLMurNEeSOidyff_nu0w" keySequence="ALT+CR" command="_emv8IerNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XZ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.editor.markupSourceContext" bindingContext="_Z51X9s9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XaM9SEeSV1Mx9A3xekQ" keySequence="CTRL+O" command="_Z53NPM9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLM-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.editor.markupSourceContext" bindingContext="_emmLwurNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLNOrNEeSOidyff_nu0w" keySequence="CTRL+O" command="_emwjPerNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51Xac9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.tasks.ui.markupSourceContext" bindingContext="_Z51X989SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51Xas9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+O" command="_Z53NPM9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLNerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.tasks.ui.markupSourceContext" bindingContext="_emmLw-rNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLNurNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+O" command="_emwjPerNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51Xa89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.internal.wikitext.ui.editor.basicMarkupSourceContext" bindingContext="_Z51X9c9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XbM9SEeSV1Mx9A3xekQ" keySequence="F1" command="_Z52m189SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLN-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.internal.wikitext.ui.editor.basicMarkupSourceContext" bindingContext="_emmLwerNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLOOrNEeSOidyff_nu0w" keySequence="F1" command="_emsR2OrNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51Xbc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.tm.terminal.TerminalContext" bindingContext="_Z51YDM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xbs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.console" bindingContext="_Z51X2M9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51Xb89SEeSV1Mx9A3xekQ" keySequence="CTRL+Z" command="_Z52nNM9SEeSV1Mx9A3xekQ">
+ <bindingTables xmi:id="_emmLOerNEeSOidyff_nu0w" elementId="org.eclipse.tm.terminal.TerminalContext" bindingContext="_emmL2OrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLOurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.console" bindingContext="_emmLpOrNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLO-rNEeSOidyff_nu0w" keySequence="CTRL+Z" command="_emtf3erNEeSOidyff_nu0w">
<tags>platform:win32</tags>
</bindings>
</bindingTables>
- <bindingTables xmi:id="_Z51XcM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.breadcrumbEditorScope" bindingContext="_Z51YCc9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51Xcc9SEeSV1Mx9A3xekQ" keySequence="ALT+SHIFT+B" command="_Z53Mo89SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLPOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.breadcrumbEditorScope" bindingContext="_emmL1erNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLPerNEeSOidyff_nu0w" keySequence="ALT+SHIFT+B" command="_emv8E-rNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51Xcs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YDc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xc89SEeSV1Mx9A3xekQ" bindingContext="_Z51YDs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XdM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YD89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xdc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YEM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xds9SEeSV1Mx9A3xekQ" bindingContext="_Z51YEc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xd89SEeSV1Mx9A3xekQ" bindingContext="_Z51YEs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XeM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YE89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xec9SEeSV1Mx9A3xekQ" bindingContext="_Z51YFM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xes9SEeSV1Mx9A3xekQ" bindingContext="_Z51YFc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xe89SEeSV1Mx9A3xekQ" bindingContext="_Z51YFs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XfM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YF89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xfc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YGM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xfs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YGc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xf89SEeSV1Mx9A3xekQ" bindingContext="_Z51YGs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XgM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YG89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xgc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YHM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xgs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YHc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xg89SEeSV1Mx9A3xekQ" bindingContext="_Z51YHs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XhM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YH89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xhc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YIM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xhs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YIc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xh89SEeSV1Mx9A3xekQ" bindingContext="_Z51YIs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XiM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YI89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xic9SEeSV1Mx9A3xekQ" bindingContext="_Z51YJM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xis9SEeSV1Mx9A3xekQ" bindingContext="_Z51YJc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xi89SEeSV1Mx9A3xekQ" bindingContext="_Z51YJs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XjM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YJ89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xjc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YKM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xjs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YKc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xj89SEeSV1Mx9A3xekQ" bindingContext="_Z51YKs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XkM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YK89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xkc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YLM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xks9SEeSV1Mx9A3xekQ" bindingContext="_Z51YLc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xk89SEeSV1Mx9A3xekQ" bindingContext="_Z51YLs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XlM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YL89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xlc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YMM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xls9SEeSV1Mx9A3xekQ" bindingContext="_Z51YMc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xl89SEeSV1Mx9A3xekQ" bindingContext="_Z51YMs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XmM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YM89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xmc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YNM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xms9SEeSV1Mx9A3xekQ" bindingContext="_Z51YNc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xm89SEeSV1Mx9A3xekQ" bindingContext="_Z51YNs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XnM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YN89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xnc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YOM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xns9SEeSV1Mx9A3xekQ" bindingContext="_Z51YOc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xn89SEeSV1Mx9A3xekQ" bindingContext="_Z51YOs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XoM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YO89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xoc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YPM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xos9SEeSV1Mx9A3xekQ" bindingContext="_Z51YPc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xo89SEeSV1Mx9A3xekQ" bindingContext="_Z51YPs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XpM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YP89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xpc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YQM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xps9SEeSV1Mx9A3xekQ" bindingContext="_Z51YQc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xp89SEeSV1Mx9A3xekQ" bindingContext="_Z51YQs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XqM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YQ89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xqc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YRM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xqs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YRc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xq89SEeSV1Mx9A3xekQ" bindingContext="_Z51YRs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XrM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YR89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xrc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YSM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xrs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YSc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xr89SEeSV1Mx9A3xekQ" bindingContext="_Z51YSs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XsM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YS89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xsc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YTM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xss9SEeSV1Mx9A3xekQ" bindingContext="_Z51YTc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xs89SEeSV1Mx9A3xekQ" bindingContext="_Z51YTs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XtM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YT89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xtc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YUM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xts9SEeSV1Mx9A3xekQ" bindingContext="_Z51YUc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xt89SEeSV1Mx9A3xekQ" bindingContext="_Z51YUs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XuM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YU89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xuc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YVM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xus9SEeSV1Mx9A3xekQ" bindingContext="_Z51YVc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xu89SEeSV1Mx9A3xekQ" bindingContext="_Z51YVs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XvM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YV89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xvc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YWM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xvs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YWc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xv89SEeSV1Mx9A3xekQ" bindingContext="_Z51YWs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51XwM9SEeSV1Mx9A3xekQ" bindingContext="_Z51YW89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xwc9SEeSV1Mx9A3xekQ" bindingContext="_Z51YXM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xws9SEeSV1Mx9A3xekQ" bindingContext="_Z51YXc9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xw89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.java.editorScope" bindingContext="_Z51X-c9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51XxM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+A" command="_Z53zLs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Xxc9SEeSV1Mx9A3xekQ" keySequence="ALT+CTRL+A" command="_Z53zLs9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLPurNEeSOidyff_nu0w" bindingContext="_emmL2erNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLP-rNEeSOidyff_nu0w" bindingContext="_emmL2urNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLQOrNEeSOidyff_nu0w" bindingContext="_emmL2-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLQerNEeSOidyff_nu0w" bindingContext="_emmL3OrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLQurNEeSOidyff_nu0w" bindingContext="_emmL3erNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLQ-rNEeSOidyff_nu0w" bindingContext="_emmyIOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLROrNEeSOidyff_nu0w" bindingContext="_emmyIerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLRerNEeSOidyff_nu0w" bindingContext="_emmyIurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLRurNEeSOidyff_nu0w" bindingContext="_emmyI-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLR-rNEeSOidyff_nu0w" bindingContext="_emmyJOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLSOrNEeSOidyff_nu0w" bindingContext="_emmyJerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLSerNEeSOidyff_nu0w" bindingContext="_emmyJurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLSurNEeSOidyff_nu0w" bindingContext="_emmyJ-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLS-rNEeSOidyff_nu0w" bindingContext="_emmyKOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLTOrNEeSOidyff_nu0w" bindingContext="_emmyKerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLTerNEeSOidyff_nu0w" bindingContext="_emmyKurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLTurNEeSOidyff_nu0w" bindingContext="_emmyK-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLT-rNEeSOidyff_nu0w" bindingContext="_emmyLOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLUOrNEeSOidyff_nu0w" bindingContext="_emmyLerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLUerNEeSOidyff_nu0w" bindingContext="_emmyLurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLUurNEeSOidyff_nu0w" bindingContext="_emmyL-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLU-rNEeSOidyff_nu0w" bindingContext="_emmyMOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLVOrNEeSOidyff_nu0w" bindingContext="_emmyMerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLVerNEeSOidyff_nu0w" bindingContext="_emmyMurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLVurNEeSOidyff_nu0w" bindingContext="_emmyM-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLV-rNEeSOidyff_nu0w" bindingContext="_emmyNOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLWOrNEeSOidyff_nu0w" bindingContext="_emmyNerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLWerNEeSOidyff_nu0w" bindingContext="_emmyNurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLWurNEeSOidyff_nu0w" bindingContext="_emmyN-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLW-rNEeSOidyff_nu0w" bindingContext="_emmyOOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLXOrNEeSOidyff_nu0w" bindingContext="_emmyOerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLXerNEeSOidyff_nu0w" bindingContext="_emmyOurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLXurNEeSOidyff_nu0w" bindingContext="_emmyO-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLX-rNEeSOidyff_nu0w" bindingContext="_emmyPOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLYOrNEeSOidyff_nu0w" bindingContext="_emmyPerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLYerNEeSOidyff_nu0w" bindingContext="_emmyPurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLYurNEeSOidyff_nu0w" bindingContext="_emmyP-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLY-rNEeSOidyff_nu0w" bindingContext="_emmyQOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLZOrNEeSOidyff_nu0w" bindingContext="_emmyQerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLZerNEeSOidyff_nu0w" bindingContext="_emmyQurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLZurNEeSOidyff_nu0w" bindingContext="_emmyQ-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLZ-rNEeSOidyff_nu0w" bindingContext="_emmyROrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLaOrNEeSOidyff_nu0w" bindingContext="_emmyRerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLaerNEeSOidyff_nu0w" bindingContext="_emmyRurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLaurNEeSOidyff_nu0w" bindingContext="_emmyR-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLa-rNEeSOidyff_nu0w" bindingContext="_emmySOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLbOrNEeSOidyff_nu0w" bindingContext="_emmySerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLberNEeSOidyff_nu0w" bindingContext="_emmySurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLburNEeSOidyff_nu0w" bindingContext="_emmyS-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLb-rNEeSOidyff_nu0w" bindingContext="_emmyTOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLcOrNEeSOidyff_nu0w" bindingContext="_emmyTerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLcerNEeSOidyff_nu0w" bindingContext="_emmyTurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLcurNEeSOidyff_nu0w" bindingContext="_emmyT-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLc-rNEeSOidyff_nu0w" bindingContext="_emmyUOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLdOrNEeSOidyff_nu0w" bindingContext="_emmyUerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLderNEeSOidyff_nu0w" bindingContext="_emmyUurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLdurNEeSOidyff_nu0w" bindingContext="_emmyU-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLd-rNEeSOidyff_nu0w" bindingContext="_emmyVOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLeOrNEeSOidyff_nu0w" bindingContext="_emmyVerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLeerNEeSOidyff_nu0w" bindingContext="_emmyVurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLeurNEeSOidyff_nu0w" bindingContext="_emmyV-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLe-rNEeSOidyff_nu0w" bindingContext="_emmyWOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLfOrNEeSOidyff_nu0w" bindingContext="_emmyWerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLferNEeSOidyff_nu0w" bindingContext="_emmyWurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLfurNEeSOidyff_nu0w" bindingContext="_emmyW-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLf-rNEeSOidyff_nu0w" bindingContext="_emmyXOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLgOrNEeSOidyff_nu0w" bindingContext="_emmyXerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLgerNEeSOidyff_nu0w" bindingContext="_emmyXurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLgurNEeSOidyff_nu0w" bindingContext="_emmyX-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLg-rNEeSOidyff_nu0w" bindingContext="_emmyYOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLhOrNEeSOidyff_nu0w" bindingContext="_emmyYerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLherNEeSOidyff_nu0w" bindingContext="_emmyYurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLhurNEeSOidyff_nu0w" bindingContext="_emmyY-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLh-rNEeSOidyff_nu0w" bindingContext="_emmyZOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLiOrNEeSOidyff_nu0w" bindingContext="_emmyZerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLierNEeSOidyff_nu0w" bindingContext="_emmyZurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLiurNEeSOidyff_nu0w" bindingContext="_emmyZ-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLi-rNEeSOidyff_nu0w" bindingContext="_emmyaOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLjOrNEeSOidyff_nu0w" bindingContext="_emmyaerNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLjerNEeSOidyff_nu0w" bindingContext="_emmyaurNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLjurNEeSOidyff_nu0w" bindingContext="_emmya-rNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLj-rNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.java.editorScope" bindingContext="_emmLxerNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLkOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+A" command="_emzmjerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLkerNEeSOidyff_nu0w" keySequence="ALT+CTRL+A" command="_emzmjerNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51Xxs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.core.runtime.xml" bindingContext="_Z51X5M9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51Xx89SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+D" command="_Z53zMs9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51XyM9SEeSV1Mx9A3xekQ" keySequence="CTRL+SHIFT+P" command="_Z53y_c9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLkurNEeSOidyff_nu0w" elementId="org.eclipse.core.runtime.xml" bindingContext="_emmLsOrNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLk-rNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+D" command="_emzmkerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLlOrNEeSOidyff_nu0w" keySequence="CTRL+SHIFT+P" command="_emxxmurNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51Xyc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesView" bindingContext="_Z51YA89SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51Xys9SEeSV1Mx9A3xekQ" keySequence="CTRL+C" command="_Z53y9M9SEeSV1Mx9A3xekQ"/>
- <bindings xmi:id="_Z51Xy89SEeSV1Mx9A3xekQ" keySequence="CTRL+V" command="_Z53N3s9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLlerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesView" bindingContext="_emmLz-rNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLlurNEeSOidyff_nu0w" keySequence="CTRL+C" command="_emxxkerNEeSOidyff_nu0w"/>
+ <bindings xmi:id="_emmLl-rNEeSOidyff_nu0w" keySequence="CTRL+V" command="_emxxROrNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51XzM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.ReflogView" bindingContext="_Z51YAs9SEeSV1Mx9A3xekQ">
- <bindings xmi:id="_Z51Xzc9SEeSV1Mx9A3xekQ" keySequence="CTRL+C" command="_Z53OCM9SEeSV1Mx9A3xekQ"/>
+ <bindingTables xmi:id="_emmLmOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.ReflogView" bindingContext="_emmLzurNEeSOidyff_nu0w">
+ <bindings xmi:id="_emmLmerNEeSOidyff_nu0w" keySequence="CTRL+C" command="_emxxburNEeSOidyff_nu0w"/>
</bindingTables>
- <bindingTables xmi:id="_Z51Xzs9SEeSV1Mx9A3xekQ" bindingContext="_Z51YXs9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51Xz89SEeSV1Mx9A3xekQ" bindingContext="_Z51YX89SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51X0M9SEeSV1Mx9A3xekQ" bindingContext="_Z51YYM9SEeSV1Mx9A3xekQ"/>
- <bindingTables xmi:id="_Z51X0c9SEeSV1Mx9A3xekQ" bindingContext="_Z51YYc9SEeSV1Mx9A3xekQ"/>
- <rootContext xmi:id="_Z51X0s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.contexts.dialogAndWindow" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="In Dialogs and Windows" description="Either a dialog or a window is open">
- <children xmi:id="_Z51X089SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.contexts.window" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="In Windows" description="A window is open">
- <children xmi:id="_Z51X1M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.ui.contexts.views" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="%bindingcontext.name.bindingView"/>
- <children xmi:id="_Z51X1c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" name="In Tasks View"/>
- <children xmi:id="_Z51X1s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.BreakpointView" name="In Breakpoints View" description="The breakpoints view context"/>
- <children xmi:id="_Z51X189SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.serverViewScope" name="In Servers View" description="In Servers View"/>
- <children xmi:id="_Z51X2M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.console" name="In I/O Console" description="In I/O console"/>
- <children xmi:id="_Z51X2c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.textEditorScope" name="Editing Text" description="Editing Text Context">
- <children xmi:id="_Z51X2s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.AntEditorScope" name="Editing Ant Buildfiles" description="Editing Ant Buildfiles Context"/>
- <children xmi:id="_Z51X289SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.javaEditorScope" name="Editing JavaScript Source" description="Editing JavaScript Source Context">
- <children xmi:id="_Z51X3M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.javascriptViewScope" name="JavaScript View" description="JavaScript View Context"/>
+ <bindingTables xmi:id="_emmLmurNEeSOidyff_nu0w" bindingContext="_emmybOrNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLm-rNEeSOidyff_nu0w" bindingContext="_emmyberNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLnOrNEeSOidyff_nu0w" bindingContext="_emmyburNEeSOidyff_nu0w"/>
+ <bindingTables xmi:id="_emmLnerNEeSOidyff_nu0w" bindingContext="_emmyb-rNEeSOidyff_nu0w"/>
+ <rootContext xmi:id="_emmLnurNEeSOidyff_nu0w" elementId="org.eclipse.ui.contexts.dialogAndWindow" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="In Dialogs and Windows" description="Either a dialog or a window is open">
+ <children xmi:id="_emmLn-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.contexts.window" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="In Windows" description="A window is open">
+ <children xmi:id="_emmLoOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.contexts.views" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="%bindingcontext.name.bindingView"/>
+ <children xmi:id="_emmLoerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" name="In Tasks View"/>
+ <children xmi:id="_emmLourNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.BreakpointView" name="In Breakpoints View" description="The breakpoints view context"/>
+ <children xmi:id="_emmLo-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.serverViewScope" name="In Servers View" description="In Servers View"/>
+ <children xmi:id="_emmLpOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.console" name="In I/O Console" description="In I/O console"/>
+ <children xmi:id="_emmLperNEeSOidyff_nu0w" elementId="org.eclipse.ui.textEditorScope" name="Editing Text" description="Editing Text Context">
+ <children xmi:id="_emmLpurNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.AntEditorScope" name="Editing Ant Buildfiles" description="Editing Ant Buildfiles Context"/>
+ <children xmi:id="_emmLp-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.javaEditorScope" name="Editing JavaScript Source" description="Editing JavaScript Source Context">
+ <children xmi:id="_emmLqOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.javascriptViewScope" name="JavaScript View" description="JavaScript View Context"/>
</children>
- <children xmi:id="_Z51X3c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.javaEditorScope" name="Editing Java Source" description="Editing Java Source Context"/>
- <children xmi:id="_Z51X3s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.SQLEditorScope" name="Editing SQL" description="Editing SQL Context"/>
- <children xmi:id="_Z51X389SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.structuredTextEditorScope" name="Editing in Structured Text Editors" description="Editing in Structured Text Editors">
- <children xmi:id="_Z51X4M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.html.core.htmlsource" name="Editing HTML Source" description="Editing HTML Source"/>
- <children xmi:id="_Z51X4c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.occurrences" name="XML Source Occurrences" description="XML Source Occurrences"/>
- <children xmi:id="_Z51X4s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsp.core.jspsource" name="JSP Source" description="JSP Source"/>
- <children xmi:id="_Z51X489SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.comments" name="Source Comments in Structured Text Editors" description="Source Comments in Structured Text Editors"/>
- <children xmi:id="_Z51X5M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.core.runtime.xml" name="Editing XML Source" description="Editing XML Source"/>
- <children xmi:id="_Z51X5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.selection" name="XML Source Selection" description="XML Source Selection"/>
- <children xmi:id="_Z51X5s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.dependencies" name="XML Source Dependencies" description="XML Source Dependencies"/>
- <children xmi:id="_Z51X589SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.html.occurrences" name="HTML Source Occurrences" description="HTML Source Occurrences"/>
- <children xmi:id="_Z51X6M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.navigation" name="XML Source Navigation" description="XML Source Navigation"/>
- <children xmi:id="_Z51X6c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.cleanup" name="XML Source Cleanup" description="XML Source Cleanup"/>
- <children xmi:id="_Z51X6s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.grammar" name="XML Source Grammar" description="XML Source Grammar"/>
- <children xmi:id="_Z51X689SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" name="Editing JSP Source" description="Editing JSP Source"/>
- <children xmi:id="_Z51X7M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.comments" name="XML Source Comments" description="XML Source Comments"/>
- <children xmi:id="_Z51X7c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.css.core.csssource" name="Editing CSS Source" description="Editing CSS Source"/>
- <children xmi:id="_Z51X7s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.expand" name="XML Source Expand/Collapse" description="XML Source Expand/Collapse"/>
- <children xmi:id="_Z51X789SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.hideFormat" name="Editing in Structured Text Editors" description="Editing in Structured Text Editors"/>
+ <children xmi:id="_emmLqerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.javaEditorScope" name="Editing Java Source" description="Editing Java Source Context"/>
+ <children xmi:id="_emmLqurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.SQLEditorScope" name="Editing SQL" description="Editing SQL Context"/>
+ <children xmi:id="_emmLq-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.structuredTextEditorScope" name="Editing in Structured Text Editors" description="Editing in Structured Text Editors">
+ <children xmi:id="_emmLrOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.html.core.htmlsource" name="Editing HTML Source" description="Editing HTML Source"/>
+ <children xmi:id="_emmLrerNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.occurrences" name="XML Source Occurrences" description="XML Source Occurrences"/>
+ <children xmi:id="_emmLrurNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsp.core.jspsource" name="JSP Source" description="JSP Source"/>
+ <children xmi:id="_emmLr-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.comments" name="Source Comments in Structured Text Editors" description="Source Comments in Structured Text Editors"/>
+ <children xmi:id="_emmLsOrNEeSOidyff_nu0w" elementId="org.eclipse.core.runtime.xml" name="Editing XML Source" description="Editing XML Source"/>
+ <children xmi:id="_emmLserNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.selection" name="XML Source Selection" description="XML Source Selection"/>
+ <children xmi:id="_emmLsurNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.dependencies" name="XML Source Dependencies" description="XML Source Dependencies"/>
+ <children xmi:id="_emmLs-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.html.occurrences" name="HTML Source Occurrences" description="HTML Source Occurrences"/>
+ <children xmi:id="_emmLtOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.navigation" name="XML Source Navigation" description="XML Source Navigation"/>
+ <children xmi:id="_emmLterNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.cleanup" name="XML Source Cleanup" description="XML Source Cleanup"/>
+ <children xmi:id="_emmLturNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.grammar" name="XML Source Grammar" description="XML Source Grammar"/>
+ <children xmi:id="_emmLt-rNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" name="Editing JSP Source" description="Editing JSP Source"/>
+ <children xmi:id="_emmLuOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.comments" name="XML Source Comments" description="XML Source Comments"/>
+ <children xmi:id="_emmLuerNEeSOidyff_nu0w" elementId="org.eclipse.wst.css.core.csssource" name="Editing CSS Source" description="Editing CSS Source"/>
+ <children xmi:id="_emmLuurNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.expand" name="XML Source Expand/Collapse" description="XML Source Expand/Collapse"/>
+ <children xmi:id="_emmLu-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.hideFormat" name="Editing in Structured Text Editors" description="Editing in Structured Text Editors"/>
</children>
- <children xmi:id="_Z51X8M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.editors.task" name="In Tasks Editor"/>
- <children xmi:id="_Z51X8c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.pagedesigner.editorContext" name="Using Web Page Editor" description="Key binding context when using the web page editor"/>
- <children xmi:id="_Z51X8s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.pdeEditorContext" name="PDE editor" description="The context used by PDE editors"/>
- <children xmi:id="_Z51X889SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsd.ui.text.editor.context" name="Editing XSD context"/>
- <children xmi:id="_Z51X9M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.propertiesEditorScope" name="Editing Properties Files" description="Editing Properties Files Context"/>
- <children xmi:id="_Z51X9c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.internal.wikitext.ui.editor.basicMarkupSourceContext" name="WikiText Markup Source Context" description="WikiText markup editing context">
- <children xmi:id="_Z51X9s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.editor.markupSourceContext" name="WikiText Markup Source Context" description="WikiText markup editing context"/>
- <children xmi:id="_Z51X989SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.tasks.ui.markupSourceContext" name="Task Markup Editor Source Context"/>
+ <children xmi:id="_emmLvOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.editors.task" name="In Tasks Editor"/>
+ <children xmi:id="_emmLverNEeSOidyff_nu0w" elementId="org.eclipse.jst.pagedesigner.editorContext" name="Using Web Page Editor" description="Key binding context when using the web page editor"/>
+ <children xmi:id="_emmLvurNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.pdeEditorContext" name="PDE editor" description="The context used by PDE editors"/>
+ <children xmi:id="_emmLv-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsd.ui.text.editor.context" name="Editing XSD context"/>
+ <children xmi:id="_emmLwOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.propertiesEditorScope" name="Editing Properties Files" description="Editing Properties Files Context"/>
+ <children xmi:id="_emmLwerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.internal.wikitext.ui.editor.basicMarkupSourceContext" name="WikiText Markup Source Context" description="WikiText markup editing context">
+ <children xmi:id="_emmLwurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.editor.markupSourceContext" name="WikiText Markup Source Context" description="WikiText markup editing context"/>
+ <children xmi:id="_emmLw-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.tasks.ui.markupSourceContext" name="Task Markup Editor Source Context"/>
</children>
- <children xmi:id="_Z51X-M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsf.facesconfig.editorContext" name="In Faces Config Editor" description="Key binding context when using the Faces Config Editor"/>
- <children xmi:id="_Z51X-c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.java.editorScope" name="WindowBuilder Java scope"/>
+ <children xmi:id="_emmLxOrNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsf.facesconfig.editorContext" name="In Faces Config Editor" description="Key binding context when using the Faces Config Editor"/>
+ <children xmi:id="_emmLxerNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.java.editorScope" name="WindowBuilder Java scope"/>
</children>
- <children xmi:id="_Z51X-s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.schemaobjecteditor.schemaediting" name="Schema Object Editor" description="Schema Object Editor"/>
- <children xmi:id="_Z51X-89SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.compareEditorScope" name="Comparing in an Editor" description="Comparing in an Editor"/>
- <children xmi:id="_Z51X_M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.debugging" name="Debugging" description="Debugging programs">
- <children xmi:id="_Z51X_c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.memory.abstractasynctablerendering" name="In Table Memory Rendering" description="In Table Memory Rendering"/>
- <children xmi:id="_Z51X_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsl.debug.ui.context" name="XSLT Debugging" description="Context for debugging XSLT"/>
- <children xmi:id="_Z51X_89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.debugging" name="Debugging Java" description="Debugging Java programs"/>
+ <children xmi:id="_emmLxurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.schemaobjecteditor.schemaediting" name="Schema Object Editor" description="Schema Object Editor"/>
+ <children xmi:id="_emmLx-rNEeSOidyff_nu0w" elementId="org.eclipse.compare.compareEditorScope" name="Comparing in an Editor" description="Comparing in an Editor"/>
+ <children xmi:id="_emmLyOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.debugging" name="Debugging" description="Debugging programs">
+ <children xmi:id="_emmLyerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.memory.abstractasynctablerendering" name="In Table Memory Rendering" description="In Table Memory Rendering"/>
+ <children xmi:id="_emmLyurNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsl.debug.ui.context" name="XSLT Debugging" description="Context for debugging XSLT"/>
+ <children xmi:id="_emmLy-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.debugging" name="Debugging Java" description="Debugging Java programs"/>
</children>
- <children xmi:id="_Z51YAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.memoryview" name="In Memory View" description="In memory view"/>
- <children xmi:id="_Z51YAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.console.ConsoleView" name="In Console View" description="In Console View"/>
- <children xmi:id="_Z51YAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.ReflogView" name="In Git Reflog View"/>
- <children xmi:id="_Z51YA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesView" name="In Git Repositories View"/>
+ <children xmi:id="_emmLzOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.memoryview" name="In Memory View" description="In memory view"/>
+ <children xmi:id="_emmLzerNEeSOidyff_nu0w" elementId="org.eclipse.ui.console.ConsoleView" name="In Console View" description="In Console View"/>
+ <children xmi:id="_emmLzurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.ReflogView" name="In Git Reflog View"/>
+ <children xmi:id="_emmLz-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesView" name="In Git Repositories View"/>
</children>
- <children xmi:id="_Z51YBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.contexts.dialog" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="In Dialogs" description="A dialog is open"/>
+ <children xmi:id="_emmL0OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.contexts.dialog" contributorURI="platform:/plugin/org.eclipse.ui.workbench" name="In Dialogs" description="A dialog is open"/>
</rootContext>
- <rootContext xmi:id="_Z51YBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsd.ui.editor.designView" name="XSD Editor Design View" description="XSD Editor Design View"/>
- <rootContext xmi:id="_Z51YBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.contexts.workbenchMenu" name="Workbench Menu" description="When no Workbench windows are active"/>
- <rootContext xmi:id="_Z51YB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.wsdl.ui.editor.designView" name="WSDL Editor Design View" description="WSDL Editor Design View"/>
- <rootContext xmi:id="_Z51YCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.contexts.actionSet" name="Action Set" description="Parent context for action sets"/>
- <rootContext xmi:id="_Z51YCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.breadcrumbEditorScope" name="Editor Breadcrumb Navigation" description="Editor Breadcrumb Navigation Context"/>
- <rootContext xmi:id="_Z51YCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.wsdl.ui.editor.sourceView" name="WSDL Editor Source View" description="WSDL Editor Source View"/>
- <rootContext xmi:id="_Z51YC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsd.ui.editor.sourceView" name="XSD Editor Source View" description="XSD Editor Source View"/>
- <rootContext xmi:id="_Z51YDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.tm.terminal.TerminalContext" name="Terminal widget context" description="Override ALT+x menu access keys"/>
- <rootContext xmi:id="_Z51YDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.OpenExternalDocAction" name="Auto::org.eclipse.ant.ui.OpenExternalDocAction"/>
- <rootContext xmi:id="_Z51YDs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.actions.ManageBreakpointRulerAction" name="Auto::org.eclipse.ant.ui.actions.ManageBreakpointRulerAction"/>
- <rootContext xmi:id="_Z51YD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction" name="Auto::org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction"/>
- <rootContext xmi:id="_Z51YEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.exporter.ui.GenModelExportActionDelegate.Editor" name="Auto::org.eclipse.emf.exporter.ui.GenModelExportActionDelegate.Editor"/>
- <rootContext xmi:id="_Z51YEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.importer.ui.GenModelReloadActionDelegate.Editor" name="Auto::org.eclipse.emf.importer.ui.GenModelReloadActionDelegate.Editor"/>
- <rootContext xmi:id="_Z51YEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.mapping.action.RemoveMappingActionID" name="Auto::org.eclipse.emf.mapping.action.RemoveMappingActionID"/>
- <rootContext xmi:id="_Z51YE89SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.mapping.action.TypeMatchMappingActionID" name="Auto::org.eclipse.emf.mapping.action.TypeMatchMappingActionID"/>
- <rootContext xmi:id="_Z51YFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.mapping.action.NameMatchMappingActionID" name="Auto::org.eclipse.emf.mapping.action.NameMatchMappingActionID"/>
- <rootContext xmi:id="_Z51YFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID" name="Auto::org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID"/>
- <rootContext xmi:id="_Z51YFs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.mapping.action.CreateMappingActionID" name="Auto::org.eclipse.emf.mapping.action.CreateMappingActionID"/>
- <rootContext xmi:id="_Z51YF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID" name="Auto::org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID"/>
- <rootContext xmi:id="_Z51YGM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID" name="Auto::org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID"/>
- <rootContext xmi:id="_Z51YGc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.SnippetExecute" name="Auto::org.eclipse.jdt.debug.ui.SnippetExecute"/>
- <rootContext xmi:id="_Z51YGs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.SnippetDisplay" name="Auto::org.eclipse.jdt.debug.ui.SnippetDisplay"/>
- <rootContext xmi:id="_Z51YG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.SnippetInspect" name="Auto::org.eclipse.jdt.debug.ui.SnippetInspect"/>
- <rootContext xmi:id="_Z51YHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.internal.ui.javaeditor.BookmarkRulerAction" name="Auto::org.eclipse.jdt.internal.ui.javaeditor.BookmarkRulerAction"/>
- <rootContext xmi:id="_Z51YHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" name="Auto::org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction"/>
- <rootContext xmi:id="_Z51YHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.internal.ui.propertiesfileeditor.BookmarkRulerAction" name="Auto::org.eclipse.jdt.internal.ui.propertiesfileeditor.BookmarkRulerAction"/>
- <rootContext xmi:id="_Z51YH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.internal.ui.propertiesfileeditor.SelectRulerAction" name="Auto::org.eclipse.jdt.internal.ui.propertiesfileeditor.SelectRulerAction"/>
- <rootContext xmi:id="_Z51YIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.texteditor.BookmarkRulerAction" name="Auto::org.eclipse.ui.texteditor.BookmarkRulerAction"/>
- <rootContext xmi:id="_Z51YIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.texteditor.SelectRulerAction" name="Auto::org.eclipse.ui.texteditor.SelectRulerAction"/>
- <rootContext xmi:id="_Z51YIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.tasks.ui.editor.folding.auto" name="Auto::org.eclipse.mylyn.wikitext.tasks.ui.editor.folding.auto"/>
- <rootContext xmi:id="_Z51YI89SEeSV1Mx9A3xekQ" elementId="StructureSelectEnclosing" name="Auto::StructureSelectEnclosing"/>
- <rootContext xmi:id="_Z51YJM9SEeSV1Mx9A3xekQ" elementId="StructureSelectNext" name="Auto::StructureSelectNext"/>
- <rootContext xmi:id="_Z51YJc9SEeSV1Mx9A3xekQ" elementId="StructureSelectPrevious" name="Auto::StructureSelectPrevious"/>
- <rootContext xmi:id="_Z51YJs9SEeSV1Mx9A3xekQ" elementId="StructureSelectHistory" name="Auto::StructureSelectHistory"/>
- <rootContext xmi:id="_Z51YJ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.debug.ui.RulerToggleBreakpoint" name="Auto::org.eclipse.wst.jsdt.debug.ui.RulerToggleBreakpoint"/>
- <rootContext xmi:id="_Z51YKM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.internal.ui.javaeditor.BookmarkRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.javaeditor.BookmarkRulerAction"/>
- <rootContext xmi:id="_Z51YKc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaSelectRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaSelectRulerAction"/>
- <rootContext xmi:id="_Z51YKs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.BookmarkRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.BookmarkRulerAction"/>
- <rootContext xmi:id="_Z51YK89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.SelectRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.SelectRulerAction"/>
- <rootContext xmi:id="_Z51YLM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate" name="Auto::org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate"/>
- <rootContext xmi:id="_Z51YLc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.actionSet.presentation" name="Auto::org.eclipse.ant.ui.actionSet.presentation"/>
- <rootContext xmi:id="_Z51YLs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqlscrapbook.actionSet" name="Auto::org.eclipse.datatools.sqltools.sqlscrapbook.actionSet"/>
- <rootContext xmi:id="_Z51YL89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.breakpointActionSet" name="Auto::org.eclipse.debug.ui.breakpointActionSet"/>
- <rootContext xmi:id="_Z51YMM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.debugActionSet" name="Auto::org.eclipse.debug.ui.debugActionSet"/>
- <rootContext xmi:id="_Z51YMc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.launchActionSet" name="Auto::org.eclipse.debug.ui.launchActionSet"/>
- <rootContext xmi:id="_Z51YMs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.profileActionSet" name="Auto::org.eclipse.debug.ui.profileActionSet"/>
- <rootContext xmi:id="_Z51YM89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.JDTDebugActionSet" name="Auto::org.eclipse.jdt.debug.ui.JDTDebugActionSet"/>
- <rootContext xmi:id="_Z51YNM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.JUnitActionSet" name="Auto::org.eclipse.jdt.junit.JUnitActionSet"/>
- <rootContext xmi:id="_Z51YNc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.text.java.actionSet.presentation" name="Auto::org.eclipse.jdt.ui.text.java.actionSet.presentation"/>
- <rootContext xmi:id="_Z51YNs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavaElementCreationActionSet" name="Auto::org.eclipse.jdt.ui.JavaElementCreationActionSet"/>
- <rootContext xmi:id="_Z51YN89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavaActionSet" name="Auto::org.eclipse.jdt.ui.JavaActionSet"/>
- <rootContext xmi:id="_Z51YOM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.A_OpenActionSet" name="Auto::org.eclipse.jdt.ui.A_OpenActionSet"/>
- <rootContext xmi:id="_Z51YOc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.CodingActionSet" name="Auto::org.eclipse.jdt.ui.CodingActionSet"/>
- <rootContext xmi:id="_Z51YOs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.SearchActionSet" name="Auto::org.eclipse.jdt.ui.SearchActionSet"/>
- <rootContext xmi:id="_Z51YO89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.JptCreationActionSet" name="Auto::org.eclipse.jpt.jpa.ui.JptCreationActionSet"/>
- <rootContext xmi:id="_Z51YPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.j2ee.J2eeMainActionSet" name="Auto::org.eclipse.jst.j2ee.J2eeMainActionSet"/>
- <rootContext xmi:id="_Z51YPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.actionSet" name="Auto::org.eclipse.mylyn.context.ui.actionSet"/>
- <rootContext xmi:id="_Z51YPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.java.actionSet" name="Auto::org.eclipse.mylyn.java.actionSet"/>
- <rootContext xmi:id="_Z51YP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.java.actionSet.browsing" name="Auto::org.eclipse.mylyn.java.actionSet.browsing"/>
- <rootContext xmi:id="_Z51YQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.doc.actionSet" name="Auto::org.eclipse.mylyn.doc.actionSet"/>
- <rootContext xmi:id="_Z51YQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.navigation" name="Auto::org.eclipse.mylyn.tasks.ui.navigation"/>
- <rootContext xmi:id="_Z51YQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.navigation.additions" name="Auto::org.eclipse.mylyn.tasks.ui.navigation.additions"/>
- <rootContext xmi:id="_Z51YQ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.SearchActionSet" name="Auto::org.eclipse.pde.ui.SearchActionSet"/>
- <rootContext xmi:id="_Z51YRM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.cheatsheets.actionSet" name="Auto::org.eclipse.ui.cheatsheets.actionSet"/>
- <rootContext xmi:id="_Z51YRc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.core.search.searchActionSet" name="Auto::org.eclipse.rse.core.search.searchActionSet"/>
- <rootContext xmi:id="_Z51YRs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.searchActionSet" name="Auto::org.eclipse.search.searchActionSet"/>
- <rootContext xmi:id="_Z51YR89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.CVSActionSet" name="Auto::org.eclipse.team.cvs.ui.CVSActionSet"/>
- <rootContext xmi:id="_Z51YSM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.actionSet" name="Auto::org.eclipse.team.ui.actionSet"/>
- <rootContext xmi:id="_Z51YSc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.actionSet.annotationNavigation" name="Auto::org.eclipse.ui.edit.text.actionSet.annotationNavigation"/>
- <rootContext xmi:id="_Z51YSs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.actionSet.navigation" name="Auto::org.eclipse.ui.edit.text.actionSet.navigation"/>
- <rootContext xmi:id="_Z51YS89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo" name="Auto::org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo"/>
- <rootContext xmi:id="_Z51YTM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.externaltools.ExternalToolsSet" name="Auto::org.eclipse.ui.externaltools.ExternalToolsSet"/>
- <rootContext xmi:id="_Z51YTc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.NavigateActionSet" name="Auto::org.eclipse.ui.NavigateActionSet"/>
- <rootContext xmi:id="_Z51YTs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.actionSet.keyBindings" name="Auto::org.eclipse.ui.actionSet.keyBindings"/>
- <rootContext xmi:id="_Z51YT89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.WorkingSetModificationActionSet" name="Auto::org.eclipse.ui.WorkingSetModificationActionSet"/>
- <rootContext xmi:id="_Z51YUM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.WorkingSetActionSet" name="Auto::org.eclipse.ui.WorkingSetActionSet"/>
- <rootContext xmi:id="_Z51YUc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.actionSet.openFiles" name="Auto::org.eclipse.ui.actionSet.openFiles"/>
- <rootContext xmi:id="_Z51YUs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.actionSet.presentation" name="Auto::org.eclipse.ui.edit.text.actionSet.presentation"/>
- <rootContext xmi:id="_Z51YU89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.text.java.actionSet.presentation" name="Auto::org.eclipse.wst.jsdt.ui.text.java.actionSet.presentation"/>
- <rootContext xmi:id="_Z51YVM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.JavaElementCreationActionSet" name="Auto::org.eclipse.wst.jsdt.ui.JavaElementCreationActionSet"/>
- <rootContext xmi:id="_Z51YVc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.JavaActionSet" name="Auto::org.eclipse.wst.jsdt.ui.JavaActionSet"/>
- <rootContext xmi:id="_Z51YVs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.A_OpenActionSet" name="Auto::org.eclipse.wst.jsdt.ui.A_OpenActionSet"/>
- <rootContext xmi:id="_Z51YV89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.CodingActionSet" name="Auto::org.eclipse.wst.jsdt.ui.CodingActionSet"/>
- <rootContext xmi:id="_Z51YWM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.SearchActionSet" name="Auto::org.eclipse.wst.jsdt.ui.SearchActionSet"/>
- <rootContext xmi:id="_Z51YWc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.ui.new.actionSet" name="Auto::org.eclipse.wst.server.ui.new.actionSet"/>
- <rootContext xmi:id="_Z51YWs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.ui.internal.webbrowser.actionSet" name="Auto::org.eclipse.wst.server.ui.internal.webbrowser.actionSet"/>
- <rootContext xmi:id="_Z51YW89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.web.ui.wizardsActionSet" name="Auto::org.eclipse.wst.web.ui.wizardsActionSet"/>
- <rootContext xmi:id="_Z51YXM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.ws.explorer.explorer" name="Auto::org.eclipse.wst.ws.explorer.explorer"/>
- <rootContext xmi:id="_Z51YXc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.launching.localJavaApplication.internal.org.eclipse.debug.ui.DebugPerspective" name="Auto::org.eclipse.jdt.launching.localJavaApplication.internal.org.eclipse.debug.ui.DebugPerspective"/>
- <rootContext xmi:id="_Z51YXs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.gitaction" name="Auto::org.eclipse.egit.ui.gitaction"/>
- <rootContext xmi:id="_Z51YX89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.navigation" name="Auto::org.eclipse.egit.ui.navigation"/>
- <rootContext xmi:id="_Z51YYM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.ui.actionset" name="Auto::org.eclipse.wb.core.ui.actionset"/>
- <rootContext xmi:id="_Z51YYc9SEeSV1Mx9A3xekQ" elementId="net.sf.jautodoc.actions.SearchActionSet" name="Auto::net.sf.jautodoc.actions.SearchActionSet"/>
- <descriptors xmi:id="_Z51YYs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.ui.compatibility.editor" allowMultiple="true" category="org.eclipse.e4.primaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor">
+ <rootContext xmi:id="_emmL0erNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsd.ui.editor.designView" name="XSD Editor Design View" description="XSD Editor Design View"/>
+ <rootContext xmi:id="_emmL0urNEeSOidyff_nu0w" elementId="org.eclipse.ui.contexts.workbenchMenu" name="Workbench Menu" description="When no Workbench windows are active"/>
+ <rootContext xmi:id="_emmL0-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.wsdl.ui.editor.designView" name="WSDL Editor Design View" description="WSDL Editor Design View"/>
+ <rootContext xmi:id="_emmL1OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.contexts.actionSet" name="Action Set" description="Parent context for action sets"/>
+ <rootContext xmi:id="_emmL1erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.breadcrumbEditorScope" name="Editor Breadcrumb Navigation" description="Editor Breadcrumb Navigation Context"/>
+ <rootContext xmi:id="_emmL1urNEeSOidyff_nu0w" elementId="org.eclipse.wst.wsdl.ui.editor.sourceView" name="WSDL Editor Source View" description="WSDL Editor Source View"/>
+ <rootContext xmi:id="_emmL1-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsd.ui.editor.sourceView" name="XSD Editor Source View" description="XSD Editor Source View"/>
+ <rootContext xmi:id="_emmL2OrNEeSOidyff_nu0w" elementId="org.eclipse.tm.terminal.TerminalContext" name="Terminal widget context" description="Override ALT+x menu access keys"/>
+ <rootContext xmi:id="_emmL2erNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.OpenExternalDocAction" name="Auto::org.eclipse.ant.ui.OpenExternalDocAction"/>
+ <rootContext xmi:id="_emmL2urNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.actions.ManageBreakpointRulerAction" name="Auto::org.eclipse.ant.ui.actions.ManageBreakpointRulerAction"/>
+ <rootContext xmi:id="_emmL2-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction" name="Auto::org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction"/>
+ <rootContext xmi:id="_emmL3OrNEeSOidyff_nu0w" elementId="org.eclipse.emf.exporter.ui.GenModelExportActionDelegate.Editor" name="Auto::org.eclipse.emf.exporter.ui.GenModelExportActionDelegate.Editor"/>
+ <rootContext xmi:id="_emmL3erNEeSOidyff_nu0w" elementId="org.eclipse.emf.importer.ui.GenModelReloadActionDelegate.Editor" name="Auto::org.eclipse.emf.importer.ui.GenModelReloadActionDelegate.Editor"/>
+ <rootContext xmi:id="_emmyIOrNEeSOidyff_nu0w" elementId="org.eclipse.emf.mapping.action.RemoveMappingActionID" name="Auto::org.eclipse.emf.mapping.action.RemoveMappingActionID"/>
+ <rootContext xmi:id="_emmyIerNEeSOidyff_nu0w" elementId="org.eclipse.emf.mapping.action.TypeMatchMappingActionID" name="Auto::org.eclipse.emf.mapping.action.TypeMatchMappingActionID"/>
+ <rootContext xmi:id="_emmyIurNEeSOidyff_nu0w" elementId="org.eclipse.emf.mapping.action.NameMatchMappingActionID" name="Auto::org.eclipse.emf.mapping.action.NameMatchMappingActionID"/>
+ <rootContext xmi:id="_emmyI-rNEeSOidyff_nu0w" elementId="org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID" name="Auto::org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID"/>
+ <rootContext xmi:id="_emmyJOrNEeSOidyff_nu0w" elementId="org.eclipse.emf.mapping.action.CreateMappingActionID" name="Auto::org.eclipse.emf.mapping.action.CreateMappingActionID"/>
+ <rootContext xmi:id="_emmyJerNEeSOidyff_nu0w" elementId="org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID" name="Auto::org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID"/>
+ <rootContext xmi:id="_emmyJurNEeSOidyff_nu0w" elementId="org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID" name="Auto::org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID"/>
+ <rootContext xmi:id="_emmyJ-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.SnippetExecute" name="Auto::org.eclipse.jdt.debug.ui.SnippetExecute"/>
+ <rootContext xmi:id="_emmyKOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.SnippetDisplay" name="Auto::org.eclipse.jdt.debug.ui.SnippetDisplay"/>
+ <rootContext xmi:id="_emmyKerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.SnippetInspect" name="Auto::org.eclipse.jdt.debug.ui.SnippetInspect"/>
+ <rootContext xmi:id="_emmyKurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.internal.ui.javaeditor.BookmarkRulerAction" name="Auto::org.eclipse.jdt.internal.ui.javaeditor.BookmarkRulerAction"/>
+ <rootContext xmi:id="_emmyK-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" name="Auto::org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction"/>
+ <rootContext xmi:id="_emmyLOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.internal.ui.propertiesfileeditor.BookmarkRulerAction" name="Auto::org.eclipse.jdt.internal.ui.propertiesfileeditor.BookmarkRulerAction"/>
+ <rootContext xmi:id="_emmyLerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.internal.ui.propertiesfileeditor.SelectRulerAction" name="Auto::org.eclipse.jdt.internal.ui.propertiesfileeditor.SelectRulerAction"/>
+ <rootContext xmi:id="_emmyLurNEeSOidyff_nu0w" elementId="org.eclipse.ui.texteditor.BookmarkRulerAction" name="Auto::org.eclipse.ui.texteditor.BookmarkRulerAction"/>
+ <rootContext xmi:id="_emmyL-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.texteditor.SelectRulerAction" name="Auto::org.eclipse.ui.texteditor.SelectRulerAction"/>
+ <rootContext xmi:id="_emmyMOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.tasks.ui.editor.folding.auto" name="Auto::org.eclipse.mylyn.wikitext.tasks.ui.editor.folding.auto"/>
+ <rootContext xmi:id="_emmyMerNEeSOidyff_nu0w" elementId="StructureSelectEnclosing" name="Auto::StructureSelectEnclosing"/>
+ <rootContext xmi:id="_emmyMurNEeSOidyff_nu0w" elementId="StructureSelectNext" name="Auto::StructureSelectNext"/>
+ <rootContext xmi:id="_emmyM-rNEeSOidyff_nu0w" elementId="StructureSelectPrevious" name="Auto::StructureSelectPrevious"/>
+ <rootContext xmi:id="_emmyNOrNEeSOidyff_nu0w" elementId="StructureSelectHistory" name="Auto::StructureSelectHistory"/>
+ <rootContext xmi:id="_emmyNerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.debug.ui.RulerToggleBreakpoint" name="Auto::org.eclipse.wst.jsdt.debug.ui.RulerToggleBreakpoint"/>
+ <rootContext xmi:id="_emmyNurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.internal.ui.javaeditor.BookmarkRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.javaeditor.BookmarkRulerAction"/>
+ <rootContext xmi:id="_emmyN-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaSelectRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaSelectRulerAction"/>
+ <rootContext xmi:id="_emmyOOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.BookmarkRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.BookmarkRulerAction"/>
+ <rootContext xmi:id="_emmyOerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.SelectRulerAction" name="Auto::org.eclipse.wst.jsdt.internal.ui.propertiesfileeditor.SelectRulerAction"/>
+ <rootContext xmi:id="_emmyOurNEeSOidyff_nu0w" elementId="org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate" name="Auto::org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate"/>
+ <rootContext xmi:id="_emmyO-rNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.actionSet.presentation" name="Auto::org.eclipse.ant.ui.actionSet.presentation"/>
+ <rootContext xmi:id="_emmyPOrNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqlscrapbook.actionSet" name="Auto::org.eclipse.datatools.sqltools.sqlscrapbook.actionSet"/>
+ <rootContext xmi:id="_emmyPerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.breakpointActionSet" name="Auto::org.eclipse.debug.ui.breakpointActionSet"/>
+ <rootContext xmi:id="_emmyPurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.debugActionSet" name="Auto::org.eclipse.debug.ui.debugActionSet"/>
+ <rootContext xmi:id="_emmyP-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.launchActionSet" name="Auto::org.eclipse.debug.ui.launchActionSet"/>
+ <rootContext xmi:id="_emmyQOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.profileActionSet" name="Auto::org.eclipse.debug.ui.profileActionSet"/>
+ <rootContext xmi:id="_emmyQerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.JDTDebugActionSet" name="Auto::org.eclipse.jdt.debug.ui.JDTDebugActionSet"/>
+ <rootContext xmi:id="_emmyQurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.JUnitActionSet" name="Auto::org.eclipse.jdt.junit.JUnitActionSet"/>
+ <rootContext xmi:id="_emmyQ-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.text.java.actionSet.presentation" name="Auto::org.eclipse.jdt.ui.text.java.actionSet.presentation"/>
+ <rootContext xmi:id="_emmyROrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavaElementCreationActionSet" name="Auto::org.eclipse.jdt.ui.JavaElementCreationActionSet"/>
+ <rootContext xmi:id="_emmyRerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavaActionSet" name="Auto::org.eclipse.jdt.ui.JavaActionSet"/>
+ <rootContext xmi:id="_emmyRurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.A_OpenActionSet" name="Auto::org.eclipse.jdt.ui.A_OpenActionSet"/>
+ <rootContext xmi:id="_emmyR-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.CodingActionSet" name="Auto::org.eclipse.jdt.ui.CodingActionSet"/>
+ <rootContext xmi:id="_emmySOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.SearchActionSet" name="Auto::org.eclipse.jdt.ui.SearchActionSet"/>
+ <rootContext xmi:id="_emmySerNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.JptCreationActionSet" name="Auto::org.eclipse.jpt.jpa.ui.JptCreationActionSet"/>
+ <rootContext xmi:id="_emmySurNEeSOidyff_nu0w" elementId="org.eclipse.jst.j2ee.J2eeMainActionSet" name="Auto::org.eclipse.jst.j2ee.J2eeMainActionSet"/>
+ <rootContext xmi:id="_emmyS-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.actionSet" name="Auto::org.eclipse.mylyn.context.ui.actionSet"/>
+ <rootContext xmi:id="_emmyTOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.java.actionSet" name="Auto::org.eclipse.mylyn.java.actionSet"/>
+ <rootContext xmi:id="_emmyTerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.java.actionSet.browsing" name="Auto::org.eclipse.mylyn.java.actionSet.browsing"/>
+ <rootContext xmi:id="_emmyTurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.doc.actionSet" name="Auto::org.eclipse.mylyn.doc.actionSet"/>
+ <rootContext xmi:id="_emmyT-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.navigation" name="Auto::org.eclipse.mylyn.tasks.ui.navigation"/>
+ <rootContext xmi:id="_emmyUOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.navigation.additions" name="Auto::org.eclipse.mylyn.tasks.ui.navigation.additions"/>
+ <rootContext xmi:id="_emmyUerNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.SearchActionSet" name="Auto::org.eclipse.pde.ui.SearchActionSet"/>
+ <rootContext xmi:id="_emmyUurNEeSOidyff_nu0w" elementId="org.eclipse.ui.cheatsheets.actionSet" name="Auto::org.eclipse.ui.cheatsheets.actionSet"/>
+ <rootContext xmi:id="_emmyU-rNEeSOidyff_nu0w" elementId="org.eclipse.rse.core.search.searchActionSet" name="Auto::org.eclipse.rse.core.search.searchActionSet"/>
+ <rootContext xmi:id="_emmyVOrNEeSOidyff_nu0w" elementId="org.eclipse.search.searchActionSet" name="Auto::org.eclipse.search.searchActionSet"/>
+ <rootContext xmi:id="_emmyVerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.CVSActionSet" name="Auto::org.eclipse.team.cvs.ui.CVSActionSet"/>
+ <rootContext xmi:id="_emmyVurNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.actionSet" name="Auto::org.eclipse.team.ui.actionSet"/>
+ <rootContext xmi:id="_emmyV-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.actionSet.annotationNavigation" name="Auto::org.eclipse.ui.edit.text.actionSet.annotationNavigation"/>
+ <rootContext xmi:id="_emmyWOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.actionSet.navigation" name="Auto::org.eclipse.ui.edit.text.actionSet.navigation"/>
+ <rootContext xmi:id="_emmyWerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo" name="Auto::org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo"/>
+ <rootContext xmi:id="_emmyWurNEeSOidyff_nu0w" elementId="org.eclipse.ui.externaltools.ExternalToolsSet" name="Auto::org.eclipse.ui.externaltools.ExternalToolsSet"/>
+ <rootContext xmi:id="_emmyW-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.NavigateActionSet" name="Auto::org.eclipse.ui.NavigateActionSet"/>
+ <rootContext xmi:id="_emmyXOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.actionSet.keyBindings" name="Auto::org.eclipse.ui.actionSet.keyBindings"/>
+ <rootContext xmi:id="_emmyXerNEeSOidyff_nu0w" elementId="org.eclipse.ui.WorkingSetModificationActionSet" name="Auto::org.eclipse.ui.WorkingSetModificationActionSet"/>
+ <rootContext xmi:id="_emmyXurNEeSOidyff_nu0w" elementId="org.eclipse.ui.WorkingSetActionSet" name="Auto::org.eclipse.ui.WorkingSetActionSet"/>
+ <rootContext xmi:id="_emmyX-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.actionSet.openFiles" name="Auto::org.eclipse.ui.actionSet.openFiles"/>
+ <rootContext xmi:id="_emmyYOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.actionSet.presentation" name="Auto::org.eclipse.ui.edit.text.actionSet.presentation"/>
+ <rootContext xmi:id="_emmyYerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.text.java.actionSet.presentation" name="Auto::org.eclipse.wst.jsdt.ui.text.java.actionSet.presentation"/>
+ <rootContext xmi:id="_emmyYurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.JavaElementCreationActionSet" name="Auto::org.eclipse.wst.jsdt.ui.JavaElementCreationActionSet"/>
+ <rootContext xmi:id="_emmyY-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.JavaActionSet" name="Auto::org.eclipse.wst.jsdt.ui.JavaActionSet"/>
+ <rootContext xmi:id="_emmyZOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.A_OpenActionSet" name="Auto::org.eclipse.wst.jsdt.ui.A_OpenActionSet"/>
+ <rootContext xmi:id="_emmyZerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.CodingActionSet" name="Auto::org.eclipse.wst.jsdt.ui.CodingActionSet"/>
+ <rootContext xmi:id="_emmyZurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.SearchActionSet" name="Auto::org.eclipse.wst.jsdt.ui.SearchActionSet"/>
+ <rootContext xmi:id="_emmyZ-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.ui.new.actionSet" name="Auto::org.eclipse.wst.server.ui.new.actionSet"/>
+ <rootContext xmi:id="_emmyaOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.ui.internal.webbrowser.actionSet" name="Auto::org.eclipse.wst.server.ui.internal.webbrowser.actionSet"/>
+ <rootContext xmi:id="_emmyaerNEeSOidyff_nu0w" elementId="org.eclipse.wst.web.ui.wizardsActionSet" name="Auto::org.eclipse.wst.web.ui.wizardsActionSet"/>
+ <rootContext xmi:id="_emmyaurNEeSOidyff_nu0w" elementId="org.eclipse.wst.ws.explorer.explorer" name="Auto::org.eclipse.wst.ws.explorer.explorer"/>
+ <rootContext xmi:id="_emmya-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.launching.localJavaApplication.internal.org.eclipse.debug.ui.DebugPerspective" name="Auto::org.eclipse.jdt.launching.localJavaApplication.internal.org.eclipse.debug.ui.DebugPerspective"/>
+ <rootContext xmi:id="_emmybOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.gitaction" name="Auto::org.eclipse.egit.ui.gitaction"/>
+ <rootContext xmi:id="_emmyberNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.navigation" name="Auto::org.eclipse.egit.ui.navigation"/>
+ <rootContext xmi:id="_emmyburNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.ui.actionset" name="Auto::org.eclipse.wb.core.ui.actionset"/>
+ <rootContext xmi:id="_emmyb-rNEeSOidyff_nu0w" elementId="net.sf.jautodoc.actions.SearchActionSet" name="Auto::net.sf.jautodoc.actions.SearchActionSet"/>
+ <descriptors xmi:id="_emmycOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.compatibility.editor" allowMultiple="true" category="org.eclipse.e4.primaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor">
<tags>Editor</tags>
</descriptors>
- <descriptors xmi:id="_Z51YY89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.views.AntView" label="Ant" iconURI="platform:/plugin/org.eclipse.ant.ui/icons/full/eview16/ant_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmycerNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.views.AntView" label="Ant" iconURI="platform:/plugin/org.eclipse.ant.ui/icons/full/eview16/ant_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Ant</tags>
</descriptors>
- <descriptors xmi:id="_Z51YZM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator" label="Data Source Explorer" iconURI="platform:/plugin/org.eclipse.datatools.connectivity.ui.dse/icons/full/cview16/enterprise_explorer.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmycurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator" label="Data Source Explorer" iconURI="platform:/plugin/org.eclipse.datatools.connectivity.ui.dse/icons/full/cview16/enterprise_explorer.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Data Management</tags>
</descriptors>
- <descriptors xmi:id="_Z51YZc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.plan.planView" label="Execution Plan" iconURI="platform:/plugin/org.eclipse.datatools.sqltools.plan/icons/sqlplan.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyc-rNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.plan.planView" label="Execution Plan" iconURI="platform:/plugin/org.eclipse.datatools.sqltools.plan/icons/sqlplan.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Data Management</tags>
</descriptors>
- <descriptors xmi:id="_Z51YZs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.result.resultView" label="SQL Results" iconURI="platform:/plugin/org.eclipse.datatools.sqltools.result.ui/icons/sqlresult.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmydOrNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.result.resultView" label="SQL Results" iconURI="platform:/plugin/org.eclipse.datatools.sqltools.result.ui/icons/sqlresult.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Data Management</tags>
</descriptors>
- <descriptors xmi:id="_Z51YZ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugView" label="Debug" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/debug_view.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyderNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugView" label="Debug" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/debug_view.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51YaM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.BreakpointView" label="Breakpoints" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/breakpoint_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmydurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.BreakpointView" label="Breakpoints" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/breakpoint_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yac9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.VariableView" label="Variables" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/variable_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyd-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.VariableView" label="Variables" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/variable_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yas9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ExpressionView" label="Expressions" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/watchlist_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyeOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ExpressionView" label="Expressions" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/watchlist_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ya89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.RegisterView" label="Registers" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/register_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyeerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.RegisterView" label="Registers" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/register_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51YbM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.ModuleView" label="Modules" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/module_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyeurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.ModuleView" label="Modules" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/module_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ybc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.MemoryView" label="Memory" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/memory_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmye-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.MemoryView" label="Memory" iconURI="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/memory_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ybs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.gef.ui.palette_view" label="Palette" iconURI="platform:/plugin/org.eclipse.gef/icons/palette_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyfOrNEeSOidyff_nu0w" elementId="org.eclipse.gef.ui.palette_view" label="Palette" iconURI="platform:/plugin/org.eclipse.gef/icons/palette_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yb89SEeSV1Mx9A3xekQ" elementId="org.eclipse.help.ui.HelpView" label="Help" iconURI="platform:/plugin/org.eclipse.help.ui/icons/view16/help_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyferNEeSOidyff_nu0w" elementId="org.eclipse.help.ui.HelpView" label="Help" iconURI="platform:/plugin/org.eclipse.help.ui/icons/view16/help_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Help</tags>
</descriptors>
- <descriptors xmi:id="_Z51YcM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.DisplayView" label="Display" iconURI="platform:/plugin/org.eclipse.jdt.debug.ui/icons/full/etool16/disp_sbook.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyfurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.DisplayView" label="Display" iconURI="platform:/plugin/org.eclipse.jdt.debug.ui/icons/full/etool16/disp_sbook.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ycc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.ResultView" label="JUnit" iconURI="platform:/plugin/org.eclipse.jdt.junit/icons/full/eview16/junit.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyf-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.ResultView" label="JUnit" iconURI="platform:/plugin/org.eclipse.jdt.junit/icons/full/eview16/junit.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ycs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackageExplorer" label="Package Explorer" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/package.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmygOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackageExplorer" label="Package Explorer" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/package.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yc89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.TypeHierarchy" label="Type Hierarchy" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/class_hi.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmygerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.TypeHierarchy" label="Type Hierarchy" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/class_hi.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</descriptors>
- <descriptors xmi:id="_Z51YdM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.ProjectsView" label="Projects" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/projects.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmygurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.ProjectsView" label="Projects" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/projects.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java Browsing</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ydc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.PackagesView" label="Packages" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/packages.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyg-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.PackagesView" label="Packages" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/packages.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java Browsing</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yds9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.TypesView" label="Types" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/types.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyhOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.TypesView" label="Types" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/types.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java Browsing</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yd89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.MembersView" label="Members" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/members.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyherNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.MembersView" label="Members" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/members.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java Browsing</tags>
</descriptors>
- <descriptors xmi:id="_Z51YeM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.callhierarchy.view" label="Call Hierarchy" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/call_hierarchy.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyhurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.callhierarchy.view" label="Call Hierarchy" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/call_hierarchy.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yec9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.texteditor.TemplatesView" label="Templates" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/templates.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyh-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.texteditor.TemplatesView" label="Templates" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/templates.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yes9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.SourceView" label="Declaration" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/source.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyiOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.SourceView" label="Declaration" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/source.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ye89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavadocView" label="Javadoc" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/javadoc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyierNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavadocView" label="Javadoc" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/eview16/javadoc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Java</tags>
</descriptors>
- <descriptors xmi:id="_Z51YfM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.ui.jpaStructureView" label="JPA Structure" iconURI="platform:/plugin/org.eclipse.jpt.jpa.ui/icons/full/eview16/jpa_structure.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyiurNEeSOidyff_nu0w" elementId="org.eclipse.jpt.ui.jpaStructureView" label="JPA Structure" iconURI="platform:/plugin/org.eclipse.jpt.jpa.ui/icons/full/eview16/jpa_structure.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JPA</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yfc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.ui.jpaDetailsView" label="JPA Details" iconURI="platform:/plugin/org.eclipse.jpt.jpa.ui/icons/full/eview16/jpa_details.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyi-rNEeSOidyff_nu0w" elementId="org.eclipse.jpt.ui.jpaDetailsView" label="JPA Details" iconURI="platform:/plugin/org.eclipse.jpt.jpa.ui/icons/full/eview16/jpa_details.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JPA</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yfs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsf.ui.component.ComponentTreeView" label="JSF Component Tree" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyjOrNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsf.ui.component.ComponentTreeView" label="JSF Component Tree" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JavaServer Faces</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yf89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsf.ui.tagregistry.TagRegistryView" label="Tag Registry" iconURI="platform:/plugin/org.eclipse.jst.jsf.ui/icons/obj16/library_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyjerNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsf.ui.tagregistry.TagRegistryView" label="Tag Registry" iconURI="platform:/plugin/org.eclipse.jst.jsf.ui/icons/obj16/library_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JavaServer Faces</tags>
</descriptors>
- <descriptors xmi:id="_Z51YgM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.ws.jaxws.ui.views.AnnotationsView" label="Annotation Properties" iconURI="platform:/plugin/org.eclipse.jst.ws.jaxws.ui/icons/eview16/prop_ps.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyjurNEeSOidyff_nu0w" elementId="org.eclipse.jst.ws.jaxws.ui.views.AnnotationsView" label="Annotation Properties" iconURI="platform:/plugin/org.eclipse.jst.ws.jaxws.ui/icons/eview16/prop_ps.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JAX-WS</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ygc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.commons.repositories.ui.navigator.Repositories" label="Team Repositories" iconURI="platform:/plugin/org.eclipse.mylyn.commons.repositories.ui/icons/eview16/repositories.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyj-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.commons.repositories.ui.navigator.Repositories" label="Team Repositories" iconURI="platform:/plugin/org.eclipse.mylyn.commons.repositories.ui/icons/eview16/repositories.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Mylyn</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ygs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" label="Task List" iconURI="platform:/plugin/org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmykOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.tasks" label="Task List" iconURI="platform:/plugin/org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Mylyn</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yg89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.views.repositories" label="Task Repositories" iconURI="platform:/plugin/org.eclipse.mylyn.tasks.ui/icons/eview16/repositories.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmykerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.views.repositories" label="Task Repositories" iconURI="platform:/plugin/org.eclipse.mylyn.tasks.ui/icons/eview16/repositories.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Mylyn</tags>
</descriptors>
- <descriptors xmi:id="_Z51YhM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.api.tools.ui.views.apitooling.views.apitoolingview" label="API Tools" iconURI="platform:/plugin/org.eclipse.pde.api.tools.ui/icons/full/obj16/api_tools.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmykurNEeSOidyff_nu0w" elementId="org.eclipse.pde.api.tools.ui.views.apitooling.views.apitoolingview" label="API Tools" iconURI="platform:/plugin/org.eclipse.pde.api.tools.ui/icons/full/obj16/api_tools.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:API Tools</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yhc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.runtime.RegistryBrowser" label="Plug-in Registry" iconURI="platform:/plugin/org.eclipse.pde.runtime//icons/eview16/registry.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyk-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.runtime.RegistryBrowser" label="Plug-in Registry" iconURI="platform:/plugin/org.eclipse.pde.runtime//icons/eview16/registry.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Plug-in Development</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yhs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.PluginsView" label="Plug-ins" iconURI="platform:/plugin/org.eclipse.pde.ui//icons/eview16/plugin_depend.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmylOrNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.PluginsView" label="Plug-ins" iconURI="platform:/plugin/org.eclipse.pde.ui//icons/eview16/plugin_depend.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Plug-in Development</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yh89SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.DependenciesView" label="Plug-in Dependencies" iconURI="platform:/plugin/org.eclipse.pde.ui//icons/obj16/req_plugins_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmylerNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.DependenciesView" label="Plug-in Dependencies" iconURI="platform:/plugin/org.eclipse.pde.ui//icons/obj16/req_plugins_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Plug-in Development</tags>
</descriptors>
- <descriptors xmi:id="_Z51YiM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.TargetPlatformState" label="Target Platform State" iconURI="platform:/plugin/org.eclipse.pde.ui//icons/obj16/target_profile_xml_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmylurNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.TargetPlatformState" label="Target Platform State" iconURI="platform:/plugin/org.eclipse.pde.ui//icons/obj16/target_profile_xml_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Plug-in Development</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yic9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.shells.ui.view.commandsView" label="Remote Shell" iconURI="platform:/plugin/org.eclipse.rse.shells.ui/icons/full/cview16/commands_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyl-rNEeSOidyff_nu0w" elementId="org.eclipse.rse.shells.ui.view.commandsView" label="Remote Shell" iconURI="platform:/plugin/org.eclipse.rse.shells.ui/icons/full/cview16/commands_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yis9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.terminals.ui.view.TerminalView" label="Terminals" iconURI="platform:/plugin/org.eclipse.rse.terminals.ui/icons/terminal_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmymOrNEeSOidyff_nu0w" elementId="org.eclipse.rse.terminals.ui.view.TerminalView" label="Terminals" iconURI="platform:/plugin/org.eclipse.rse.terminals.ui/icons/terminal_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yi89SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.ui.view.systemView" label="Remote Systems" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/cview16/system_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmymerNEeSOidyff_nu0w" elementId="org.eclipse.rse.ui.view.systemView" label="Remote Systems" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/cview16/system_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51YjM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.ui.view.teamView" label="Team" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/cview16/team_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmymurNEeSOidyff_nu0w" elementId="org.eclipse.rse.ui.view.teamView" label="Team" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/cview16/team_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yjc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.ui.view.systemTableView" label="Remote System Details" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/cview16/system_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmym-rNEeSOidyff_nu0w" elementId="org.eclipse.rse.ui.view.systemTableView" label="Remote System Details" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/cview16/system_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yjs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.ui.view.SystemSearchView" label="Remote Search" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/obj16/system_search.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmynOrNEeSOidyff_nu0w" elementId="org.eclipse.rse.ui.view.SystemSearchView" label="Remote Search" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/obj16/system_search.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yj89SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.ui.view.scratchpad.SystemScratchpadViewPart" label="Remote Scratchpad" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/view16/scratchpad_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmynerNEeSOidyff_nu0w" elementId="org.eclipse.rse.ui.view.scratchpad.SystemScratchpadViewPart" label="Remote Scratchpad" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/view16/scratchpad_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51YkM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.ui.view.monitorView" label="Remote Monitor" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/view16/system_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmynurNEeSOidyff_nu0w" elementId="org.eclipse.rse.ui.view.monitorView" label="Remote Monitor" iconURI="platform:/plugin/org.eclipse.rse.ui/icons/full/view16/system_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Remote Systems</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ykc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.SearchResultView" label="Classic Search" iconURI="platform:/plugin/org.eclipse.search/icons/full/eview16/searchres.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyn-rNEeSOidyff_nu0w" elementId="org.eclipse.search.SearchResultView" label="Classic Search" iconURI="platform:/plugin/org.eclipse.search/icons/full/eview16/searchres.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yks9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.views.SearchView" label="Search" iconURI="platform:/plugin/org.eclipse.search/icons/full/eview16/searchres.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyoOrNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.views.SearchView" label="Search" iconURI="platform:/plugin/org.eclipse.search/icons/full/eview16/searchres.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yk89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ccvs.ui.RepositoriesView" label="CVS Repositories" iconURI="platform:/plugin/org.eclipse.team.cvs.ui/icons/full/eview16/repo_rep.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyoerNEeSOidyff_nu0w" elementId="org.eclipse.team.ccvs.ui.RepositoriesView" label="CVS Repositories" iconURI="platform:/plugin/org.eclipse.team.cvs.ui/icons/full/eview16/repo_rep.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:CVS</tags>
</descriptors>
- <descriptors xmi:id="_Z51YlM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ccvs.ui.EditorsView" label="CVS Editors" iconURI="platform:/plugin/org.eclipse.team.cvs.ui/icons/full/eview16/rep_editors_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyourNEeSOidyff_nu0w" elementId="org.eclipse.team.ccvs.ui.EditorsView" label="CVS Editors" iconURI="platform:/plugin/org.eclipse.team.cvs.ui/icons/full/eview16/rep_editors_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:CVS</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ylc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.sync.views.SynchronizeView" label="Synchronize" iconURI="platform:/plugin/org.eclipse.team.ui/icons/full/eview16/synch_synch.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyo-rNEeSOidyff_nu0w" elementId="org.eclipse.team.sync.views.SynchronizeView" label="Synchronize" iconURI="platform:/plugin/org.eclipse.team.ui/icons/full/eview16/synch_synch.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Team</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yls9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.GenericHistoryView" label="History" iconURI="platform:/plugin/org.eclipse.team.ui/icons/full/eview16/history_view.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmypOrNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.GenericHistoryView" label="History" iconURI="platform:/plugin/org.eclipse.team.ui/icons/full/eview16/history_view.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Team</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yl89SEeSV1Mx9A3xekQ" elementId="org.eclipse.tm.terminal.view.TerminalView" label="Terminal" iconURI="platform:/plugin/org.eclipse.tm.terminal.view/icons/cview16/terminal_view.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyperNEeSOidyff_nu0w" elementId="org.eclipse.tm.terminal.view.TerminalView" label="Terminal" iconURI="platform:/plugin/org.eclipse.tm.terminal.view/icons/cview16/terminal_view.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Terminal</tags>
</descriptors>
- <descriptors xmi:id="_Z51YmM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.internal.introview" label="Welcome" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmypurNEeSOidyff_nu0w" elementId="org.eclipse.ui.internal.introview" label="Welcome" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ymc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.browser.view" label="Internal Web Browser" iconURI="platform:/plugin/org.eclipse.ui.browser/icons/obj16/internal_browser.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyp-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.browser.view" label="Internal Web Browser" iconURI="platform:/plugin/org.eclipse.ui.browser/icons/obj16/internal_browser.gif" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yms9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.cheatsheets.views.CheatSheetView" label="Cheat Sheets" iconURI="platform:/plugin/org.eclipse.ui.cheatsheets/icons/view16/cheatsheet_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyqOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.cheatsheets.views.CheatSheetView" label="Cheat Sheets" iconURI="platform:/plugin/org.eclipse.ui.cheatsheets/icons/view16/cheatsheet_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Help</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ym89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.console.ConsoleView" label="Console" iconURI="platform:/plugin/org.eclipse.ui.console/icons/full/cview16/console_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyqerNEeSOidyff_nu0w" elementId="org.eclipse.ui.console.ConsoleView" label="Console" iconURI="platform:/plugin/org.eclipse.ui.console/icons/full/cview16/console_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51YnM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProgressView" label="Progress" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/pview.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyqurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProgressView" label="Progress" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/pview.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ync9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ResourceNavigator" label="Navigator" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/filenav_nav.png" category="org.eclipse.e4.primaryNavigationStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyq-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ResourceNavigator" label="Navigator" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/filenav_nav.png" category="org.eclipse.e4.primaryNavigationStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yns9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.BookmarkView" label="Bookmarks" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/bkmrk_nav.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyrOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.BookmarkView" label="Bookmarks" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/bkmrk_nav.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yn89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.TaskList" label="Tasks" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/tasks_tsk.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyrerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.TaskList" label="Tasks" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/tasks_tsk.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51YoM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ProblemView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyrurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ProblemView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yoc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.AllMarkersView" label="Markers" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyr-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.AllMarkersView" label="Markers" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yos9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigator.ProjectExplorer" label="Project Explorer" iconURI="platform:/plugin/org.eclipse.ui.navigator.resources/icons/full/eview16/resource_persp.gif" category="org.eclipse.e4.primaryNavigationStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmysOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigator.ProjectExplorer" label="Project Explorer" iconURI="platform:/plugin/org.eclipse.ui.navigator.resources/icons/full/eview16/resource_persp.gif" category="org.eclipse.e4.primaryNavigationStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yo89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.PropertySheet" label="Properties" iconURI="platform:/plugin/org.eclipse.ui.views/icons/full/eview16/prop_ps.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyserNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.PropertySheet" label="Properties" iconURI="platform:/plugin/org.eclipse.ui.views/icons/full/eview16/prop_ps.png" allowMultiple="true" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51YpM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.ContentOutline" label="Outline" iconURI="platform:/plugin/org.eclipse.ui.views/icons/full/eview16/outline_co.png" category="org.eclipse.e4.secondaryNavigationStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmysurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.ContentOutline" label="Outline" iconURI="platform:/plugin/org.eclipse.ui.views/icons/full/eview16/outline_co.png" category="org.eclipse.e4.secondaryNavigationStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ypc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.runtime.LogView" label="Error Log" iconURI="platform:/plugin/org.eclipse.ui.views.log/icons/eview16/error_log.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmys-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.runtime.LogView" label="Error Log" iconURI="platform:/plugin/org.eclipse.ui.views.log/icons/eview16/error_log.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yps9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.common.snippets.internal.ui.SnippetsView" label="Snippets" iconURI="platform:/plugin/org.eclipse.wst.common.snippets/icons/snippets_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmytOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.common.snippets.internal.ui.SnippetsView" label="Snippets" iconURI="platform:/plugin/org.eclipse.wst.common.snippets/icons/snippets_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:General</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yp89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.internet.monitor.view" label="TCP/IP Monitor" iconURI="platform:/plugin/org.eclipse.wst.internet.monitor.ui/icons/cview16/monitorView.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyterNEeSOidyff_nu0w" elementId="org.eclipse.wst.internet.monitor.view" label="TCP/IP Monitor" iconURI="platform:/plugin/org.eclipse.wst.internet.monitor.ui/icons/cview16/monitorView.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Debug</tags>
</descriptors>
- <descriptors xmi:id="_Z51YqM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.PackageExplorer" label="Script Explorer" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/package.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyturNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.PackageExplorer" label="Script Explorer" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/package.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JavaScript</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yqc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.TypeHierarchy" label="Hierarchy" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/class_hi.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyt-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.TypeHierarchy" label="Hierarchy" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/class_hi.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JavaScript</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yqs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.callhierarchy.view" label="Call Hierarchy" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/call_hierarchy.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyuOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.callhierarchy.view" label="Call Hierarchy" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/call_hierarchy.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JavaScript</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yq89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.SourceView" label="Declaration" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/source.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyuerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.SourceView" label="Declaration" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/source.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JavaScript</tags>
</descriptors>
- <descriptors xmi:id="_Z51YrM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.JavadocView" label="Documentation" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/javadoc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyuurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.JavadocView" label="Documentation" iconURI="platform:/plugin/org.eclipse.wst.jsdt.ui//icons/full/eview16/javadoc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:JavaScript</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yrc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.ui.ServersView" label="Servers" iconURI="platform:/plugin/org.eclipse.wst.server.ui/icons/cview16/servers_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyu-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.ui.ServersView" label="Servers" iconURI="platform:/plugin/org.eclipse.wst.server.ui/icons/cview16/servers_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Server</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yrs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.views.annotations.XMLAnnotationsView" label="Documentation" iconURI="platform:/plugin/org.eclipse.wst.xml.ui/icons/full/obj16/comment_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyvOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.views.annotations.XMLAnnotationsView" label="Documentation" iconURI="platform:/plugin/org.eclipse.wst.xml.ui/icons/full/obj16/comment_obj.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:XML</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yr89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.contentmodel.view" label="Content Model" iconURI="platform:/plugin/org.eclipse.wst.xml.ui/icons/full/view16/hierarchy.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyverNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.contentmodel.view" label="Content Model" iconURI="platform:/plugin/org.eclipse.wst.xml.ui/icons/full/view16/hierarchy.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:XML</tags>
</descriptors>
- <descriptors xmi:id="_Z51YsM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.views.XPathView" label="XPath" iconURI="platform:/plugin/org.eclipse.wst.xml.xpath.ui//icons/full/xpath.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyvurNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.views.XPathView" label="XPath" iconURI="platform:/plugin/org.eclipse.wst.xml.xpath.ui//icons/full/xpath.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:XML</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ysc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsl.jaxp.debug.ui.resultview" label="Result" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyv-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsl.jaxp.debug.ui.resultview" label="Result" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:XML</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yss9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsl.ui.view.outline" label="Stylesheet Model" iconURI="platform:/plugin/org.eclipse.wst.xsl.ui/icons/full/hierarchy.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmywOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsl.ui.view.outline" label="Stylesheet Model" iconURI="platform:/plugin/org.eclipse.wst.xsl.ui/icons/full/hierarchy.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:XML</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ys89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesView" label="Git Repositories" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/repo_rep.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmywerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesView" label="Git Repositories" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/repo_rep.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Git</tags>
</descriptors>
- <descriptors xmi:id="_Z51YtM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.StagingView" label="Git Staging" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/staging.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmywurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.StagingView" label="Git Staging" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/staging.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Git</tags>
</descriptors>
- <descriptors xmi:id="_Z51Ytc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.InteractiveRebaseView" label="Git Interactive Rebase" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/rebase_interactive.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyw-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.InteractiveRebaseView" label="Git Interactive Rebase" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/rebase_interactive.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Git</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yts9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.CompareTreeView" label="Git Tree Compare" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/obj16/gitrepository.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyxOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.CompareTreeView" label="Git Tree Compare" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/obj16/gitrepository.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Git</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yt89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.ReflogView" label="Git Reflog" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/reflog.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyxerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.ReflogView" label="Git Reflog" iconURI="platform:/plugin/org.eclipse.egit.ui/icons/eview16/reflog.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Git</tags>
</descriptors>
- <descriptors xmi:id="_Z51YuM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.core.views.MavenRepositoryView" label="Maven Repositories" iconURI="platform:/plugin/org.eclipse.m2e.core.ui/icons/maven_indexes.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyxurNEeSOidyff_nu0w" elementId="org.eclipse.m2e.core.views.MavenRepositoryView" label="Maven Repositories" iconURI="platform:/plugin/org.eclipse.m2e.core.ui/icons/maven_indexes.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Maven</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yuc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.core.views.MavenBuild" label="Maven Workspace Build" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyx-rNEeSOidyff_nu0w" elementId="org.eclipse.m2e.core.views.MavenBuild" label="Maven Workspace Build" iconURI="platform:/plugin/org.eclipse.ui/icons/full/eview16/defaultview_misc.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Maven</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yus9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.navigator.builds" label="Builds" iconURI="platform:/plugin/org.eclipse.mylyn.builds.ui/icons/eview16/build-view.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyyOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.navigator.builds" label="Builds" iconURI="platform:/plugin/org.eclipse.mylyn.builds.ui/icons/eview16/build-view.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Mylyn</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yu89SEeSV1Mx9A3xekQ" elementId="org.eclipse.recommenders.apidocs.rcp.views.apidocs" label="API Docs" iconURI="platform:/plugin/org.eclipse.recommenders.apidocs.rcp/icons/extdoc.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyyerNEeSOidyff_nu0w" elementId="org.eclipse.recommenders.apidocs.rcp.views.apidocs" label="API Docs" iconURI="platform:/plugin/org.eclipse.recommenders.apidocs.rcp/icons/extdoc.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Code Recommenders</tags>
</descriptors>
- <descriptors xmi:id="_Z51YvM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.recommenders.models.rcp.views.modelRepositories" label="Model Repositories" iconURI="platform:/plugin/org.eclipse.recommenders.models.rcp/icons/view16/depinsp.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyyurNEeSOidyff_nu0w" elementId="org.eclipse.recommenders.models.rcp.views.modelRepositories" label="Model Repositories" iconURI="platform:/plugin/org.eclipse.recommenders.models.rcp/icons/view16/depinsp.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Code Recommenders</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yvc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.recommenders.models.rcp.views.projectCoordinates" label="Project Coordinates" iconURI="platform:/plugin/org.eclipse.recommenders.models.rcp/icons/view16/depinsp.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyy-rNEeSOidyff_nu0w" elementId="org.eclipse.recommenders.models.rcp.views.projectCoordinates" label="Project Coordinates" iconURI="platform:/plugin/org.eclipse.recommenders.models.rcp/icons/view16/depinsp.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Code Recommenders</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yvs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.recommenders.models.rcp.views.dependencyOverview" label="Dependency Overview" iconURI="platform:/plugin/org.eclipse.recommenders.models.rcp/icons/view16/depinsp.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyzOrNEeSOidyff_nu0w" elementId="org.eclipse.recommenders.models.rcp.views.dependencyOverview" label="Dependency Overview" iconURI="platform:/plugin/org.eclipse.recommenders.models.rcp/icons/view16/depinsp.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:Code Recommenders</tags>
</descriptors>
- <descriptors xmi:id="_Z51Yv89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.StructureView" label="Structure" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/properties_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyzerNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.StructureView" label="Structure" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/properties_view.gif" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:WindowBuilder</tags>
</descriptors>
- <descriptors xmi:id="_Z51YwM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.PaletteView" label="Palette" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/palette.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
+ <descriptors xmi:id="_emmyzurNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.PaletteView" label="Palette" iconURI="platform:/plugin/org.eclipse.wb.core/icons/structure/palette.png" category="org.eclipse.e4.secondaryDataStack" closeable="true" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView">
<tags>View</tags>
<tags>categoryTag:WindowBuilder</tags>
</descriptors>
- <trimContributions xmi:id="_2r10UF9tEeO-yojH_y4TJA" elementId="org.eclipse.ui.ide.application.trimcontribution.QuickAccess" contributorURI="platform:/plugin/org.eclipse.ui.ide.application" toBeRendered="false" parentId="org.eclipse.ui.main.toolbar" positionInParent="last">
- <children xsi:type="menu:ToolControl" xmi:id="_76uUAF9tEeO-yojH_y4TJA" elementId="Spacer Glue" contributorURI="platform:/plugin/org.eclipse.ui.ide.application" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.LayoutModifierToolControl">
- <tags>glue</tags>
- <tags>move_after:PerspectiveSpacer</tags>
- <tags>SHOW_RESTORE_MENU</tags>
- </children>
- <children xsi:type="menu:ToolControl" xmi:id="_8tJPcF9tEeO-yojH_y4TJA" elementId="SearchField" contributorURI="platform:/plugin/org.eclipse.ui.ide.application" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.quickaccess.SearchField">
- <tags>move_after:Spacer Glue</tags>
- <tags>HIDEABLE</tags>
- <tags>SHOW_RESTORE_MENU</tags>
- </children>
- <children xsi:type="menu:ToolControl" xmi:id="_9LgmcF9tEeO-yojH_y4TJA" elementId="Search-PS Glue" contributorURI="platform:/plugin/org.eclipse.ui.ide.application" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.LayoutModifierToolControl">
- <tags>glue</tags>
- <tags>move_after:SearchField</tags>
- <tags>SHOW_RESTORE_MENU</tags>
- </children>
- </trimContributions>
- <commands xmi:id="_Z52mA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsd.ui.refactor.makeTypeGlobal" commandName="Make &amp;Anonymous Type Global" description="Promotes anonymous type to global level and replaces its references" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.command.nextpage" commandName="Next Page of Memory" description="Load next page of memory" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.implementors.in.project" commandName="Implementors in Project" description="Search for implementors of the selected interface in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.next" commandName="Select Next Element" description="Expand selection to include next sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.removeTrailingWhitespace" commandName="Remove Trailing Whitespace" description="Removes the trailing whitespace of each line" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.GenerateDiff" commandName="Create Patch" description="Compare your workspace contents with the server and generate a diff file that can be used as a patch file." category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mCc9SEeSV1Mx9A3xekQ" elementId="sed.tabletree.expandAll" commandName="Expand All" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.create.delegate.methods" commandName="Generate Delegate Functions" description="Add delegate functions for a type's vars" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences" commandName="Toggle Mark Occurrences" description="Toggles mark occurrences in Java editors" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.runtime.spy.commands.spyCommand" commandName="Plug-in Selection Spy" description="Show the Plug-in Spy" category="_Z53zvs9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.AllInstances" commandName="All Instances" description="View all instances of the selected type loaded in the target VM" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mDs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.discoveryWizardCommand" commandName="%command.name" description="%command.description" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.showChangeRulerInformation" commandName="Show Quick Diff Ruler Tooltip" description="Displays quick diff or revision information for the caret line in a focused hover" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.delimiter.macOS9" commandName="Convert Line Delimiters to MacOS 9 (CR, \r, 0D, &#xa4;)" description="Converts the line delimiters to MacOS 9 (CR, \r, 0D, &#xa4;)" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.use.supertype" commandName="Use Supertype Where Possible" description="Change occurrences of a type to use a supertype instead" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.commands.import" commandName="Import Profiles Command" description="Command to import connection profiles" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mE89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.structure.select.enclosing" commandName="Select Enclosing Element" description="Expand selection to include enclosing element" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.disable.grammar.constraints" commandName="Turn off Grammar Constraints" description="Turn off grammar Constraints" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.textStart" commandName="Select Text Start" description="Select to the beginning of the text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mFs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.commands.export" commandName="Export Profiles Command" description="Command to export connection profiles" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.cheatsheets.openCheatSheetURL" commandName="Open Cheat Sheet from URL" description="Open a Cheat Sheet from file at a specified URL." category="_Z53z2c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52mGM9SEeSV1Mx9A3xekQ" elementId="cheatSheetId" name="Identifier" optional="false"/>
- <parameters xmi:id="_Z52mGc9SEeSV1Mx9A3xekQ" elementId="name" name="Name" optional="false"/>
- <parameters xmi:id="_Z52mGs9SEeSV1Mx9A3xekQ" elementId="url" name="URL" optional="false"/>
+ <commands xmi:id="_emrqo-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsd.ui.refactor.makeTypeGlobal" commandName="Make &amp;Anonymous Type Global" description="Promotes anonymous type to global level and replaces its references" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqpOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.command.nextpage" commandName="Next Page of Memory" description="Load next page of memory" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqperNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.implementors.in.project" commandName="Implementors in Project" description="Search for implementors of the selected interface in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqpurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.next" commandName="Select Next Element" description="Expand selection to include next sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqp-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.removeTrailingWhitespace" commandName="Remove Trailing Whitespace" description="Removes the trailing whitespace of each line" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqqOrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.GenerateDiff" commandName="Create Patch" description="Compare your workspace contents with the server and generate a diff file that can be used as a patch file." category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqqerNEeSOidyff_nu0w" elementId="sed.tabletree.expandAll" commandName="Expand All" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqqurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.create.delegate.methods" commandName="Generate Delegate Functions" description="Add delegate functions for a type's vars" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqq-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences" commandName="Toggle Mark Occurrences" description="Toggles mark occurrences in Java editors" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqrOrNEeSOidyff_nu0w" elementId="org.eclipse.pde.runtime.spy.commands.spyCommand" commandName="Plug-in Selection Spy" description="Show the Plug-in Spy" category="_em0N0urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqrerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.AllInstances" commandName="All Instances" description="View all instances of the selected type loaded in the target VM" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqrurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.discoveryWizardCommand" commandName="%command.name" description="%command.description" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqr-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.showChangeRulerInformation" commandName="Show Quick Diff Ruler Tooltip" description="Displays quick diff or revision information for the caret line in a focused hover" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqsOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.delimiter.macOS9" commandName="Convert Line Delimiters to MacOS 9 (CR, \r, 0D, &#xa4;)" description="Converts the line delimiters to MacOS 9 (CR, \r, 0D, &#xa4;)" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqserNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.use.supertype" commandName="Use Supertype Where Possible" description="Change occurrences of a type to use a supertype instead" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqsurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.commands.import" commandName="Import Profiles Command" description="Command to import connection profiles" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqs-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.structure.select.enclosing" commandName="Select Enclosing Element" description="Expand selection to include enclosing element" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqtOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.disable.grammar.constraints" commandName="Turn off Grammar Constraints" description="Turn off grammar Constraints" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqterNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.textStart" commandName="Select Text Start" description="Select to the beginning of the text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqturNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.commands.export" commandName="Export Profiles Command" description="Command to export connection profiles" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqt-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.cheatsheets.openCheatSheetURL" commandName="Open Cheat Sheet from URL" description="Open a Cheat Sheet from file at a specified URL." category="_em0N7erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emrquOrNEeSOidyff_nu0w" elementId="cheatSheetId" name="Identifier" optional="false"/>
+ <parameters xmi:id="_emrquerNEeSOidyff_nu0w" elementId="name" name="Name" optional="false"/>
+ <parameters xmi:id="_emrquurNEeSOidyff_nu0w" elementId="url" name="URL" optional="false"/>
</commands>
- <commands xmi:id="_Z52mG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.navigate.open.type.in.hierarchy" commandName="Open Type in Hierarchy" description="Open a type in the type hierarchy view" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavaBrowsingPerspective" commandName="Java Browsing" description="Show the Java Browsing perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.refactor.quickMenu" commandName="Show Refactor Quick Menu" description="Shows the refactor quick menu" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.project" commandName="Read Access in Project" description="Search for read references to the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.buildAll" commandName="Build All" description="Build all projects" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.lockToolBar" commandName="Lock the Toolbars" description="Lock the Toolbars" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.expandAll" commandName="Expand All" description="Expand the current tree" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.import" commandName="Import" description="Import" category="_Z53zwM9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52mI89SEeSV1Mx9A3xekQ" elementId="importWizardId" name="Import Wizard"/>
+ <commands xmi:id="_emrqu-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.navigate.open.type.in.hierarchy" commandName="Open Type in Hierarchy" description="Open a type in the type hierarchy view" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqvOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavaBrowsingPerspective" commandName="Java Browsing" description="Show the Java Browsing perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqverNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.refactor.quickMenu" commandName="Show Refactor Quick Menu" description="Shows the refactor quick menu" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqvurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.project" commandName="Read Access in Project" description="Search for read references to the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqv-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.buildAll" commandName="Build All" description="Build all projects" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqwOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.lockToolBar" commandName="Lock the Toolbars" description="Lock the Toolbars" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqwerNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.expandAll" commandName="Expand All" description="Expand the current tree" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqwurNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.import" commandName="Import" description="Import" category="_em0N1OrNEeSOidyff_nu0w">
+ <parameters xmi:id="_emrqw-rNEeSOidyff_nu0w" elementId="importWizardId" name="Import Wizard"/>
</commands>
- <commands xmi:id="_Z52mJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.lineEnd" commandName="Select Line End" description="Select to the end of the line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.helpSearch" commandName="Help Search" description="Open the help search" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mJs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.surround.with.quickMenu" commandName="Surround With Quick Menu" description="Shows the Surround With quick menu" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mJ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.importFromRepository" commandName="Import Plug-in from a Repository" description="Imports a plug-in from a source repository" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mKM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.debug.ui.script.opensource" commandName="Open Source" description="Shows the JavaScript source for the selected script element" category="_Z53z1s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mKc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.smartEnterInverse" commandName="Insert Line Above Current Line" description="Adds a new line above the current line" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mKs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.externalTools.commands.OpenExternalToolsConfigurations" commandName="External Tools..." description="Open external tools launch configuration dialog" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mK89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.windowEnd" commandName="Window End" description="Go to the end of the window" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mLM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.JavaPerspective" commandName="JavaScript" description="Show the JavaScript perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mLc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.occurrences.in.file" commandName="Search All Occurrences in File" description="Search for all occurrences of the selected element in its declaring file" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mLs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.update" commandName="Update" description="Update resources with new content from the repository" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mL89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.TeamSynchronizingPerspective" commandName="Team Synchronizing" description="Open the Team Synchronizing Perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mMM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.help.ui.indexcommand" commandName="Index" description="Show Keyword Index" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mMc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.StepOver" commandName="Step Over" description="Step over" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mMs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.renameInFile" commandName="Rename In File" description="Renames all references within the same buildfile" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mM89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu" commandName="Surround With Quick Menu" description="Shows the Surround With quick menu" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mNM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.eclipselink.ui.convertJavaConverters" commandName="Java Converters..." category="_Z53zy89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mNc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.addMemoryMonitor" commandName="Add Memory Block" description="Add Memory block" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mNs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.create.getter.setter" commandName="Generate Getters and Setters" description="Generate Getter and Setter functions for type's vars" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mN89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.revertToSaved" commandName="Revert to Saved" description="Revert to the last saved state" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mOM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskReadGoToPreviousUnread" commandName="Mark Task Read and Go To Previous Unread Task" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mOc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.pinEditor" commandName="Pin Editor" description="Pin the current editor" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mOs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.encapsulateField.assist" commandName="Quick Assist - Create getter/setter for field" description="Invokes quick assist and selects 'Create getter/setter for field'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mO89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.implement.occurrences" commandName="Search Implement Occurrences in File" description="Search for implement occurrences of a selected type" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.sort.members" commandName="Sort Members" description="Sort all members using the member order preference" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.Inspect" commandName="Inspect" description="Inspect result of evaluating selected text" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.toggle.comment" commandName="Toggle Comment" description="Toggle comment the selected lines" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.workspace" commandName="Declaration in Workspace" description="Search for declarations of the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.format.active.elements" commandName="Format Active Elements" description="Format active elements" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.import" commandName="Add Import" description="Create import statement on selection" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.add.block.comment" commandName="Add Block Comment" description="Enclose the selection with a block comment" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mQ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.surround.with.try.catch" commandName="Surround with try/catch Block" description="Surround the selected text with a try/catch block" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mRM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.convert.anonymous.to.nested" commandName="Convert Anonymous Class to Nested" description="Convert an anonymous class to a nested class" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mRc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.open.context.dialog" commandName="Show Context Quick View" description="Show Context Quick View" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mRs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.navigate.gototype" commandName="Go to Type" description="Go to Type" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mR89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.folding.restore" commandName="Reset Structure" description="Resets the folding structure" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mSM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.restartWorkbench" commandName="Restart" description="Restart the workbench" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mSc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.export" commandName="Export" description="Export" category="_Z53zwM9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52mSs9SEeSV1Mx9A3xekQ" elementId="exportWizardId" name="Export Wizard"/>
+ <commands xmi:id="_emrqxOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.lineEnd" commandName="Select Line End" description="Select to the end of the line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqxerNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.helpSearch" commandName="Help Search" description="Open the help search" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqxurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.surround.with.quickMenu" commandName="Surround With Quick Menu" description="Shows the Surround With quick menu" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqx-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.importFromRepository" commandName="Import Plug-in from a Repository" description="Imports a plug-in from a source repository" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqyOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.debug.ui.script.opensource" commandName="Open Source" description="Shows the JavaScript source for the selected script element" category="_em0N6urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqyerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.smartEnterInverse" commandName="Insert Line Above Current Line" description="Adds a new line above the current line" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqyurNEeSOidyff_nu0w" elementId="org.eclipse.ui.externalTools.commands.OpenExternalToolsConfigurations" commandName="External Tools..." description="Open external tools launch configuration dialog" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqy-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.windowEnd" commandName="Window End" description="Go to the end of the window" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqzOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.JavaPerspective" commandName="JavaScript" description="Show the JavaScript perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqzerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.occurrences.in.file" commandName="Search All Occurrences in File" description="Search for all occurrences of the selected element in its declaring file" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqzurNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.update" commandName="Update" description="Update resources with new content from the repository" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrqz-rNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.TeamSynchronizingPerspective" commandName="Team Synchronizing" description="Open the Team Synchronizing Perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq0OrNEeSOidyff_nu0w" elementId="org.eclipse.help.ui.indexcommand" commandName="Index" description="Show Keyword Index" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq0erNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.StepOver" commandName="Step Over" description="Step over" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq0urNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.renameInFile" commandName="Rename In File" description="Renames all references within the same buildfile" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq0-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu" commandName="Surround With Quick Menu" description="Shows the Surround With quick menu" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq1OrNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.eclipselink.ui.convertJavaConverters" commandName="Java Converters..." category="_em0N3-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq1erNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.addMemoryMonitor" commandName="Add Memory Block" description="Add Memory block" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq1urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.create.getter.setter" commandName="Generate Getters and Setters" description="Generate Getter and Setter functions for type's vars" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq1-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.revertToSaved" commandName="Revert to Saved" description="Revert to the last saved state" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq2OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskReadGoToPreviousUnread" commandName="Mark Task Read and Go To Previous Unread Task" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq2erNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.pinEditor" commandName="Pin Editor" description="Pin the current editor" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq2urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.encapsulateField.assist" commandName="Quick Assist - Create getter/setter for field" description="Invokes quick assist and selects 'Create getter/setter for field'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq2-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.implement.occurrences" commandName="Search Implement Occurrences in File" description="Search for implement occurrences of a selected type" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq3OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.sort.members" commandName="Sort Members" description="Sort all members using the member order preference" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq3erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.Inspect" commandName="Inspect" description="Inspect result of evaluating selected text" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq3urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.toggle.comment" commandName="Toggle Comment" description="Toggle comment the selected lines" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq3-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.workspace" commandName="Declaration in Workspace" description="Search for declarations of the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq4OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.format.active.elements" commandName="Format Active Elements" description="Format active elements" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq4erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.import" commandName="Add Import" description="Create import statement on selection" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq4urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.add.block.comment" commandName="Add Block Comment" description="Enclose the selection with a block comment" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq4-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.surround.with.try.catch" commandName="Surround with try/catch Block" description="Surround the selected text with a try/catch block" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq5OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.convert.anonymous.to.nested" commandName="Convert Anonymous Class to Nested" description="Convert an anonymous class to a nested class" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq5erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.open.context.dialog" commandName="Show Context Quick View" description="Show Context Quick View" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq5urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.navigate.gototype" commandName="Go to Type" description="Go to Type" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq5-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.folding.restore" commandName="Reset Structure" description="Resets the folding structure" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq6OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.restartWorkbench" commandName="Restart" description="Restart the workbench" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq6erNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.export" commandName="Export" description="Export" category="_em0N1OrNEeSOidyff_nu0w">
+ <parameters xmi:id="_emrq6urNEeSOidyff_nu0w" elementId="exportWizardId" name="Export Wizard"/>
</commands>
- <commands xmi:id="_Z52mS89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.occurrences.in.file.quickMenu" commandName="Show Occurrences in File Quick Menu" description="Shows the Occurrences in File quick menu" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mTM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.remove.occurrence.annotations" commandName="Remove Occurrence Annotations" description="Removes the occurrence annotations from the current editor" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mTc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.lineDown" commandName="Select Line Down" description="Extend the selection to the next line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mTs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.resetPerspective" commandName="Reset Perspective" description="Reset the current perspective to its default state" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mT89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ltk.ui.refactoring.commands.renameResource" commandName="Rename Resource" description="Rename the selected resource and notify LTK participants." category="_Z53z389SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mUM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.showContextMenu" commandName="Show Context Menu" description="Show the context menu" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mUc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.searchTargetRepositories" commandName="Add Artifact to Target Platform" description="Add an artifact to your target platform" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52mUs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.searchTargetRepositories.term" name="The initial search pattern for the artifact search dialog"/>
+ <commands xmi:id="_emrq6-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.occurrences.in.file.quickMenu" commandName="Show Occurrences in File Quick Menu" description="Shows the Occurrences in File quick menu" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq7OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.remove.occurrence.annotations" commandName="Remove Occurrence Annotations" description="Removes the occurrence annotations from the current editor" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq7erNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.lineDown" commandName="Select Line Down" description="Extend the selection to the next line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq7urNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.resetPerspective" commandName="Reset Perspective" description="Reset the current perspective to its default state" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq7-rNEeSOidyff_nu0w" elementId="org.eclipse.ltk.ui.refactoring.commands.renameResource" commandName="Rename Resource" description="Rename the selected resource and notify LTK participants." category="_em0N8-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq8OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.showContextMenu" commandName="Show Context Menu" description="Show the context menu" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq8erNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.searchTargetRepositories" commandName="Add Artifact to Target Platform" description="Add an artifact to your target platform" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emrq8urNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.searchTargetRepositories.term" name="The initial search pattern for the artifact search dialog"/>
</commands>
- <commands xmi:id="_Z52mU89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.savePerspective" commandName="Save Perspective As" description="Save the current perspective" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mVM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.showInformation" commandName="Show Tooltip Description" description="Displays information for the current caret location in a focused hover" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mVc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.rename.element" commandName="Rename - Refactoring " description="Rename the selected element" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mVs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.markCompleted" commandName="Mark Completed" description="Mark the selected tasks as completed" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mV89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.nextMemoryBlock" commandName="Next Memory Monitor" description="Show renderings from next memory monitor." category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mWM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.toggleOverwrite" commandName="Toggle Overwrite" description="Toggle overwrite mode" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mWc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.textEnd" commandName="Text End" description="Go to the end of the text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mWs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.attachProfileAction" commandName="Set Connection Information" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mW89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.addCast" commandName="Quick Fix - Add cast" description="Invokes quick assist and selects 'Add cast'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mXM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.copy.qualified.name" commandName="Copy Qualified Name" description="Copy a fully qualified name to the system clipboard" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mXc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.specific_content_assist.command" commandName="Content Assist" description="A parameterizable command that invokes content assist with a single completion proposal category" category="_Z53z1M9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52mXs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.specific_content_assist.category_id" name="type" optional="false"/>
+ <commands xmi:id="_emrq8-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.savePerspective" commandName="Save Perspective As" description="Save the current perspective" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq9OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.showInformation" commandName="Show Tooltip Description" description="Displays information for the current caret location in a focused hover" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq9erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.rename.element" commandName="Rename - Refactoring " description="Rename the selected element" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq9urNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.markCompleted" commandName="Mark Completed" description="Mark the selected tasks as completed" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq9-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.nextMemoryBlock" commandName="Next Memory Monitor" description="Show renderings from next memory monitor." category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq-OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleOverwrite" commandName="Toggle Overwrite" description="Toggle overwrite mode" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq-erNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.textEnd" commandName="Text End" description="Go to the end of the text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq-urNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.attachProfileAction" commandName="Set Connection Information" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq--rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.addCast" commandName="Quick Fix - Add cast" description="Invokes quick assist and selects 'Add cast'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq_OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.copy.qualified.name" commandName="Copy Qualified Name" description="Copy a fully qualified name to the system clipboard" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrq_erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.specific_content_assist.command" commandName="Content Assist" description="A parameterizable command that invokes content assist with a single completion proposal category" category="_em0N6OrNEeSOidyff_nu0w">
+ <parameters xmi:id="_emrq_urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.specific_content_assist.category_id" name="type" optional="false"/>
</commands>
- <commands xmi:id="_Z52mX89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.project" commandName="Write Access in Project" description="Search for write references to the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mYM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.showKeyAssist" commandName="Show Key Assist" description="Show the key assist dialog" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mYc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.delete" commandName="Delete" description="Delete the selection" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mYs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.saveAs" commandName="Save As" description="Save the current contents to another location" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mY89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.persistentAttributeMapAs" commandName="Map As" category="_Z53zx89SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52mZM9SEeSV1Mx9A3xekQ" elementId="specifiedPersistentAttributeMappingKey" name="specified mapping key" optional="false"/>
- <parameters xmi:id="_Z52mZc9SEeSV1Mx9A3xekQ" elementId="defaultPersistentAttributeMappingKey" name="default mapping key" optional="false"/>
+ <commands xmi:id="_emrq_-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.project" commandName="Write Access in Project" description="Search for write references to the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrAOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.showKeyAssist" commandName="Show Key Assist" description="Show the key assist dialog" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrAerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.delete" commandName="Delete" description="Delete the selection" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrAurNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.saveAs" commandName="Save As" description="Save the current contents to another location" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrA-rNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.persistentAttributeMapAs" commandName="Map As" category="_em0N2-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emrrBOrNEeSOidyff_nu0w" elementId="specifiedPersistentAttributeMappingKey" name="specified mapping key" optional="false"/>
+ <parameters xmi:id="_emrrBerNEeSOidyff_nu0w" elementId="defaultPersistentAttributeMappingKey" name="default mapping key" optional="false"/>
</commands>
- <commands xmi:id="_Z52mZs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.surround.with.try.multicatch" commandName="Surround with try/multi-catch Block" description="Surround the selected text with a try/multi-catch block" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mZ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.performTextSearchWorkspace" commandName="Find Text in Workspace" description="Searches the files in the workspace for specific text." category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52maM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.implementors.in.working.set" commandName="Implementors in Working Set" description="Search for implementors of the selected interface in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mac9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavaPerspective" commandName="Java" description="Show the Java perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mas9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.activateTask" commandName="Activate Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52ma89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.deactivateAllTasks" commandName="Deactivate Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mbM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.openEditorDropDown" commandName="Quick Switch Editor" description="Open the editor drop down list" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mbc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.changeToStatic" commandName="Quick Fix - Change to static access" description="Invokes quick assist and selects 'Change to static access'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mbs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.ProfileLast" commandName="Profile" description="Launch in profile mode" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mb89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.index.ui.command.ResetIndex" commandName="Refresh Search Index" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mcM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.override.methods" commandName="Override/Implement Methods" description="Override or implement methods from super types" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mcc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.persistentAttributeAddToXml" commandName="Add Attribute to XML" category="_Z53zx89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mcs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.workspace" commandName="References in Workspace" description="Search for references to the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mc89SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.performTextSearchFile" commandName="Find Text in File" description="Searches the files in the file for specific text." category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mdM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.paste" commandName="Paste" description="Paste from the clipboard" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mdc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.convertAnonymousToLocal.assist" commandName="Quick Assist - Convert anonymous to local class" description="Invokes quick assist and selects 'Convert anonymous to local class'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mds9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.EquinoxLaunchShortcut.debug" commandName="Debug OSGi Framework" description="Debug OSGi Framework" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52md89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.previous" commandName="Previous" description="Navigate to the previous item" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52meM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.source.quickMenu" commandName="Show Source Quick Menu" description="Shows the source quick menu" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mec9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb" commandName="Toggle Java Editor Breadcrumb" description="Toggle the Java editor breadcrumb" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mes9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.open.call.hierarchy" commandName="Open Call Hierarchy" description="Open a call hierarchy on the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52me89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.extractConstant.assist" commandName="Quick Assist - Extract constant" description="Invokes quick assist and selects 'Extract constant'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mfM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.externalize.strings" commandName="Externalize Strings" description="Finds all strings that are not externalized and moves them into a separate property file" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mfc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.lineUp" commandName="Line Up" description="Go up one line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mfs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaeditor.cutcolumn" commandName="Cut" category="_Z53zuM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mf89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.newQuickMenu" commandName="New menu" description="Open the New menu" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mgM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.attachment.retrieveContext" commandName="Retrieve Context Attachment" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mgc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.deleteNext" commandName="Delete Next" description="Delete the next character" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mgs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.deleteNextWord" commandName="Delete Next Word" description="Delete the next word" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mg89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.tasks.ui.editor.folding.auto" commandName="Toggle Active Folding" description="Toggle Active Folding" category="_Z53zwc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mhM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.working.set" commandName="Write Access in Working Set" description="Search for write references to the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mhc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.undo" commandName="Undo" description="Undo the last operation" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mhs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.workspace" commandName="References in Workspace" description="Search for references to the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mh89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.back" commandName="Back" description="Navigate back" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52miM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.DebugLast" commandName="Debug" description="Launch in debug mode" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mic9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.bugs.commands.newTaskFromMarker" commandName="New Task from Marker..." description="Report as Bug from Marker" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mis9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.eclipselink.ui.generateDynamicEntities" commandName="Generate Dynamic Entities from Tables..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mi89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskRead" commandName="Mark Task Read" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mjM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.external.javadoc" commandName="Open External JSDoc" description="Open the JSDoc of the selected element in an external browser" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mjc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editors.lineNumberToggle" commandName="Show Line Numbers" description="Toggle display of line numbers" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mjs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.ToggleStepFilters" commandName="Use Step Filters" description="Toggles enablement of debug step filters" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mj89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.task.attachContext" commandName="Attach Context" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mkM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.introduce.indirection" commandName="Introduce Indirection" description="Introduce an indirection to encapsulate invocations of a selected function" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mkc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.workspace" commandName="Read Access in Workspace" description="Search for read references to the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mks9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.renameInFile.assist" commandName="Quick Assist - Rename in file" description="Invokes quick assist and selects 'Rename in file'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mk89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.newEditor" commandName="New Editor" description="Open another editor on the active editor's input" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mlM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.wordPrevious" commandName="Previous Word" description="Go to the previous word" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mlc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.recenter" commandName="Recenter" description="Recenter the window based on the cursor" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mls9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.installationDialog" commandName="Installation Information" description="Open the installation dialog" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52ml89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.shiftRight" commandName="Shift Right" description="Shift a block of text to the right" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mmM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.nextSibling" commandName="Next Sibling" description="Go to Next Sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mmc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.tag" commandName="Tag as Version" description="Tag the resources with a CVS version tag" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mms9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.debug.ui.breakpoint.properties" commandName="JavaScript Breakpoint Properties" description="View and edit the properties for a given JavaScript breakpoint" category="_Z53z1s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mm89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.refresh" commandName="Refresh" description="Refresh the selected items" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mnM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.specific_content_assist.command" commandName="Content Assist" description="A parameterizable command that invokes content assist with a single completion proposal category" category="_Z53z1M9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52mnc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.specific_content_assist.category_id" name="type" optional="false"/>
+ <commands xmi:id="_emrrBurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.surround.with.try.multicatch" commandName="Surround with try/multi-catch Block" description="Surround the selected text with a try/multi-catch block" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrB-rNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.performTextSearchWorkspace" commandName="Find Text in Workspace" description="Searches the files in the workspace for specific text." category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrCOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.implementors.in.working.set" commandName="Implementors in Working Set" description="Search for implementors of the selected interface in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrCerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavaPerspective" commandName="Java" description="Show the Java perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrCurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.activateTask" commandName="Activate Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrC-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.deactivateAllTasks" commandName="Deactivate Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrDOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.openEditorDropDown" commandName="Quick Switch Editor" description="Open the editor drop down list" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrDerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.changeToStatic" commandName="Quick Fix - Change to static access" description="Invokes quick assist and selects 'Change to static access'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrDurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.ProfileLast" commandName="Profile" description="Launch in profile mode" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrD-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.index.ui.command.ResetIndex" commandName="Refresh Search Index" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrEOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.override.methods" commandName="Override/Implement Methods" description="Override or implement methods from super types" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrEerNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.persistentAttributeAddToXml" commandName="Add Attribute to XML" category="_em0N2-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrEurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.workspace" commandName="References in Workspace" description="Search for references to the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrE-rNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.performTextSearchFile" commandName="Find Text in File" description="Searches the files in the file for specific text." category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrFOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.paste" commandName="Paste" description="Paste from the clipboard" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrFerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.convertAnonymousToLocal.assist" commandName="Quick Assist - Convert anonymous to local class" description="Invokes quick assist and selects 'Convert anonymous to local class'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrFurNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.EquinoxLaunchShortcut.debug" commandName="Debug OSGi Framework" description="Debug OSGi Framework" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrF-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.previous" commandName="Previous" description="Navigate to the previous item" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrGOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.source.quickMenu" commandName="Show Source Quick Menu" description="Shows the source quick menu" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrGerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb" commandName="Toggle Java Editor Breadcrumb" description="Toggle the Java editor breadcrumb" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrGurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.open.call.hierarchy" commandName="Open Call Hierarchy" description="Open a call hierarchy on the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrG-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.extractConstant.assist" commandName="Quick Assist - Extract constant" description="Invokes quick assist and selects 'Extract constant'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrHOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.externalize.strings" commandName="Externalize Strings" description="Finds all strings that are not externalized and moves them into a separate property file" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrHerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.lineUp" commandName="Line Up" description="Go up one line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrHurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaeditor.cutcolumn" commandName="Cut" category="_em0NzOrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrH-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.newQuickMenu" commandName="New menu" description="Open the New menu" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrIOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.attachment.retrieveContext" commandName="Retrieve Context Attachment" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrIerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.deleteNext" commandName="Delete Next" description="Delete the next character" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrIurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.deleteNextWord" commandName="Delete Next Word" description="Delete the next word" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrI-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.tasks.ui.editor.folding.auto" commandName="Toggle Active Folding" description="Toggle Active Folding" category="_em0N1erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrJOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.working.set" commandName="Write Access in Working Set" description="Search for write references to the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrJerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.undo" commandName="Undo" description="Undo the last operation" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrJurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.workspace" commandName="References in Workspace" description="Search for references to the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrJ-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.back" commandName="Back" description="Navigate back" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrKOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.DebugLast" commandName="Debug" description="Launch in debug mode" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrKerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.bugs.commands.newTaskFromMarker" commandName="New Task from Marker..." description="Report as Bug from Marker" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrKurNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.eclipselink.ui.generateDynamicEntities" commandName="Generate Dynamic Entities from Tables..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrK-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskRead" commandName="Mark Task Read" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrLOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.external.javadoc" commandName="Open External JSDoc" description="Open the JSDoc of the selected element in an external browser" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrLerNEeSOidyff_nu0w" elementId="org.eclipse.ui.editors.lineNumberToggle" commandName="Show Line Numbers" description="Toggle display of line numbers" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrLurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.ToggleStepFilters" commandName="Use Step Filters" description="Toggles enablement of debug step filters" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrL-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.task.attachContext" commandName="Attach Context" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrMOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.introduce.indirection" commandName="Introduce Indirection" description="Introduce an indirection to encapsulate invocations of a selected function" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrMerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.workspace" commandName="Read Access in Workspace" description="Search for read references to the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrMurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.renameInFile.assist" commandName="Quick Assist - Rename in file" description="Invokes quick assist and selects 'Rename in file'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrM-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.newEditor" commandName="New Editor" description="Open another editor on the active editor's input" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrNOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.wordPrevious" commandName="Previous Word" description="Go to the previous word" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrNerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.recenter" commandName="Recenter" description="Recenter the window based on the cursor" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrNurNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.installationDialog" commandName="Installation Information" description="Open the installation dialog" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrN-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.shiftRight" commandName="Shift Right" description="Shift a block of text to the right" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrOOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.nextSibling" commandName="Next Sibling" description="Go to Next Sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrOerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.tag" commandName="Tag as Version" description="Tag the resources with a CVS version tag" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrOurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.debug.ui.breakpoint.properties" commandName="JavaScript Breakpoint Properties" description="View and edit the properties for a given JavaScript breakpoint" category="_em0N6urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrO-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.refresh" commandName="Refresh" description="Refresh the selected items" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrPOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.specific_content_assist.command" commandName="Content Assist" description="A parameterizable command that invokes content assist with a single completion proposal category" category="_em0N6OrNEeSOidyff_nu0w">
+ <parameters xmi:id="_emrrPerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.specific_content_assist.category_id" name="type" optional="false"/>
</commands>
- <commands xmi:id="_Z52mns9SEeSV1Mx9A3xekQ" elementId="org.eclipse.gef.ui.palette_view" commandName="Palette" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mn89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.add.unimplemented.constructors" commandName="Generate Constructors from Superclass" description="Evaluate and add constructors from superclass" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52moM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.working.set" commandName="References in Working Set" description="Search for references to the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52moc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.performTextSearchWorkingSet" commandName="Find Text in Working Set" description="Searches the files in the working set for specific text." category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mos9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.delete.line.to.end" commandName="Delete to End of Line" description="Delete to the end of a line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mo89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.move.element" commandName="Move - Refactoring " description="Move the selected element to a new location" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mpM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.deactivateSelectedTask" commandName="Deactivate Selected Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mpc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.nextEditor" commandName="Next Editor" description="Switch to the next editor" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mps9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.factory" commandName="Introduce Factory" description="Introduce a factory method to encapsulate invocation of the selected constructor" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mp89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.forward" commandName="Forward" description="Navigate forward" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mqM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.cmnd.contentmodel.sych" commandName="Synch" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mqc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.pageUp" commandName="Page Up" description="Go up one page" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mqs9SEeSV1Mx9A3xekQ" elementId="sed.tabletree.collapseAll" commandName="Collapse All" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mq89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.updateSwitch" commandName="Switch to Another Branch or Version" description="Switch to Another Branch or Version" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mrM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.replace.invocations" commandName="Replace Invocations" description="Replace invocations of the selected method" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mrc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.openManifest" commandName="Open Manifest" description="Open the plug-in manifest" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mrs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.OpenRunConfigurations" commandName="Run..." description="Open run launch configuration dialog" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mr89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.commands.showElementInTypeHierarchyView" commandName="Show Java Element Type Hierarchy" description="Show a Java element in the Type Hierarchy view" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52msM9SEeSV1Mx9A3xekQ" elementId="elementRef" name="Java element reference" typeId="org.eclipse.jdt.ui.commands.javaElementReference" optional="false"/>
+ <commands xmi:id="_emrrPurNEeSOidyff_nu0w" elementId="org.eclipse.gef.ui.palette_view" commandName="Palette" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrP-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.add.unimplemented.constructors" commandName="Generate Constructors from Superclass" description="Evaluate and add constructors from superclass" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrQOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.working.set" commandName="References in Working Set" description="Search for references to the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrQerNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.performTextSearchWorkingSet" commandName="Find Text in Working Set" description="Searches the files in the working set for specific text." category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrQurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.delete.line.to.end" commandName="Delete to End of Line" description="Delete to the end of a line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrQ-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.move.element" commandName="Move - Refactoring " description="Move the selected element to a new location" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrROrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.deactivateSelectedTask" commandName="Deactivate Selected Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrRerNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.nextEditor" commandName="Next Editor" description="Switch to the next editor" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrRurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.factory" commandName="Introduce Factory" description="Introduce a factory method to encapsulate invocation of the selected constructor" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrR-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.forward" commandName="Forward" description="Navigate forward" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrSOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.cmnd.contentmodel.sych" commandName="Synch" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrSerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.pageUp" commandName="Page Up" description="Go up one page" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrSurNEeSOidyff_nu0w" elementId="sed.tabletree.collapseAll" commandName="Collapse All" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrS-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.updateSwitch" commandName="Switch to Another Branch or Version" description="Switch to Another Branch or Version" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrTOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.replace.invocations" commandName="Replace Invocations" description="Replace invocations of the selected method" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrTerNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.openManifest" commandName="Open Manifest" description="Open the plug-in manifest" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emrrTurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.OpenRunConfigurations" commandName="Run..." description="Open run launch configuration dialog" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRsOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.commands.showElementInTypeHierarchyView" commandName="Show Java Element Type Hierarchy" description="Show a Java element in the Type Hierarchy view" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emsRserNEeSOidyff_nu0w" elementId="elementRef" name="Java element reference" typeId="org.eclipse.jdt.ui.commands.javaElementReference" optional="false"/>
</commands>
- <commands xmi:id="_Z52msc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.deletePreviousWord" commandName="Delete Previous Word" description="Delete the previous word" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mss9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.debug.ui.evaluate.command" commandName="Evaluate" description="Evaluates the selected text in the JavaScript editor" category="_Z53z1s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52ms89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.indent" commandName="Indent Line" description="Indents the current line" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mtM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.toggle.comment" commandName="Toggle Comment" description="Toggle Comment" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mtc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.deletePrevious" commandName="Delete Previous" description="Delete the previous character" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mts9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.SkipAllBreakpoints" commandName="Skip All Breakpoints" description="Sets whether or not any breakpoint should suspend execution" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mt89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.extractLocalNotReplaceOccurrences.assist" commandName="Quick Assist - Extract local variable" description="Invokes quick assist and selects 'Extract local variable'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52muM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.enclosing" commandName="Select Enclosing Element" description="Expand selection to include enclosing element" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52muc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.set.mark" commandName="Set Mark" description="Set the mark" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mus9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteSQLAction" commandName="Execute All" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mu89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ltk.ui.refactor.show.refactoring.history" commandName="Open Refactoring History " description="Opens the refactoring history" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mvM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.epp.mpc.ui.command.showMarketplaceWizard" commandName="Eclipse Marketplace" description="Show the Eclipse Marketplace wizard" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mvc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.exit" commandName="Exit" description="Exit the application" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mvs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.workspace" commandName="Read Access in Workspace" description="Search for read references to the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mv89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.customizePerspective" commandName="Customize Perspective" description="Customize the current perspective" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mwM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.showInQuickMenu" commandName="Show In..." description="Open the Show In menu" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mwc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.hierarchy" commandName="Read Access in Hierarchy" description="Search for read references of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mws9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.deleteCompleted" commandName="Delete Completed Tasks" description="Delete the tasks marked as completed" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mw89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.DebugPerspective" commandName="Debug" description="Open the debug perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mxM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.change.type" commandName="Generalize Declared Type" description="Change the declaration of a selected variable to a more general type consistent with usage" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mxc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.generate.javadoc" commandName="Generate JSDoc" description="Generates JSDoc for a selectable set of JavaScript resources" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mxs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.rename" commandName="Rename" description="Rename the selected item" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mx89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ltk.ui.refactoring.commands.deleteResources" commandName="Delete Resources" description="Delete the selected resources and notify LTK participants." category="_Z53z389SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52myM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.maximizePart" commandName="Maximize Part" description="Maximize Part" category="_Z53zyM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52myc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.block.comment" commandName="Add Block Comment" description="Enclose the selection with a block comment" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mys9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqlscrapbook.commands.openscrapbook" commandName="Open SQL Scrapboo&amp;k" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52my89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.next" commandName="Next" description="Navigate to the next item" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mzM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.local.variable" commandName="Extract Local Variable" description="Extracts an expression into a new local variable and uses the new local variable" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mzc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.show.outline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mzs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.ws.jaxws.ui.configure.handlers" commandName="Configure Handlers" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52mz89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.previousTask" commandName="Previous Task Command" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m0M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.buildAutomatically" commandName="Build Automatically" description="Toggle the workspace build automatically function" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m0c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.project" commandName="References in Project" description="Search for references to the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m0s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.occurrences.in.file" commandName="Search All Occurrences in File" description="Search for all occurrences of the selected element in its declaring file" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m089SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.structure.select.last" commandName="Restore Last Selection" description="Restore last selection" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m1M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.open.implementation" commandName="Open Implementation" description="Opens the Implementations of a method in its hierarchy" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m1c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.workspace" commandName="Declaration in Workspace" description="Search for declarations of the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m1s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.xmlFileUpgradeToLatestVersion" commandName="Upgrade Document Version" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m189SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.editor.showCheatSheetCommand" commandName="Show Markup Cheat Sheet" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m2M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.hierarchy" commandName="References in Hierarchy" description="Search for references of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m2c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.JavaBrowsingPerspective" commandName="JavaScript Browsing" description="Show the JavaScript Browsing perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m2s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.lineUp" commandName="Select Line Up" description="Extend the selection to the previous line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m289SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.project" commandName="Read Access in Project" description="Search for read references to the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m3M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.show.in.package.view" commandName="Show in Script Explorer" description="Show the selected element in the Script Explorer" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m3c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.openDependencies" commandName="Open Plug-in Dependencies" description="Opens the plug-in dependencies view for the current plug-in" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m3s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.compareWithOther" commandName="Compare With Other Resource" description="Compare resources, clipboard contents or editors" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m389SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.replaceWithTag" commandName="Replace With Another Branch or Version" description="Replace with Branch or Version on the CVS Server" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m4M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.ProjectsView" commandName="JavaScript Projects" description="Show the Projects view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m4c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.organize.imports" commandName="Organize Imports" description="Evaluate all required imports and replace the current imports" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m4s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.select.last" commandName="Restore Last Selection" description="Restore last selection" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m489SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.junitShortcut.rerunFailedFirst" commandName="Rerun JUnit Test - Failures First" description="Rerun JUnit Test - Failures First" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m5M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.interface" commandName="Extract Interface" description="Extract a set of members into a new interface and try to use the new interface" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.browser.openBundleResource" commandName="Open Resource in Browser" description="Opens a bundle resource in the default web browser." category="_Z53zuc9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52m5s9SEeSV1Mx9A3xekQ" elementId="plugin" name="Plugin"/>
- <parameters xmi:id="_Z52m589SEeSV1Mx9A3xekQ" elementId="path" name="Path"/>
+ <commands xmi:id="_emsRsurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.deletePreviousWord" commandName="Delete Previous Word" description="Delete the previous word" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRs-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.debug.ui.evaluate.command" commandName="Evaluate" description="Evaluates the selected text in the JavaScript editor" category="_em0N6urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRtOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.indent" commandName="Indent Line" description="Indents the current line" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRterNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.toggle.comment" commandName="Toggle Comment" description="Toggle Comment" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRturNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.deletePrevious" commandName="Delete Previous" description="Delete the previous character" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRt-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.SkipAllBreakpoints" commandName="Skip All Breakpoints" description="Sets whether or not any breakpoint should suspend execution" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRuOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.extractLocalNotReplaceOccurrences.assist" commandName="Quick Assist - Extract local variable" description="Invokes quick assist and selects 'Extract local variable'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRuerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.enclosing" commandName="Select Enclosing Element" description="Expand selection to include enclosing element" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRuurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.set.mark" commandName="Set Mark" description="Set the mark" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRu-rNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteSQLAction" commandName="Execute All" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRvOrNEeSOidyff_nu0w" elementId="org.eclipse.ltk.ui.refactor.show.refactoring.history" commandName="Open Refactoring History " description="Opens the refactoring history" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRverNEeSOidyff_nu0w" elementId="org.eclipse.epp.mpc.ui.command.showMarketplaceWizard" commandName="Eclipse Marketplace" description="Show the Eclipse Marketplace wizard" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRvurNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.exit" commandName="Exit" description="Exit the application" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRv-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.workspace" commandName="Read Access in Workspace" description="Search for read references to the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRwOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.customizePerspective" commandName="Customize Perspective" description="Customize the current perspective" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRwerNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.showInQuickMenu" commandName="Show In..." description="Open the Show In menu" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRwurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.hierarchy" commandName="Read Access in Hierarchy" description="Search for read references of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRw-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.deleteCompleted" commandName="Delete Completed Tasks" description="Delete the tasks marked as completed" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRxOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.DebugPerspective" commandName="Debug" description="Open the debug perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRxerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.change.type" commandName="Generalize Declared Type" description="Change the declaration of a selected variable to a more general type consistent with usage" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRxurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.generate.javadoc" commandName="Generate JSDoc" description="Generates JSDoc for a selectable set of JavaScript resources" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRx-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.rename" commandName="Rename" description="Rename the selected item" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRyOrNEeSOidyff_nu0w" elementId="org.eclipse.ltk.ui.refactoring.commands.deleteResources" commandName="Delete Resources" description="Delete the selected resources and notify LTK participants." category="_em0N8-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRyerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.maximizePart" commandName="Maximize Part" description="Maximize Part" category="_em0N3OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRyurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.block.comment" commandName="Add Block Comment" description="Enclose the selection with a block comment" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRy-rNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqlscrapbook.commands.openscrapbook" commandName="Open SQL Scrapboo&amp;k" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRzOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.next" commandName="Next" description="Navigate to the next item" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRzerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.local.variable" commandName="Extract Local Variable" description="Extracts an expression into a new local variable and uses the new local variable" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRzurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.show.outline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsRz-rNEeSOidyff_nu0w" elementId="org.eclipse.jst.ws.jaxws.ui.configure.handlers" commandName="Configure Handlers" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR0OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.previousTask" commandName="Previous Task Command" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR0erNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.buildAutomatically" commandName="Build Automatically" description="Toggle the workspace build automatically function" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR0urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.project" commandName="References in Project" description="Search for references to the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR0-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.occurrences.in.file" commandName="Search All Occurrences in File" description="Search for all occurrences of the selected element in its declaring file" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR1OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.structure.select.last" commandName="Restore Last Selection" description="Restore last selection" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR1erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.open.implementation" commandName="Open Implementation" description="Opens the Implementations of a method in its hierarchy" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR1urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.workspace" commandName="Declaration in Workspace" description="Search for declarations of the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR1-rNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.xmlFileUpgradeToLatestVersion" commandName="Upgrade Document Version" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR2OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.editor.showCheatSheetCommand" commandName="Show Markup Cheat Sheet" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR2erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.hierarchy" commandName="References in Hierarchy" description="Search for references of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR2urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.JavaBrowsingPerspective" commandName="JavaScript Browsing" description="Show the JavaScript Browsing perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR2-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.lineUp" commandName="Select Line Up" description="Extend the selection to the previous line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR3OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.project" commandName="Read Access in Project" description="Search for read references to the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR3erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.show.in.package.view" commandName="Show in Script Explorer" description="Show the selected element in the Script Explorer" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR3urNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.openDependencies" commandName="Open Plug-in Dependencies" description="Opens the plug-in dependencies view for the current plug-in" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR3-rNEeSOidyff_nu0w" elementId="org.eclipse.compare.compareWithOther" commandName="Compare With Other Resource" description="Compare resources, clipboard contents or editors" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR4OrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.replaceWithTag" commandName="Replace With Another Branch or Version" description="Replace with Branch or Version on the CVS Server" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR4erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.ProjectsView" commandName="JavaScript Projects" description="Show the Projects view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR4urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.organize.imports" commandName="Organize Imports" description="Evaluate all required imports and replace the current imports" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR4-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.select.last" commandName="Restore Last Selection" description="Restore last selection" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR5OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.junitShortcut.rerunFailedFirst" commandName="Rerun JUnit Test - Failures First" description="Rerun JUnit Test - Failures First" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR5erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.interface" commandName="Extract Interface" description="Extract a set of members into a new interface and try to use the new interface" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR5urNEeSOidyff_nu0w" elementId="org.eclipse.ui.browser.openBundleResource" commandName="Open Resource in Browser" description="Opens a bundle resource in the default web browser." category="_em0NzerNEeSOidyff_nu0w">
+ <parameters xmi:id="_emsR5-rNEeSOidyff_nu0w" elementId="plugin" name="Plugin"/>
+ <parameters xmi:id="_emsR6OrNEeSOidyff_nu0w" elementId="path" name="Path"/>
</commands>
- <commands xmi:id="_Z52m6M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.javadoc.comment" commandName="Add JSDoc Comment" description="Add a JSDoc comment stub to the member element" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m6c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.copyAllLeftToRight" commandName="Copy All from Left to Right" description="Copy All Changes from Left to Right" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m6s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters" commandName="Show Whitespace Characters" description="Shows whitespace characters in current text editor" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m689SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.preferences" commandName="Preferences" description="Open the preferences dialog" category="_Z53zuc9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52m7M9SEeSV1Mx9A3xekQ" elementId="preferencePageId" name="Preference Page"/>
+ <commands xmi:id="_emsR6erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.javadoc.comment" commandName="Add JSDoc Comment" description="Add a JSDoc comment stub to the member element" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR6urNEeSOidyff_nu0w" elementId="org.eclipse.compare.copyAllLeftToRight" commandName="Copy All from Left to Right" description="Copy All Changes from Left to Right" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR6-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters" commandName="Show Whitespace Characters" description="Shows whitespace characters in current text editor" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR7OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.preferences" commandName="Preferences" description="Open the preferences dialog" category="_em0NzerNEeSOidyff_nu0w">
+ <parameters xmi:id="_emsR7erNEeSOidyff_nu0w" elementId="preferencePageId" name="Preference Page"/>
</commands>
- <commands xmi:id="_Z52m7c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.selectAll" commandName="Select All" description="Select all" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m7s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.close" commandName="Close" description="Close the active editor" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m789SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.newWizard" commandName="New" description="Open the New item wizard" category="_Z53zwM9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52m8M9SEeSV1Mx9A3xekQ" elementId="newWizardId" name="New Wizard"/>
+ <commands xmi:id="_emsR7urNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.selectAll" commandName="Select All" description="Select all" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR7-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.close" commandName="Close" description="Close the active editor" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR8OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.newWizard" commandName="New" description="Open the New item wizard" category="_em0N1OrNEeSOidyff_nu0w">
+ <parameters xmi:id="_emsR8erNEeSOidyff_nu0w" elementId="newWizardId" name="New Wizard"/>
</commands>
- <commands xmi:id="_Z52m8c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.goToPreviousUnread" commandName="Go To Previous Unread Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m8s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.inline" commandName="Inline" description="Inline a constant, local variable or method" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m889SEeSV1Mx9A3xekQ" elementId="org.eclipse.help.ui.ignoreMissingPlaceholders" commandName="Do not warn of missing documentation" description="Sets the help preferences to no longer report a warning about the current set of missing documents." category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m9M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.convertToDocbookCommand" commandName="Generate Docbook" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m9c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.showHistory" commandName="Show History" description="Show History" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m9s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.tipsAndTricksAction" commandName="Tips and Tricks" description="Open the tips and tricks help page" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m989SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.replace.invocations" commandName="Replace Invocations" description="Replace invocations of the selected function" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m-M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.hierarchy" commandName="Write Access in Hierarchy" description="Search for write references of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m-c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.copy" commandName="Copy" description="Copy the selection to the clipboard" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m-s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.project" commandName="Declaration in Project" description="Search for declarations of the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m-89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.extractConstant.assist" commandName="Quick Assist - Extract constant" description="Invokes quick assist and selects 'Extract constant'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52m_M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.commands.addprofile" commandName="New Connection Profile Command" description="Command to create a new connection profile" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52m_c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.ui.ignoreCategory" name="ignoreCategory"/>
- <parameters xmi:id="_Z52m_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.ui.useSelection" name="useSelection"/>
+ <commands xmi:id="_emsR8urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.goToPreviousUnread" commandName="Go To Previous Unread Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR8-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.inline" commandName="Inline" description="Inline a constant, local variable or method" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR9OrNEeSOidyff_nu0w" elementId="org.eclipse.help.ui.ignoreMissingPlaceholders" commandName="Do not warn of missing documentation" description="Sets the help preferences to no longer report a warning about the current set of missing documents." category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR9erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.convertToDocbookCommand" commandName="Generate Docbook" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR9urNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.showHistory" commandName="Show History" description="Show History" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR9-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.tipsAndTricksAction" commandName="Tips and Tricks" description="Open the tips and tricks help page" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR-OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.replace.invocations" commandName="Replace Invocations" description="Replace invocations of the selected function" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR-erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.hierarchy" commandName="Write Access in Hierarchy" description="Search for write references of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR-urNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.copy" commandName="Copy" description="Copy the selection to the clipboard" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR--rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.project" commandName="Declaration in Project" description="Search for declarations of the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR_OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.extractConstant.assist" commandName="Quick Assist - Extract constant" description="Invokes quick assist and selects 'Extract constant'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsR_erNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.commands.addprofile" commandName="New Connection Profile Command" description="Command to create a new connection profile" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emsR_urNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.ui.ignoreCategory" name="ignoreCategory"/>
+ <parameters xmi:id="_emsR_-rNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.ui.useSelection" name="useSelection"/>
</commands>
- <commands xmi:id="_Z52m_89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.RunToLine" commandName="Run to Line" description="Resume and break when execution reaches the current line" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.quick.format" commandName="Format Element" description="Format enclosing text element" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.openExternalDoc" commandName="Open External Documentation" description="Open the External documentation for the current task in the Ant editor" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.gotoMatchingTag" commandName="Matching Tag" description="Go to Matching Tag" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.JavaHierarchyPerspective" commandName="Java Type Hierarchy" description="Show the Java Type Hierarchy perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.debugAction" commandName="Debug" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.inline" commandName="Inline" description="Inline a constant, local variable or function" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.infer.type.arguments" commandName="Infer Generic Type Arguments" description="Infer type arguments for references to generic classes and remove unnecessary casts" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.copyConfigCommand" commandName="Copy Configuration Data To Clipboard" description="Copies the configuration data (system properties, installed bundles, etc) to the clipboard." category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.indent" commandName="Correct Indentation" description="Corrects the indentation of the selected lines" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.Restart" commandName="Restart" description="Restart a process or debug target without terminating and re-launching" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.exception.occurrences" commandName="Search Exception Occurrences in File" description="Search for exception occurrences of a selected exception type" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.part.previousPage" commandName="Previous Page" description="Switch to the previous page" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.commands.addrepository" commandName="New Repository Profile Command" description="Command to create a new repository profile" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.openResource" commandName="Open Resource" description="Open an editor on a particular resource" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52nDs9SEeSV1Mx9A3xekQ" elementId="filePath" name="File Path" typeId="org.eclipse.ui.ide.resourcePath"/>
+ <commands xmi:id="_emsSAOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.RunToLine" commandName="Run to Line" description="Resume and break when execution reaches the current line" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSAerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.quick.format" commandName="Format Element" description="Format enclosing text element" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSAurNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.openExternalDoc" commandName="Open External Documentation" description="Open the External documentation for the current task in the Ant editor" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSA-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.gotoMatchingTag" commandName="Matching Tag" description="Go to Matching Tag" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSBOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.JavaHierarchyPerspective" commandName="Java Type Hierarchy" description="Show the Java Type Hierarchy perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSBerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.debugAction" commandName="Debug" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSBurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.inline" commandName="Inline" description="Inline a constant, local variable or function" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSB-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.infer.type.arguments" commandName="Infer Generic Type Arguments" description="Infer type arguments for references to generic classes and remove unnecessary casts" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSCOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.copyConfigCommand" commandName="Copy Configuration Data To Clipboard" description="Copies the configuration data (system properties, installed bundles, etc) to the clipboard." category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSCerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.indent" commandName="Correct Indentation" description="Corrects the indentation of the selected lines" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSCurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.Restart" commandName="Restart" description="Restart a process or debug target without terminating and re-launching" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSC-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.exception.occurrences" commandName="Search Exception Occurrences in File" description="Search for exception occurrences of a selected exception type" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSDOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.part.previousPage" commandName="Previous Page" description="Switch to the previous page" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSDerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.commands.addrepository" commandName="New Repository Profile Command" description="Command to create a new repository profile" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSDurNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.openResource" commandName="Open Resource" description="Open an editor on a particular resource" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emsSD-rNEeSOidyff_nu0w" elementId="filePath" name="File Path" typeId="org.eclipse.ui.ide.resourcePath"/>
</commands>
- <commands xmi:id="_Z52nD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.InstanceCount" commandName="Instance Count" description="View the instance count of the selected type loaded in the target VM" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.open.hierarchy" commandName="Quick Hierarchy" description="Show the quick hierarchy of the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.helpContents" commandName="Help Contents" description="Open the help contents" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.format" commandName="Format" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nE89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.qualifyField" commandName="Quick Fix - Qualify field access" description="Invokes quick assist and selects 'Qualify field access'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.result.removeAllInstances" commandName="Remove All Visible Results" category="_Z53zys9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.saveAll" commandName="Save All" description="Save all current contents" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nFs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.externalizeStrings" commandName="Externalize Strings in Plug-ins" description="Extract translatable strings from plug-in files" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.remove.block.comment" commandName="Remove Block Comment" description="Remove the block comment enclosing the selection" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nGM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.assignToLocal.assist" commandName="Quick Assist - Assign to local variable" description="Invokes quick assist and selects 'Assign to local variable'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nGc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.hierarchy" commandName="References in Hierarchy" description="Search for references of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nGs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.runtimeWorkbenchShortcut.debug" commandName="Debug Eclipse Application" description="Debug Eclipse Application" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.format.document" commandName="Format" description="Format selection" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.textEnd" commandName="Select Text End" description="Select to the end of the text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.comment" commandName="Comment" description="Turn the selected lines into JavaScript comments" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.delete.line" commandName="Delete Line" description="Delete a line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.goto.previous.member" commandName="Go to Previous Member" description="Move the caret to the previous member of the JavaScript file" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.showViewMenu" commandName="Show View Menu" description="Show the view menu" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.refactor.create.refactoring.script" commandName="Create Script" description="Create a refactoring script from refactorings on the local workspace" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.folding.collapseComments" commandName="Collapse Comments" description="Collapse all comments" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nI89SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaeditor.pastecolumn" commandName="Paste" category="_Z53zuM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.findIncremental" commandName="Incremental Find" description="Incremental find" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.performTextSearchProject" commandName="Find Text in Project" description="Searches the files in the project for specific text." category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nJs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.edit.text.format" commandName="Format Source" description="Format a PDE Source Page" category="_Z53zxc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nJ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.previousEditor" commandName="Previous Editor" description="Switch to the previous editor" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nKM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.commands.openElementInEditor" commandName="Open Java Element" description="Open a Java element in its editor" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52nKc9SEeSV1Mx9A3xekQ" elementId="elementRef" name="Java element reference" typeId="org.eclipse.jdt.ui.commands.javaElementReference" optional="false"/>
+ <commands xmi:id="_emsSEOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.InstanceCount" commandName="Instance Count" description="View the instance count of the selected type loaded in the target VM" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSEerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.open.hierarchy" commandName="Quick Hierarchy" description="Show the quick hierarchy of the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSEurNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.helpContents" commandName="Help Contents" description="Open the help contents" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSE-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.format" commandName="Format" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSFOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.qualifyField" commandName="Quick Fix - Qualify field access" description="Invokes quick assist and selects 'Qualify field access'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSFerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.result.removeAllInstances" commandName="Remove All Visible Results" category="_em0N3urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSFurNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.saveAll" commandName="Save All" description="Save all current contents" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSF-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.externalizeStrings" commandName="Externalize Strings in Plug-ins" description="Extract translatable strings from plug-in files" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSGOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.remove.block.comment" commandName="Remove Block Comment" description="Remove the block comment enclosing the selection" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSGerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.assignToLocal.assist" commandName="Quick Assist - Assign to local variable" description="Invokes quick assist and selects 'Assign to local variable'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSGurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.references.in.hierarchy" commandName="References in Hierarchy" description="Search for references of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSG-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.runtimeWorkbenchShortcut.debug" commandName="Debug Eclipse Application" description="Debug Eclipse Application" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSHOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.format.document" commandName="Format" description="Format selection" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSHerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.textEnd" commandName="Select Text End" description="Select to the end of the text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSHurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.comment" commandName="Comment" description="Turn the selected lines into JavaScript comments" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSH-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.delete.line" commandName="Delete Line" description="Delete a line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSIOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.goto.previous.member" commandName="Go to Previous Member" description="Move the caret to the previous member of the JavaScript file" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSIerNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.showViewMenu" commandName="Show View Menu" description="Show the view menu" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSIurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.refactor.create.refactoring.script" commandName="Create Script" description="Create a refactoring script from refactorings on the local workspace" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSI-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.folding.collapseComments" commandName="Collapse Comments" description="Collapse all comments" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSJOrNEeSOidyff_nu0w" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaeditor.pastecolumn" commandName="Paste" category="_em0NzOrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSJerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.findIncremental" commandName="Incremental Find" description="Incremental find" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSJurNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.performTextSearchProject" commandName="Find Text in Project" description="Searches the files in the project for specific text." category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emsSJ-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.edit.text.format" commandName="Format Source" description="Format a PDE Source Page" category="_em0N2erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf0OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.previousEditor" commandName="Previous Editor" description="Switch to the previous editor" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf0erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.commands.openElementInEditor" commandName="Open Java Element" description="Open a Java element in its editor" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emtf0urNEeSOidyff_nu0w" elementId="elementRef" name="Java element reference" typeId="org.eclipse.jdt.ui.commands.javaElementReference" optional="false"/>
</commands>
- <commands xmi:id="_Z52nKs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.maximizePart" commandName="Maximize Active View or Editor" description="Toggles maximize/restore state of active view or editor" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nK89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.configureColumns" commandName="Configure Columns..." description="Configure the columns in the markers view" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nLM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.self.encapsulate.field" commandName="Encapsulate Var" description="Create getting and setting functions for the var and use only those to access the var" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nLc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.AddClassPrepareBreakpoint" commandName="Add Class Load Breakpoint" description="Add a class load breakpoint" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nLs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editors.revisions.id.toggle" commandName="Toggle Revision Id Display" description="Toggles the display of the revision id" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nL89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.folding.collapse_all" commandName="Collapse All" description="Collapses all folded regions" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nMM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.EquinoxLaunchShortcut.run" commandName="Run OSGi Framework" description="Run OSGi Framework" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nMc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.perspectives.showPerspective" commandName="Show Perspective" description="Show a particular perspective" category="_Z53zts9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z52nMs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.perspectives.showPerspective.perspectiveId" name="Parameter"/>
- <parameters xmi:id="_Z52nM89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.perspectives.showPerspective.newWindow" name="In New Window"/>
+ <commands xmi:id="_emtf0-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.maximizePart" commandName="Maximize Active View or Editor" description="Toggles maximize/restore state of active view or editor" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf1OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.configureColumns" commandName="Configure Columns..." description="Configure the columns in the markers view" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf1erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.self.encapsulate.field" commandName="Encapsulate Var" description="Create getting and setting functions for the var and use only those to access the var" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf1urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.AddClassPrepareBreakpoint" commandName="Add Class Load Breakpoint" description="Add a class load breakpoint" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf1-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.editors.revisions.id.toggle" commandName="Toggle Revision Id Display" description="Toggles the display of the revision id" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf2OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.folding.collapse_all" commandName="Collapse All" description="Collapses all folded regions" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf2erNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.EquinoxLaunchShortcut.run" commandName="Run OSGi Framework" description="Run OSGi Framework" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf2urNEeSOidyff_nu0w" elementId="org.eclipse.ui.perspectives.showPerspective" commandName="Show Perspective" description="Show a particular perspective" category="_em0NyurNEeSOidyff_nu0w">
+ <parameters xmi:id="_emtf2-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.perspectives.showPerspective.perspectiveId" name="Parameter"/>
+ <parameters xmi:id="_emtf3OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.perspectives.showPerspective.newWindow" name="In New Window"/>
</commands>
- <commands xmi:id="_Z52nNM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.eof" commandName="EOF" description="Send end of file" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nNc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.goto.matching.bracket" commandName="Go to Matching Bracket" description="Moves the cursor to the matching bracket" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nNs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.terminals.ui.actions.LaunchTerminalCommand" commandName="Launch Terminal " category="_Z53zws9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nN89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.reload.dependencies" commandName="Reload Dependencies" description="Reload Dependencies" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nOM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editors.quickdiff.revert" commandName="Revert Lines" description="Revert the current selection, block or deleted lines" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nOc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.previousSubTab" commandName="Previous Sub-Tab" description="Switch to the previous sub-tab" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nOs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.method.exits" commandName="Search Method Exit Occurrences in File" description="Search for method exit occurrences of a selected return type" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nO89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsd.ui.refactor.makeElementGlobal" commandName="Make Local Element &amp;Global" description="Promotes local element to global level and replaces its references" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.refactor.apply.refactoring.script" commandName="Apply Script" description="Perform refactorings from a refactoring script on the local workspace" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.smartEnter" commandName="Insert Line Below Current Line" description="Adds a new line below the current line" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.pageDown" commandName="Page Down" description="Go down one page" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.windowStart" commandName="Window Start" description="Go to the start of the window" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.goInto" commandName="Go Into" description="Navigate into the selected item" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.contentAssist.proposals" commandName="Content Assist" description="Content Assist" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.folding.expand_all" commandName="Expand All" description="Expands all folded regions" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nQ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.nextTab" commandName="Next Tab" description="Switch to the next tab" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nRM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.stop" commandName="Stop" description="Stop the server" category="_Z53zzs9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nRc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.super.implementation" commandName="Open Super Implementation" description="Open the Implementation in the Super Type" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nRs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.OpenMarkersView" commandName="Open Another" description="Open another view" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nR89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.addBlock.assist" commandName="Quick Assist - Replace statement with block" description="Invokes quick assist and selects 'Replace statement with block'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nSM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskIncomplete" commandName="Mark Task Incomplete" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nSc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.Terminate" commandName="Terminate" description="Terminate" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nSs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.createAntBuildFile" commandName="Create Ant Build File" description="Creates an Ant build file for the current project" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nS89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.new.local.task" commandName="New Local Task" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nTM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.openTask" commandName="Open Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nTc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.runtime.spy.commands.menuSpyCommand" commandName="Plug-in Menu Spy" description="Show the Plug-in Spy" category="_Z53zvs9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nTs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.use.supertype" commandName="Use Supertype Where Possible" description="Change occurrences of a type to use a supertype instead" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nT89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.windowEnd" commandName="Select Window End" description="Select to the end of the window" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z52nUM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.command.gotoaddress" commandName="Go to Address" description="Go to Address" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L4M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.switchToEditor" commandName="Switch to Editor" description="Switch to an editor" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L4c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.Suspend" commandName="Suspend" description="Suspend" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L4s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.previousView" commandName="Previous View" description="Switch to the previous view" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L489SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.previous" commandName="Select Previous Element" description="Expand selection to include previous sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L5M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.hierarchy" commandName="Write Access in Hierarchy" description="Search for write references of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.linkWithEditor" commandName="Toggle Link with Editor " description="Toggles linking of a view's selection with the active editor's selection" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L5s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.commands.showElementInPackageView" commandName="Show Java Element in Package Explorer" description="Select Java element in the Package Explorer view" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53L589SEeSV1Mx9A3xekQ" elementId="elementRef" name="Java element reference" typeId="org.eclipse.jdt.ui.commands.javaElementReference" optional="false"/>
+ <commands xmi:id="_emtf3erNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.eof" commandName="EOF" description="Send end of file" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf3urNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.goto.matching.bracket" commandName="Go to Matching Bracket" description="Moves the cursor to the matching bracket" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf3-rNEeSOidyff_nu0w" elementId="org.eclipse.rse.terminals.ui.actions.LaunchTerminalCommand" commandName="Launch Terminal " category="_em0N1urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf4OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.reload.dependencies" commandName="Reload Dependencies" description="Reload Dependencies" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf4erNEeSOidyff_nu0w" elementId="org.eclipse.ui.editors.quickdiff.revert" commandName="Revert Lines" description="Revert the current selection, block or deleted lines" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf4urNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.previousSubTab" commandName="Previous Sub-Tab" description="Switch to the previous sub-tab" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf4-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.method.exits" commandName="Search Method Exit Occurrences in File" description="Search for method exit occurrences of a selected return type" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf5OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsd.ui.refactor.makeElementGlobal" commandName="Make Local Element &amp;Global" description="Promotes local element to global level and replaces its references" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf5erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.refactor.apply.refactoring.script" commandName="Apply Script" description="Perform refactorings from a refactoring script on the local workspace" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf5urNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.smartEnter" commandName="Insert Line Below Current Line" description="Adds a new line below the current line" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf5-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.pageDown" commandName="Page Down" description="Go down one page" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf6OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.windowStart" commandName="Window Start" description="Go to the start of the window" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf6erNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.goInto" commandName="Go Into" description="Navigate into the selected item" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf6urNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.contentAssist.proposals" commandName="Content Assist" description="Content Assist" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf6-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.folding.expand_all" commandName="Expand All" description="Expands all folded regions" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf7OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.nextTab" commandName="Next Tab" description="Switch to the next tab" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf7erNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.stop" commandName="Stop" description="Stop the server" category="_em0N4urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emtf7urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.super.implementation" commandName="Open Super Implementation" description="Open the Implementation in the Super Type" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG4OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.OpenMarkersView" commandName="Open Another" description="Open another view" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG4erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.addBlock.assist" commandName="Quick Assist - Replace statement with block" description="Invokes quick assist and selects 'Replace statement with block'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG4urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskIncomplete" commandName="Mark Task Incomplete" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG4-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.Terminate" commandName="Terminate" description="Terminate" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG5OrNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.createAntBuildFile" commandName="Create Ant Build File" description="Creates an Ant build file for the current project" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG5erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.new.local.task" commandName="New Local Task" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG5urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.openTask" commandName="Open Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG5-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.runtime.spy.commands.menuSpyCommand" commandName="Plug-in Menu Spy" description="Show the Plug-in Spy" category="_em0N0urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG6OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.use.supertype" commandName="Use Supertype Where Possible" description="Change occurrences of a type to use a supertype instead" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG6erNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.windowEnd" commandName="Select Window End" description="Select to the end of the window" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG6urNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.command.gotoaddress" commandName="Go to Address" description="Go to Address" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG6-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.switchToEditor" commandName="Switch to Editor" description="Switch to an editor" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG7OrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.Suspend" commandName="Suspend" description="Suspend" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG7erNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.previousView" commandName="Previous View" description="Switch to the previous view" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG7urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.previous" commandName="Select Previous Element" description="Expand selection to include previous sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG7-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.hierarchy" commandName="Write Access in Hierarchy" description="Search for write references of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG8OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.linkWithEditor" commandName="Toggle Link with Editor " description="Toggles linking of a view's selection with the active editor's selection" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG8erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.commands.showElementInPackageView" commandName="Show Java Element in Package Explorer" description="Select Java element in the Package Explorer view" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emuG8urNEeSOidyff_nu0w" elementId="elementRef" name="Java element reference" typeId="org.eclipse.jdt.ui.commands.javaElementReference" optional="false"/>
</commands>
- <commands xmi:id="_Z53L6M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.closeRendering" commandName="Close Rendering" description="Close the selected rendering." category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L6c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.convert.anonymous.to.nested" commandName="Convert Anonymous Class to Nested" description="Convert an anonymous class to a nested class" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L6s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.PackageExplorer" commandName="JavaScript Script Explorer" description="Show the Script Explorer" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L689SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.synchronizeAll" commandName="Synchronize..." description="Synchronize resources in the workspace with another location" category="_Z53z189SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L7M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.displayHelp" commandName="Display Help" description="Display a Help topic" category="_Z53z2c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53L7c9SEeSV1Mx9A3xekQ" elementId="href" name="Help topic href"/>
+ <commands xmi:id="_emuG8-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.closeRendering" commandName="Close Rendering" description="Close the selected rendering." category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG9OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.convert.anonymous.to.nested" commandName="Convert Anonymous Class to Nested" description="Convert an anonymous class to a nested class" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG9erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.PackageExplorer" commandName="JavaScript Script Explorer" description="Show the Script Explorer" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG9urNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.synchronizeAll" commandName="Synchronize..." description="Synchronize resources in the workspace with another location" category="_em0N6-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG9-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.displayHelp" commandName="Display Help" description="Display a Help topic" category="_em0N7erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emuG-OrNEeSOidyff_nu0w" elementId="href" name="Help topic href"/>
</commands>
- <commands xmi:id="_Z53L7s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.navigate.open.type" commandName="Open Type" description="Open a type in a Java editor" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L789SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsp.ui.refactor.rename" commandName="Rename" description="Rename a Java Element" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L8M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.open.file.from.source" commandName="Open Selection" description="Open an editor on the selected link" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L8c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.previousPerspective" commandName="Previous Perspective" description="Switch to the previous perspective" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L8s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.junitShortcut.debug" commandName="Debug JUnit Test" description="Debug JUnit Test" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L889SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.closeProject" commandName="Close Project" description="Close the selected project" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L9M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.task.clearContext" commandName="Clear Context" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L9c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.assignParamToField.assist" commandName="Quick Assist - Assign parameter to field" description="Invokes quick assist and selects 'Assign parameter to field'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L9s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskUnread" commandName="Mark Task Unread" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L989SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.commitAll" commandName="Commit All Outgoing Changes" description="Commit all outgoing changes to the repository" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L-M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.addImport" commandName="Quick Fix - Add import" description="Invokes quick assist and selects 'Add import'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L-c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.cvsPerspective" commandName="CVS Repository Exploring" description="Open the CVS Repository Exploring Perspective" category="_Z53zts9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L-s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.folding.expand" commandName="Expand" description="Expands the folded region at the current selection" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L-89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.junitShortcut.rerunLast" commandName="Rerun JUnit Test" description="Rerun JUnit Test" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L_M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.callhierarchy.view" commandName="JavaScript Call Hierarchy" description="Show the Call Hierarchy view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L_c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.navigate.java.open.structure" commandName="Open Structure" description="Show the structure of the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.working.set" commandName="Read Access in Working Set" description="Search for read references to the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53L_89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.JavadocView" commandName="Documentation" description="Show the JavaScript Documentation view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.shells.ui.actions.LaunchShellCommand" commandName="Launch Shell" category="_Z53zws9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.lineStart" commandName="Line Start" description="Go to the start of the line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsd.ui.refactor.rename.element" commandName="&amp;Rename XSD element" description="Rename XSD element" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.gotoTest" commandName="Referring Tests" description="Referring Tests" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.help.ui.closeTray" commandName="Close User Assistance Tray" description="Close the user assistance tray containing context help information and cheat sheets." category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.working.set" commandName="Declaration in Working Set" description="Search for declarations of the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.properties" commandName="Properties" description="Display the properties of the selected item's project " category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode" commandName="Toggle Block Selection" description="Toggle block / column selection in the current text editor" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.save" commandName="Save" description="Save the current contents" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.checkout" commandName="Checkout from CVS" description="Checkout from CVS" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.task.copyContext" commandName="Copy Context" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implementors.in.project" commandName="Implementors in Project" description="Search for implementors of the selected interface in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.closePart" commandName="Close Part" description="Close the active workbench part" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.ToggleWatchpoint" commandName="Toggle Watchpoint" description="Creates or removes a watchpoint" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MDs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.compareWithRemote" commandName="Compare With Latest from Repository" description="Compare with Content on CVS Server" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.open.type.hierarchy" commandName="Open Type Hierarchy" description="Open a type hierarchy on the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ltk.ui.refactor.apply.refactoring.script" commandName="Apply Script" description="Perform refactorings from a refactoring script on the local workspace" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.infer.type.arguments" commandName="Infer Generic Type Arguments" description="Infer type arguments for references to generic classes and remove unnecessary casts" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.viewSource.command" commandName="View Unformatted Text" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ME89SEeSV1Mx9A3xekQ" elementId="org.eclipse.gef.zoom_in" commandName="Zoom In" description="Zoom In" category="_Z53z2M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.correction.assist.proposals" commandName="Quick Fix" description="Suggest possible fixes for a problem" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editors.revisions.rendering.cycle" commandName="Cycle Revision Coloring Mode" description="Cycles through the available coloring modes for revisions" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MFs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.Watch" commandName="Watch" description="Create new watch expression" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.PackagesView" commandName="JavaScript Folders" description="Show the Folders view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MGM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.showRulerContextMenu" commandName="Show Ruler Context Menu" description="Show the context menu for the ruler" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MGc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.minimizePart" commandName="Minimize Active View or Editor" description="Minimizes the active view or editor" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MGs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.ToggleMethodBreakpoint" commandName="Toggle Method Breakpoint" description="Creates or removes a method breakpoint" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.workspace" commandName="Write Access in Workspace" description="Search for write references to the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.activateSelectedTask" commandName="Activate Selected Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.part.nextPage" commandName="Next Page" description="Switch to the next page" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.delete.line.to.beginning" commandName="Delete to Beginning of Line" description="Delete to the beginning of a line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.backwardHistory" commandName="Backward History" description="Move backward in the editor navigation history" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.swap.mark" commandName="Swap Mark" description="Swap the mark with the cursor position" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.goto.previous.member" commandName="Go to Previous Member" description="Move the caret to the previous member of the compilation unit" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.commons.ui.command.AddRepository" commandName="Add Repository" category="_Z53z0s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MI89SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteCurrentAction" commandName="Execute Current Text" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.connectivity.commands.showcategory" commandName="Show Category" description="Show Category" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.replaceWithRevision" commandName="Replace With Revision" description="Replace with Revision on CVS Server" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MJs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.pagedesigner.design" commandName="Graphical Designer" category="_Z53z289SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MJ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.buildProject" commandName="Build Project" description="Build the selected project" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MKM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.antShortcut.run" commandName="Run Ant Build" description="Run Ant Build" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MKc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.compareWithRevision" commandName="Compare With Revision" description="Compare with Revision on CVS Server" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MKs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.add.block.comment" commandName="Add Block Comment" description="Add Block Comment" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MK89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.surround.with.try.catch" commandName="Surround with try/catch Block" description="Surround the selected text with a try/catch block" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MLM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.showSystemMenu" commandName="Show System Menu" description="Show the system menu" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MLc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.select.enclosing" commandName="Select Enclosing Element" description="Expand selection to include enclosing element" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MLs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.lowerCase" commandName="To Lower Case" description="Changes the selection to lower case" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ML89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.self.encapsulate.field" commandName="Encapsulate Field" description="Create getting and setting methods for the field and use only those to access the field" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MMM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.pageDown" commandName="Select Page Down" description="Select to the bottom of the page" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MMc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.newRendering" commandName="New Rendering" description="Add a new rendering." category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MMs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.discovery.commands.ShowBundleCatalog" commandName="Show Bundle Catalog" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53MM89SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.discovery.commands.DirectoryParameter" name="Directory URL"/>
- <parameters xmi:id="_Z53MNM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.discovery.commands.TagsParameter" name="Tags"/>
+ <commands xmi:id="_emuG-erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.navigate.open.type" commandName="Open Type" description="Open a type in a Java editor" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG-urNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsp.ui.refactor.rename" commandName="Rename" description="Rename a Java Element" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG--rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.open.file.from.source" commandName="Open Selection" description="Open an editor on the selected link" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG_OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.previousPerspective" commandName="Previous Perspective" description="Switch to the previous perspective" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG_erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.junitShortcut.debug" commandName="Debug JUnit Test" description="Debug JUnit Test" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG_urNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.closeProject" commandName="Close Project" description="Close the selected project" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuG_-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.task.clearContext" commandName="Clear Context" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuHAOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.assignParamToField.assist" commandName="Quick Assist - Assign parameter to field" description="Invokes quick assist and selects 'Assign parameter to field'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuHAerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskUnread" commandName="Mark Task Unread" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuHAurNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.commitAll" commandName="Commit All Outgoing Changes" description="Commit all outgoing changes to the repository" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuHA-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.addImport" commandName="Quick Fix - Add import" description="Invokes quick assist and selects 'Add import'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuHBOrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.cvsPerspective" commandName="CVS Repository Exploring" description="Open the CVS Repository Exploring Perspective" category="_em0NyurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut8OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.folding.expand" commandName="Expand" description="Expands the folded region at the current selection" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut8erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.junitShortcut.rerunLast" commandName="Rerun JUnit Test" description="Rerun JUnit Test" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut8urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.callhierarchy.view" commandName="JavaScript Call Hierarchy" description="Show the Call Hierarchy view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut8-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.navigate.java.open.structure" commandName="Open Structure" description="Show the structure of the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut9OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.working.set" commandName="Read Access in Working Set" description="Search for read references to the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut9erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.JavadocView" commandName="Documentation" description="Show the JavaScript Documentation view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut9urNEeSOidyff_nu0w" elementId="org.eclipse.rse.shells.ui.actions.LaunchShellCommand" commandName="Launch Shell" category="_em0N1urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut9-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.lineStart" commandName="Line Start" description="Go to the start of the line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut-OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsd.ui.refactor.rename.element" commandName="&amp;Rename XSD element" description="Rename XSD element" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut-erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.gotoTest" commandName="Referring Tests" description="Referring Tests" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut-urNEeSOidyff_nu0w" elementId="org.eclipse.help.ui.closeTray" commandName="Close User Assistance Tray" description="Close the user assistance tray containing context help information and cheat sheets." category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut--rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.working.set" commandName="Declaration in Working Set" description="Search for declarations of the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut_OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.properties" commandName="Properties" description="Display the properties of the selected item's project " category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut_erNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode" commandName="Toggle Block Selection" description="Toggle block / column selection in the current text editor" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut_urNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.save" commandName="Save" description="Save the current contents" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emut_-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.checkout" commandName="Checkout from CVS" description="Checkout from CVS" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuAOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.task.copyContext" commandName="Copy Context" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuAerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implementors.in.project" commandName="Implementors in Project" description="Search for implementors of the selected interface in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuAurNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.closePart" commandName="Close Part" description="Close the active workbench part" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuA-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.ToggleWatchpoint" commandName="Toggle Watchpoint" description="Creates or removes a watchpoint" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuBOrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.compareWithRemote" commandName="Compare With Latest from Repository" description="Compare with Content on CVS Server" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuBerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.open.type.hierarchy" commandName="Open Type Hierarchy" description="Open a type hierarchy on the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuBurNEeSOidyff_nu0w" elementId="org.eclipse.ltk.ui.refactor.apply.refactoring.script" commandName="Apply Script" description="Perform refactorings from a refactoring script on the local workspace" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuB-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.infer.type.arguments" commandName="Infer Generic Type Arguments" description="Infer type arguments for references to generic classes and remove unnecessary casts" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuCOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.viewSource.command" commandName="View Unformatted Text" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuCerNEeSOidyff_nu0w" elementId="org.eclipse.gef.zoom_in" commandName="Zoom In" description="Zoom In" category="_em0N7OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuCurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.correction.assist.proposals" commandName="Quick Fix" description="Suggest possible fixes for a problem" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuC-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.editors.revisions.rendering.cycle" commandName="Cycle Revision Coloring Mode" description="Cycles through the available coloring modes for revisions" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuDOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.Watch" commandName="Watch" description="Create new watch expression" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuDerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.PackagesView" commandName="JavaScript Folders" description="Show the Folders view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuDurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.showRulerContextMenu" commandName="Show Ruler Context Menu" description="Show the context menu for the ruler" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuD-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.minimizePart" commandName="Minimize Active View or Editor" description="Minimizes the active view or editor" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuEOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.ToggleMethodBreakpoint" commandName="Toggle Method Breakpoint" description="Creates or removes a method breakpoint" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuEerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.workspace" commandName="Write Access in Workspace" description="Search for write references to the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuEurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.activateSelectedTask" commandName="Activate Selected Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuE-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.part.nextPage" commandName="Next Page" description="Switch to the next page" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuFOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.delete.line.to.beginning" commandName="Delete to Beginning of Line" description="Delete to the beginning of a line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuFerNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.backwardHistory" commandName="Backward History" description="Move backward in the editor navigation history" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuFurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.swap.mark" commandName="Swap Mark" description="Swap the mark with the cursor position" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuF-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.goto.previous.member" commandName="Go to Previous Member" description="Move the caret to the previous member of the compilation unit" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuGOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.commons.ui.command.AddRepository" commandName="Add Repository" category="_em0N5urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuGerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteCurrentAction" commandName="Execute Current Text" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuGurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.connectivity.commands.showcategory" commandName="Show Category" description="Show Category" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuG-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.replaceWithRevision" commandName="Replace With Revision" description="Replace with Revision on CVS Server" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuHOrNEeSOidyff_nu0w" elementId="org.eclipse.jst.pagedesigner.design" commandName="Graphical Designer" category="_em0N7-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuHerNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.buildProject" commandName="Build Project" description="Build the selected project" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuHurNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.antShortcut.run" commandName="Run Ant Build" description="Run Ant Build" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuH-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.compareWithRevision" commandName="Compare With Revision" description="Compare with Revision on CVS Server" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuIOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.add.block.comment" commandName="Add Block Comment" description="Add Block Comment" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuIerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.surround.with.try.catch" commandName="Surround with try/catch Block" description="Surround the selected text with a try/catch block" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuIurNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.showSystemMenu" commandName="Show System Menu" description="Show the system menu" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuI-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.select.enclosing" commandName="Select Enclosing Element" description="Expand selection to include enclosing element" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuJOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.lowerCase" commandName="To Lower Case" description="Changes the selection to lower case" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuJerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.self.encapsulate.field" commandName="Encapsulate Field" description="Create getting and setting methods for the field and use only those to access the field" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuJurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.pageDown" commandName="Select Page Down" description="Select to the bottom of the page" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuJ-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.newRendering" commandName="New Rendering" description="Add a new rendering." category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuKOrNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.discovery.commands.ShowBundleCatalog" commandName="Show Bundle Catalog" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emuuKerNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.discovery.commands.DirectoryParameter" name="Directory URL"/>
+ <parameters xmi:id="_emuuKurNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.discovery.commands.TagsParameter" name="Tags"/>
</commands>
- <commands xmi:id="_Z53MNc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.navigate.open.type.in.hierarchy" commandName="Open Type in Hierarchy" description="Open a type in the type hierarchy view" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MNs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.TypeHierarchy" commandName="JavaScript Type Hierarchy" description="Show the Type Hierarchy view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MN89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.open.hyperlink" commandName="Open Hyperlink" description="Opens the hyperlink at the caret location or opens a chooser if more than one hyperlink is available" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MOM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.openLocalFile" commandName="Open File..." description="Open a file" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MOc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.convertJavaGenerators" commandName="Java Generators..." category="_Z53zy89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MOs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.selectPreviousChange" commandName="Select Previous Change" description="Select Previous Change" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MO89SEeSV1Mx9A3xekQ" elementId="org.eclipse.gef.zoom_out" commandName="Zoom Out" description="Zoom Out" category="_Z53z2M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly" commandName="Show Selected Element Only" description="Show Selected Element Only" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.wordPrevious" commandName="Select Previous Word" description="Select the previous word" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ToggleCoolbarAction" commandName="Toggle Toolbar Visibility" description="Toggles the visibility of the window toolbar" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.rename.element" commandName="Rename - Refactoring " description="Rename the selected element" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.addAllPluginsToJavaSearch" commandName="Add All Plug-ins to Java Search" description="Adds all plug-ins in the target platform to java search" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.unimplemented.constructors" commandName="Generate Constructors from Superclass" description="Evaluate and add constructors from superclass" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.AddExceptionBreakpoint" commandName="Add Java Exception Breakpoint" description="Add a Java exception breakpoint" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MQ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.branch" commandName="Branch" description="Branch" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MRM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.interest.increment" commandName="Make Landmark" description="Make Landmark" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MRc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.openProject" commandName="Open Project" description="Open a project" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MRs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.cut" commandName="Cut" description="Cut the selection to the clipboard" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MR89SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.runAction" commandName="Run" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MSM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.moveLineDown" commandName="Move Lines Down" description="Moves the selected lines down" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MSc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.findReplace" commandName="Find and Replace" description="Find and replace text" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MSs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.StepIntoSelection" commandName="Step Into Selection" description="Step into the current selected statement" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MS89SEeSV1Mx9A3xekQ" elementId="org.eclipse.quickdiff.toggle" commandName="Quick Diff Toggle" description="Toggles quick diff information display on the line number ruler" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MTM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.copyLeftToRight" commandName="Copy from Left to Right" description="Copy Current Change from Left to Right" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MTc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.new.subtask" commandName="New Subtask" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MTs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.applyPatch" commandName="Apply Patch..." description="Apply a patch to one or more workspace projects." category="_Z53z189SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MT89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.views.XPathView.processor.xpathprocessor" commandName="XPath Processor" category="_Z53zu89SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53MUM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.commands.radioStateParameter" name="State" optional="false"/>
+ <commands xmi:id="_emuuK-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.navigate.open.type.in.hierarchy" commandName="Open Type in Hierarchy" description="Open a type in the type hierarchy view" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuLOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.TypeHierarchy" commandName="JavaScript Type Hierarchy" description="Show the Type Hierarchy view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuLerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.open.hyperlink" commandName="Open Hyperlink" description="Opens the hyperlink at the caret location or opens a chooser if more than one hyperlink is available" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuLurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.openLocalFile" commandName="Open File..." description="Open a file" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuL-rNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.convertJavaGenerators" commandName="Java Generators..." category="_em0N3-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuMOrNEeSOidyff_nu0w" elementId="org.eclipse.compare.selectPreviousChange" commandName="Select Previous Change" description="Select Previous Change" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuMerNEeSOidyff_nu0w" elementId="org.eclipse.gef.zoom_out" commandName="Zoom Out" description="Zoom Out" category="_em0N7OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuMurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly" commandName="Show Selected Element Only" description="Show Selected Element Only" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emuuM-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.wordPrevious" commandName="Select Previous Word" description="Select the previous word" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVAOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.ToggleCoolbarAction" commandName="Toggle Toolbar Visibility" description="Toggles the visibility of the window toolbar" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVAerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.rename.element" commandName="Rename - Refactoring " description="Rename the selected element" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVAurNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.addAllPluginsToJavaSearch" commandName="Add All Plug-ins to Java Search" description="Adds all plug-ins in the target platform to java search" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVA-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.add.unimplemented.constructors" commandName="Generate Constructors from Superclass" description="Evaluate and add constructors from superclass" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVBOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.AddExceptionBreakpoint" commandName="Add Java Exception Breakpoint" description="Add a Java exception breakpoint" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVBerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.branch" commandName="Branch" description="Branch" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVBurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.interest.increment" commandName="Make Landmark" description="Make Landmark" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVB-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.openProject" commandName="Open Project" description="Open a project" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVCOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.cut" commandName="Cut" description="Cut the selection to the clipboard" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVCerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.runAction" commandName="Run" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVCurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.moveLineDown" commandName="Move Lines Down" description="Moves the selected lines down" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVC-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.findReplace" commandName="Find and Replace" description="Find and replace text" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVDOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.StepIntoSelection" commandName="Step Into Selection" description="Step into the current selected statement" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVDerNEeSOidyff_nu0w" elementId="org.eclipse.quickdiff.toggle" commandName="Quick Diff Toggle" description="Toggles quick diff information display on the line number ruler" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVDurNEeSOidyff_nu0w" elementId="org.eclipse.compare.copyLeftToRight" commandName="Copy from Left to Right" description="Copy Current Change from Left to Right" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVD-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.new.subtask" commandName="New Subtask" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVEOrNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.applyPatch" commandName="Apply Patch..." description="Apply a patch to one or more workspace projects." category="_em0N6-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVEerNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.views.XPathView.processor.xpathprocessor" commandName="XPath Processor" category="_em0Nz-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emvVEurNEeSOidyff_nu0w" elementId="org.eclipse.ui.commands.radioStateParameter" name="State" optional="false"/>
</commands>
- <commands xmi:id="_Z53MUc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ltk.ui.refactoring.commands.moveResources" commandName="Move Resources" description="Move the selected resources and notify LTK participants." category="_Z53z389SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MUs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.toggleInsertMode" commandName="Toggle Insert Mode" description="Toggle insert mode" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MU89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.open.editor" commandName="Open Declaration" description="Open an editor on the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MVM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.generate.constructor.using.fields" commandName="Generate Constructor using Fields" description="Choose fields to initialize and constructor from superclass to call " category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MVc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.commands.showElementInPackageView" commandName="Show JavaScript Element in Script Explorer" description="Select JavaScript element in the Script Explorer view" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53MVs9SEeSV1Mx9A3xekQ" elementId="elementRef" name="JavaScript element reference" typeId="org.eclipse.wst.jsdt.ui.commands.javaElementReference" optional="false"/>
+ <commands xmi:id="_emvVE-rNEeSOidyff_nu0w" elementId="org.eclipse.ltk.ui.refactoring.commands.moveResources" commandName="Move Resources" description="Move the selected resources and notify LTK participants." category="_em0N8-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVFOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.toggleInsertMode" commandName="Toggle Insert Mode" description="Toggle insert mode" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVFerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.open.editor" commandName="Open Declaration" description="Open an editor on the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVFurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.generate.constructor.using.fields" commandName="Generate Constructor using Fields" description="Choose fields to initialize and constructor from superclass to call " category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVF-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.commands.showElementInPackageView" commandName="Show JavaScript Element in Script Explorer" description="Select JavaScript element in the Script Explorer view" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emvVGOrNEeSOidyff_nu0w" elementId="elementRef" name="JavaScript element reference" typeId="org.eclipse.wst.jsdt.ui.commands.javaElementReference" optional="false"/>
</commands>
- <commands xmi:id="_Z53MV89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.pagedesigner.horizotal" commandName="Horizontal Layout" category="_Z53z289SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MWM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.line" commandName="Go to Line" description="Go to a specified line of text" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MWc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.nextSubTab" commandName="Next Sub-Tab" description="Switch to the next sub-tab" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MWs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.common.project.facet.ui.ConvertProjectToFacetedForm" commandName="Convert to Faceted Form..." category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MW89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.columnPrevious" commandName="Previous Column" description="Go to the previous column" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MXM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar" commandName="Run Last Launched External Tool" description="Runs the last launched external Tool" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MXc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.openPluginArtifact" commandName="Open Plug-in Artifact" description="Open a plug-in artifact in the manifest editor" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MXs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.quick.format" commandName="Format Element" description="Format enclosing text element" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MX89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.remove.block.comment" commandName="Remove Block Comment" description="Remove Block Comment" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MYM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.addBookmark" commandName="Add Bookmark" description="Add a bookmark" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MYc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.move.element" commandName="Move - Refactoring " description="Move the selected element to a new location" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MYs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.task.clearOutgoing" commandName="Clear Outgoing Changes" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MY89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.lineStart" commandName="Select Line Start" description="Select to the beginning of the line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MZM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.cut.line.to.end" commandName="Cut to End of Line" description="Cut to the end of a line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MZc9SEeSV1Mx9A3xekQ" elementId="refresh.schema.editor.action.id" commandName="Refresh from Server" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MZs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.task.retrieveContext" commandName="Retrieve Context" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MZ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.MembersView" commandName="JavaScript Members" description="Show the Members view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MaM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.sdk.update" commandName="Check for Updates" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mac9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.findIncrementalReverse" commandName="Incremental Find Reverse" description="Incremental find reverse" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mas9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.commands.openElementInEditor" commandName="Open JavaScript Element" description="Open a JavaScript element in its editor" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53Ma89SEeSV1Mx9A3xekQ" elementId="elementRef" name="JavaScript element reference" typeId="org.eclipse.wst.jsdt.ui.commands.javaElementReference" optional="false"/>
+ <commands xmi:id="_emvVGerNEeSOidyff_nu0w" elementId="org.eclipse.jst.pagedesigner.horizotal" commandName="Horizontal Layout" category="_em0N7-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVGurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.line" commandName="Go to Line" description="Go to a specified line of text" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVG-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.nextSubTab" commandName="Next Sub-Tab" description="Switch to the next sub-tab" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVHOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.common.project.facet.ui.ConvertProjectToFacetedForm" commandName="Convert to Faceted Form..." category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVHerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.columnPrevious" commandName="Previous Column" description="Go to the previous column" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVHurNEeSOidyff_nu0w" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar" commandName="Run Last Launched External Tool" description="Runs the last launched external Tool" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVH-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.openPluginArtifact" commandName="Open Plug-in Artifact" description="Open a plug-in artifact in the manifest editor" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVIOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.quick.format" commandName="Format Element" description="Format enclosing text element" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVIerNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.remove.block.comment" commandName="Remove Block Comment" description="Remove Block Comment" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVIurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.addBookmark" commandName="Add Bookmark" description="Add a bookmark" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVI-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.move.element" commandName="Move - Refactoring " description="Move the selected element to a new location" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVJOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.task.clearOutgoing" commandName="Clear Outgoing Changes" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVJerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.lineStart" commandName="Select Line Start" description="Select to the beginning of the line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVJurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.cut.line.to.end" commandName="Cut to End of Line" description="Cut to the end of a line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVJ-rNEeSOidyff_nu0w" elementId="refresh.schema.editor.action.id" commandName="Refresh from Server" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVKOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.task.retrieveContext" commandName="Retrieve Context" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVKerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.MembersView" commandName="JavaScript Members" description="Show the Members view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVKurNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.sdk.update" commandName="Check for Updates" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVK-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.findIncrementalReverse" commandName="Incremental Find Reverse" description="Incremental find reverse" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVLOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.commands.openElementInEditor" commandName="Open JavaScript Element" description="Open a JavaScript element in its editor" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emvVLerNEeSOidyff_nu0w" elementId="elementRef" name="JavaScript element reference" typeId="org.eclipse.wst.jsdt.ui.commands.javaElementReference" optional="false"/>
</commands>
- <commands xmi:id="_Z53MbM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.rebuildAll" commandName="Rebuild All" description="Rebuild all projects" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mbc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.result.removeInstance" commandName="Remove Result" category="_Z53zys9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mbs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.move.inner.to.top.level" commandName="Convert Member Type to Top Level" description="Convert member type to top level" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mb89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.assignToField.assist" commandName="Quick Assist - Assign to var" description="Invokes quick assist and selects 'Assign to var'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53McM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.generate.hashcode.equals" commandName="Generate hashCode() and equals()" description="Generates hashCode() and equals() functions for the type" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mcc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.activateEditor" commandName="Activate Editor" description="Activate the editor" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mcs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.organize.imports" commandName="Organize Imports" description="Evaluate all required imports and replace the current imports" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mc89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.navigate.java.open.structure" commandName="Open Structure" description="Show the structure of the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MdM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.copyAllRightToLeft" commandName="Copy All from Right to Left" description="Copy All Changes from Right to Left" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mdc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.generate.javadoc" commandName="Generate Javadoc" description="Generates Javadoc for a selectable set of Java resources" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mds9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.working.set" commandName="Declaration in Working Set" description="Search for declarations of the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Md89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.launchShortcut.run" commandName="Run on Server" description="Run the current selection on a server" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MeM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.closeUnrelatedProjects" commandName="Close Unrelated Projects" description="Close unrelated projects" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mec9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.lineDown" commandName="Line Down" description="Go down one line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mes9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.ignoreWhiteSpace" commandName="Ignore White Space" description="Ignore white space where applicable" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Me89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.ToggleBreakpoint" commandName="Toggle Breakpoint" description="Creates or removes a breakpoint" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MfM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.previousTab" commandName="Previous Tab" description="Switch to the previous tab" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mfc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.goToNextUnread" commandName="Go To Next Unread Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mfs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition" commandName="Last Edit Location" description="Last edit location" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mf89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.toggleMemoryMonitorsPane" commandName="Toggle Memory Monitors Pane" description="Toggle visibility of the Memory Monitors Pane" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MgM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.showToolTip" commandName="Show Tooltip Description" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mgc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.openSelectedTask" commandName="Open Selected Task" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mgs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.assignToLocal.assist" commandName="Quick Assist - Assign to local variable" description="Invokes quick assist and selects 'Assign to local variable'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mg89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.ignore" commandName="Add to .cvsignore" description="Ignore the Selected Resources when Synchronizing" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MhM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.copyBuildIdCommand" commandName="Copy Build Id To Clipboard" description="Copies the build id to the clipboard." category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mhc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.dialogs.openInputDialog" commandName="Open Input Dialog" description="Open an Input Dialog" category="_Z53zz89SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53Mhs9SEeSV1Mx9A3xekQ" elementId="title" name="Title"/>
- <parameters xmi:id="_Z53Mh89SEeSV1Mx9A3xekQ" elementId="message" name="Message"/>
- <parameters xmi:id="_Z53MiM9SEeSV1Mx9A3xekQ" elementId="initialValue" name="Initial Value"/>
- <parameters xmi:id="_Z53Mic9SEeSV1Mx9A3xekQ" elementId="cancelReturns" name="Return Value on Cancel"/>
+ <commands xmi:id="_emvVLurNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.rebuildAll" commandName="Rebuild All" description="Rebuild all projects" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVL-rNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.result.removeInstance" commandName="Remove Result" category="_em0N3urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVMOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.move.inner.to.top.level" commandName="Convert Member Type to Top Level" description="Convert member type to top level" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVMerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.assignToField.assist" commandName="Quick Assist - Assign to var" description="Invokes quick assist and selects 'Assign to var'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVMurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.generate.hashcode.equals" commandName="Generate hashCode() and equals()" description="Generates hashCode() and equals() functions for the type" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVM-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.activateEditor" commandName="Activate Editor" description="Activate the editor" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVNOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.organize.imports" commandName="Organize Imports" description="Evaluate all required imports and replace the current imports" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVNerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.navigate.java.open.structure" commandName="Open Structure" description="Show the structure of the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVNurNEeSOidyff_nu0w" elementId="org.eclipse.compare.copyAllRightToLeft" commandName="Copy All from Right to Left" description="Copy All Changes from Right to Left" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVN-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.generate.javadoc" commandName="Generate Javadoc" description="Generates Javadoc for a selectable set of Java resources" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVOOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.working.set" commandName="Declaration in Working Set" description="Search for declarations of the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVOerNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.launchShortcut.run" commandName="Run on Server" description="Run the current selection on a server" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVOurNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.closeUnrelatedProjects" commandName="Close Unrelated Projects" description="Close unrelated projects" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVO-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.lineDown" commandName="Line Down" description="Go down one line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVPOrNEeSOidyff_nu0w" elementId="org.eclipse.compare.ignoreWhiteSpace" commandName="Ignore White Space" description="Ignore white space where applicable" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVPerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.ToggleBreakpoint" commandName="Toggle Breakpoint" description="Creates or removes a breakpoint" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVPurNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.previousTab" commandName="Previous Tab" description="Switch to the previous tab" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVP-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.goToNextUnread" commandName="Go To Next Unread Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVQOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition" commandName="Last Edit Location" description="Last edit location" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVQerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.toggleMemoryMonitorsPane" commandName="Toggle Memory Monitors Pane" description="Toggle visibility of the Memory Monitors Pane" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVQurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.showToolTip" commandName="Show Tooltip Description" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVQ-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.openSelectedTask" commandName="Open Selected Task" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVROrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.assignToLocal.assist" commandName="Quick Assist - Assign to local variable" description="Invokes quick assist and selects 'Assign to local variable'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVRerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.ignore" commandName="Add to .cvsignore" description="Ignore the Selected Resources when Synchronizing" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVRurNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.copyBuildIdCommand" commandName="Copy Build Id To Clipboard" description="Copies the build id to the clipboard." category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVR-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.dialogs.openInputDialog" commandName="Open Input Dialog" description="Open an Input Dialog" category="_em0N4-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emvVSOrNEeSOidyff_nu0w" elementId="title" name="Title"/>
+ <parameters xmi:id="_emvVSerNEeSOidyff_nu0w" elementId="message" name="Message"/>
+ <parameters xmi:id="_emvVSurNEeSOidyff_nu0w" elementId="initialValue" name="Initial Value"/>
+ <parameters xmi:id="_emvVS-rNEeSOidyff_nu0w" elementId="cancelReturns" name="Return Value on Cancel"/>
</commands>
- <commands xmi:id="_Z53Mis9SEeSV1Mx9A3xekQ" elementId="revert.schema.editor.action.id" commandName="Revert Object" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mi89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.hierarchy" commandName="Declaration in Hierarchy" description="Search for declarations of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MjM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.attachment.open" commandName="Open Attachment" category="_Z53zyM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mjc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.properties.NewPropertySheetCommand" commandName="Properties" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mjs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.antShortcut.debug" commandName="Debug Ant Build" description="Debug Ant Build" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mj89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.return.continue.targets" commandName="Search break/continue Target Occurrences in File" description="Search for break/continue target occurrences of a selected target name" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MkM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.implementors.in.workspace" commandName="Implementors in Workspace" description="Search for implementors of the selected interface" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mkc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.navigate.gotopackage" commandName="Go to Folder" description="Go to Folder" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mks9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.collapseAll" commandName="Collapse All" description="Collapse the current tree" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mk89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.inlineLocal.assist" commandName="Quick Assist - Inline local variable" description="Invokes quick assist and selects 'Inline local variable'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MlM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.folding.toggle" commandName="Toggle Folding" description="Toggles folding in the current editor" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mlc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.referencedFileErrors" commandName="Show Details..." description="Show Details..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mls9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.move.inner.to.top.level" commandName="Move Type to New File" description="Move Type to New File" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ml89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.commands.showElementInTypeHierarchyView" commandName="Show JavaScript Element Type Hierarchy" description="Show a JavaScript element in the Type Hierarchy view" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53MmM9SEeSV1Mx9A3xekQ" elementId="elementRef" name="JavaScript element reference" typeId="org.eclipse.wst.jsdt.ui.commands.javaElementReference" optional="false"/>
+ <commands xmi:id="_emvVTOrNEeSOidyff_nu0w" elementId="revert.schema.editor.action.id" commandName="Revert Object" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVTerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.declarations.in.hierarchy" commandName="Declaration in Hierarchy" description="Search for declarations of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVTurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.attachment.open" commandName="Open Attachment" category="_em0N3OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVT-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.properties.NewPropertySheetCommand" commandName="Properties" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVUOrNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.antShortcut.debug" commandName="Debug Ant Build" description="Debug Ant Build" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVUerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.return.continue.targets" commandName="Search break/continue Target Occurrences in File" description="Search for break/continue target occurrences of a selected target name" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVUurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.implementors.in.workspace" commandName="Implementors in Workspace" description="Search for implementors of the selected interface" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVU-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.navigate.gotopackage" commandName="Go to Folder" description="Go to Folder" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVVOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.collapseAll" commandName="Collapse All" description="Collapse the current tree" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVVerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.inlineLocal.assist" commandName="Quick Assist - Inline local variable" description="Invokes quick assist and selects 'Inline local variable'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVVurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.folding.toggle" commandName="Toggle Folding" description="Toggles folding in the current editor" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVV-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.referencedFileErrors" commandName="Show Details..." description="Show Details..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVWOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.move.inner.to.top.level" commandName="Move Type to New File" description="Move Type to New File" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVWerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.commands.showElementInTypeHierarchyView" commandName="Show JavaScript Element Type Hierarchy" description="Show a JavaScript element in the Type Hierarchy view" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emvVWurNEeSOidyff_nu0w" elementId="elementRef" name="JavaScript element reference" typeId="org.eclipse.wst.jsdt.ui.commands.javaElementReference" optional="false"/>
</commands>
- <commands xmi:id="_Z53Mmc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.quick_outline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mms9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.comment" commandName="Comment" description="Turn the selected lines into Java comments" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mm89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implementors.in.workspace" commandName="Implementors in Workspace" description="Search for implementors of the selected interface" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MnM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.addNonNLS" commandName="Quick Fix - Add non-NLS tag" description="Invokes quick assist and selects 'Add non-NLS tag'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mnc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.publish" commandName="Publish" description="Publish to server" category="_Z53zzs9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mns9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.format" commandName="Format" description="Format the selected text" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mn89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.Display" commandName="Display" description="Display result of evaluating selected text" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MoM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.revert" commandName="Revert" description="Revert to the last saved state" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Moc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.folding.collapseMembers" commandName="Collapse Members" description="Collapse all members" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mos9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.introduce.factory" commandName="Introduce Factory" description="Introduce a factory function to encapsulate invocation of the selected constructor" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mo89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.gotoBreadcrumb" commandName="Show In Breadcrumb" description="Shows the Java editor breadcrumb and sets the keyboard focus into it" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MpM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.scroll.lineDown" commandName="Scroll Line Down" description="Scroll down one line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mpc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.clean.up" commandName="Clean Up" description="Solve problems and improve code style on selected resources" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mps9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.jsp.ui.refactor.move" commandName="Move" description="Move a Java Element to another package" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mp89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto" commandName="Toggle Active Folding" description="Toggle Active Folding" category="_Z53zzc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MqM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.redo" commandName="Redo" description="Redo the last operation" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mqc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.StepInto" commandName="Step Into" description="Step into" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mqs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.join.lines" commandName="Join Lines" description="Join lines of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mq89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.scroll.lineUp" commandName="Scroll Line Up" description="Scroll up one line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MrM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.externalize.strings" commandName="Externalize Strings" description="Finds all strings that are not externalized and moves them into a separate property file" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mrc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.TerminateAndRelaunch" commandName="Terminate and Relaunch" description="Terminate and Relaunch" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mrs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.pull.up" commandName="Pull Up" description="Move members to a superclass" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mr89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.print" commandName="Print" description="Print" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MsM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.forwardHistory" commandName="Forward History" description="Move forward in the editor navigation history" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Msc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.breakpoint.properties" commandName="Java Breakpoint Properties" description="View and edit the properties for a given Java breakpoint" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mss9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.pageUp" commandName="Select Page Up" description="Select to the top of the page" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ms89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.SynchronizeAll" commandName="Synchronize Changed" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MtM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.internationalize" commandName="Internationalize Plug-ins" description="Sets up internationalization for a plug-in" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mtc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.add.import" commandName="Add Import" description="Create import statement on selection" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mts9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.extract.interface" commandName="Extract Interface" description="Extract a set of members into a new interface and try to use the new interface" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mt89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.dynamicHelp" commandName="Dynamic Help" description="Open the dynamic help" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MuM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.run" commandName="Run" description="Run server" category="_Z53zzs9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Muc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.commit" commandName="Commit" description="Commit resources to the repository" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mus9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.saveToDatabaseAction" commandName="Save to Database" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mu89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.working.set" commandName="Read Access in Working Set" description="Search for read references to the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MvM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.persistentAttributeAddToXmlAndMap" commandName="Add Attribute to XML and Map..." category="_Z53zx89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mvc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.RunLast" commandName="Run" description="Launch in run mode" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mvs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.promote.local.variable" commandName="Convert Local Variable to Var" description="Convert a local variable to a var" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mv89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.copyLineUp" commandName="Duplicate Lines" description="Duplicates the selected lines and leaves the selection unchanged" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MwM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.views.XPathView.prefixes" commandName="&amp;Edit Namespace Prefixes" category="_Z53zu89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mwc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jaxb.eclipselink.ui.command.addEclipseLinkJaxbProperty" commandName="Add EclipseLink JAXB property" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mws9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.toggleCommentAction" commandName="Toggle Comment" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mw89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.addCast" commandName="Quick Fix - Add cast" description="Invokes quick assist and selects 'Add cast'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MxM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.push.down" commandName="Push Down" description="Move members to subclasses" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mxc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.refactor.quickMenu" commandName="Show Refactor Quick Menu" description="Shows the refactor quick menu" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mxs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.splitJoinVariableDeclaration.assist" commandName="Quick Assist - Split/Join variable declaration" description="Invokes quick assist and selects 'Split/Join variable declaration'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mx89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.removeFromWorkingSet" commandName="Remove From Working Set" description="Removes the selected object from a working set." category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MyM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.javaAppletShortcut.debug" commandName="Debug Java Applet" description="Debug Java Applet" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Myc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.localJavaShortcut.run" commandName="Run Java Application" description="Run Java Application" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mys9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskComplete" commandName="Mark Task Complete" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53My89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.showRulerAnnotationInformation" commandName="Show Ruler Annotation Tooltip" description="Displays annotation information for the caret line in a focused hover" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53MzM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.folding.collapse" commandName="Collapse" description="Collapses the folded region at the current selection" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mzc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.format" commandName="Format" description="Format the selected text" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mzs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.navigate.gotopackage" commandName="Go to Package" description="Go to Package" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Mz89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.structure.select.next" commandName="Select Next Element" description="Expand selection to include next sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M0M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.project" commandName="Write Access in Project" description="Search for write references to the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M0c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.result.terminate" commandName="Terminate Result" category="_Z53zys9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M0s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jaxb.ui.command.createPackageInfo" commandName="Create package-info.java" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M089SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.sdk.install" commandName="Install New Software..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M1M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.last" commandName="Restore Last Selection" description="Restore last selection" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M1c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.junitWorkbenchShortcut.run" commandName="Run JUnit Plug-in Test" description="Run JUnit Plug-in Test" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M1s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.nextView" commandName="Next View" description="Switch to the next view" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M189SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.buildLast" commandName="Repeat Working Set Build" description="Repeat the last working set build" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M2M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.addNonNLS" commandName="Quick Fix - Add non-NLS tag" description="Invokes quick assist and selects 'Add non-NLS tag'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M2c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.textStart" commandName="Text Start" description="Go to the beginning of the text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M2s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.junit.junitShortcut.run" commandName="Run JUnit Test" description="Run JUnit Test" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M289SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.properties" commandName="Properties" description="Display the properties of the selected item" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M3M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.openSearchDialog" commandName="Open Search Dialog" description="Open the Search dialog" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M3c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.exception.occurrences" commandName="Search Exception Occurrences in File" description="Search for exception occurrences of a selected exception type" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M3s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.actions.WatchCommand" commandName="Wa&amp;tch" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M389SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.openWorkspace" commandName="Switch Workspace" description="Open the workspace selection dialog" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M4M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.launchShortcut.debug" commandName="Debug on Server" description="Debug the current selection on a server" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M4c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.pull.up" commandName="Pull Up" description="Move members to a superclass" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M4s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.moveLineUp" commandName="Move Lines Up" description="Moves the selected lines up" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M489SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.configureFilters" commandName="Configure Contents..." description="Configure the filters to apply to the markers view" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M5M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.codegen.ecore.ui.Generate" commandName="Generate Code" description="Generate code for the EMF models in the workspace" category="_Z53zxs9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.uncomment" commandName="Uncomment" description="Uncomment the selected JavaScript comment lines" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M5s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.TypesView" commandName="JavaScript Types" description="Show the Types view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M589SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.toggle.comment" commandName="Toggle Comment" description="Toggle comment the selected lines" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M6M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.assignToField.assist" commandName="Quick Assist - Assign to field" description="Invokes quick assist and selects 'Assign to field'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M6c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.modify.method.parameters" commandName="Change Method Signature" description="Change method signature includes parameter names and parameter order" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M6s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.copyLineDown" commandName="Copy Lines" description="Duplicates the selected lines and moves the selection to the copy" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M689SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.find.broken.nls.keys" commandName="Find Broken Externalized Strings" description="Finds undefined, duplicate and unused externalized string keys in property files" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M7M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xsd.ui.refactor.renameTargetNamespace" commandName="Rename Target Namespace" description="Changes the target namespace of the schema" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M7c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.cleanup.document" commandName="Cleanup Document..." description="Cleanup document" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M7s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.toggleMarkOccurrences" commandName="Toggle Mark Occurrences" description="Toggles mark occurrences in JavaScript editors" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M789SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.uncomment" commandName="Uncomment" description="Uncomment the selected Java comment lines" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M8M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.remove.occurrence.annotations" commandName="Remove Occurrence Annotations" description="Removes the occurrence annotations from the current editor" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M8c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.addBlock.assist" commandName="Quick Assist - Replace statement with block" description="Invokes quick assist and selects 'Replace statement with block'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M8s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.wordNext" commandName="Next Word" description="Go to the next word" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M889SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.method" commandName="Extract Function" description="Extract a set of statements or an expression into a new function and use the new function" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M9M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.addLocation" commandName="Add Repository Location" description="Add a new CVS repository location" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M9c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.up" commandName="Up" description="Navigate up one level" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M9s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.parameter" commandName="Introduce Parameter" description="Introduce a new method parameter based on the selected expression" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M989SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.splitJoinVariableDeclaration.assist" commandName="Quick Assist - Split/Join variable declaration" description="Invokes quick assist and selects 'Split/Join variable declaration'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M-M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.refactor.migrate.jar" commandName="Migrate JAR File" description="Migrate a JAR File to a new version" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M-c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.introduce.parameter" commandName="Introduce Parameter" description="Introduce a new function parameter based on the selected expression" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M-s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.goto.next.member" commandName="Go to Next Member" description="Move the caret to the next member of the JavaScript file" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M-89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.find.broken.nls.keys" commandName="Find Broken Externalized Strings" description="Finds undefined, duplicate and unused externalized string keys in property files" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M_M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.openRemoteTask" commandName="Open Remote Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M_c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.hideShowEditors" commandName="Toggle Editor Area Visibility" description="Toggles the visibility of the editor area" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53M_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.closePerspective" commandName="Close Perspective" description="Close the current perspective" category="_Z53zuc9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53M_89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.closePerspective.perspectiveId" name="Perspective Id"/>
+ <commands xmi:id="_emvVW-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.quick_outline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVXOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.comment" commandName="Comment" description="Turn the selected lines into Java comments" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVXerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implementors.in.workspace" commandName="Implementors in Workspace" description="Search for implementors of the selected interface" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVXurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.addNonNLS" commandName="Quick Fix - Add non-NLS tag" description="Invokes quick assist and selects 'Add non-NLS tag'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVX-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.publish" commandName="Publish" description="Publish to server" category="_em0N4urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVYOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.format" commandName="Format" description="Format the selected text" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emvVYerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.Display" commandName="Display" description="Display result of evaluating selected text" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8EOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.revert" commandName="Revert" description="Revert to the last saved state" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8EerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.folding.collapseMembers" commandName="Collapse Members" description="Collapse all members" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8EurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.introduce.factory" commandName="Introduce Factory" description="Introduce a factory function to encapsulate invocation of the selected constructor" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8E-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.gotoBreadcrumb" commandName="Show In Breadcrumb" description="Shows the Java editor breadcrumb and sets the keyboard focus into it" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8FOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.scroll.lineDown" commandName="Scroll Line Down" description="Scroll down one line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8FerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.clean.up" commandName="Clean Up" description="Solve problems and improve code style on selected resources" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8FurNEeSOidyff_nu0w" elementId="org.eclipse.jst.jsp.ui.refactor.move" commandName="Move" description="Move a Java Element to another package" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8F-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto" commandName="Toggle Active Folding" description="Toggle Active Folding" category="_em0N4erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8GOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.redo" commandName="Redo" description="Redo the last operation" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8GerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.StepInto" commandName="Step Into" description="Step into" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8GurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.join.lines" commandName="Join Lines" description="Join lines of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8G-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.scroll.lineUp" commandName="Scroll Line Up" description="Scroll up one line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8HOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.externalize.strings" commandName="Externalize Strings" description="Finds all strings that are not externalized and moves them into a separate property file" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8HerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.TerminateAndRelaunch" commandName="Terminate and Relaunch" description="Terminate and Relaunch" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8HurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.pull.up" commandName="Pull Up" description="Move members to a superclass" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8H-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.print" commandName="Print" description="Print" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8IOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.forwardHistory" commandName="Forward History" description="Move forward in the editor navigation history" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8IerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.breakpoint.properties" commandName="Java Breakpoint Properties" description="View and edit the properties for a given Java breakpoint" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8IurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.pageUp" commandName="Select Page Up" description="Select to the top of the page" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8I-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.SynchronizeAll" commandName="Synchronize Changed" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8JOrNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.internationalize" commandName="Internationalize Plug-ins" description="Sets up internationalization for a plug-in" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8JerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.add.import" commandName="Add Import" description="Create import statement on selection" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8JurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.extract.interface" commandName="Extract Interface" description="Extract a set of members into a new interface and try to use the new interface" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8J-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.dynamicHelp" commandName="Dynamic Help" description="Open the dynamic help" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8KOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.run" commandName="Run" description="Run server" category="_em0N4urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8KerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.commit" commandName="Commit" description="Commit resources to the repository" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8KurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.saveToDatabaseAction" commandName="Save to Database" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8K-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.read.access.in.working.set" commandName="Read Access in Working Set" description="Search for read references to the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8LOrNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.persistentAttributeAddToXmlAndMap" commandName="Add Attribute to XML and Map..." category="_em0N2-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8LerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.RunLast" commandName="Run" description="Launch in run mode" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8LurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.promote.local.variable" commandName="Convert Local Variable to Var" description="Convert a local variable to a var" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8L-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.copyLineUp" commandName="Duplicate Lines" description="Duplicates the selected lines and leaves the selection unchanged" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8MOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.views.XPathView.prefixes" commandName="&amp;Edit Namespace Prefixes" category="_em0Nz-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8MerNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jaxb.eclipselink.ui.command.addEclipseLinkJaxbProperty" commandName="Add EclipseLink JAXB property" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8MurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.toggleCommentAction" commandName="Toggle Comment" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8M-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.addCast" commandName="Quick Fix - Add cast" description="Invokes quick assist and selects 'Add cast'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8NOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.push.down" commandName="Push Down" description="Move members to subclasses" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8NerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.refactor.quickMenu" commandName="Show Refactor Quick Menu" description="Shows the refactor quick menu" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8NurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.splitJoinVariableDeclaration.assist" commandName="Quick Assist - Split/Join variable declaration" description="Invokes quick assist and selects 'Split/Join variable declaration'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8N-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.removeFromWorkingSet" commandName="Remove From Working Set" description="Removes the selected object from a working set." category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8OOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.javaAppletShortcut.debug" commandName="Debug Java Applet" description="Debug Java Applet" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8OerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.localJavaShortcut.run" commandName="Run Java Application" description="Run Java Application" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8OurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskComplete" commandName="Mark Task Complete" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8O-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.showRulerAnnotationInformation" commandName="Show Ruler Annotation Tooltip" description="Displays annotation information for the caret line in a focused hover" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8POrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.folding.collapse" commandName="Collapse" description="Collapses the folded region at the current selection" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8PerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.format" commandName="Format" description="Format the selected text" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8PurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.navigate.gotopackage" commandName="Go to Package" description="Go to Package" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8P-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.structure.select.next" commandName="Select Next Element" description="Expand selection to include next sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8QOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.project" commandName="Write Access in Project" description="Search for write references to the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8QerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.result.terminate" commandName="Terminate Result" category="_em0N3urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8QurNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jaxb.ui.command.createPackageInfo" commandName="Create package-info.java" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8Q-rNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.sdk.install" commandName="Install New Software..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8ROrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.select.last" commandName="Restore Last Selection" description="Restore last selection" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8RerNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.junitWorkbenchShortcut.run" commandName="Run JUnit Plug-in Test" description="Run JUnit Plug-in Test" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8RurNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.nextView" commandName="Next View" description="Switch to the next view" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8R-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.buildLast" commandName="Repeat Working Set Build" description="Repeat the last working set build" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8SOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.addNonNLS" commandName="Quick Fix - Add non-NLS tag" description="Invokes quick assist and selects 'Add non-NLS tag'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8SerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.textStart" commandName="Text Start" description="Go to the beginning of the text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8SurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.junit.junitShortcut.run" commandName="Run JUnit Test" description="Run JUnit Test" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8S-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.properties" commandName="Properties" description="Display the properties of the selected item" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8TOrNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.openSearchDialog" commandName="Open Search Dialog" description="Open the Search dialog" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8TerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.exception.occurrences" commandName="Search Exception Occurrences in File" description="Search for exception occurrences of a selected exception type" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8TurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.actions.WatchCommand" commandName="Wa&amp;tch" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8T-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.openWorkspace" commandName="Switch Workspace" description="Open the workspace selection dialog" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8UOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.launchShortcut.debug" commandName="Debug on Server" description="Debug the current selection on a server" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8UerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.pull.up" commandName="Pull Up" description="Move members to a superclass" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8UurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.moveLineUp" commandName="Move Lines Up" description="Moves the selected lines up" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8U-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.configureFilters" commandName="Configure Contents..." description="Configure the filters to apply to the markers view" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8VOrNEeSOidyff_nu0w" elementId="org.eclipse.emf.codegen.ecore.ui.Generate" commandName="Generate Code" description="Generate code for the EMF models in the workspace" category="_em0N2urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8VerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.uncomment" commandName="Uncomment" description="Uncomment the selected JavaScript comment lines" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8VurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.TypesView" commandName="JavaScript Types" description="Show the Types view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8V-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.toggle.comment" commandName="Toggle Comment" description="Toggle comment the selected lines" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8WOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.assignToField.assist" commandName="Quick Assist - Assign to field" description="Invokes quick assist and selects 'Assign to field'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8WerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.modify.method.parameters" commandName="Change Method Signature" description="Change method signature includes parameter names and parameter order" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8WurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.copyLineDown" commandName="Copy Lines" description="Duplicates the selected lines and moves the selection to the copy" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8W-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.find.broken.nls.keys" commandName="Find Broken Externalized Strings" description="Finds undefined, duplicate and unused externalized string keys in property files" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8XOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.xsd.ui.refactor.renameTargetNamespace" commandName="Rename Target Namespace" description="Changes the target namespace of the schema" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8XerNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.cleanup.document" commandName="Cleanup Document..." description="Cleanup document" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8XurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.toggleMarkOccurrences" commandName="Toggle Mark Occurrences" description="Toggles mark occurrences in JavaScript editors" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8X-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.uncomment" commandName="Uncomment" description="Uncomment the selected Java comment lines" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8YOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.remove.occurrence.annotations" commandName="Remove Occurrence Annotations" description="Removes the occurrence annotations from the current editor" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8YerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.addBlock.assist" commandName="Quick Assist - Replace statement with block" description="Invokes quick assist and selects 'Replace statement with block'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8YurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.wordNext" commandName="Next Word" description="Go to the next word" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8Y-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.method" commandName="Extract Function" description="Extract a set of statements or an expression into a new function and use the new function" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8ZOrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.addLocation" commandName="Add Repository Location" description="Add a new CVS repository location" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8ZerNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.up" commandName="Up" description="Navigate up one level" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8ZurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.parameter" commandName="Introduce Parameter" description="Introduce a new method parameter based on the selected expression" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8Z-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.splitJoinVariableDeclaration.assist" commandName="Quick Assist - Split/Join variable declaration" description="Invokes quick assist and selects 'Split/Join variable declaration'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8aOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.refactor.migrate.jar" commandName="Migrate JAR File" description="Migrate a JAR File to a new version" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8aerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.introduce.parameter" commandName="Introduce Parameter" description="Introduce a new function parameter based on the selected expression" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8aurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.goto.next.member" commandName="Go to Next Member" description="Move the caret to the next member of the JavaScript file" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8a-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.find.broken.nls.keys" commandName="Find Broken Externalized Strings" description="Finds undefined, duplicate and unused externalized string keys in property files" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8bOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.openRemoteTask" commandName="Open Remote Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8berNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.hideShowEditors" commandName="Toggle Editor Area Visibility" description="Toggles the visibility of the editor area" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8burNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.closePerspective" commandName="Close Perspective" description="Close the current perspective" category="_em0NzerNEeSOidyff_nu0w">
+ <parameters xmi:id="_emv8b-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.closePerspective.perspectiveId" name="Perspective Id"/>
</commands>
- <commands xmi:id="_Z53NAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.rebuildProject" commandName="Rebuild Project" description="Rebuild the selected projects" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.modify.method.parameters" commandName="Change Function Signature" description="Change function signature includes parameter names and parameter order" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.organizeManifest" commandName="Organize Manifests" description="Cleans up plug-in manifest files" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.move" commandName="Move..." description="Move the selected item" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.goto.matching.bracket" commandName="Go to Matching Bracket" description="Moves the cursor to the matching bracket" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.renameInFile.assist" commandName="Quick Assist - Rename in file" description="Invokes quick assist and selects 'Rename in file'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.clear.mark" commandName="Clear Mark" description="Clear the mark" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.addTaskRepository" commandName="Add Task Repository..." category="_Z53z089SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53NCM9SEeSV1Mx9A3xekQ" elementId="connectorKind" name="Repository Type"/>
+ <commands xmi:id="_emv8cOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.rebuildProject" commandName="Rebuild Project" description="Rebuild the selected projects" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8cerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.modify.method.parameters" commandName="Change Function Signature" description="Change function signature includes parameter names and parameter order" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8curNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.organizeManifest" commandName="Organize Manifests" description="Cleans up plug-in manifest files" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8c-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.move" commandName="Move..." description="Move the selected item" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8dOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.goto.matching.bracket" commandName="Go to Matching Bracket" description="Moves the cursor to the matching bracket" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8derNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.renameInFile.assist" commandName="Quick Assist - Rename in file" description="Invokes quick assist and selects 'Rename in file'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8durNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.clear.mark" commandName="Clear Mark" description="Clear the mark" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8d-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.addTaskRepository" commandName="Add Task Repository..." category="_em0N5-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emv8eOrNEeSOidyff_nu0w" elementId="connectorKind" name="Repository Type"/>
</commands>
- <commands xmi:id="_Z53NCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.updateAll" commandName="Update All Incoming Changes" description="Update all incoming changes with new content from the repository" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.convertToHtmlCommand" commandName="Generate HTML" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.generate.tostring" commandName="Generate toString()" description="Generates the toString() method for the type" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.updateClasspath" commandName="Update Classpath" description="Updates the plug-in classpath from latest settings" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.OpenProfileConfigurations" commandName="Profile..." description="Open profile launch configuration dialog" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NDs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.open.external.javadoc" commandName="Open Attached Javadoc" description="Open the attached Javadoc of the selected element in a browser" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ND89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.source.quickMenu" commandName="Show Source Quick Menu" description="Shows the source quick menu" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.cheatsheets.openCheatSheet" commandName="Open Cheat Sheet" description="Open a Cheat Sheet." category="_Z53z2c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53NEc9SEeSV1Mx9A3xekQ" elementId="cheatSheetId" name="Identifier"/>
+ <commands xmi:id="_emv8eerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.updateAll" commandName="Update All Incoming Changes" description="Update all incoming changes with new content from the repository" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8eurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.convertToHtmlCommand" commandName="Generate HTML" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8e-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.generate.tostring" commandName="Generate toString()" description="Generates the toString() method for the type" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8fOrNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.updateClasspath" commandName="Update Classpath" description="Updates the plug-in classpath from latest settings" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8ferNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.OpenProfileConfigurations" commandName="Profile..." description="Open profile launch configuration dialog" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8furNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.open.external.javadoc" commandName="Open Attached Javadoc" description="Open the attached Javadoc of the selected element in a browser" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8f-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.source.quickMenu" commandName="Show Source Quick Menu" description="Shows the source quick menu" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8gOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.cheatsheets.openCheatSheet" commandName="Open Cheat Sheet" description="Open a Cheat Sheet." category="_em0N7erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emv8gerNEeSOidyff_nu0w" elementId="cheatSheetId" name="Identifier"/>
</commands>
- <commands xmi:id="_Z53NEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.saveAsTemplateAction" commandName="Save as Template" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NE89SEeSV1Mx9A3xekQ" elementId="org.eclipse.tm.terminal.command1" commandName="Terminal view insert" category="_Z53z2s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.assignParamToField.assist" commandName="Quick Assist - Assign parameter to var" description="Invokes quick assist and selects 'Assign parameter to var'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.contentAssist.contextInformation" commandName="Context Information" description="Show Context Information" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NFs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.project" commandName="Declaration in Project" description="Search for declarations of the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.browser.openBrowser" commandName="Open Browser" description="Opens the default web browser." category="_Z53zuc9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53NGM9SEeSV1Mx9A3xekQ" elementId="url" name="URL"/>
- <parameters xmi:id="_Z53NGc9SEeSV1Mx9A3xekQ" elementId="browserId" name="Browser Id"/>
- <parameters xmi:id="_Z53NGs9SEeSV1Mx9A3xekQ" elementId="name" name="Browser Name"/>
- <parameters xmi:id="_Z53NG89SEeSV1Mx9A3xekQ" elementId="tooltip" name="Browser Tooltip"/>
+ <commands xmi:id="_emv8gurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.saveAsTemplateAction" commandName="Save as Template" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8g-rNEeSOidyff_nu0w" elementId="org.eclipse.tm.terminal.command1" commandName="Terminal view insert" category="_em0N7urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8hOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.assignParamToField.assist" commandName="Quick Assist - Assign parameter to var" description="Invokes quick assist and selects 'Assign parameter to var'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8herNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.contentAssist.contextInformation" commandName="Context Information" description="Show Context Information" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8hurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.project" commandName="Declaration in Project" description="Search for declarations of the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8h-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.browser.openBrowser" commandName="Open Browser" description="Opens the default web browser." category="_em0NzerNEeSOidyff_nu0w">
+ <parameters xmi:id="_emv8iOrNEeSOidyff_nu0w" elementId="url" name="URL"/>
+ <parameters xmi:id="_emv8ierNEeSOidyff_nu0w" elementId="browserId" name="Browser Id"/>
+ <parameters xmi:id="_emv8iurNEeSOidyff_nu0w" elementId="name" name="Browser Name"/>
+ <parameters xmi:id="_emv8i-rNEeSOidyff_nu0w" elementId="tooltip" name="Browser Tooltip"/>
</commands>
- <commands xmi:id="_Z53NHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.generate.hashcode.equals" commandName="Generate hashCode() and equals()" description="Generates hashCode() and equals() methods for the type" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.indirection" commandName="Introduce Indirection" description="Introduce an indirection to encapsulate invocations of a selected method" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.navigate.gototype" commandName="Go to Type" description="Go to Type" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.convertToEclipseHelpCommand" commandName="Generate Eclipse Help (*.html and *-toc.xml)" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.columnNext" commandName="Select Next Column" description="Select the next column" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.goto.matching.bracket" commandName="Matching Character" description="Go to Matching Character" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.merge" commandName="Merge" description="Merge" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NI89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.upperCase" commandName="To Upper Case" description="Changes the selection to upper case" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.convertJavaQueries" commandName="Java Queries..." category="_Z53zy89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.localJavaShortcut.debug" commandName="Debug Java Application" description="Debug Java Application" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NJs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.hierarchy" commandName="Declaration in Hierarchy" description="Search for declarations of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NJ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.focus.view" commandName="Focus View" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53NKM9SEeSV1Mx9A3xekQ" elementId="viewId" name="View ID to Focus" optional="false"/>
+ <commands xmi:id="_emv8jOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.generate.hashcode.equals" commandName="Generate hashCode() and equals()" description="Generates hashCode() and equals() methods for the type" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8jerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.indirection" commandName="Introduce Indirection" description="Introduce an indirection to encapsulate invocations of a selected method" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emv8jurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.navigate.gototype" commandName="Go to Type" description="Go to Type" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjIOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.convertToEclipseHelpCommand" commandName="Generate Eclipse Help (*.html and *-toc.xml)" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjIerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.columnNext" commandName="Select Next Column" description="Select the next column" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjIurNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.goto.matching.bracket" commandName="Matching Character" description="Go to Matching Character" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjI-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.merge" commandName="Merge" description="Merge" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjJOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.upperCase" commandName="To Upper Case" description="Changes the selection to upper case" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjJerNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.convertJavaQueries" commandName="Java Queries..." category="_em0N3-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjJurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.localJavaShortcut.debug" commandName="Debug Java Application" description="Debug Java Application" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjJ-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.declarations.in.hierarchy" commandName="Declaration in Hierarchy" description="Search for declarations of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjKOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.focus.view" commandName="Focus View" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emwjKerNEeSOidyff_nu0w" elementId="viewId" name="View ID to Focus" optional="false"/>
</commands>
- <commands xmi:id="_Z53NKc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.DropToFrame" commandName="Drop to Frame" description="Drop to Frame" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NKs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.pagedesigner.source" commandName="Source Code" category="_Z53z289SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NK89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.wsdl.ui.refactor.rename.element" commandName="Rename WSDL component" description="Renames WSDL component" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NLM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.openFileSearchPage" commandName="File Search" description="Open the Search dialog's file search page" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NLc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.extract.local.variable" commandName="Extract Local Variable" description="Extracts an expression into a new local variable and uses the new local variable" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NLs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.synchronizeLast" commandName="Repeat last synchronization" description="Repeat the last synchronization" category="_Z53z189SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NL89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.generate.xml" commandName="&amp;XML File..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NMM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.ui.previousSibling" commandName="Previous Sibling" description="Go to Previous Sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NMc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.select.previous" commandName="Select Previous Element" description="Expand selection to include previous sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NMs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.occurrences.in.file.quickMenu" commandName="Show Occurrences in File Quick Menu" description="Shows the Occurrences in File quick menu" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NM89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.columnNext" commandName="Next Column" description="Go to the next column" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NNM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.extract.class" commandName="Extract Class..." description="Extracts fields into a new class" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NNc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.searchForTask" commandName="Search Repository for Task" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NNs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.selectWorkingSets" commandName="Select Working Sets" description="Select the working sets that are applicable for this window." category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NN89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.aboutAction" commandName="About" description="Open the about dialog" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NOM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.interest.decrement" commandName="Make Less Interesting" description="Make Less Interesting" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NOc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.superclass" commandName="Extract Superclass" description="Extract a set of members into a new superclass and try to use the new superclass" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NOs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.copyRightToLeft" commandName="Copy from Right to Left" description="Copy Current Change from Right to Left" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NO89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.hierarchy" commandName="Read Access in Hierarchy" description="Search for read references of the selected element in its hierarchy" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.quickOutlineCommand" commandName="Quick Outline" description="Open a popup dialog with a quick outline of the current document" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.folding.collapseMembers" commandName="Collapse Members" description="Collapse all members" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.working.set" commandName="Write Access in Working Set" description="Search for write references to the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.clean.up" commandName="Clean Up" description="Solve problems and improve code style on selected resources" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.extract.method" commandName="Extract Method" description="Extract a set of statements or an expression into a new method and use the new method" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.refreshFromDatabaseAction" commandName="Refresh from Database" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.quickOutline" commandName="Quick Outline" description="Open a quick outline popup dialog for a given editor input" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NQ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.selectNextChange" commandName="Select Next Change" description="Select Next Change" category="_Z53z3M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NRM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.newWindow" commandName="New Window" description="Open another window" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NRc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.RemoveAllBreakpoints" commandName="Remove All Breakpoints" description="Removes all breakpoints" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NRs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.showResourceByPath" commandName="Show Resource in Navigator" description="Show a resource in the Navigator given its path" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53NR89SEeSV1Mx9A3xekQ" elementId="resourcePath" name="Resource Path" typeId="org.eclipse.ui.ide.resourcePath" optional="false"/>
+ <commands xmi:id="_emwjKurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.DropToFrame" commandName="Drop to Frame" description="Drop to Frame" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjK-rNEeSOidyff_nu0w" elementId="org.eclipse.jst.pagedesigner.source" commandName="Source Code" category="_em0N7-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjLOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.wsdl.ui.refactor.rename.element" commandName="Rename WSDL component" description="Renames WSDL component" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjLerNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.openFileSearchPage" commandName="File Search" description="Open the Search dialog's file search page" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjLurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.extract.local.variable" commandName="Extract Local Variable" description="Extracts an expression into a new local variable and uses the new local variable" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjL-rNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.synchronizeLast" commandName="Repeat last synchronization" description="Repeat the last synchronization" category="_em0N6-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjMOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.generate.xml" commandName="&amp;XML File..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjMerNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.ui.previousSibling" commandName="Previous Sibling" description="Go to Previous Sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjMurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.select.previous" commandName="Select Previous Element" description="Expand selection to include previous sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjM-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.occurrences.in.file.quickMenu" commandName="Show Occurrences in File Quick Menu" description="Shows the Occurrences in File quick menu" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjNOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.columnNext" commandName="Next Column" description="Go to the next column" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjNerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.extract.class" commandName="Extract Class..." description="Extracts fields into a new class" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjNurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.searchForTask" commandName="Search Repository for Task" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjN-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.selectWorkingSets" commandName="Select Working Sets" description="Select the working sets that are applicable for this window." category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjOOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.aboutAction" commandName="About" description="Open the about dialog" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjOerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.interest.decrement" commandName="Make Less Interesting" description="Make Less Interesting" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjOurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.superclass" commandName="Extract Superclass" description="Extract a set of members into a new superclass and try to use the new superclass" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjO-rNEeSOidyff_nu0w" elementId="org.eclipse.compare.copyRightToLeft" commandName="Copy from Right to Left" description="Copy Current Change from Right to Left" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjPOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.read.access.in.hierarchy" commandName="Read Access in Hierarchy" description="Search for read references of the selected element in its hierarchy" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjPerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.quickOutlineCommand" commandName="Quick Outline" description="Open a popup dialog with a quick outline of the current document" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjPurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.folding.collapseMembers" commandName="Collapse Members" description="Collapse all members" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjP-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.write.access.in.working.set" commandName="Write Access in Working Set" description="Search for write references to the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjQOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.clean.up" commandName="Clean Up" description="Solve problems and improve code style on selected resources" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjQerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.extract.method" commandName="Extract Method" description="Extract a set of statements or an expression into a new method and use the new method" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjQurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.refreshFromDatabaseAction" commandName="Refresh from Database" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjQ-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.quickOutline" commandName="Quick Outline" description="Open a quick outline popup dialog for a given editor input" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjROrNEeSOidyff_nu0w" elementId="org.eclipse.compare.selectNextChange" commandName="Select Next Change" description="Select Next Change" category="_em0N8OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjRerNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.newWindow" commandName="New Window" description="Open another window" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjRurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.RemoveAllBreakpoints" commandName="Remove All Breakpoints" description="Removes all breakpoints" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjR-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.showResourceByPath" commandName="Show Resource in Navigator" description="Show a resource in the Navigator given its path" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emwjSOrNEeSOidyff_nu0w" elementId="resourcePath" name="Resource Path" typeId="org.eclipse.ui.ide.resourcePath" optional="false"/>
</commands>
- <commands xmi:id="_Z53NSM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.addImport" commandName="Quick Fix - Add import" description="Invokes quick assist and selects 'Add import'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NSc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.extractLocal.assist" commandName="Quick Assist - Extract local variable (replace all occurrences)" description="Invokes quick assist and selects 'Extract local variable (replace all occurrences)'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NSs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.project" commandName="References in Project" description="Search for references to the selected element in the enclosing project" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NS89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.parameter.object" commandName="Introduce Parameter Object" description="Introduce a parameter object to a selected method" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NTM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.shiftLeft" commandName="Shift Left" description="Shift a block of text to the left" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NTc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.hierarchy" commandName="Quick Hierarchy" description="Show the quick hierarchy of the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NTs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implementors.in.working.set" commandName="Implementors in Working Set" description="Search for implementors of the selected interface in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NT89SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.GotoMatchingTokenAction" commandName="Goto Matching Token" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NUM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.debug" commandName="Debug" description="Debug server" category="_Z53zzs9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NUc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.create.delegate.methods" commandName="Generate Delegate Methods" description="Add delegate methods for a type's fields" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NUs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.search.find.occurrences" commandName="Occurrences in File" description="Find occurrences of the selection in the file" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NU89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.showAnnotation" commandName="Show Annotation" description="Show Annotation" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NVM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.project.cleanAction" commandName="Build Clean" description="Discard old built state" category="_Z53zvM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NVc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.addThrowsDecl" commandName="Quick Fix - Add throws declaration" description="Invokes quick assist and selects 'Add throws declaration'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NVs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.activeContextInfo" commandName="Show activeContext Info" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NV89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.pagedesigner.vertical" commandName="Vertical Layout" category="_Z53z289SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NWM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.replace" commandName="Replace With Latest from Repository" description="Replace with last committed content from CVS Server" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NWc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implement.occurrences" commandName="Search Implement Occurrences in File" description="Search for implement occurrences of a selected type" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NWs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.override.methods" commandName="Override/Implement Functions" description="Override or implement functions from super types" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NW89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.generate.constructor.using.fields" commandName="Generate Constructor using Vars" description="Choose vars to initialize and constructor from superclass to call " category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NXM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.compareWithTag" commandName="Compare With Another Branch or Version" description="Compare with a Branch or a Version on the CVS Server" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NXc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.findNext" commandName="Find Next" description="Find next item" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NXs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.addThrowsDecl" commandName="Quick Fix - Add throws declaration" description="Invokes quick assist and selects 'Add throws declaration'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NX89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.addSuppressWarnings" commandName="Quick Fix - Add @SuppressWarnings" description="Invokes quick fix and selects 'Add @SuppressWarnings' " category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NYM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.Disconnect" commandName="Disconnect" description="Disconnect" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NYc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.extractLocal.assist" commandName="Quick Assist - Extract local variable" description="Invokes quick assist and selects 'Extract local variable'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NYs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.structure.select.previous" commandName="Select Previous Element" description="Expand selection to include previous sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NY89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.addSuppressWarnings" commandName="Quick Fix - Add @SuppressWarnings" description="Invokes quick fix and selects 'Add @SuppressWarnings' " category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NZM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.junitWorkbenchShortcut.debug" commandName="Debug JUnit Plug-in Test" description="Debug JUnit Plug-in Test" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NZc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.show.outline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NZs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.create.getter.setter" commandName="Generate Getters and Setters" description="Generate Getter and Setter methods for type's fields" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NZ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.setKeywordSubstitution" commandName="Change ASCII/Binary Property" description="Change whether the selected resources should be treated as ASCII or binary on the CVS Server" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NaM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.windowStart" commandName="Select Window Start" description="Select to the start of the window" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nac9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.refactor.migrate.jar" commandName="Migrate JAR File" description="Migrate a JAR File to a new version" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nas9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.sse.ui.outline.customFilter" commandName="&amp;Filters" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Na89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.working.set" commandName="References in Working Set" description="Search for references to the selected element in a working set" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NbM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.open.super.implementation" commandName="Open Super Implementation" description="Open the Implementation in the Super Type" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nbc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.navigate.open.type" commandName="Open Type" description="Open a type in a JavaScript editor" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nbs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.help.quickStartAction" commandName="Welcome" description="Show help for beginning users" category="_Z53z2c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nb89SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteSelectionAction" commandName="Execute Selected Text" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NcM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.addTask" commandName="Add Task..." description="Add a task" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ncc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.task.ui.editor.QuickOutline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ncs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.constant" commandName="Extract Constant" description="Extracts a constant into a new static var and uses the new static var" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nc89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.closeAllPerspectives" commandName="Close All Perspectives" description="Close all open perspectives" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NdM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.convertJavaProjectToJpa" commandName="Convert to JPA Project..." category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ndc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editors.quickdiff.revertLine" commandName="Revert Line" description="Revert the current line" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nds9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.command.prevpage" commandName="Previous Page of Memory" description="Load previous page of memory" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nd89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.entityMappingsAddPersistentClass" commandName="Add Class..." category="_Z53zx89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NeM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.changeToStatic" commandName="Quick Fix - Change to static access" description="Invokes quick assist and selects 'Change to static access'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nec9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.findPrevious" commandName="Find Previous" description="Find previous item" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nes9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.push.down" commandName="Push Down" description="Move members to subclasses" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ne89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.SourceView" commandName="JavaScript Declaration" description="Show the Declaration view" category="_Z53zvc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NfM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.toggleMarkOccurrences" commandName="Toggle Ant Mark Occurrences" description="Toggles mark occurrences in Ant editors" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nfc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.qualifyField" commandName="Quick Fix - Qualify var access" description="Invokes quick assist and selects 'Qualify var access'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nfs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView" commandName="Show View" description="Shows a particular view" category="_Z53zvc9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53Nf89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.viewId" name="View"/>
- <parameters xmi:id="_Z53NgM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.secondaryId" name="Secondary Id"/>
- <parameters xmi:id="_Z53Ngc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.views.showView.makeFast" name="As FastView"/>
+ <commands xmi:id="_emwjSerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.addImport" commandName="Quick Fix - Add import" description="Invokes quick assist and selects 'Add import'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjSurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.extractLocal.assist" commandName="Quick Assist - Extract local variable (replace all occurrences)" description="Invokes quick assist and selects 'Extract local variable (replace all occurrences)'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjS-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.project" commandName="References in Project" description="Search for references to the selected element in the enclosing project" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjTOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.introduce.parameter.object" commandName="Introduce Parameter Object" description="Introduce a parameter object to a selected method" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjTerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.shiftLeft" commandName="Shift Left" description="Shift a block of text to the left" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjTurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.hierarchy" commandName="Quick Hierarchy" description="Show the quick hierarchy of the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjT-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implementors.in.working.set" commandName="Implementors in Working Set" description="Search for implementors of the selected interface in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjUOrNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.GotoMatchingTokenAction" commandName="Goto Matching Token" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjUerNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.debug" commandName="Debug" description="Debug server" category="_em0N4urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjUurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.create.delegate.methods" commandName="Generate Delegate Methods" description="Add delegate methods for a type's fields" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjU-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.search.find.occurrences" commandName="Occurrences in File" description="Find occurrences of the selection in the file" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjVOrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.showAnnotation" commandName="Show Annotation" description="Show Annotation" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjVerNEeSOidyff_nu0w" elementId="org.eclipse.ui.project.cleanAction" commandName="Build Clean" description="Discard old built state" category="_em0N0OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjVurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.addThrowsDecl" commandName="Quick Fix - Add throws declaration" description="Invokes quick assist and selects 'Add throws declaration'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjV-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.activeContextInfo" commandName="Show activeContext Info" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjWOrNEeSOidyff_nu0w" elementId="org.eclipse.jst.pagedesigner.vertical" commandName="Vertical Layout" category="_em0N7-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjWerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.replace" commandName="Replace With Latest from Repository" description="Replace with last committed content from CVS Server" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjWurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.implement.occurrences" commandName="Search Implement Occurrences in File" description="Search for implement occurrences of a selected type" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjW-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.override.methods" commandName="Override/Implement Functions" description="Override or implement functions from super types" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjXOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.generate.constructor.using.fields" commandName="Generate Constructor using Vars" description="Choose vars to initialize and constructor from superclass to call " category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjXerNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.compareWithTag" commandName="Compare With Another Branch or Version" description="Compare with a Branch or a Version on the CVS Server" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjXurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.findNext" commandName="Find Next" description="Find next item" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjX-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.addThrowsDecl" commandName="Quick Fix - Add throws declaration" description="Invokes quick assist and selects 'Add throws declaration'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjYOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.addSuppressWarnings" commandName="Quick Fix - Add @SuppressWarnings" description="Invokes quick fix and selects 'Add @SuppressWarnings' " category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjYerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.Disconnect" commandName="Disconnect" description="Disconnect" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjYurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.extractLocal.assist" commandName="Quick Assist - Extract local variable" description="Invokes quick assist and selects 'Extract local variable'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjY-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.structure.select.previous" commandName="Select Previous Element" description="Expand selection to include previous sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjZOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.addSuppressWarnings" commandName="Quick Fix - Add @SuppressWarnings" description="Invokes quick fix and selects 'Add @SuppressWarnings' " category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjZerNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.junitWorkbenchShortcut.debug" commandName="Debug JUnit Plug-in Test" description="Debug JUnit Plug-in Test" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjZurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.show.outline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjZ-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.create.getter.setter" commandName="Generate Getters and Setters" description="Generate Getter and Setter methods for type's fields" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjaOrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.setKeywordSubstitution" commandName="Change ASCII/Binary Property" description="Change whether the selected resources should be treated as ASCII or binary on the CVS Server" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjaerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.windowStart" commandName="Select Window Start" description="Select to the start of the window" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjaurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.refactor.migrate.jar" commandName="Migrate JAR File" description="Migrate a JAR File to a new version" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwja-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.sse.ui.outline.customFilter" commandName="&amp;Filters" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjbOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.search.references.in.working.set" commandName="References in Working Set" description="Search for references to the selected element in a working set" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjberNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.open.super.implementation" commandName="Open Super Implementation" description="Open the Implementation in the Super Type" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjburNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.navigate.open.type" commandName="Open Type" description="Open a type in a JavaScript editor" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjb-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.help.quickStartAction" commandName="Welcome" description="Show help for beginning users" category="_em0N7erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjcOrNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteSelectionAction" commandName="Execute Selected Text" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjcerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.addTask" commandName="Add Task..." description="Add a task" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjcurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.task.ui.editor.QuickOutline" commandName="Quick Outline" description="Show the quick outline for the editor input" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjc-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.extract.constant" commandName="Extract Constant" description="Extracts a constant into a new static var and uses the new static var" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjdOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.closeAllPerspectives" commandName="Close All Perspectives" description="Close all open perspectives" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjderNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.convertJavaProjectToJpa" commandName="Convert to JPA Project..." category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjdurNEeSOidyff_nu0w" elementId="org.eclipse.ui.editors.quickdiff.revertLine" commandName="Revert Line" description="Revert the current line" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjd-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.command.prevpage" commandName="Previous Page of Memory" description="Load previous page of memory" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emwjeOrNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.entityMappingsAddPersistentClass" commandName="Add Class..." category="_em0N2-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKMOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.changeToStatic" commandName="Quick Fix - Change to static access" description="Invokes quick assist and selects 'Change to static access'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKMerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.findPrevious" commandName="Find Previous" description="Find previous item" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKMurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.push.down" commandName="Push Down" description="Move members to subclasses" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKM-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.SourceView" commandName="JavaScript Declaration" description="Show the Declaration view" category="_em0N0erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKNOrNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.toggleMarkOccurrences" commandName="Toggle Ant Mark Occurrences" description="Toggles mark occurrences in Ant editors" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKNerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.qualifyField" commandName="Quick Fix - Qualify var access" description="Invokes quick assist and selects 'Qualify var access'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKNurNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView" commandName="Show View" description="Shows a particular view" category="_em0N0erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxKN-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.viewId" name="View"/>
+ <parameters xmi:id="_emxKOOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.secondaryId" name="Secondary Id"/>
+ <parameters xmi:id="_emxKOerNEeSOidyff_nu0w" elementId="org.eclipse.ui.views.showView.makeFast" name="As FastView"/>
</commands>
- <commands xmi:id="_Z53Ngs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaeditor.copycolumn" commandName="Copy" category="_Z53zuM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ng89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.extract.superclass" commandName="Extract Superclass" description="Extract a set of members into a new superclass and try to use the new superclass" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NhM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ltk.ui.refactor.create.refactoring.script" commandName="Create Script" description="Create a refactoring script from refactorings on the local workspace" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nhc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteAsOneStatementAction" commandName="Execute Selected Text As One Statement" category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nhs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.delimiter.windows" commandName="Convert Line Delimiters to Windows (CRLF, \r\n, 0D0A, &#xa4;&#xb6;)" description="Converts the line delimiters to Windows (CRLF, \r\n, 0D0A, &#xa4;&#xb6;)" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nh89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.cut.line" commandName="Cut Line" description="Cut a line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NiM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.columnPrevious" commandName="Select Previous Column" description="Select the previous column" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nic9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.closeAll" commandName="Close All" description="Close all editors" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nis9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.cut.line.to.beginning" commandName="Cut to Beginning of Line" description="Cut to the beginning of a line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ni89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.editor" commandName="Open Declaration" description="Open an editor on the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NjM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.promote.local.variable" commandName="Convert Local Variable to Field" description="Convert a local variable to a field" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Njc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.eclipselink.ui.persistentTypeAddVirtualAttribute" commandName="Add Virtual Attribute..." category="_Z53zx89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Njs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.select.wordNext" commandName="Select Next Word" description="Select the next word" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nj89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.goToResource" commandName="Go to" description="Go to a particular resource in the active view" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NkM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.spy" commandName="Show Contributing Plug-in" description="Shows contribution information for the currently selected element" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nkc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.quickAccess" commandName="Quick Access" description="Quickly access UI elements" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nks9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.StepReturn" commandName="Step Return" description="Step return" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nk89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.addToWorkingSet" commandName="Add to Working Set" description="Adds the selected object to a working set." category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NlM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.goto.next.member" commandName="Go to Next Member" description="Move the caret to the next member of the compilation unit" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nlc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.persistentTypeMapAs" commandName="Map As" category="_Z53zx89SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53Nls9SEeSV1Mx9A3xekQ" elementId="persistentTypeMappingKey" name="mapping key" optional="false"/>
+ <commands xmi:id="_emxKOurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaeditor.copycolumn" commandName="Copy" category="_em0NzOrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKO-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.extract.superclass" commandName="Extract Superclass" description="Extract a set of members into a new superclass and try to use the new superclass" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKPOrNEeSOidyff_nu0w" elementId="org.eclipse.ltk.ui.refactor.create.refactoring.script" commandName="Create Script" description="Create a refactoring script from refactorings on the local workspace" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKPerNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.ExecuteAsOneStatementAction" commandName="Execute Selected Text As One Statement" category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKPurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.delimiter.windows" commandName="Convert Line Delimiters to Windows (CRLF, \r\n, 0D0A, &#xa4;&#xb6;)" description="Converts the line delimiters to Windows (CRLF, \r\n, 0D0A, &#xa4;&#xb6;)" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKP-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.cut.line" commandName="Cut Line" description="Cut a line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKQOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.columnPrevious" commandName="Select Previous Column" description="Select the previous column" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKQerNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.closeAll" commandName="Close All" description="Close all editors" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKQurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.cut.line.to.beginning" commandName="Cut to Beginning of Line" description="Cut to the beginning of a line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKQ-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.editor" commandName="Open Declaration" description="Open an editor on the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKROrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.promote.local.variable" commandName="Convert Local Variable to Field" description="Convert a local variable to a field" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKRerNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.eclipselink.ui.persistentTypeAddVirtualAttribute" commandName="Add Virtual Attribute..." category="_em0N2-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKRurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.select.wordNext" commandName="Select Next Word" description="Select the next word" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKR-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.goToResource" commandName="Go to" description="Go to a particular resource in the active view" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKSOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.spy" commandName="Show Contributing Plug-in" description="Shows contribution information for the currently selected element" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKSerNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.quickAccess" commandName="Quick Access" description="Quickly access UI elements" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKSurNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.StepReturn" commandName="Step Return" description="Step return" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKS-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.addToWorkingSet" commandName="Add to Working Set" description="Adds the selected object to a working set." category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKTOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.goto.next.member" commandName="Go to Next Member" description="Move the caret to the next member of the compilation unit" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKTerNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.persistentTypeMapAs" commandName="Map As" category="_em0N2-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxKTurNEeSOidyff_nu0w" elementId="persistentTypeMappingKey" name="mapping key" optional="false"/>
</commands>
- <commands xmi:id="_Z53Nl89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.select.next" commandName="Select Next Element" description="Expand selection to include next sibling" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NmM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskReadGoToNextUnread" commandName="Mark Task Read and Go To Next Unread Task" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nmc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.goto.lineEnd" commandName="Line End" description="Go to the end of the line of text" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nms9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.ForceReturn" commandName="Force Return" description="Forces return from method with value of selected expression " category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nm89SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.runtimeWorkbenchShortcut.run" commandName="Run Eclipse Application" description="Run Eclipse Application" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NnM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.call.hierarchy" commandName="Open Call Hierarchy" description="Open a call hierarchy on the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nnc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.remove.block.comment" commandName="Remove Block Comment" description="Remove the block comment enclosing the selection" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nns9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.workspace" commandName="Write Access in Workspace" description="Search for write references to the selected element in the workspace" category="_Z53z0c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nn89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.delimiter.unix" commandName="Convert Line Delimiters to Unix (LF, \n, 0A, &#xb6;)" description="Converts the line delimiters to Unix (LF, \n, 0A, &#xb6;)" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NoM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.showIn" commandName="Show In" category="_Z53z3s9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53Noc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.navigate.showIn.targetId" name="Show In Target Id" optional="false"/>
+ <commands xmi:id="_emxKT-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.select.next" commandName="Select Next Element" description="Expand selection to include next sibling" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKUOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.markTaskReadGoToNextUnread" commandName="Mark Task Read and Go To Next Unread Task" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKUerNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.goto.lineEnd" commandName="Line End" description="Go to the end of the line of text" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKUurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.ForceReturn" commandName="Force Return" description="Forces return from method with value of selected expression " category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKU-rNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.runtimeWorkbenchShortcut.run" commandName="Run Eclipse Application" description="Run Eclipse Application" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKVOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.call.hierarchy" commandName="Open Call Hierarchy" description="Open a call hierarchy on the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKVerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.remove.block.comment" commandName="Remove Block Comment" description="Remove the block comment enclosing the selection" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKVurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.search.write.access.in.workspace" commandName="Write Access in Workspace" description="Search for write references to the selected element in the workspace" category="_em0N5erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKV-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.delimiter.unix" commandName="Convert Line Delimiters to Unix (LF, \n, 0A, &#xb6;)" description="Converts the line delimiters to Unix (LF, \n, 0A, &#xb6;)" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKWOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.showIn" commandName="Show In" category="_em0N8urNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxKWerNEeSOidyff_nu0w" elementId="org.eclipse.ui.navigate.showIn.targetId" name="Show In Target Id" optional="false"/>
</commands>
- <commands xmi:id="_Z53Nos9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.DMLDialogSelectionAction" commandName="Edit in SQL Query Builder..." category="_Z53zus9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53No89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.inlineLocal.assist" commandName="Quick Assist - Inline local variable" description="Invokes quick assist and selects 'Inline local variable'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NpM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.javaAppletShortcut.run" commandName="Run Java Applet" description="Run Java Applet" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Npc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.convertLocalToField.assist" commandName="Quick Assist - Convert local variable to field" description="Invokes quick assist and selects 'Convert local variable to field'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nps9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.task.clearActiveTime" commandName="Clear Active Time" category="_Z53z089SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Np89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.submitTask" commandName="Submit Task" description="Submits the currently open task" category="_Z53zyM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NqM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.copy.qualified.name" commandName="Copy Qualified Name" description="Copy a fully qualified name to the system clipboard" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nqc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.discovery.ui.discoveryWizardCommand" commandName="Discovery Wizard" description="shows the connector discovery wizard" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nqs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.dialogs.openMessageDialog" commandName="Open Message Dialog" description="Open a Message Dialog" category="_Z53zz89SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53Nq89SEeSV1Mx9A3xekQ" elementId="title" name="Title"/>
- <parameters xmi:id="_Z53NrM9SEeSV1Mx9A3xekQ" elementId="message" name="Message"/>
- <parameters xmi:id="_Z53Nrc9SEeSV1Mx9A3xekQ" elementId="imageType" name="Image Type Constant" typeId="org.eclipse.ui.dialogs.Integer"/>
- <parameters xmi:id="_Z53Nrs9SEeSV1Mx9A3xekQ" elementId="defaultIndex" name="Default Button Index" typeId="org.eclipse.ui.dialogs.Integer"/>
- <parameters xmi:id="_Z53Nr89SEeSV1Mx9A3xekQ" elementId="buttonLabel0" name="First Button Label"/>
- <parameters xmi:id="_Z53NsM9SEeSV1Mx9A3xekQ" elementId="buttonLabel1" name="Second Button Label"/>
- <parameters xmi:id="_Z53Nsc9SEeSV1Mx9A3xekQ" elementId="buttonLabel2" name="Third Button Label"/>
- <parameters xmi:id="_Z53Nss9SEeSV1Mx9A3xekQ" elementId="buttonLabel3" name="Fourth Button Label"/>
- <parameters xmi:id="_Z53Ns89SEeSV1Mx9A3xekQ" elementId="cancelReturns" name="Return Value on Cancel"/>
+ <commands xmi:id="_emxKWurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.DMLDialogSelectionAction" commandName="Edit in SQL Query Builder..." category="_em0NzurNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKW-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.inlineLocal.assist" commandName="Quick Assist - Inline local variable" description="Invokes quick assist and selects 'Inline local variable'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKXOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.javaAppletShortcut.run" commandName="Run Java Applet" description="Run Java Applet" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKXerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.convertLocalToField.assist" commandName="Quick Assist - Convert local variable to field" description="Invokes quick assist and selects 'Convert local variable to field'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKXurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.task.clearActiveTime" commandName="Clear Active Time" category="_em0N5-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKX-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.submitTask" commandName="Submit Task" description="Submits the currently open task" category="_em0N3OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKYOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.copy.qualified.name" commandName="Copy Qualified Name" description="Copy a fully qualified name to the system clipboard" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKYerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.discovery.ui.discoveryWizardCommand" commandName="Discovery Wizard" description="shows the connector discovery wizard" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKYurNEeSOidyff_nu0w" elementId="org.eclipse.ui.dialogs.openMessageDialog" commandName="Open Message Dialog" description="Open a Message Dialog" category="_em0N4-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxKY-rNEeSOidyff_nu0w" elementId="title" name="Title"/>
+ <parameters xmi:id="_emxKZOrNEeSOidyff_nu0w" elementId="message" name="Message"/>
+ <parameters xmi:id="_emxKZerNEeSOidyff_nu0w" elementId="imageType" name="Image Type Constant" typeId="org.eclipse.ui.dialogs.Integer"/>
+ <parameters xmi:id="_emxKZurNEeSOidyff_nu0w" elementId="defaultIndex" name="Default Button Index" typeId="org.eclipse.ui.dialogs.Integer"/>
+ <parameters xmi:id="_emxKZ-rNEeSOidyff_nu0w" elementId="buttonLabel0" name="First Button Label"/>
+ <parameters xmi:id="_emxKaOrNEeSOidyff_nu0w" elementId="buttonLabel1" name="Second Button Label"/>
+ <parameters xmi:id="_emxKaerNEeSOidyff_nu0w" elementId="buttonLabel2" name="Third Button Label"/>
+ <parameters xmi:id="_emxKaurNEeSOidyff_nu0w" elementId="buttonLabel3" name="Fourth Button Label"/>
+ <parameters xmi:id="_emxKa-rNEeSOidyff_nu0w" elementId="cancelReturns" name="Return Value on Cancel"/>
</commands>
- <commands xmi:id="_Z53NtM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.AllReferences" commandName="All References" description="Inspect all references to the selected object" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Ntc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.command.OpenFromClipboard" commandName="Open from Clipboard" description="Opens a Java element or a Java stack trace from clipboard" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nts9SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.discovery.commands.ShowRepositoryCatalog" commandName="Show Repository Catalog" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53Nt89SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.discovery.commands.RepositoryParameter" name="P2 Repository URI"/>
+ <commands xmi:id="_emxKbOrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.AllReferences" commandName="All References" description="Inspect all references to the selected object" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKberNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.command.OpenFromClipboard" commandName="Open from Clipboard" description="Opens a Java element or a Java stack trace from clipboard" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKburNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.discovery.commands.ShowRepositoryCatalog" commandName="Show Repository Catalog" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxKb-rNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.discovery.commands.RepositoryParameter" name="P2 Repository URI"/>
</commands>
- <commands xmi:id="_Z53NuM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.nextPerspective" commandName="Next Perspective" description="Switch to the next perspective" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nuc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.OpenDebugConfigurations" commandName="Debug..." description="Open debug launch configuration dialog" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nus9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.edit.text.hippieCompletion" commandName="Word Completion" description="Context insensitive completion" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nu89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.extract.constant" commandName="Extract Constant" description="Extracts a constant into a new static field and uses the new static field" category="_Z53z4c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NvM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.add" commandName="Add to Version Control" description="Add the Selected Resources to Version Control" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nvc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.convertAnonymousToLocal.assist" commandName="Quick Assist - Convert anonymous to local class" description="Invokes quick assist and selects 'Convert anonymous to local class'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nvs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.correction.convertLocalToField.assist" commandName="Quick Assist - Convert local variable to var" description="Invokes quick assist and selects 'Convert local variable to var'" category="_Z53zyc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nv89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.sync" commandName="Synchronize with Repository" description="Synchronize the workspace resources with those in the repository" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NwM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.closeOthers" commandName="Close Others" description="Close all editors except the one that is active" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nwc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.folding.collapseComments" commandName="Collapse Comments" description="Collapse all comments" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nws9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.type.hierarchy" commandName="Open Type Hierarchy" description="Open a type hierarchy on the selected element" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nw89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.add.javadoc.comment" commandName="Add Javadoc Comment" description="Add a Javadoc comment stub to the member element" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NxM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.change.type" commandName="Generalize Declared Type" description="Change the declaration of a selected variable to a more general type consistent with usage" category="_Z53zzM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nxc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.editors.revisions.author.toggle" commandName="Toggle Revision Author Display" description="Toggles the display of the revision author" category="_Z53z0M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nxs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.edit.text.java.sort.members" commandName="Sort Members" description="Sort all members using the member order preference" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nx89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.replaceWithBase" commandName="Revert to Base" description="Revert to Base revisions" category="_Z53zt89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53NyM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.Resume" commandName="Resume" description="Resume" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nyc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.debug.ui.commands.Execute" commandName="Execute" description="Evaluate selected text" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53Nys9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.exporter.genModelEditorContribution/org.eclipse.emf.exporter.ui.GenModelExportActionDelegate.Editor" commandName="&amp;Export Model..."/>
- <commands xmi:id="_Z53Ny89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.importer.genModelEditorContribution/org.eclipse.emf.importer.ui.GenModelReloadActionDelegate.Editor" commandName="&amp;Reload..."/>
- <commands xmi:id="_Z53NzM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.RemoveMappingActionID" commandName="&amp;Remove Mapping"/>
- <commands xmi:id="_Z53Nzc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.TypeMatchMappingActionID" commandName="Match Mapping by &amp;Type"/>
- <commands xmi:id="_Z53Nzs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.NameMatchMappingActionID" commandName="Match Mapping by &amp;Name"/>
- <commands xmi:id="_Z53Nz89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID" commandName="Create &amp;One-sided Mapping"/>
- <commands xmi:id="_Z53N0M9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.CreateMappingActionID" commandName="Create &amp;Mapping"/>
- <commands xmi:id="_Z53N0c9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID" commandName="Add &amp;Output Root..."/>
- <commands xmi:id="_Z53N0s9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID" commandName="Add &amp;Input Root..."/>
- <commands xmi:id="_Z53N089SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.JavaSnippetToolbarActions/org.eclipse.jdt.debug.ui.SnippetExecute" commandName="E&amp;xecute"/>
- <commands xmi:id="_Z53N1M9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.JavaSnippetToolbarActions/org.eclipse.jdt.debug.ui.SnippetDisplay" commandName="Displa&amp;y"/>
- <commands xmi:id="_Z53N1c9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.JavaSnippetToolbarActions/org.eclipse.jdt.debug.ui.SnippetInspect" commandName="Insp&amp;ect"/>
- <commands xmi:id="_Z53N1s9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ui.articles.action.contribution.editor/org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate" commandName="Reload Dependencies"/>
- <commands xmi:id="_Z53N189SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline" commandName="Reset quickdiff baseline" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53N2M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget" name="Reset target (HEAD, HEAD^1)" optional="false"/>
+ <commands xmi:id="_emxKcOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.nextPerspective" commandName="Next Perspective" description="Switch to the next perspective" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKcerNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.OpenDebugConfigurations" commandName="Debug..." description="Open debug launch configuration dialog" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKcurNEeSOidyff_nu0w" elementId="org.eclipse.ui.edit.text.hippieCompletion" commandName="Word Completion" description="Context insensitive completion" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKc-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.extract.constant" commandName="Extract Constant" description="Extracts a constant into a new static field and uses the new static field" category="_em0N9erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKdOrNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.add" commandName="Add to Version Control" description="Add the Selected Resources to Version Control" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKderNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.convertAnonymousToLocal.assist" commandName="Quick Assist - Convert anonymous to local class" description="Invokes quick assist and selects 'Convert anonymous to local class'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKdurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.correction.convertLocalToField.assist" commandName="Quick Assist - Convert local variable to var" description="Invokes quick assist and selects 'Convert local variable to var'" category="_em0N3erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKd-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.sync" commandName="Synchronize with Repository" description="Synchronize the workspace resources with those in the repository" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKeOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.closeOthers" commandName="Close Others" description="Close all editors except the one that is active" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKeerNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.folding.collapseComments" commandName="Collapse Comments" description="Collapse all comments" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKeurNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.open.type.hierarchy" commandName="Open Type Hierarchy" description="Open a type hierarchy on the selected element" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKe-rNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.add.javadoc.comment" commandName="Add Javadoc Comment" description="Add a Javadoc comment stub to the member element" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKfOrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.edit.text.java.change.type" commandName="Generalize Declared Type" description="Change the declaration of a selected variable to a more general type consistent with usage" category="_em0N4OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKferNEeSOidyff_nu0w" elementId="org.eclipse.ui.editors.revisions.author.toggle" commandName="Toggle Revision Author Display" description="Toggles the display of the revision author" category="_em0N5OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKfurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.edit.text.java.sort.members" commandName="Sort Members" description="Sort all members using the member order preference" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKf-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.replaceWithBase" commandName="Revert to Base" description="Revert to Base revisions" category="_em0Ny-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKgOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.Resume" commandName="Resume" description="Resume" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKgerNEeSOidyff_nu0w" elementId="org.eclipse.jdt.debug.ui.commands.Execute" commandName="Execute" description="Evaluate selected text" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxKgurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.exporter.genModelEditorContribution/org.eclipse.emf.exporter.ui.GenModelExportActionDelegate.Editor" commandName="&amp;Export Model..."/>
+ <commands xmi:id="_emxKg-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.importer.genModelEditorContribution/org.eclipse.emf.importer.ui.GenModelReloadActionDelegate.Editor" commandName="&amp;Reload..."/>
+ <commands xmi:id="_emxKhOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.RemoveMappingActionID" commandName="&amp;Remove Mapping"/>
+ <commands xmi:id="_emxKherNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.TypeMatchMappingActionID" commandName="Match Mapping by &amp;Type"/>
+ <commands xmi:id="_emxKhurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.NameMatchMappingActionID" commandName="Match Mapping by &amp;Name"/>
+ <commands xmi:id="_emxKh-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.CreateOneSidedMappingActionID" commandName="Create &amp;One-sided Mapping"/>
+ <commands xmi:id="_emxKiOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.action.CreateMappingActionID" commandName="Create &amp;Mapping"/>
+ <commands xmi:id="_emxKierNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.ecore2ecore.action.AddOuputRootActionID" commandName="Add &amp;Output Root..."/>
+ <commands xmi:id="_emxKiurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.emf.mapping.ecore2ecore.presentation.Ecore2EcoreContributionID/org.eclipse.emf.mapping.ecore2ecore.action.AddInputRootActionID" commandName="Add &amp;Input Root..."/>
+ <commands xmi:id="_emxKi-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.JavaSnippetToolbarActions/org.eclipse.jdt.debug.ui.SnippetExecute" commandName="E&amp;xecute"/>
+ <commands xmi:id="_emxKjOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.JavaSnippetToolbarActions/org.eclipse.jdt.debug.ui.SnippetDisplay" commandName="Displa&amp;y"/>
+ <commands xmi:id="_emxKjerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.JavaSnippetToolbarActions/org.eclipse.jdt.debug.ui.SnippetInspect" commandName="Insp&amp;ect"/>
+ <commands xmi:id="_emxKjurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ui.articles.action.contribution.editor/org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate" commandName="Reload Dependencies"/>
+ <commands xmi:id="_emxKj-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline" commandName="Reset quickdiff baseline" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxKkOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget" name="Reset target (HEAD, HEAD^1)" optional="false"/>
</commands>
- <commands xmi:id="_Z53N2c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewAddRepository" commandName="Add a Git Repository" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N2s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.commands.switch" commandName="Switch Source/Design Views" description="Switch between the Source and Design views." category="_Z53z4s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N289SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.Squash" commandName="Squash Commits" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N3M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.Edit" commandName="Edit Commit" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N3c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ant.ui.open.declaration.command" commandName="Open Declaration" description="Opens the Ant editor on the referenced element" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N3s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewPaste" commandName="Paste Repository Path or URI" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N389SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ConfigureFetch" commandName="Configure Upstream Fetch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N4M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.ConfigureUpstreamPush" commandName="Configure Upstream Push" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N4c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Untrack" commandName="Untrack" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N4s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.commands.ToggleLineBreakpoint" commandName="Toggle Line Breakpoint" description="Creates or removes a line breakpoint" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N489SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand" commandName="Open in Commit Viewer" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N5M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.actions.LifeCycleTest.run" commandName="Run Maven Test" description="Run Maven Test" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand" commandName="Checkout" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N5s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.command.configureTrace" commandName="Configure Git Debug Trace" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N589SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.command.ShowTestResults" commandName="Show Test Results" category="_Z53z489SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N6M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewRefresh" commandName="Refresh" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N6c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.CompareIndexWithHead" commandName="Compare File in Git Index with HEAD Revision" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N6s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CreateBranch" commandName="Create Branch" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N689SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.clean" commandName="Clean..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N7M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewClone" commandName="Clone a Git Repository" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N7c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.OpenInTextEditorCommand" commandName="Open in Text Editor" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N7s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewRemove" commandName="Remove Repository" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N789SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewCreateRepository" commandName="Create a Repository" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N8M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.PushTags" commandName="Push Tags..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N8c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.ContinueRebase" commandName="Continue Rebase" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N8s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CreatePatch" commandName="Create Patch" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N889SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.actions.LifeCycleGenerateSources.run" commandName="Run Maven Generate Sources" description="Run Maven Generate Sources" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N9M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewClearCredentials" commandName="Clear Credentials" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N9c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.convertToMarkupCommand" commandName="Generate Markup" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53N9s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.targetLanguage" name="TargetLanguage" optional="false"/>
+ <commands xmi:id="_emxKkerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewAddRepository" commandName="Add a Git Repository" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxQOrNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.commands.switch" commandName="Switch Source/Design Views" description="Switch between the Source and Design views." category="_em0N9urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxQerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.Squash" commandName="Squash Commits" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxQurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.Edit" commandName="Edit Commit" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxQ-rNEeSOidyff_nu0w" elementId="org.eclipse.ant.ui.open.declaration.command" commandName="Open Declaration" description="Opens the Ant editor on the referenced element" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxROrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewPaste" commandName="Paste Repository Path or URI" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxRerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ConfigureFetch" commandName="Configure Upstream Fetch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxRurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.ConfigureUpstreamPush" commandName="Configure Upstream Push" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxR-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Untrack" commandName="Untrack" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxSOrNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.commands.ToggleLineBreakpoint" commandName="Toggle Line Breakpoint" description="Creates or removes a line breakpoint" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxSerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand" commandName="Open in Commit Viewer" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxSurNEeSOidyff_nu0w" elementId="org.eclipse.m2e.actions.LifeCycleTest.run" commandName="Run Maven Test" description="Run Maven Test" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxS-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand" commandName="Checkout" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxTOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.command.configureTrace" commandName="Configure Git Debug Trace" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxTerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.command.ShowTestResults" commandName="Show Test Results" category="_em0N9-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxTurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewRefresh" commandName="Refresh" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxT-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.CompareIndexWithHead" commandName="Compare File in Git Index with HEAD Revision" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxUOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CreateBranch" commandName="Create Branch" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxUerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.clean" commandName="Clean..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxUurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewClone" commandName="Clone a Git Repository" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxU-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.OpenInTextEditorCommand" commandName="Open in Text Editor" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxVOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewRemove" commandName="Remove Repository" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxVerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewCreateRepository" commandName="Create a Repository" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxVurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.PushTags" commandName="Push Tags..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxV-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.ContinueRebase" commandName="Continue Rebase" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxWOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CreatePatch" commandName="Create Patch" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxWerNEeSOidyff_nu0w" elementId="org.eclipse.m2e.actions.LifeCycleGenerateSources.run" commandName="Run Maven Generate Sources" description="Run Maven Generate Sources" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxWurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewClearCredentials" commandName="Clear Credentials" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxW-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.convertToMarkupCommand" commandName="Generate Markup" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxxXOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.targetLanguage" name="TargetLanguage" optional="false"/>
</commands>
- <commands xmi:id="_Z53N989SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.RefreshRepositoryTasks" commandName="Synchronize Changed" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N-M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor" commandName="Open in Editor" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N-c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Commit" commandName="Commit..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N-s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.submodule.update" commandName="Update Submodule" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N-89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Pull" commandName="Pull" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N_M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewConfigureFetch" commandName="Configure Fetch..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N_c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Push" commandName="Push" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.command.ShowBuildOutput" commandName="Show Build Output" category="_Z53z489SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53N_89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewNewRemote" commandName="Create Remote..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.stash.drop" commandName="Delete Stashed Commit..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.RenameBranch" commandName="Rename Branch..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.SimpleFetch" commandName="Fetch from Upstream" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.MergeTool" commandName="Merge Tool" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.command.shareProject" commandName="Share with Git" description="Share the project using Git" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53OBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.command.projectNameParameter" name="Project" optional="false"/>
+ <commands xmi:id="_emxxXerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.RefreshRepositoryTasks" commandName="Synchronize Changed" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxXurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor" commandName="Open in Editor" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxX-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Commit" commandName="Commit..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxYOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.submodule.update" commandName="Update Submodule" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxYerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Pull" commandName="Pull" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxYurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewConfigureFetch" commandName="Configure Fetch..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxY-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Push" commandName="Push" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxZOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.command.ShowBuildOutput" commandName="Show Build Output" category="_em0N9-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxZerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewNewRemote" commandName="Create Remote..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxZurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.stash.drop" commandName="Delete Stashed Commit..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxZ-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.RenameBranch" commandName="Rename Branch..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxaOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.SimpleFetch" commandName="Fetch from Upstream" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxaerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.MergeTool" commandName="Merge Tool" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxaurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.command.shareProject" commandName="Share with Git" description="Share the project using Git" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxxa-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.command.projectNameParameter" name="Project" optional="false"/>
</commands>
- <commands xmi:id="_Z53OBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.equinox.p2.ui.sdk.installationDetails" commandName="Installation Details" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.profiles.ui.commands.selectMavenProfileCommand" commandName="Select Maven Profiles" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.internal.reflog.CopyCommand" commandName="Copy SHA-1" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Reset" commandName="Reset..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.RenameBranch" commandName="Rename Branch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Synchronize" commandName="Synchronize" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ODM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.core.ui.command.openPom" commandName="Open Maven POM" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ODc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.Revert" commandName="Revert Commit" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ODs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Ignore" commandName="Ignore" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.Edit" commandName="Edit Commit" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.Merge" commandName="Merge" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CreateTag" commandName="Create Tag..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.commands.OpenBuildElementWithBrowser" commandName="Open Build with Browser" category="_Z53z489SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53OE89SEeSV1Mx9A3xekQ" elementId="element" name="Element"/>
+ <commands xmi:id="_emxxbOrNEeSOidyff_nu0w" elementId="org.eclipse.equinox.p2.ui.sdk.installationDetails" commandName="Installation Details" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxberNEeSOidyff_nu0w" elementId="org.eclipse.m2e.profiles.ui.commands.selectMavenProfileCommand" commandName="Select Maven Profiles" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxburNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.internal.reflog.CopyCommand" commandName="Copy SHA-1" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxb-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Reset" commandName="Reset..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxcOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.RenameBranch" commandName="Rename Branch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxcerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Synchronize" commandName="Synchronize" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxcurNEeSOidyff_nu0w" elementId="org.eclipse.m2e.core.ui.command.openPom" commandName="Open Maven POM" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxc-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.Revert" commandName="Revert Commit" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxdOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Ignore" commandName="Ignore" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxderNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.Edit" commandName="Edit Commit" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxdurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.Merge" commandName="Merge" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxd-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CreateTag" commandName="Create Tag..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxeOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.commands.OpenBuildElementWithBrowser" commandName="Open Build with Browser" category="_em0N9-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxxeerNEeSOidyff_nu0w" elementId="element" name="Element"/>
</commands>
- <commands xmi:id="_Z53OFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewDelete" commandName="Delete Repository" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.commands.OpenBuildElement" commandName="Open Build Element" category="_Z53z489SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53OFs9SEeSV1Mx9A3xekQ" elementId="element" name="Element"/>
+ <commands xmi:id="_emxxeurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewDelete" commandName="Delete Repository" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxe-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.commands.OpenBuildElement" commandName="Open Build Element" category="_em0N9-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxxfOrNEeSOidyff_nu0w" elementId="element" name="Element"/>
</commands>
- <commands xmi:id="_Z53OF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.GarbageCollect" commandName="Collect Garbage" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OGM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CompareWithWorkingTree" commandName="Compare with Working Directory" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OGc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Branch" commandName="Branch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OGs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewConfigurePush" commandName="Configure Push..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.stash.apply" commandName="Apply Stashed Changes" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.CherryPick" commandName="Cherry Pick" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.Squash" commandName="Squash Commits" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.command.NewTaskFromBuild" commandName="New Task From Build" category="_Z53z489SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.FetchGerritChange" commandName="Fetch From Gerrit" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.Reword" commandName="Reword Commit" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.context.ui.editor.folding.auto" commandName="Toggle Active Folding" description="Toggle Active Folding" category="_Z53z5M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.OpenCommit" commandName="Open Git Commit" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OI89SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.UpdateRepositoryConfiguration" commandName="Update Repository Configuration" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53OJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.ShowVersions" commandName="Open" category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53OJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CompareMode" name="Compare mode"/>
+ <commands xmi:id="_emxxferNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.GarbageCollect" commandName="Collect Garbage" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxfurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CompareWithWorkingTree" commandName="Compare with Working Directory" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxf-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Branch" commandName="Branch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxgOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewConfigurePush" commandName="Configure Push..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxgerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.stash.apply" commandName="Apply Stashed Changes" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxgurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.CherryPick" commandName="Cherry Pick" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxg-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.Squash" commandName="Squash Commits" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxhOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.command.NewTaskFromBuild" commandName="New Task From Build" category="_em0N9-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxherNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.FetchGerritChange" commandName="Fetch From Gerrit" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxhurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.Reword" commandName="Reword Commit" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxh-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.context.ui.editor.folding.auto" commandName="Toggle Active Folding" description="Toggle Active Folding" category="_em0N-OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxiOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.OpenCommit" commandName="Open Git Commit" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxierNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.UpdateRepositoryConfiguration" commandName="Update Repository Configuration" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxiurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.ShowVersions" commandName="Open" category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxxi-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CompareMode" name="Compare mode"/>
</commands>
- <commands xmi:id="_Z53OJs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.submodule.sync" commandName="Sync Submodule" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y8M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.DeleteBranch" commandName="Delete Branch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y8c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.ConfigureUpstreamFetch" commandName="Configure Upstream Fetch" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y8s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Discard" commandName="Replace with File in Git Index" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y889SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewCreateBranch" commandName="Create Branch..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y9M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewCopyPath" commandName="Copy Path to Clipboard" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y9c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.command.NewTaskFromTest" commandName="New Task From Test" category="_Z53z489SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y9s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Rebase" commandName="Rebase on" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y989SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.ShowInHistory" commandName="Show in History" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y-M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ReplaceWithHead" commandName="Replace with HEAD revision" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y-c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.DeleteBranch" commandName="Delete Branch..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y-s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ConfigurePush" commandName="Configure Upstream Push" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y-89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.window.splitEditor" commandName="Toggle Split Editor" description="Split or join the currently active editor." category="_Z53zuc9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53y_M9SEeSV1Mx9A3xekQ" elementId="Splitter.isHorizontal" name="Orientation" optional="false"/>
+ <commands xmi:id="_emxxjOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.submodule.sync" commandName="Sync Submodule" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxjerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.DeleteBranch" commandName="Delete Branch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxjurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.ConfigureUpstreamFetch" commandName="Configure Upstream Fetch" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxj-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Discard" commandName="Replace with File in Git Index" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxkOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewCreateBranch" commandName="Create Branch..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxkerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewCopyPath" commandName="Copy Path to Clipboard" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxkurNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.command.NewTaskFromTest" commandName="New Task From Test" category="_em0N9-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxk-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Rebase" commandName="Rebase on" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxlOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.ShowInHistory" commandName="Show in History" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxlerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ReplaceWithHead" commandName="Replace with HEAD revision" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxlurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.DeleteBranch" commandName="Delete Branch..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxl-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ConfigurePush" commandName="Configure Upstream Push" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxmOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.window.splitEditor" commandName="Toggle Split Editor" description="Split or join the currently active editor." category="_em0NzerNEeSOidyff_nu0w">
+ <parameters xmi:id="_emxxmerNEeSOidyff_nu0w" elementId="Splitter.isHorizontal" name="Orientation" optional="false"/>
</commands>
- <commands xmi:id="_Z53y_c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.core.ui.command.addPlugin" commandName="Add Maven Plugin" description="Add Maven Plugin" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y_s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.CreateBranch" commandName="Create Branch..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53y_89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesLinkWithSelection" commandName="Link with Selection" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zAM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands.toggle.focus.active.view" commandName="Focus on Active Task" description="Toggle the focus on active task for the active view" category="_Z53z3c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zAc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ShowRepositoriesView" commandName="Show Git Repositories View" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zAs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.CreatePatch" commandName="Create Patch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zA89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RebaseInteractiveCurrent" commandName="%RebaseInteractiveCurrentHandler.name" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zBM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.SkipRebase" commandName="Skip commit and continue" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zBc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.SetQuickdiffBaseline" commandName="Set quickdiff baseline" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zBs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.submodule.add" commandName="Add Submodule" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zB89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.ShowBlame" commandName="Show Annotations" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zCM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.org.eclipse.egit.ui.AbortRebase" commandName="Abort Rebase" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zCc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Merge" commandName="Merge" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zCs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ReplaceWithRef" commandName="Replace with branch, tag, or reference" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zC89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CompareVersionsInTree" commandName="Compare in Tree" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zDM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy" commandName="Toggle Branch Representation" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zDc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ApplyPatch" commandName="Apply Patch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zDs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.Checkout" commandName="Checkout" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zD89SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.actions.LifeCycleClean.run" commandName="Run Maven Clean" description="Run Maven Clean" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zEM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Disconnect" commandName="Disconnect" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zEc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.CreateTag" commandName="Create Tag..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zEs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewChangeCredentials" commandName="Change Credentials" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zE89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.correction.extractMethodInplace.assist" commandName="Quick Assist - Extract method" description="Invokes quick assist and selects 'Extract to method'" category="_Z53z4M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zFM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.command.disconnected" commandName="Disconnected" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zFc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commit.Reword" commandName="Reword Commit" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zFs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.CompareWithPrevious" commandName="Compare with Previous Revision" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zF89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit" commandName="Toggle Latest Branch Commit" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zGM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.PushCommit" commandName="Push Commit..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zGc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Tag" commandName="Tag" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zGs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.NoAssumeUnchanged" commandName="No Assume Unchanged" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zG89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.showInSystemExplorer" commandName="Show In (System Explorer)" description="Show in system's explorer (file manager)" category="_Z53z3s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zHM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.CompareWithIndex" commandName="Compare with Git Index" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zHc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.discovery.ui" commandName="m2e Marketplace" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zHs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.AddToIndex" commandName="Add to Git Index" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zH89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewConfigureBranch" commandName="Configure Branch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zIM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote" commandName="Gerrit Configuration..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zIc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ReplaceWithCommit" commandName="Replace with commit" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zIs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.CompareWithHead" commandName="Compare with HEAD Revision" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zI89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewOpen" commandName="Open" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zJM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ShowHistory" commandName="Show in History" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zJc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.core.ui.command.updateProject" commandName="Update Project" description="Update Maven Project configuration and dependencies" category="_Z53zuc9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zJs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.SimplePush" commandName="Push to Upstream" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zJ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.PushHeadToGerrit" commandName="Push Current Head to Gerrit" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zKM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.ShowBlame" commandName="Show Annotations" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zKc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.core.pomFileAction.run" commandName="Run Maven Build" description="Run Maven Build" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zKs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand" commandName="Open in Commit Viewer" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zK89SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.actions.LifeCycleInstall.run" commandName="Run Maven Install" description="Run Maven Install" category="_Z53zw89SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zLM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.Fetch" commandName="Fetch" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zLc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewRebase" commandName="Rebase on" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zLs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.commands.empty" commandName="Empty command" description="Command which does nothing" category="_Z53z4s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zL89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewRenameBranch" commandName="Rename Branch..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zMM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.AssumeUnchanged" commandName="Assume Unchanged" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zMc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.PushBranch" commandName="Push Branch..." category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zMs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.core.ui.command.addDependency" commandName="Add Maven Dependency" description="Add Maven Dependency" category="_Z53z1M9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zM89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.stash.create" commandName="Stash Changes" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zNM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CheckoutCommand" commandName="Checkout" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zNc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.file.closeAllSaved" commandName="Close All Saved" description="Close all saved editors" category="_Z53zwM9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zNs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.m2e.editor.RenameArtifactAction" commandName="Rename Maven Artifact..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zN89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.team.RemoveFromIndex" commandName="Remove from Git Index" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zOM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CherryPick" commandName="Cherry Pick" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zOc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.commands.CopyDetails" commandName="Copy Details" category="_Z53z489SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53zOs9SEeSV1Mx9A3xekQ" elementId="kind" name="Kind"/>
- <parameters xmi:id="_Z53zO89SEeSV1Mx9A3xekQ" elementId="element" name="Element"/>
+ <commands xmi:id="_emxxmurNEeSOidyff_nu0w" elementId="org.eclipse.m2e.core.ui.command.addPlugin" commandName="Add Maven Plugin" description="Add Maven Plugin" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxm-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.CreateBranch" commandName="Create Branch..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxnOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesLinkWithSelection" commandName="Link with Selection" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxnerNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands.toggle.focus.active.view" commandName="Focus on Active Task" description="Toggle the focus on active task for the active view" category="_em0N8erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxnurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ShowRepositoriesView" commandName="Show Git Repositories View" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxn-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.CreatePatch" commandName="Create Patch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxoOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RebaseInteractiveCurrent" commandName="%RebaseInteractiveCurrentHandler.name" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxoerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.SkipRebase" commandName="Skip commit and continue" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxourNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.SetQuickdiffBaseline" commandName="Set quickdiff baseline" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxo-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.submodule.add" commandName="Add Submodule" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxpOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.ShowBlame" commandName="Show Annotations" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxperNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.org.eclipse.egit.ui.AbortRebase" commandName="Abort Rebase" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxpurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Merge" commandName="Merge" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxp-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ReplaceWithRef" commandName="Replace with branch, tag, or reference" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxqOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CompareVersionsInTree" commandName="Compare in Tree" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxqerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy" commandName="Toggle Branch Representation" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxqurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ApplyPatch" commandName="Apply Patch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxq-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.Checkout" commandName="Checkout" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxrOrNEeSOidyff_nu0w" elementId="org.eclipse.m2e.actions.LifeCycleClean.run" commandName="Run Maven Clean" description="Run Maven Clean" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emxxrerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Disconnect" commandName="Disconnect" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmcOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.CreateTag" commandName="Create Tag..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmcerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewChangeCredentials" commandName="Change Credentials" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmcurNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.correction.extractMethodInplace.assist" commandName="Quick Assist - Extract method" description="Invokes quick assist and selects 'Extract to method'" category="_em0N9OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmc-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.command.disconnected" commandName="Disconnected" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmdOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commit.Reword" commandName="Reword Commit" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmderNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.CompareWithPrevious" commandName="Compare with Previous Revision" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmdurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit" commandName="Toggle Latest Branch Commit" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmd-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.PushCommit" commandName="Push Commit..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmeOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Tag" commandName="Tag" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmeerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.NoAssumeUnchanged" commandName="No Assume Unchanged" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmeurNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.showInSystemExplorer" commandName="Show In (System Explorer)" description="Show in system's explorer (file manager)" category="_em0N8urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzme-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.CompareWithIndex" commandName="Compare with Git Index" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmfOrNEeSOidyff_nu0w" elementId="org.eclipse.m2e.discovery.ui" commandName="m2e Marketplace" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmferNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.AddToIndex" commandName="Add to Git Index" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmfurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewConfigureBranch" commandName="Configure Branch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmf-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote" commandName="Gerrit Configuration..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmgOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ReplaceWithCommit" commandName="Replace with commit" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmgerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.CompareWithHead" commandName="Compare with HEAD Revision" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmgurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewOpen" commandName="Open" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmg-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ShowHistory" commandName="Show in History" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmhOrNEeSOidyff_nu0w" elementId="org.eclipse.m2e.core.ui.command.updateProject" commandName="Update Project" description="Update Maven Project configuration and dependencies" category="_em0NzerNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmherNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.SimplePush" commandName="Push to Upstream" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmhurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.PushHeadToGerrit" commandName="Push Current Head to Gerrit" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmh-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.ShowBlame" commandName="Show Annotations" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmiOrNEeSOidyff_nu0w" elementId="org.eclipse.m2e.core.pomFileAction.run" commandName="Run Maven Build" description="Run Maven Build" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmierNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand" commandName="Open in Commit Viewer" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmiurNEeSOidyff_nu0w" elementId="org.eclipse.m2e.actions.LifeCycleInstall.run" commandName="Run Maven Install" description="Run Maven Install" category="_em0N1-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmi-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.Fetch" commandName="Fetch" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmjOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewRebase" commandName="Rebase on" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmjerNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.commands.empty" commandName="Empty command" description="Command which does nothing" category="_em0N9urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmjurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewRenameBranch" commandName="Rename Branch..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmj-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.AssumeUnchanged" commandName="Assume Unchanged" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmkOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.PushBranch" commandName="Push Branch..." category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmkerNEeSOidyff_nu0w" elementId="org.eclipse.m2e.core.ui.command.addDependency" commandName="Add Maven Dependency" description="Add Maven Dependency" category="_em0N6OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmkurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.stash.create" commandName="Stash Changes" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmk-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CheckoutCommand" commandName="Checkout" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmlOrNEeSOidyff_nu0w" elementId="org.eclipse.ui.file.closeAllSaved" commandName="Close All Saved" description="Close all saved editors" category="_em0N1OrNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmlerNEeSOidyff_nu0w" elementId="org.eclipse.m2e.editor.RenameArtifactAction" commandName="Rename Maven Artifact..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmlurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.team.RemoveFromIndex" commandName="Remove from Git Index" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzml-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CherryPick" commandName="Cherry Pick" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmmOrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.commands.CopyDetails" commandName="Copy Details" category="_em0N9-rNEeSOidyff_nu0w">
+ <parameters xmi:id="_emzmmerNEeSOidyff_nu0w" elementId="kind" name="Kind"/>
+ <parameters xmi:id="_emzmmurNEeSOidyff_nu0w" elementId="element" name="Element"/>
</commands>
- <commands xmi:id="_Z53zPM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.command.RunBuild" commandName="Run Build" category="_Z53z489SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zPc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.CompareVersions" commandName="Compare with each other" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zPs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.CheckoutCommand" commandName="Checkout" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zP89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.Reset" commandName="Reset..." category="_Z53z1c9SEeSV1Mx9A3xekQ">
- <parameters xmi:id="_Z53zQM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.ResetMode" name="Reset mode" optional="false"/>
+ <commands xmi:id="_emzmm-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.command.RunBuild" commandName="Run Build" category="_em0N9-rNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmnOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.CompareVersions" commandName="Compare with each other" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmnerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.CheckoutCommand" commandName="Checkout" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmnurNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.Reset" commandName="Reset..." category="_em0N6erNEeSOidyff_nu0w">
+ <parameters xmi:id="_emzmn-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.ResetMode" name="Reset mode" optional="false"/>
</commands>
- <commands xmi:id="_Z53zQc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewRemoveRemote" commandName="Delete Remote" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zQs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RebaseCurrent" commandName="Rebase" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zQ89SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.history.Revert" commandName="Revert Commit" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zRM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.RepositoriesViewImportProjects" commandName="Import Projects..." description="Import or create in local Git repository" category="_Z53z5c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zRc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ant.ui.actionSet.presentation/org.eclipse.ant.ui.toggleAutoReconcile" commandName="Toggle Ant Editor Auto Reconcile" description="Toggle Ant Editor Auto Reconcile" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zRs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.RunWithConfigurationAction" commandName="Run As" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zR89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.RunHistoryMenuAction" commandName="Run History" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zSM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.RunDropDownAction" commandName="Run" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zSc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.DebugWithConfigurationAction" commandName="Debug As" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zSs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.DebugHistoryMenuAction" commandName="Debug History" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zS89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.DebugDropDownAction" commandName="Debug" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zTM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.profileActionSet/org.eclipse.debug.internal.ui.actions.ProfileDropDownAction" commandName="Profile" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zTc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.profileActionSet/org.eclipse.debug.internal.ui.actions.ProfileWithConfigurationAction" commandName="Profile As" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zTs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.profileActionSet/org.eclipse.debug.internal.ui.actions.ProfileHistoryMenuAction" commandName="Profile History" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zT89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.ui.JavaElementCreationActionSet/org.eclipse.jdt.ui.actions.NewTypeDropDown" commandName="Class..." description="New Java Class" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zUM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.ui.JavaElementCreationActionSet/org.eclipse.jdt.ui.actions.OpenPackageWizard" commandName="Package..." description="New Java Package" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zUc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.ui.JavaElementCreationActionSet/org.eclipse.jdt.ui.actions.OpenProjectWizard" commandName="Java Project..." description="New Java Project" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zUs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.ui.SearchActionSet/org.eclipse.jdt.ui.actions.OpenJavaSearchPage" commandName="Java..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zU89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.java.actionSet.browsing/org.eclipse.mylyn.java.ui.actions.ApplyMylynToBrowsingPerspectiveAction" commandName="Focus Browsing Perspective" description="Focus Java Browsing Views on Active Task" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zVM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.doc.actionSet/org.eclipse.mylyn.tasks.ui.bug.report" commandName="Report Bug or Enhancement..." description="Report Bug or Enhancement" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zVc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.navigation.additions/org.eclipse.mylyn.tasks.ui.navigate.task.history" commandName="Activate Previous Task" description="Activate Previous Task" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zVs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction" commandName="Cheat Sheets..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zV89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.search.searchActionSet/org.eclipse.search.OpenSearchDialogPage" commandName="Search..." description="Search" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zWM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.team.ui.actionSet/org.eclipse.team.ui.synchronizeAll" commandName="Synchronize..." description="Synchronize..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zWc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.team.ui.actionSet/org.eclipse.team.ui.ConfigureProject" commandName="Share Project..." description="Share the project with others using a version and configuration management system." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zWs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ui.externaltools.ExternalToolsSet/org.eclipse.ui.externaltools.ExternalToolMenuDelegateMenu" commandName="External Tools" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zW89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.wb.core.ui.actionset/org.eclipse.wb.core.wizards.actions.NewDesignerTypeDropDownAction" commandName="New Visual Class" description="Create new visual classes" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zXM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ant.ui.BreakpointRulerActions/org.eclipse.ant.ui.actions.ManageBreakpointRulerAction" commandName="Toggle Breakpoint" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zXc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.CompilationUnitEditor.BreakpointRulerActions/org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction" commandName="Toggle Breakpoint" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zXs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ClassFileEditor.BreakpointRulerActions/org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction" commandName="Toggle Breakpoint" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zX89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.CompilationUnitEditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.BookmarkRulerAction" commandName="Java Editor Bookmark Ruler Action" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zYM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.CompilationUnitEditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" commandName="Java Editor Ruler Single-Click" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zYc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.ClassFileEditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" commandName="Java Editor Ruler Single-Click" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zYs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.PropertiesFileEditor.ruler.actions/org.eclipse.jdt.internal.ui.propertiesfileeditor.BookmarkRulerAction" commandName="Java Editor Bookmark Ruler Action" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zY89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.PropertiesFileEditor.ruler.actions/org.eclipse.jdt.internal.ui.propertiesfileeditor.SelectRulerAction" commandName="Java Editor Ruler Single-Click" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zZM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.m2e.jdt.ui.downloadSourcesContribution/org.eclipse.m2e.jdt.ui.downloadSourcesAction" commandName="label" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zZc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.m2e.jdt.ui.downloadSourcesContribution_38/org.eclipse.m2e.jdt.ui.downloadSourcesAction_38" commandName="label" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zZs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Text Editor Bookmark Ruler Action" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zZ89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Text Editor Ruler Single-Click" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zaM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" commandName="label" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zac9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.wst.dtd.core.dtdsource.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Add Bookmark..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zas9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.wst.dtd.core.dtdsource.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Select Ruler" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53za89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.core.runtime.xml.source.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Add Bookmark..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zbM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.core.runtime.xml.source.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Select Ruler" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zbc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.wst.xsd.core.xsdsource.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Add Bookmark..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zbs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.wst.xsd.core.xsdsource.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Select Ruler" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zb89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.PulldownActions/org.eclipse.debug.ui.debugview.pulldown.ViewManagementAction" commandName="View Management..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zcM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.debugview.toolbar/org.eclipse.debug.ui.debugview.toolbar.removeAllTerminated" commandName="Remove All Terminated" description="Remove All Terminated Launches" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zcc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.removeAll" commandName="Remove All" description="Remove All Breakpoints" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zcs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.linkWithDebugView" commandName="Link with Debug View" description="Link with Debug View" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zc89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.workingSets" commandName="Working Sets..." description="Manage Working Sets" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zdM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.clearDefaultBreakpointGroup" commandName="Deselect Default Working Set" description="Deselect Default Working Set" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zdc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.setDefaultBreakpointGroup" commandName="Select Default Working Set..." description="Select Default Working Set" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zds9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.groupByAction" commandName="Group By" description="Show" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zd89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.expressionsView.toolbar/org.eclipse.debug.ui.expresssionsView.toolbar.removeAll" commandName="Remove All" description="Remove All Expressions" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zeM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.expressionsView.toolbar/org.eclipse.debug.ui.expresssionsView.toolbar.AddWatchExpression" commandName="Add Watch Expression..." description="Create a new watch expression" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zec9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.PinMemoryBlockAction" commandName="Pin Memory Monitor" description="Pin Memory Monitor" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zes9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.NewMemoryViewAction" commandName="New Memory View" description="New Memory View" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ze89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.togglemonitors" commandName="Toggle Memory Monitors Pane" description="Toggle Memory Monitors Pane" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zfM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.linkrenderingpanes" commandName="Link Memory Rendering Panes" description="Link Memory Rendering Panes" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zfc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.tablerendering.preferencesaction" commandName="Table Renderings Preferences..." description="&amp;Table Renderings Preferences..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zfs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.togglesplitpane" commandName="Toggle Split Pane" description="Toggle Split Pane" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zf89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.switchMemoryBlock" commandName="Switch Memory Monitor" description="Switch Memory Monitor" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zgM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.memoryViewPreferencesAction" commandName="Preferences..." description="&amp;Preferences..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zgc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.Preferences" commandName="Java Preferences..." description="Opens preferences for Java variables" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zgs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variablesViewActions.AllReferencesInView" commandName="Show References" description="Shows references to each object in the variables view as an array of objects." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zg89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowNullEntries" commandName="Show Null Array Entries" description="Show Null Array Entries" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zhM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zhc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowStatic" commandName="Show Static Variables" description="Show Static Variables" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zhs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowConstants" commandName="Show Constants" description="Show Constants" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zh89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.variableViewActions.Preferences" commandName="Java Preferences..." description="Opens preferences for Java variables" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53ziM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.AllReferencesInView" commandName="Show References" description="Show &amp;References" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zic9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowNullEntries" commandName="Show Null Array Entries" description="Show Null Array Entries" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zis9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zi89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.ShowStatic" commandName="Show Static Variables" description="Show Static Variables" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zjM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.ShowConstants" commandName="Show Constants" description="Show Constants" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zjc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.BreakpointViewActions/org.eclipse.jdt.debug.ui.actions.AddException" commandName="Add Java Exception Breakpoint" description="Add Java Exception Breakpoint" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zjs9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.BreakpointViewActions/org.eclipse.jdt.debug.ui.breakpointViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zj89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowThreadGroups" commandName="Show Thread Groups" description="Show Thread Groups" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zkM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zkc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowSystemThreads" commandName="Show System Threads" description="Show System Threads" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zks9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowMonitorThreadInfo" commandName="Show Monitors" description="Show the Thread &amp; Monitor Information" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zk89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Watch" commandName="Watch" description="Create a Watch Expression from the Selected Text" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zlM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Execute" commandName="Execute" description="Execute the Selected Text" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zlc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Display" commandName="Display" description="Display Result of Evaluating Selected Text" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zls9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Inspect" commandName="Inspect" description="Inspect Result of Evaluating Selected Text" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zl89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.context.ui.outline.contribution/org.eclipse.mylyn.context.ui.contentOutline.focus" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zmM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.java.ui.markers.breakpoints.contribution/org.eclipse.mylyn.java.ui.actions.focus.markers.breakpoints" commandName="Focus on Active Task" description="Focus on Active Task" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zmc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.ui.debug.view.contribution/org.eclipse.mylyn.ui.actions.FilterResourceNavigatorAction" commandName="Focus on Active Task (Experimental)" description="Focus on Active Task (Experimental)" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zms9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.ui.projectexplorer.filter/org.eclipse.mylyn.ide.ui.actions.focus.projectExplorer" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zm89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.ui.resource.navigator.filter/org.eclipse.mylyn.ide.ui.actions.focus.resourceNavigator" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53znM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.problems.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.problems" commandName="Focus on Active Task" description="Focus on Active Task" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53znc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.markers.all.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.all" commandName="Focus on Active Task" description="Focus on Active Task" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zns9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.markers.tasks.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.tasks" commandName="Focus on Active Task" description="Focus on Active Task" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zn89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.markers.bookmarks.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.bookmarks" commandName="Focus on Active Task" description="Focus on Active Task" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zoM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.java.explorer.contribution/org.eclipse.mylyn.java.actions.focus.packageExplorer" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zoc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.search.open" commandName="Search Repository..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zos9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.synchronize.changed" commandName="Synchronize Changed" description="Synchronize Changed" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zo89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.tasks.restore" commandName="Restore Tasks from History..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zpM9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.open.repositories.view" commandName="Show Task Repositories View" description="Show Task Repositories View" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zpc9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.doc.legend.show.action" commandName="Show UI Legend" description="Show Tasks UI Legend" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zps9SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.context.ui.actions.tasklist.focus" commandName="Focus on Workweek" description="Focus on Workweek" category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zp89SEeSV1Mx9A3xekQ" elementId="net.sf.jautodoc.commands.AddHeaderDlg" commandName="Add Header with Dialog" category="_Z53z5s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zqM9SEeSV1Mx9A3xekQ" elementId="net.sf.jautodoc.commands.AddJavadocDlg" commandName="Add Javadoc with Dialog" category="_Z53z5s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zqc9SEeSV1Mx9A3xekQ" elementId="net.sf.jautodoc.commands.AddHeader" commandName="Add Header" category="_Z53z5s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zqs9SEeSV1Mx9A3xekQ" elementId="net.sf.jautodoc.commands.AddJavadoc" commandName="Add Javadoc" category="_Z53z5s9SEeSV1Mx9A3xekQ"/>
- <commands xmi:id="_Z53zq89SEeSV1Mx9A3xekQ" elementId="AUTOGEN:::net.sf.jautodoc.actions.SearchActionSet/net.sf.jautodoc.actions.OpenSearchPage" commandName="JAutodoc..." category="_Z53z1c9SEeSV1Mx9A3xekQ"/>
- <addons xmi:id="_Z53zrM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.core.commands.service" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
- <addons xmi:id="_Z53zrc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.ui.contexts.service" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
- <addons xmi:id="_Z53zrs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.ui.bindings.service" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
- <addons xmi:id="_Z53zr89SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.ui.workbench.commands.model" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
- <addons xmi:id="_Z53zsM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
- <addons xmi:id="_Z53zsc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
- <addons xmi:id="_Z53zss9SEeSV1Mx9A3xekQ" elementId="Cleanup Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon"/>
- <addons xmi:id="_Z53zs89SEeSV1Mx9A3xekQ" elementId="DnD Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon"/>
- <addons xmi:id="_Z53ztM9SEeSV1Mx9A3xekQ" elementId="MinMax Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon"/>
- <addons xmi:id="_Z53ztc9SEeSV1Mx9A3xekQ" elementId="SplitterAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.splitteraddon.SplitterAddon"/>
- <categories xmi:id="_Z53zts9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.perspectives" name="Perspectives" description="Commands for opening perspectives"/>
- <categories xmi:id="_Z53zt89SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.cvs.ui.actionSet" name="CVS" description="Actions that apply when working with CVS repositories"/>
- <categories xmi:id="_Z53zuM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaedtor.10x" name="ASA 9.x table schema editor"/>
- <categories xmi:id="_Z53zuc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.window" name="Window"/>
- <categories xmi:id="_Z53zus9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.sqleditor.category" name="Database Tools" description="Database Development tools"/>
- <categories xmi:id="_Z53zu89SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.xml.views.XPathView" name="XPath"/>
- <categories xmi:id="_Z53zvM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.project" name="Project"/>
- <categories xmi:id="_Z53zvc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.views" name="Views" description="Commands for opening views"/>
- <categories xmi:id="_Z53zvs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.runtime.spy.commands.category" name="Spy"/>
- <categories xmi:id="_Z53zv89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.ide.markerContents" name="Contents" description="The category for menu contents"/>
- <categories xmi:id="_Z53zwM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.file" name="File"/>
- <categories xmi:id="_Z53zwc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.tasks.ui.commands" name="WikiText Context" description="WikiText Task-Focused Interface Commands"/>
- <categories xmi:id="_Z53zws9SEeSV1Mx9A3xekQ" elementId="org.eclipse.rse.ui.commands.category" name="Remote Systems"/>
- <categories xmi:id="_Z53zw89SEeSV1Mx9A3xekQ" elementId="org.eclipse.debug.ui.category.run" name="Run/Debug" description="Run/Debug command category"/>
- <categories xmi:id="_Z53zxM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.ui.editor.category" name="WikiText Markup Editing Commands" description="commands for editing lightweight markup"/>
- <categories xmi:id="_Z53zxc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.pde.ui.category.source" name="Manifest Editor Source" description="PDE Source Page actions"/>
- <categories xmi:id="_Z53zxs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.emf.codegen.ecore.ui.Commands" name="EMF Code Generation" description="Commands for the EMF code generation tools"/>
- <categories xmi:id="_Z53zx89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.jpaStructureViewCommands" name="JPA Structure View"/>
- <categories xmi:id="_Z53zyM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.category.editor" name="Task Editor"/>
- <categories xmi:id="_Z53zyc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.category.source" name="Source" description="JavaScript Source Actions"/>
- <categories xmi:id="_Z53zys9SEeSV1Mx9A3xekQ" elementId="org.eclipse.datatools.sqltools.result.category" name="SQL Results View"/>
- <categories xmi:id="_Z53zy89SEeSV1Mx9A3xekQ" elementId="org.eclipse.jpt.jpa.ui.jpaMetadataConversionCommands" name="JPA Metadata Conversion"/>
- <categories xmi:id="_Z53zzM9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.ui.category.refactoring" name="Refactor - JavaScript" description="JavaScript Refactoring Actions"/>
- <categories xmi:id="_Z53zzc9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.java.ui.commands" name="Java Context" description="Java Task-Focused Interface Commands"/>
- <categories xmi:id="_Z53zzs9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.server.ui" name="Server" description="Server"/>
- <categories xmi:id="_Z53zz89SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.dialogs" name="Dialogs" description="Commands for opening dialogs"/>
- <categories xmi:id="_Z53z0M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.textEditor" name="Text Editing" description="Text Editing Commands"/>
- <categories xmi:id="_Z53z0c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.search.ui.category.search" name="Search" description="Search command category"/>
- <categories xmi:id="_Z53z0s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.commons.repositories.ui.category.Team" name="Team"/>
- <categories xmi:id="_Z53z089SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.tasks.ui.commands" name="Task Repositories"/>
- <categories xmi:id="_Z53z1M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.edit" name="Edit"/>
- <categories xmi:id="_Z53z1c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.core.commands.categories.autogenerated" name="Uncategorized" description="Commands that were either auto-generated or have no category"/>
- <categories xmi:id="_Z53z1s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wst.jsdt.debug.ui.category" name="JavaScript Debug" description="Tooling for debugging JavaScript"/>
- <categories xmi:id="_Z53z189SEeSV1Mx9A3xekQ" elementId="org.eclipse.team.ui.category.team" name="Team" description="Actions that apply when working with a Team"/>
- <categories xmi:id="_Z53z2M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.gef.category.view" name="View" description="View"/>
- <categories xmi:id="_Z53z2c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.help" name="Help"/>
- <categories xmi:id="_Z53z2s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.tm.terminal.category1" name="Terminal view commands" description="%terminal.view.insertion.description"/>
- <categories xmi:id="_Z53z289SEeSV1Mx9A3xekQ" elementId="org.eclipse.jst.pagedesigner.pagelayout" name="Web Page Editor Layout"/>
- <categories xmi:id="_Z53z3M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.compare.ui.category.compare" name="Compare" description="Compare command category"/>
- <categories xmi:id="_Z53z3c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.context.ui.commands" name="Focused UI" description="Task-Focused Interface"/>
- <categories xmi:id="_Z53z3s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.ui.category.navigate" name="Navigate"/>
- <categories xmi:id="_Z53z389SEeSV1Mx9A3xekQ" elementId="org.eclipse.ltk.ui.category.refactoring" name="Refactoring"/>
- <categories xmi:id="_Z53z4M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.category.source" name="Source" description="Java Source Actions"/>
- <categories xmi:id="_Z53z4c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.jdt.ui.category.refactoring" name="Refactor - Java" description="Java Refactoring Actions"/>
- <categories xmi:id="_Z53z4s9SEeSV1Mx9A3xekQ" elementId="org.eclipse.wb.core.actions.category" name="WindowBuilder Pro" description="WindowBuilder Pro actions"/>
- <categories xmi:id="_Z53z489SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.builds.ui.category.Commands" name="Builds"/>
- <categories xmi:id="_Z53z5M9SEeSV1Mx9A3xekQ" elementId="org.eclipse.mylyn.wikitext.context.ui.commands" name="%commands.category.name" description="%commands.category.description"/>
- <categories xmi:id="_Z53z5c9SEeSV1Mx9A3xekQ" elementId="org.eclipse.egit.ui.commandCategory" name="Git"/>
- <categories xmi:id="_Z53z5s9SEeSV1Mx9A3xekQ" elementId="net.sf.jautodoc.categories.JAutodoc" name="JAutodoc"/>
+ <commands xmi:id="_emzmoOrNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewRemoveRemote" commandName="Delete Remote" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmoerNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RebaseCurrent" commandName="Rebase" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmourNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.history.Revert" commandName="Revert Commit" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmo-rNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.RepositoriesViewImportProjects" commandName="Import Projects..." description="Import or create in local Git repository" category="_em0N-erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmpOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ant.ui.actionSet.presentation/org.eclipse.ant.ui.toggleAutoReconcile" commandName="Toggle Ant Editor Auto Reconcile" description="Toggle Ant Editor Auto Reconcile" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmperNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.RunWithConfigurationAction" commandName="Run As" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmpurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.RunHistoryMenuAction" commandName="Run History" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmp-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.RunDropDownAction" commandName="Run" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmqOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.DebugWithConfigurationAction" commandName="Debug As" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmqerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.DebugHistoryMenuAction" commandName="Debug History" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmqurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.launchActionSet/org.eclipse.debug.internal.ui.actions.DebugDropDownAction" commandName="Debug" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmq-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.profileActionSet/org.eclipse.debug.internal.ui.actions.ProfileDropDownAction" commandName="Profile" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmrOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.profileActionSet/org.eclipse.debug.internal.ui.actions.ProfileWithConfigurationAction" commandName="Profile As" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmrerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.profileActionSet/org.eclipse.debug.internal.ui.actions.ProfileHistoryMenuAction" commandName="Profile History" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmrurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.ui.JavaElementCreationActionSet/org.eclipse.jdt.ui.actions.NewTypeDropDown" commandName="Class..." description="New Java Class" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmr-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.ui.JavaElementCreationActionSet/org.eclipse.jdt.ui.actions.OpenPackageWizard" commandName="Package..." description="New Java Package" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmsOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.ui.JavaElementCreationActionSet/org.eclipse.jdt.ui.actions.OpenProjectWizard" commandName="Java Project..." description="New Java Project" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmserNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.ui.SearchActionSet/org.eclipse.jdt.ui.actions.OpenJavaSearchPage" commandName="Java..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmsurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.java.actionSet.browsing/org.eclipse.mylyn.java.ui.actions.ApplyMylynToBrowsingPerspectiveAction" commandName="Focus Browsing Perspective" description="Focus Java Browsing Views on Active Task" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzms-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.doc.actionSet/org.eclipse.mylyn.tasks.ui.bug.report" commandName="Report Bug or Enhancement..." description="Report Bug or Enhancement" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmtOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.navigation.additions/org.eclipse.mylyn.tasks.ui.navigate.task.history" commandName="Activate Previous Task" description="Activate Previous Task" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmterNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction" commandName="Cheat Sheets..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmturNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.search.searchActionSet/org.eclipse.search.OpenSearchDialogPage" commandName="Search..." description="Search" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmt-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.team.ui.actionSet/org.eclipse.team.ui.synchronizeAll" commandName="Synchronize..." description="Synchronize..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmuOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.team.ui.actionSet/org.eclipse.team.ui.ConfigureProject" commandName="Share Project..." description="Share the project with others using a version and configuration management system." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmuerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ui.externaltools.ExternalToolsSet/org.eclipse.ui.externaltools.ExternalToolMenuDelegateMenu" commandName="External Tools" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmuurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.wb.core.ui.actionset/org.eclipse.wb.core.wizards.actions.NewDesignerTypeDropDownAction" commandName="New Visual Class" description="Create new visual classes" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmu-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ant.ui.BreakpointRulerActions/org.eclipse.ant.ui.actions.ManageBreakpointRulerAction" commandName="Toggle Breakpoint" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmvOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.CompilationUnitEditor.BreakpointRulerActions/org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction" commandName="Toggle Breakpoint" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmverNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ClassFileEditor.BreakpointRulerActions/org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction" commandName="Toggle Breakpoint" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmvurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.CompilationUnitEditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.BookmarkRulerAction" commandName="Java Editor Bookmark Ruler Action" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmv-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.CompilationUnitEditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" commandName="Java Editor Ruler Single-Click" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmwOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.ClassFileEditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" commandName="Java Editor Ruler Single-Click" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmwerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.PropertiesFileEditor.ruler.actions/org.eclipse.jdt.internal.ui.propertiesfileeditor.BookmarkRulerAction" commandName="Java Editor Bookmark Ruler Action" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmwurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.internal.ui.PropertiesFileEditor.ruler.actions/org.eclipse.jdt.internal.ui.propertiesfileeditor.SelectRulerAction" commandName="Java Editor Ruler Single-Click" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmw-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.m2e.jdt.ui.downloadSourcesContribution/org.eclipse.m2e.jdt.ui.downloadSourcesAction" commandName="label" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmxOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.m2e.jdt.ui.downloadSourcesContribution_38/org.eclipse.m2e.jdt.ui.downloadSourcesAction_38" commandName="label" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmxerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Text Editor Bookmark Ruler Action" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmxurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Text Editor Ruler Single-Click" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmx-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.jdt.internal.ui.javaeditor.JavaSelectRulerAction" commandName="label" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmyOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.wst.dtd.core.dtdsource.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Add Bookmark..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmyerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.wst.dtd.core.dtdsource.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Select Ruler" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_emzmyurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.core.runtime.xml.source.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Add Bookmark..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NgOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.core.runtime.xml.source.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Select Ruler" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NgerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.wst.xsd.core.xsdsource.ruler.actions/org.eclipse.ui.texteditor.BookmarkRulerAction" commandName="Add Bookmark..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NgurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.wst.xsd.core.xsdsource.ruler.actions/org.eclipse.ui.texteditor.SelectRulerAction" commandName="Select Ruler" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Ng-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.PulldownActions/org.eclipse.debug.ui.debugview.pulldown.ViewManagementAction" commandName="View Management..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NhOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.debugview.toolbar/org.eclipse.debug.ui.debugview.toolbar.removeAllTerminated" commandName="Remove All Terminated" description="Remove All Terminated Launches" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NherNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.removeAll" commandName="Remove All" description="Remove All Breakpoints" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NhurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.linkWithDebugView" commandName="Link with Debug View" description="Link with Debug View" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nh-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.workingSets" commandName="Working Sets..." description="Manage Working Sets" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NiOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.clearDefaultBreakpointGroup" commandName="Deselect Default Working Set" description="Deselect Default Working Set" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NierNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.setDefaultBreakpointGroup" commandName="Select Default Working Set..." description="Select Default Working Set" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NiurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.breakpointsview.toolbar/org.eclipse.debug.ui.breakpointsView.toolbar.groupByAction" commandName="Group By" description="Show" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Ni-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.expressionsView.toolbar/org.eclipse.debug.ui.expresssionsView.toolbar.removeAll" commandName="Remove All" description="Remove All Expressions" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NjOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.expressionsView.toolbar/org.eclipse.debug.ui.expresssionsView.toolbar.AddWatchExpression" commandName="Add Watch Expression..." description="Create a new watch expression" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NjerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.PinMemoryBlockAction" commandName="Pin Memory Monitor" description="Pin Memory Monitor" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NjurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.NewMemoryViewAction" commandName="New Memory View" description="New Memory View" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nj-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.togglemonitors" commandName="Toggle Memory Monitors Pane" description="Toggle Memory Monitors Pane" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NkOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.linkrenderingpanes" commandName="Link Memory Rendering Panes" description="Link Memory Rendering Panes" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NkerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.tablerendering.preferencesaction" commandName="Table Renderings Preferences..." description="&amp;Table Renderings Preferences..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NkurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.togglesplitpane" commandName="Toggle Split Pane" description="Toggle Split Pane" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nk-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.switchMemoryBlock" commandName="Switch Memory Monitor" description="Switch Memory Monitor" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NlOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.debug.ui.memoryView.toolbar/org.eclipse.debug.ui.memoryViewPreferencesAction" commandName="Preferences..." description="&amp;Preferences..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NlerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.Preferences" commandName="Java Preferences..." description="Opens preferences for Java variables" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NlurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variablesViewActions.AllReferencesInView" commandName="Show References" description="Shows references to each object in the variables view as an array of objects." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nl-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowNullEntries" commandName="Show Null Array Entries" description="Show Null Array Entries" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NmOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NmerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowStatic" commandName="Show Static Variables" description="Show Static Variables" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NmurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.VariableViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowConstants" commandName="Show Constants" description="Show Constants" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nm-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.variableViewActions.Preferences" commandName="Java Preferences..." description="Opens preferences for Java variables" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NnOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.AllReferencesInView" commandName="Show References" description="Show &amp;References" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NnerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.variableViewActions.ShowNullEntries" commandName="Show Null Array Entries" description="Show Null Array Entries" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NnurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nn-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.ShowStatic" commandName="Show Static Variables" description="Show Static Variables" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NoOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.ExpressionViewActions/org.eclipse.jdt.debug.ui.expressionViewActions.ShowConstants" commandName="Show Constants" description="Show Constants" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NoerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.BreakpointViewActions/org.eclipse.jdt.debug.ui.actions.AddException" commandName="Add Java Exception Breakpoint" description="Add Java Exception Breakpoint" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NourNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.BreakpointViewActions/org.eclipse.jdt.debug.ui.breakpointViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0No-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowThreadGroups" commandName="Show Thread Groups" description="Show Thread Groups" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NpOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowQualified" commandName="Show Qualified Names" description="Show Qualified Names" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NperNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowSystemThreads" commandName="Show System Threads" description="Show System Threads" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NpurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.LaunchViewActions/org.eclipse.jdt.debug.ui.launchViewActions.ShowMonitorThreadInfo" commandName="Show Monitors" description="Show the Thread &amp; Monitor Information" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Np-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Watch" commandName="Watch" description="Create a Watch Expression from the Selected Text" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NqOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Execute" commandName="Execute" description="Execute the Selected Text" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NqerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Display" commandName="Display" description="Display Result of Evaluating Selected Text" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NqurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.jdt.debug.ui.DisplayViewActions/org.eclipse.jdt.debug.ui.displayViewToolbar.Inspect" commandName="Inspect" description="Inspect Result of Evaluating Selected Text" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nq-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.context.ui.outline.contribution/org.eclipse.mylyn.context.ui.contentOutline.focus" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NrOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.java.ui.markers.breakpoints.contribution/org.eclipse.mylyn.java.ui.actions.focus.markers.breakpoints" commandName="Focus on Active Task" description="Focus on Active Task" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NrerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.ui.debug.view.contribution/org.eclipse.mylyn.ui.actions.FilterResourceNavigatorAction" commandName="Focus on Active Task (Experimental)" description="Focus on Active Task (Experimental)" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NrurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.ui.projectexplorer.filter/org.eclipse.mylyn.ide.ui.actions.focus.projectExplorer" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nr-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.ui.resource.navigator.filter/org.eclipse.mylyn.ide.ui.actions.focus.resourceNavigator" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NsOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.problems.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.problems" commandName="Focus on Active Task" description="Focus on Active Task" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NserNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.markers.all.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.all" commandName="Focus on Active Task" description="Focus on Active Task" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NsurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.markers.tasks.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.tasks" commandName="Focus on Active Task" description="Focus on Active Task" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Ns-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.markers.bookmarks.contribution/org.eclipse.mylyn.ide.ui.actions.focus.markers.bookmarks" commandName="Focus on Active Task" description="Focus on Active Task" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NtOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.java.explorer.contribution/org.eclipse.mylyn.java.actions.focus.packageExplorer" commandName="Focus on Active Task" description="Focus on Active Task (Alt+click to reveal filtered elements)" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NterNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.search.open" commandName="Search Repository..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NturNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.synchronize.changed" commandName="Synchronize Changed" description="Synchronize Changed" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nt-rNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.tasks.restore" commandName="Restore Tasks from History..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NuOrNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.tasks.ui.open.repositories.view" commandName="Show Task Repositories View" description="Show Task Repositories View" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NuerNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.doc.legend.show.action" commandName="Show UI Legend" description="Show Tasks UI Legend" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NuurNEeSOidyff_nu0w" elementId="AUTOGEN:::org.eclipse.mylyn.tasks.ui.actions.view/org.eclipse.mylyn.context.ui.actions.tasklist.focus" commandName="Focus on Workweek" description="Focus on Workweek" category="_em0N6erNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nu-rNEeSOidyff_nu0w" elementId="net.sf.jautodoc.commands.AddHeaderDlg" commandName="Add Header with Dialog" category="_em0N-urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NvOrNEeSOidyff_nu0w" elementId="net.sf.jautodoc.commands.AddJavadocDlg" commandName="Add Javadoc with Dialog" category="_em0N-urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NverNEeSOidyff_nu0w" elementId="net.sf.jautodoc.commands.AddHeader" commandName="Add Header" category="_em0N-urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0NvurNEeSOidyff_nu0w" elementId="net.sf.jautodoc.commands.AddJavadoc" commandName="Add Javadoc" category="_em0N-urNEeSOidyff_nu0w"/>
+ <commands xmi:id="_em0Nv-rNEeSOidyff_nu0w" elementId="AUTOGEN:::net.sf.jautodoc.actions.SearchActionSet/net.sf.jautodoc.actions.OpenSearchPage" commandName="JAutodoc..." category="_em0N6erNEeSOidyff_nu0w"/>
+ <addons xmi:id="_em0NwOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.core.commands.service" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_em0NwerNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.contexts.service" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_em0NwurNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.bindings.service" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
+ <addons xmi:id="_em0Nw-rNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.workbench.commands.model" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
+ <addons xmi:id="_em0NxOrNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
+ <addons xmi:id="_em0NxerNEeSOidyff_nu0w" elementId="org.eclipse.e4.ui.workbench.bindings.model" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
+ <addons xmi:id="_em0NxurNEeSOidyff_nu0w" elementId="Cleanup Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon"/>
+ <addons xmi:id="_em0Nx-rNEeSOidyff_nu0w" elementId="DnD Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon"/>
+ <addons xmi:id="_em0NyOrNEeSOidyff_nu0w" elementId="MinMax Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon"/>
+ <addons xmi:id="_em0NyerNEeSOidyff_nu0w" elementId="SplitterAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.splitteraddon.SplitterAddon"/>
+ <categories xmi:id="_em0NyurNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.perspectives" name="Perspectives" description="Commands for opening perspectives"/>
+ <categories xmi:id="_em0Ny-rNEeSOidyff_nu0w" elementId="org.eclipse.team.cvs.ui.actionSet" name="CVS" description="Actions that apply when working with CVS repositories"/>
+ <categories xmi:id="_em0NzOrNEeSOidyff_nu0w" elementId="org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableschemaedtor.10x" name="ASA 9.x table schema editor"/>
+ <categories xmi:id="_em0NzerNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.window" name="Window"/>
+ <categories xmi:id="_em0NzurNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.sqleditor.category" name="Database Tools" description="Database Development tools"/>
+ <categories xmi:id="_em0Nz-rNEeSOidyff_nu0w" elementId="org.eclipse.wst.xml.views.XPathView" name="XPath"/>
+ <categories xmi:id="_em0N0OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.project" name="Project"/>
+ <categories xmi:id="_em0N0erNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.views" name="Views" description="Commands for opening views"/>
+ <categories xmi:id="_em0N0urNEeSOidyff_nu0w" elementId="org.eclipse.pde.runtime.spy.commands.category" name="Spy"/>
+ <categories xmi:id="_em0N0-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.ide.markerContents" name="Contents" description="The category for menu contents"/>
+ <categories xmi:id="_em0N1OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.file" name="File"/>
+ <categories xmi:id="_em0N1erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.tasks.ui.commands" name="WikiText Context" description="WikiText Task-Focused Interface Commands"/>
+ <categories xmi:id="_em0N1urNEeSOidyff_nu0w" elementId="org.eclipse.rse.ui.commands.category" name="Remote Systems"/>
+ <categories xmi:id="_em0N1-rNEeSOidyff_nu0w" elementId="org.eclipse.debug.ui.category.run" name="Run/Debug" description="Run/Debug command category"/>
+ <categories xmi:id="_em0N2OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.ui.editor.category" name="WikiText Markup Editing Commands" description="commands for editing lightweight markup"/>
+ <categories xmi:id="_em0N2erNEeSOidyff_nu0w" elementId="org.eclipse.pde.ui.category.source" name="Manifest Editor Source" description="PDE Source Page actions"/>
+ <categories xmi:id="_em0N2urNEeSOidyff_nu0w" elementId="org.eclipse.emf.codegen.ecore.ui.Commands" name="EMF Code Generation" description="Commands for the EMF code generation tools"/>
+ <categories xmi:id="_em0N2-rNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.jpaStructureViewCommands" name="JPA Structure View"/>
+ <categories xmi:id="_em0N3OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.category.editor" name="Task Editor"/>
+ <categories xmi:id="_em0N3erNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.category.source" name="Source" description="JavaScript Source Actions"/>
+ <categories xmi:id="_em0N3urNEeSOidyff_nu0w" elementId="org.eclipse.datatools.sqltools.result.category" name="SQL Results View"/>
+ <categories xmi:id="_em0N3-rNEeSOidyff_nu0w" elementId="org.eclipse.jpt.jpa.ui.jpaMetadataConversionCommands" name="JPA Metadata Conversion"/>
+ <categories xmi:id="_em0N4OrNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.ui.category.refactoring" name="Refactor - JavaScript" description="JavaScript Refactoring Actions"/>
+ <categories xmi:id="_em0N4erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.java.ui.commands" name="Java Context" description="Java Task-Focused Interface Commands"/>
+ <categories xmi:id="_em0N4urNEeSOidyff_nu0w" elementId="org.eclipse.wst.server.ui" name="Server" description="Server"/>
+ <categories xmi:id="_em0N4-rNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.dialogs" name="Dialogs" description="Commands for opening dialogs"/>
+ <categories xmi:id="_em0N5OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.textEditor" name="Text Editing" description="Text Editing Commands"/>
+ <categories xmi:id="_em0N5erNEeSOidyff_nu0w" elementId="org.eclipse.search.ui.category.search" name="Search" description="Search command category"/>
+ <categories xmi:id="_em0N5urNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.commons.repositories.ui.category.Team" name="Team"/>
+ <categories xmi:id="_em0N5-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.tasks.ui.commands" name="Task Repositories"/>
+ <categories xmi:id="_em0N6OrNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.edit" name="Edit"/>
+ <categories xmi:id="_em0N6erNEeSOidyff_nu0w" elementId="org.eclipse.core.commands.categories.autogenerated" name="Uncategorized" description="Commands that were either auto-generated or have no category"/>
+ <categories xmi:id="_em0N6urNEeSOidyff_nu0w" elementId="org.eclipse.wst.jsdt.debug.ui.category" name="JavaScript Debug" description="Tooling for debugging JavaScript"/>
+ <categories xmi:id="_em0N6-rNEeSOidyff_nu0w" elementId="org.eclipse.team.ui.category.team" name="Team" description="Actions that apply when working with a Team"/>
+ <categories xmi:id="_em0N7OrNEeSOidyff_nu0w" elementId="org.eclipse.gef.category.view" name="View" description="View"/>
+ <categories xmi:id="_em0N7erNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.help" name="Help"/>
+ <categories xmi:id="_em0N7urNEeSOidyff_nu0w" elementId="org.eclipse.tm.terminal.category1" name="Terminal view commands" description="%terminal.view.insertion.description"/>
+ <categories xmi:id="_em0N7-rNEeSOidyff_nu0w" elementId="org.eclipse.jst.pagedesigner.pagelayout" name="Web Page Editor Layout"/>
+ <categories xmi:id="_em0N8OrNEeSOidyff_nu0w" elementId="org.eclipse.compare.ui.category.compare" name="Compare" description="Compare command category"/>
+ <categories xmi:id="_em0N8erNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.context.ui.commands" name="Focused UI" description="Task-Focused Interface"/>
+ <categories xmi:id="_em0N8urNEeSOidyff_nu0w" elementId="org.eclipse.ui.category.navigate" name="Navigate"/>
+ <categories xmi:id="_em0N8-rNEeSOidyff_nu0w" elementId="org.eclipse.ltk.ui.category.refactoring" name="Refactoring"/>
+ <categories xmi:id="_em0N9OrNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.category.source" name="Source" description="Java Source Actions"/>
+ <categories xmi:id="_em0N9erNEeSOidyff_nu0w" elementId="org.eclipse.jdt.ui.category.refactoring" name="Refactor - Java" description="Java Refactoring Actions"/>
+ <categories xmi:id="_em0N9urNEeSOidyff_nu0w" elementId="org.eclipse.wb.core.actions.category" name="WindowBuilder Pro" description="WindowBuilder Pro actions"/>
+ <categories xmi:id="_em0N9-rNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.builds.ui.category.Commands" name="Builds"/>
+ <categories xmi:id="_em0N-OrNEeSOidyff_nu0w" elementId="org.eclipse.mylyn.wikitext.context.ui.commands" name="%commands.category.name" description="%commands.category.description"/>
+ <categories xmi:id="_em0N-erNEeSOidyff_nu0w" elementId="org.eclipse.egit.ui.commandCategory" name="Git"/>
+ <categories xmi:id="_em0N-urNEeSOidyff_nu0w" elementId="net.sf.jautodoc.categories.JAutodoc" name="JAutodoc"/>
</application:Application>
diff --git a/eclipse/.metadata/.plugins/org.eclipse.jdt.core/286606776.index b/eclipse/.metadata/.plugins/org.eclipse.jdt.core/286606776.index
index fa755f1..743cb16 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.jdt.core/286606776.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.jdt.core/286606776.index
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps b/eclipse/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
index 09db74d..bdab874 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
+++ b/eclipse/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt b/eclipse/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
index a28aed2..8116d43 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
+++ b/eclipse/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
@@ -15,7 +15,6 @@ INDEX VERSION 1.127+H:\Jewelrycraft\1.7.10\eclipse\.metadata\.plugins\org.eclips
512031428.index
1112183641.index
4137555767.index
-286606776.index
2084554879.index
292378129.index
4263599826.index
diff --git a/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
index d05fd88..7022f4d 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
+++ b/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy>
-<fullyQualifiedTypeName name="net.minecraft.entity.player.EntityPlayer"/>
-<fullyQualifiedTypeName name="darkknight.jewelrycraft.network.PacketSendCurseStats"/>
-<fullyQualifiedTypeName name="darkknight.jewelrycraft.events.PlayerRenderHandler"/>
-<fullyQualifiedTypeName name="darkknight.jewelrycraft.events.ScreenHandler"/>
<fullyQualifiedTypeName name="java.util.Random"/>
<fullyQualifiedTypeName name="net.minecraft.entity.monster.EntityMob"/>
<fullyQualifiedTypeName name="darkknight.jewelrycraft.damage.DamageSourceList"/>
@@ -27,7 +23,6 @@
<fullyQualifiedTypeName name="net.minecraft.inventory.InventoryBasic"/>
<fullyQualifiedTypeName name="darkknight.jewelrycraft.client.gui.container.ContainerJewelryTab"/>
<fullyQualifiedTypeName name="darkknight.jewelrycraft.client.gui.container.ContainerJewelryModifier"/>
-<fullyQualifiedTypeName name="darkknight.jewelrycraft.JewelrycraftMod"/>
<fullyQualifiedTypeName name="darkknight.jewelrycraft.network.PacketRequestSetSlot"/>
<fullyQualifiedTypeName name="net.minecraft.nbt.NBTTagCompound"/>
<fullyQualifiedTypeName name="cpw.mods.fml.common.network.ByteBufUtils"/>
@@ -58,6 +53,11 @@
<fullyQualifiedTypeName name="net.minecraft.block.BlockAir"/>
<fullyQualifiedTypeName name="net.minecraft.client.renderer.entity.RenderItem"/>
<fullyQualifiedTypeName name="net.minecraft.client.renderer.ItemRenderer"/>
-<fullyQualifiedTypeName name="net.minecraft.init.Items"/>
<fullyQualifiedTypeName name="net.minecraft.client.Minecraft"/>
+<fullyQualifiedTypeName name="net.minecraftforge.client.event.RenderPlayerEvent.SetArmorModel"/>
+<fullyQualifiedTypeName name="darkknight.jewelrycraft.network.PacketHandler"/>
+<fullyQualifiedTypeName name="darkknight.jewelrycraft.JewelrycraftMod"/>
+<fullyQualifiedTypeName name="darkknight.jewelrycraft.entities.EntityList"/>
+<fullyQualifiedTypeName name="darkknight.jewelrycraft.events.EventList"/>
+<fullyQualifiedTypeName name="net.minecraft.init.Items"/>
</qualifiedTypeNameHistroy>
diff --git a/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png b/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png
new file mode 100644
index 0000000..476665e
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png b/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png
new file mode 100644
index 0000000..3629023
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png
Binary files differ
diff --git a/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.history b/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.history
index c194bf5..9f96e3c 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.history
+++ b/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.history
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
-<session version="1.0">&#x0A;<refactoring comment="Rename type &apos;darkknight.jewelrycraft.network.PacketSendPlayerInfo&apos; to &apos;PacketSendClientPlayerInfo&apos;&#x0D;&#x0A;- Original project: &apos;Minecraft&apos;&#x0D;&#x0A;- Original element: &apos;darkknight.jewelrycraft.network.PacketSendPlayerInfo&apos;&#x0D;&#x0A;- Renamed element: &apos;darkknight.jewelrycraft.network.PacketSendClientPlayerInfo&apos;&#x0D;&#x0A;- Update references to refactored element&#x0D;&#x0A;- Update textual occurrences in comments and strings" description="Rename type &apos;PacketSendPlayerInfo&apos;" flags="589830" id="org.eclipse.jdt.ui.rename.type" input="/src\/main\/java&lt;darkknight.jewelrycraft.network{PacketSendPlayerInfo.java[PacketSendPlayerInfo" matchStrategy="1" name="PacketSendClientPlayerInfo" qualified="false" references="true" similarDeclarations="false" stamp="1429540707783" textual="false" version="1.0"/>&#x0A;<refactoring comment="Rename type &apos;darkknight.jewelrycraft.network.PacketSendCurseStats&apos; to &apos;PacketSendServerPlayersInfo&apos;&#x0D;&#x0A;- Original project: &apos;Minecraft&apos;&#x0D;&#x0A;- Original element: &apos;darkknight.jewelrycraft.network.PacketSendCurseStats&apos;&#x0D;&#x0A;- Renamed element: &apos;darkknight.jewelrycraft.network.PacketSendServerPlayersInfo&apos;&#x0D;&#x0A;- Update references to refactored element&#x0D;&#x0A;- Update textual occurrences in comments and strings" description="Rename type &apos;PacketSendCurseStats&apos;" flags="589830" id="org.eclipse.jdt.ui.rename.type" input="/src\/main\/java&lt;darkknight.jewelrycraft.network{PacketSendCurseStats.java[PacketSendCurseStats" matchStrategy="1" name="PacketSendServerPlayersInfo" qualified="false" references="true" similarDeclarations="false" stamp="1429540733478" textual="false" version="1.0"/>
+<session version="1.0">&#x0A;<refactoring comment="Rename type &apos;darkknight.jewelrycraft.network.PacketSendPlayerInfo&apos; to &apos;PacketSendClientPlayerInfo&apos;&#x0D;&#x0A;- Original project: &apos;Minecraft&apos;&#x0D;&#x0A;- Original element: &apos;darkknight.jewelrycraft.network.PacketSendPlayerInfo&apos;&#x0D;&#x0A;- Renamed element: &apos;darkknight.jewelrycraft.network.PacketSendClientPlayerInfo&apos;&#x0D;&#x0A;- Update references to refactored element&#x0D;&#x0A;- Update textual occurrences in comments and strings" description="Rename type &apos;PacketSendPlayerInfo&apos;" flags="589830" id="org.eclipse.jdt.ui.rename.type" input="/src\/main\/java&lt;darkknight.jewelrycraft.network{PacketSendPlayerInfo.java[PacketSendPlayerInfo" matchStrategy="1" name="PacketSendClientPlayerInfo" qualified="false" references="true" similarDeclarations="false" stamp="1429540707783" textual="false" version="1.0"/>&#x0A;<refactoring comment="Rename type &apos;darkknight.jewelrycraft.network.PacketSendCurseStats&apos; to &apos;PacketSendServerPlayersInfo&apos;&#x0D;&#x0A;- Original project: &apos;Minecraft&apos;&#x0D;&#x0A;- Original element: &apos;darkknight.jewelrycraft.network.PacketSendCurseStats&apos;&#x0D;&#x0A;- Renamed element: &apos;darkknight.jewelrycraft.network.PacketSendServerPlayersInfo&apos;&#x0D;&#x0A;- Update references to refactored element&#x0D;&#x0A;- Update textual occurrences in comments and strings" description="Rename type &apos;PacketSendCurseStats&apos;" flags="589830" id="org.eclipse.jdt.ui.rename.type" input="/src\/main\/java&lt;darkknight.jewelrycraft.network{PacketSendCurseStats.java[PacketSendCurseStats" matchStrategy="1" name="PacketSendServerPlayersInfo" qualified="false" references="true" similarDeclarations="false" stamp="1429540733478" textual="false" version="1.0"/>&#x0A;<refactoring comment="Rename field &apos;HEARTS_TEXTURE&apos; in &apos;darkknight.jewelrycraft.util.Variables&apos; to &apos;MISC_TEXTURE&apos;&#x0D;&#x0A;- Original project: &apos;Minecraft&apos;&#x0D;&#x0A;- Original element: &apos;darkknight.jewelrycraft.util.Variables.HEARTS_TEXTURE&apos;&#x0D;&#x0A;- Renamed element: &apos;darkknight.jewelrycraft.util.Variables.MISC_TEXTURE&apos;&#x0D;&#x0A;- Update references to refactored element&#x0D;&#x0A;- Update textual occurrences in comments and strings" delegate="false" deprecate="false" description="Rename field &apos;HEARTS_TEXTURE&apos;" flags="589830" getter="false" id="org.eclipse.jdt.ui.rename.field" input="/src\/main\/java&lt;darkknight.jewelrycraft.util{Variables.java[Variables^HEARTS_TEXTURE" name="MISC_TEXTURE" references="true" setter="false" stamp="1429881957776" textual="false" version="1.0"/>
</session> \ No newline at end of file
diff --git a/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.index b/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.index
index 7ab238b..b19a95b 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.index
+++ b/eclipse/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/Minecraft/2015/4/17/refactorings.index
@@ -1,2 +1,3 @@
1429540707783 Rename type 'PacketSendPlayerInfo'
1429540733478 Rename type 'PacketSendCurseStats'
+1429881957776 Rename field 'HEARTS_TEXTURE'
diff --git a/eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml b/eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
index 28302d6..e773910 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
+++ b/eclipse/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
@@ -10,7 +10,7 @@
<item value="1000" key="org.eclipse.search.resultpage.limit"/>
</section>
<section name="TextSearchPage">
- <item value="9" key="HISTORY_SIZE"/>
+ <item value="10" key="HISTORY_SIZE"/>
<item value="false" key="CASE_SENSITIVE"/>
<item value="false" key="REG_EX_SEARCH"/>
<item value="false" key="SEARCH_DERIVED"/>
@@ -19,7 +19,7 @@
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="EnchantmentTable" key="textPattern"/>
+ <item value="ContainerHopper" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
@@ -31,7 +31,7 @@
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="TileEntitySmelterRender" key="textPattern"/>
+ <item value="EnchantmentTable" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
@@ -43,7 +43,7 @@
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="render" key="textPattern"/>
+ <item value="ItemRender" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
@@ -55,7 +55,7 @@
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="ContainerHopper" key="textPattern"/>
+ <item value="render" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
@@ -70,6 +70,18 @@
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
+ <item value="TileEntitySmelterRender" key="textPattern"/>
+ <item value="false" key="isRegExSearch"/>
+ <list key="fileNamePatterns">
+ <item value="*"/>
+ </list>
+ <list key="workingSets">
+ </list>
+ </section>
+ <section name="HISTORY9">
+ <item value="true" key="ignoreCase"/>
+ <item value="0" key="scope"/>
+ <item value="false" key="isWholeWord"/>
<item value="ModelSmelter" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
@@ -82,7 +94,7 @@
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="featherFalling" key="textPattern"/>
+ <item value="fancyRender" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
@@ -94,7 +106,7 @@
<item value="true" key="ignoreCase"/>
<item value="0" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="ItemRender" key="textPattern"/>
+ <item value="featherFalling" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
@@ -106,7 +118,7 @@
<item value="true" key="ignoreCase"/>
<item value="1" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="Greed" key="textPattern"/>
+ <item value="ResourceLocation" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
@@ -116,9 +128,9 @@
</section>
<section name="HISTORY1">
<item value="true" key="ignoreCase"/>
- <item value="0" key="scope"/>
+ <item value="1" key="scope"/>
<item value="false" key="isWholeWord"/>
- <item value="fancyRender" key="textPattern"/>
+ <item value="Greed" key="textPattern"/>
<item value="false" key="isRegExSearch"/>
<list key="fileNamePatterns">
<item value="*"/>
diff --git a/eclipse/.metadata/.plugins/org.eclipse.team.cvs.core/.running b/eclipse/.metadata/.plugins/org.eclipse.team.cvs.core/.running
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/eclipse/.metadata/.plugins/org.eclipse.team.cvs.core/.running
diff --git a/eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml b/eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
index ee8674e..d4c6bb1 100644
--- a/eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
+++ b/eclipse/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
@@ -2,20 +2,20 @@
<section name="Workbench">
<section name="org.eclipse.ui.texteditor.FindReplaceDialog">
<item value="false" key="isRegEx"/>
- <item value="v" key="selection"/>
+ <item value="" key="selection"/>
<item value="false" key="casesensitive"/>
<item value="false" key="incremental"/>
<item value="false" key="wrap"/>
<item value="false" key="wholeword"/>
<list key="findhistory">
+ <item value="isChild"/>
+ <item value="chi"/>
+ <item value="chil"/>
+ <item value="child"/>
<item value="p_73729_4_"/>
<item value="p_73729_3_"/>
<item value="p_73729_6_"/>
<item value="p_73729_2_"/>
- <item value="p_73729_5_"/>
- <item value="p_73729_1_"/>
- <item value="update"/>
- <item value="playerInfo.setBoolean(&quot;sendInfo&quot;, true);"/>
</list>
<list key="replacehistory">
<item value="v"/>
diff --git a/eclipse/.metadata/version.ini b/eclipse/.metadata/version.ini
index c87724b..f8e50ae 100644
--- a/eclipse/.metadata/version.ini
+++ b/eclipse/.metadata/version.ini
@@ -1,3 +1,3 @@
-#Tue Apr 21 22:39:48 BST 2015
+#Fri Apr 24 21:36:30 BST 2015
org.eclipse.core.runtime=2
org.eclipse.platform=4.4.0.v20140925-0400