Skip to content

Commit 929961a

Browse files
authored
Update DataWatcher class names for 1.17 (#49)
1 parent a75f5be commit 929961a

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

src/main/java/org/inventivetalent/reflection/minecraft/DataWatcher.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -201,108 +201,108 @@ public enum ValueType {
201201
/**
202202
* Byte
203203
*/
204-
ENTITY_FLAG("Entity", 57, 0 /*"ax", "ay"*/),
204+
ENTITY_FLAG("world.entity.Entity", 57, 0 /*"ax", "ay"*/),
205205
/**
206206
* Integer
207207
*/
208-
ENTITY_AIR_TICKS("Entity", 58, 1/*"ay", "az"*/),
208+
ENTITY_AIR_TICKS("world.entity.Entity", 58, 1/*"ay", "az"*/),
209209
/**
210210
* String
211211
*/
212-
ENTITY_NAME("Entity", 59, 2/*"az", "aA"*/),
212+
ENTITY_NAME("world.entity.Entity", 59, 2/*"az", "aA"*/),
213213
/**
214214
* Byte < 1.9 Boolean > 1.9
215215
*/
216-
ENTITY_NAME_VISIBLE("Entity", 60, 3/*"aA", "aB"*/),
216+
ENTITY_NAME_VISIBLE("world.entity.Entity", 60, 3/*"aA", "aB"*/),
217217
/**
218218
* Boolean
219219
*/
220-
ENTITY_SILENT("Entity", 61, 4/*"aB", "aC"*/),
220+
ENTITY_SILENT("world.entity.Entity", 61, 4/*"aB", "aC"*/),
221221

222222
//////////
223223

224224
//TODO: Add EntityLiving#as (Byte)
225-
ENTITY_as("EntityLiving", 2, 0/* "as", "at"*/),
225+
ENTITY_as("world.entity.EntityLiving", 2, 0/* "as", "at"*/),
226226

227227
/**
228228
* Float
229229
*/
230-
ENTITY_LIVING_HEALTH("EntityLiving", "HEALTH"),
230+
ENTITY_LIVING_HEALTH("world.entity.EntityLiving", "HEALTH"),
231231

232232
//TODO: Add EntityLiving#f (Integer) - Maybe active potions?
233-
ENTITY_LIVING_f("EntityLiving", 4, 2/*"f"*/),
233+
ENTITY_LIVING_f("world.entity.EntityLiving", 4, 2/*"f"*/),
234234

235235
//TODO: Add EntityLiving#g (Boolean) - Maybe ambient potions?
236-
ENTITY_LIVING_g("EntityLiving", 5, 3/*"g"*/),
236+
ENTITY_LIVING_g("world.entity.EntityLiving", 5, 3/*"g"*/),
237237

238238
//TODO: Add EntityLiving#h (Integer)
239-
ENTITY_LIVING_h("EntityLiving", 6, 4/*"h"*/),
239+
ENTITY_LIVING_h("world.entity.EntityLiving", 6, 4/*"h"*/),
240240

241241
//////////
242242

243243
/**
244244
* Byte
245245
*/
246-
ENTITY_INSENTIENT_FLAG("EntityInsentient", 0, 0/* "a"*/),
246+
ENTITY_INSENTIENT_FLAG("world.entity.EntityInsentient", 0, 0/* "a"*/),
247247

248248
///////////
249249

250250
/**
251251
* Integer
252252
*/
253-
ENTITY_SLIME_SIZE("EntitySlime", 0, 0/* "bt", "bu"*/),
253+
ENTITY_SLIME_SIZE("world.entity.monster.EntitySlime", 0, 0/* "bt", "bu"*/),
254254

255255
/////////////
256256

257257
//TODO: Add EntityWither#a (Integer)
258-
ENTITY_WITHER_a("EntityWither", 0, 0/*"a"*/),
258+
ENTITY_WITHER_a("world.entity.boss.wither.EntityWither", 0, 0/*"a"*/),
259259

260260
//TODO: Add EntityWither#b (Integer)
261-
ENTITY_WIHER_b("EntityWither", 1, 1/*"b"*/),
261+
ENTITY_WIHER_b("world.entity.boss.wither.EntityWither", 1, 1/*"b"*/),
262262

263263
//TODO: Add EntityWither#c (Integer)
264-
ENTITY_WITHER_c("EntityWither", 2, 2/*"c"*/),
264+
ENTITY_WITHER_c("world.entity.boss.wither.EntityWither", 2, 2/*"c"*/),
265265

266266
//TODO: Add EntityWither#bv (Integer) - (DataWatcherObject<Integer>[] bv, seems to be an array of {a, b, c})
267-
ENTITY_WITHER_bv("EntityWither", 3, 3/*"bv", "bw"*/),
267+
ENTITY_WITHER_bv("world.entity.boss.wither.EntityWither", 3, 3/*"bv", "bw"*/),
268268

269269
//TODO: Add EntityWither#bw (Integer)
270-
ENTITY_WITHER_bw("EntityWither", 4, 4/*"bw", "bx"*/),
270+
ENTITY_WITHER_bw("world.entity.boss.wither.EntityWither", 4, 4/*"bw", "bx"*/),
271271

272272
//////////
273273

274-
ENTITY_AGEABLE_CHILD("EntityAgeable", 0, 0),
274+
ENTITY_AGEABLE_CHILD("world.entity.EntityAgeable", 0, 0),
275275

276276
///////////
277277

278-
ENTITY_HORSE_STATUS("EntityHorse", 3, 0),
279-
ENTITY_HORSE_HORSE_TYPE("EntityHorse", 4, 1),
280-
ENTITY_HORSE_HORSE_VARIANT("EntityHorse", 5, 2),
281-
ENTITY_HORSE_OWNER_UUID("EntityHorse", 6, 3),
282-
ENTITY_HORSE_HORSE_ARMOR("EntityHorse", 7, 4),
278+
ENTITY_HORSE_STATUS("world.entity.animal.horse.EntityHorse", 3, 0),
279+
ENTITY_HORSE_HORSE_TYPE("world.entity.animal.horse.EntityHorse", 4, 1),
280+
ENTITY_HORSE_HORSE_VARIANT("world.entity.animal.horse.EntityHorse", 5, 2),
281+
ENTITY_HORSE_OWNER_UUID("world.entity.animal.horse.EntityHorse", 6, 3),
282+
ENTITY_HORSE_HORSE_ARMOR("world.entity.animal.horse.EntityHorse", 7, 4),
283283

284284
/////////
285285

286286

287287
/**
288288
* Float
289289
*/
290-
ENTITY_HUMAN_ABSORPTION_HEARTS("EntityHuman", 0, 0 /*"a"*/),
290+
ENTITY_HUMAN_ABSORPTION_HEARTS("world.entity.player.EntityHuman", 0, 0 /*"a"*/),
291291

292292
/**
293293
* Integer
294294
*/
295-
ENTITY_HUMAN_SCORE("EntityHuman", 1, 1 /*"b"*/),
295+
ENTITY_HUMAN_SCORE("world.entity.player.EntityHuman", 1, 1 /*"b"*/),
296296

297297
/**
298298
* Byte
299299
*/
300-
ENTITY_HUMAN_SKIN_LAYERS("EntityHuman", 2, 2 /*"bp", "bq"*/),
300+
ENTITY_HUMAN_SKIN_LAYERS("world.entity.player.EntityHuman", 2, 2 /*"bp", "bq"*/),
301301

302302
/**
303303
* Byte (0 = left, 1 = right)
304304
*/
305-
ENTITY_HUMAN_MAIN_HAND("EntityHuman", 3, 3/*"bq", "br"*/);
305+
ENTITY_HUMAN_MAIN_HAND("world.entity.player.EntityHuman", 3, 3/*"bq", "br"*/);
306306

307307
private Object type;
308308

0 commit comments

Comments
 (0)