blob: 1e72dfb1f7cb15ee6d190b6f5b2a98bef3d7a3ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
|
// class version 50.0 (50)
// access flags 0x421
public abstract class net/minecraft/tileentity/MobSpawnerBaseLogic {
// compiled from: MobSpawnerBaseLogic.java
// access flags 0x1
public INNERCLASS net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart net/minecraft/tileentity/MobSpawnerBaseLogic WeightedRandomMinecart
// access flags 0x9
public static INNERCLASS net/minecraft/util/WeightedRandom$Item net/minecraft/util/WeightedRandom Item
// access flags 0x1
public I spawnDelay
// access flags 0x2
private Ljava/lang/String; entityTypeName
// access flags 0x2
private Ljava/util/List; potentialEntitySpawns
// access flags 0x2
private Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart; randomEntity
// access flags 0x1
public D field_98287_c
// access flags 0x1
public D field_98284_d
// access flags 0x2
private I minSpawnDelay
// access flags 0x2
private I maxSpawnDelay
// access flags 0x2
private I spawnCount
// access flags 0x2
private Lnet/minecraft/entity/Entity; field_98291_j
// access flags 0x2
private I maxNearbyEntities
// access flags 0x2
private I activatingRangeFromPlayer
// access flags 0x2
private I spawnRange
// access flags 0x1A
private final static Ljava/lang/String; __OBFID = "CL_00000129"
// access flags 0x1
public <init>()V
L0
LINENUMBER 20 L0
ALOAD 0
INVOKESPECIAL java/lang/Object.<init> ()V
L1
LINENUMBER 23 L1
ALOAD 0
BIPUSH 20
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
L2
LINENUMBER 24 L2
ALOAD 0
LDC "Pig"
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.entityTypeName : Ljava/lang/String;
L3
LINENUMBER 30 L3
ALOAD 0
SIPUSH 200
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
L4
LINENUMBER 31 L4
ALOAD 0
SIPUSH 800
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxSpawnDelay : I
L5
LINENUMBER 33 L5
ALOAD 0
ICONST_4
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnCount : I
L6
LINENUMBER 35 L6
ALOAD 0
BIPUSH 6
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxNearbyEntities : I
L7
LINENUMBER 37 L7
ALOAD 0
BIPUSH 16
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.activatingRangeFromPlayer : I
L8
LINENUMBER 39 L8
ALOAD 0
ICONST_4
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnRange : I
RETURN
L9
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L9 0
MAXSTACK = 2
MAXLOCALS = 1
// access flags 0x1
public getEntityNameToSpawn()Ljava/lang/String;
L0
LINENUMBER 47 L0
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
IFNONNULL L1
L2
LINENUMBER 49 L2
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.entityTypeName : Ljava/lang/String;
LDC "Minecart"
INVOKEVIRTUAL java/lang/String.equals (Ljava/lang/Object;)Z
IFEQ L3
L4
LINENUMBER 51 L4
ALOAD 0
LDC "MinecartRideable"
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.entityTypeName : Ljava/lang/String;
L3
LINENUMBER 54 L3
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.entityTypeName : Ljava/lang/String;
ARETURN
L1
LINENUMBER 58 L1
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.entityTypeName : Ljava/lang/String;
ARETURN
L5
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L5 0
MAXSTACK = 2
MAXLOCALS = 1
// access flags 0x1
public setEntityName(Ljava/lang/String;)V
L0
LINENUMBER 64 L0
ALOAD 0
ALOAD 1
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.entityTypeName : Ljava/lang/String;
L1
LINENUMBER 65 L1
RETURN
L2
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L2 0
LOCALVARIABLE p_98272_1_ Ljava/lang/String; L0 L2 1
MAXSTACK = 2
MAXLOCALS = 2
// access flags 0x1
public isActivated()Z
L0
LINENUMBER 72 L0
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerX ()I
I2D
LDC 0.5
DADD
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerY ()I
I2D
LDC 0.5
DADD
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerZ ()I
I2D
LDC 0.5
DADD
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.activatingRangeFromPlayer : I
I2D
INVOKEVIRTUAL net/minecraft/world/World.getClosestPlayer (DDDD)Lnet/minecraft/entity/player/EntityPlayer;
IFNULL L1
ICONST_1
GOTO L2
L1
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ICONST_0
L2
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] [I]
IRETURN
L3
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L3 0
MAXSTACK = 9
MAXLOCALS = 1
// access flags 0x1
public updateSpawner()V
L0
LINENUMBER 77 L0
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.isActivated ()Z
IFEQ L1
L2
LINENUMBER 81 L2
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.isRemote : Z
IFEQ L3
L4
LINENUMBER 83 L4
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerX ()I
I2F
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextFloat ()F
FADD
F2D
DSTORE 1
L5
LINENUMBER 84 L5
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerY ()I
I2F
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextFloat ()F
FADD
F2D
DSTORE 3
L6
LINENUMBER 85 L6
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerZ ()I
I2F
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextFloat ()F
FADD
F2D
DSTORE 5
L7
LINENUMBER 86 L7
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
LDC "smoke"
DLOAD 1
DLOAD 3
DLOAD 5
DCONST_0
DCONST_0
DCONST_0
INVOKEVIRTUAL net/minecraft/world/World.spawnParticle (Ljava/lang/String;DDDDDD)V
L8
LINENUMBER 87 L8
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
LDC "flame"
DLOAD 1
DLOAD 3
DLOAD 5
DCONST_0
DCONST_0
DCONST_0
INVOKEVIRTUAL net/minecraft/world/World.spawnParticle (Ljava/lang/String;DDDDDD)V
L9
LINENUMBER 89 L9
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
IFLE L10
L11
LINENUMBER 91 L11
ALOAD 0
DUP
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
ICONST_1
ISUB
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
L10
LINENUMBER 94 L10
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic D D D] []
ALOAD 0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98287_c : D
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98284_d : D
L12
LINENUMBER 95 L12
ALOAD 0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98287_c : D
LDC 1000.0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
I2F
LDC 200.0
FADD
FDIV
F2D
DADD
LDC 360.0
DREM
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98287_c : D
L13
LINENUMBER 96 L13
GOTO L1
L3
LINENUMBER 99 L3
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
ICONST_M1
IF_ICMPNE L14
L15
LINENUMBER 101 L15
ALOAD 0
INVOKESPECIAL net/minecraft/tileentity/MobSpawnerBaseLogic.resetTimer ()V
L14
LINENUMBER 104 L14
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
IFLE L16
L17
LINENUMBER 106 L17
ALOAD 0
DUP
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
ICONST_1
ISUB
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
L18
LINENUMBER 107 L18
RETURN
L16
LINENUMBER 110 L16
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ICONST_0
ISTORE 7
L19
LINENUMBER 112 L19
ICONST_0
ISTORE 8
L20
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T T T I I] []
ILOAD 8
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnCount : I
IF_ICMPGE L21
L22
LINENUMBER 114 L22
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getEntityNameToSpawn ()Ljava/lang/String;
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
INVOKESTATIC net/minecraft/entity/EntityList.createEntityByName (Ljava/lang/String;Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
ASTORE 9
L23
LINENUMBER 116 L23
ALOAD 9
IFNONNULL L24
L25
LINENUMBER 118 L25
RETURN
L24
LINENUMBER 121 L24
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T T T I I net/minecraft/entity/Entity] []
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
ALOAD 9
INVOKEVIRTUAL java/lang/Object.getClass ()Ljava/lang/Class;
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerX ()I
I2D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerY ()I
I2D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerZ ()I
I2D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerX ()I
ICONST_1
IADD
I2D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerY ()I
ICONST_1
IADD
I2D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerZ ()I
ICONST_1
IADD
I2D
INVOKESTATIC net/minecraft/util/AxisAlignedBB.getBoundingBox (DDDDDD)Lnet/minecraft/util/AxisAlignedBB;
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnRange : I
ICONST_2
IMUL
I2D
LDC 4.0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnRange : I
ICONST_2
IMUL
I2D
INVOKEVIRTUAL net/minecraft/util/AxisAlignedBB.expand (DDD)Lnet/minecraft/util/AxisAlignedBB;
INVOKEVIRTUAL net/minecraft/world/World.getEntitiesWithinAABB (Ljava/lang/Class;Lnet/minecraft/util/AxisAlignedBB;)Ljava/util/List;
INVOKEINTERFACE java/util/List.size ()I
ISTORE 10
L26
LINENUMBER 123 L26
ILOAD 10
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxNearbyEntities : I
IF_ICMPLT L27
L28
LINENUMBER 125 L28
ALOAD 0
INVOKESPECIAL net/minecraft/tileentity/MobSpawnerBaseLogic.resetTimer ()V
L29
LINENUMBER 126 L29
RETURN
L27
LINENUMBER 129 L27
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T T T I I net/minecraft/entity/Entity I] []
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerX ()I
I2D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextDouble ()D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextDouble ()D
DSUB
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnRange : I
I2D
DMUL
DADD
DSTORE 5
L30
LINENUMBER 130 L30
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerY ()I
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
ICONST_3
INVOKEVIRTUAL java/util/Random.nextInt (I)I
IADD
ICONST_1
ISUB
I2D
DSTORE 11
L31
LINENUMBER 131 L31
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerZ ()I
I2D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextDouble ()D
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextDouble ()D
DSUB
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnRange : I
I2D
DMUL
DADD
DSTORE 13
L32
LINENUMBER 132 L32
ALOAD 9
INSTANCEOF net/minecraft/entity/EntityLiving
IFEQ L33
ALOAD 9
CHECKCAST net/minecraft/entity/EntityLiving
GOTO L34
L33
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T D I I net/minecraft/entity/Entity I D D] []
ACONST_NULL
L34
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T D I I net/minecraft/entity/Entity I D D] [net/minecraft/entity/EntityLiving]
ASTORE 15
L35
LINENUMBER 133 L35
ALOAD 9
DLOAD 5
DLOAD 11
DLOAD 13
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
INVOKEVIRTUAL java/util/Random.nextFloat ()F
LDC 360.0
FMUL
FCONST_0
INVOKEVIRTUAL net/minecraft/entity/Entity.setLocationAndAngles (DDDFF)V
L36
LINENUMBER 135 L36
ALOAD 15
IFNULL L37
ALOAD 15
INVOKEVIRTUAL net/minecraft/entity/EntityLiving.getCanSpawnHere ()Z
IFEQ L38
L37
LINENUMBER 137 L37
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T D I I net/minecraft/entity/Entity I D D net/minecraft/entity/EntityLiving] []
ALOAD 0
ALOAD 9
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.func_98265_a (Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/Entity;
POP
L39
LINENUMBER 138 L39
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
SIPUSH 2004
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerX ()I
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerY ()I
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerZ ()I
ICONST_0
INVOKEVIRTUAL net/minecraft/world/World.playAuxSFX (IIIII)V
L40
LINENUMBER 140 L40
ALOAD 15
IFNULL L41
L42
LINENUMBER 142 L42
ALOAD 15
INVOKEVIRTUAL net/minecraft/entity/EntityLiving.spawnExplosionParticle ()V
L41
LINENUMBER 145 L41
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T D I I net/minecraft/entity/Entity I D D net/minecraft/entity/EntityLiving] []
ICONST_1
ISTORE 7
L38
LINENUMBER 112 L38
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T D I I net/minecraft/entity/Entity I D D net/minecraft/entity/EntityLiving] []
IINC 8 1
GOTO L20
L21
LINENUMBER 149 L21
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic T T T T T T I I] []
ILOAD 7
IFEQ L1
L43
LINENUMBER 151 L43
ALOAD 0
INVOKESPECIAL net/minecraft/tileentity/MobSpawnerBaseLogic.resetTimer ()V
L1
LINENUMBER 155 L1
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
RETURN
L44
LOCALVARIABLE d0 D L5 L13 1
LOCALVARIABLE d1 D L6 L13 3
LOCALVARIABLE d2 D L7 L3 5
LOCALVARIABLE entity Lnet/minecraft/entity/Entity; L23 L38 9
LOCALVARIABLE j I L26 L38 10
LOCALVARIABLE d3 D L31 L38 11
LOCALVARIABLE d4 D L32 L38 13
LOCALVARIABLE entityliving Lnet/minecraft/entity/EntityLiving; L35 L38 15
LOCALVARIABLE d2 D L30 L21 5
LOCALVARIABLE i I L20 L21 8
LOCALVARIABLE flag Z L19 L1 7
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L44 0
MAXSTACK = 14
MAXLOCALS = 16
// access flags 0x1
public func_98265_a(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/Entity;
L0
LINENUMBER 159 L0
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
IFNULL L1
L2
LINENUMBER 161 L2
NEW net/minecraft/nbt/NBTTagCompound
DUP
INVOKESPECIAL net/minecraft/nbt/NBTTagCompound.<init> ()V
ASTORE 2
L3
LINENUMBER 162 L3
ALOAD 1
ALOAD 2
INVOKEVIRTUAL net/minecraft/entity/Entity.writeToNBTOptional (Lnet/minecraft/nbt/NBTTagCompound;)Z
POP
L4
LINENUMBER 163 L4
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.field_98222_b : Lnet/minecraft/nbt/NBTTagCompound;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.func_150296_c ()Ljava/util/Set;
INVOKEINTERFACE java/util/Set.iterator ()Ljava/util/Iterator;
ASTORE 3
L5
LINENUMBER 165 L5
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator] []
ALOAD 3
INVOKEINTERFACE java/util/Iterator.hasNext ()Z
IFEQ L6
L7
LINENUMBER 167 L7
ALOAD 3
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
CHECKCAST java/lang/String
ASTORE 4
L8
LINENUMBER 168 L8
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.field_98222_b : Lnet/minecraft/nbt/NBTTagCompound;
ALOAD 4
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getTag (Ljava/lang/String;)Lnet/minecraft/nbt/NBTBase;
ASTORE 5
L9
LINENUMBER 169 L9
ALOAD 2
ALOAD 4
ALOAD 5
INVOKEVIRTUAL net/minecraft/nbt/NBTBase.copy ()Lnet/minecraft/nbt/NBTBase;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setTag (Ljava/lang/String;Lnet/minecraft/nbt/NBTBase;)V
L10
LINENUMBER 170 L10
GOTO L5
L6
LINENUMBER 172 L6
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator] []
ALOAD 1
ALOAD 2
INVOKEVIRTUAL net/minecraft/entity/Entity.readFromNBT (Lnet/minecraft/nbt/NBTTagCompound;)V
L11
LINENUMBER 174 L11
ALOAD 1
GETFIELD net/minecraft/entity/Entity.worldObj : Lnet/minecraft/world/World;
IFNULL L12
L13
LINENUMBER 176 L13
ALOAD 1
GETFIELD net/minecraft/entity/Entity.worldObj : Lnet/minecraft/world/World;
ALOAD 1
INVOKEVIRTUAL net/minecraft/world/World.spawnEntityInWorld (Lnet/minecraft/entity/Entity;)Z
POP
L12
LINENUMBER 181 L12
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator] []
ALOAD 1
ASTORE 5
L14
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator T net/minecraft/entity/Entity] []
ALOAD 2
LDC "Riding"
BIPUSH 10
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.hasKey (Ljava/lang/String;I)Z
IFEQ L15
L16
LINENUMBER 183 L16
ALOAD 2
LDC "Riding"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getCompoundTag (Ljava/lang/String;)Lnet/minecraft/nbt/NBTTagCompound;
ASTORE 4
L17
LINENUMBER 184 L17
ALOAD 4
LDC "id"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getString (Ljava/lang/String;)Ljava/lang/String;
ALOAD 1
GETFIELD net/minecraft/entity/Entity.worldObj : Lnet/minecraft/world/World;
INVOKESTATIC net/minecraft/entity/EntityList.createEntityByName (Ljava/lang/String;Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
ASTORE 6
L18
LINENUMBER 186 L18
ALOAD 6
IFNULL L19
L20
LINENUMBER 188 L20
NEW net/minecraft/nbt/NBTTagCompound
DUP
INVOKESPECIAL net/minecraft/nbt/NBTTagCompound.<init> ()V
ASTORE 7
L21
LINENUMBER 189 L21
ALOAD 6
ALOAD 7
INVOKEVIRTUAL net/minecraft/entity/Entity.writeToNBTOptional (Lnet/minecraft/nbt/NBTTagCompound;)Z
POP
L22
LINENUMBER 190 L22
ALOAD 4
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.func_150296_c ()Ljava/util/Set;
INVOKEINTERFACE java/util/Set.iterator ()Ljava/util/Iterator;
ASTORE 8
L23
LINENUMBER 192 L23
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator net/minecraft/nbt/NBTTagCompound net/minecraft/entity/Entity net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator] []
ALOAD 8
INVOKEINTERFACE java/util/Iterator.hasNext ()Z
IFEQ L24
L25
LINENUMBER 194 L25
ALOAD 8
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
CHECKCAST java/lang/String
ASTORE 9
L26
LINENUMBER 195 L26
ALOAD 4
ALOAD 9
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getTag (Ljava/lang/String;)Lnet/minecraft/nbt/NBTBase;
ASTORE 10
L27
LINENUMBER 196 L27
ALOAD 7
ALOAD 9
ALOAD 10
INVOKEVIRTUAL net/minecraft/nbt/NBTBase.copy ()Lnet/minecraft/nbt/NBTBase;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setTag (Ljava/lang/String;Lnet/minecraft/nbt/NBTBase;)V
L28
LINENUMBER 197 L28
GOTO L23
L24
LINENUMBER 199 L24
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator net/minecraft/nbt/NBTTagCompound net/minecraft/entity/Entity net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator] []
ALOAD 6
ALOAD 7
INVOKEVIRTUAL net/minecraft/entity/Entity.readFromNBT (Lnet/minecraft/nbt/NBTTagCompound;)V
L29
LINENUMBER 200 L29
ALOAD 6
ALOAD 5
GETFIELD net/minecraft/entity/Entity.posX : D
ALOAD 5
GETFIELD net/minecraft/entity/Entity.posY : D
ALOAD 5
GETFIELD net/minecraft/entity/Entity.posZ : D
ALOAD 5
GETFIELD net/minecraft/entity/Entity.rotationYaw : F
ALOAD 5
GETFIELD net/minecraft/entity/Entity.rotationPitch : F
INVOKEVIRTUAL net/minecraft/entity/Entity.setLocationAndAngles (DDDFF)V
L30
LINENUMBER 202 L30
ALOAD 1
GETFIELD net/minecraft/entity/Entity.worldObj : Lnet/minecraft/world/World;
IFNULL L31
L32
LINENUMBER 204 L32
ALOAD 1
GETFIELD net/minecraft/entity/Entity.worldObj : Lnet/minecraft/world/World;
ALOAD 6
INVOKEVIRTUAL net/minecraft/world/World.spawnEntityInWorld (Lnet/minecraft/entity/Entity;)Z
POP
L31
LINENUMBER 207 L31
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator net/minecraft/nbt/NBTTagCompound net/minecraft/entity/Entity net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator] []
ALOAD 5
ALOAD 6
INVOKEVIRTUAL net/minecraft/entity/Entity.mountEntity (Lnet/minecraft/entity/Entity;)V
L19
LINENUMBER 210 L19
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator net/minecraft/nbt/NBTTagCompound net/minecraft/entity/Entity net/minecraft/entity/Entity] []
ALOAD 6
ASTORE 5
L33
LINENUMBER 181 L33
ALOAD 4
ASTORE 2
GOTO L14
L15
LINENUMBER 212 L15
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity net/minecraft/nbt/NBTTagCompound java/util/Iterator T net/minecraft/entity/Entity] []
GOTO L34
L1
LINENUMBER 213 L1
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity] []
ALOAD 1
INSTANCEOF net/minecraft/entity/EntityLivingBase
IFEQ L34
ALOAD 1
GETFIELD net/minecraft/entity/Entity.worldObj : Lnet/minecraft/world/World;
IFNULL L34
L35
LINENUMBER 215 L35
ALOAD 1
CHECKCAST net/minecraft/entity/EntityLiving
ACONST_NULL
CHECKCAST net/minecraft/entity/IEntityLivingData
INVOKEVIRTUAL net/minecraft/entity/EntityLiving.onSpawnWithEgg (Lnet/minecraft/entity/IEntityLivingData;)Lnet/minecraft/entity/IEntityLivingData;
POP
L36
LINENUMBER 216 L36
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
ALOAD 1
INVOKEVIRTUAL net/minecraft/world/World.spawnEntityInWorld (Lnet/minecraft/entity/Entity;)Z
POP
L34
LINENUMBER 219 L34
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/entity/Entity] []
ALOAD 1
ARETURN
L37
LOCALVARIABLE s Ljava/lang/String; L8 L10 4
LOCALVARIABLE nbtbase Lnet/minecraft/nbt/NBTBase; L9 L10 5
LOCALVARIABLE s1 Ljava/lang/String; L26 L28 9
LOCALVARIABLE nbtbase1 Lnet/minecraft/nbt/NBTBase; L27 L28 10
LOCALVARIABLE nbttagcompound1 Lnet/minecraft/nbt/NBTTagCompound; L21 L19 7
LOCALVARIABLE iterator1 Ljava/util/Iterator; L23 L19 8
LOCALVARIABLE entity2 Lnet/minecraft/entity/Entity; L18 L33 6
LOCALVARIABLE nbttagcompound2 Lnet/minecraft/nbt/NBTTagCompound; L17 L15 4
LOCALVARIABLE entity1 Lnet/minecraft/entity/Entity; L14 L15 5
LOCALVARIABLE nbttagcompound Lnet/minecraft/nbt/NBTTagCompound; L3 L15 2
LOCALVARIABLE iterator Ljava/util/Iterator; L5 L15 3
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L37 0
LOCALVARIABLE p_98265_1_ Lnet/minecraft/entity/Entity; L0 L37 1
MAXSTACK = 9
MAXLOCALS = 11
// access flags 0x2
private resetTimer()V
L0
LINENUMBER 224 L0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxSpawnDelay : I
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
IF_ICMPGT L1
L2
LINENUMBER 226 L2
ALOAD 0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
GOTO L3
L1
LINENUMBER 230 L1
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxSpawnDelay : I
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
ISUB
ISTORE 1
L4
LINENUMBER 231 L4
ALOAD 0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
ILOAD 1
INVOKEVIRTUAL java/util/Random.nextInt (I)I
IADD
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
L3
LINENUMBER 234 L3
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
IFNULL L5
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
INVOKEINTERFACE java/util/List.size ()I
IFLE L5
L6
LINENUMBER 236 L6
ALOAD 0
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.rand : Ljava/util/Random;
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
INVOKESTATIC net/minecraft/util/WeightedRandom.getRandomItem (Ljava/util/Random;Ljava/util/Collection;)Lnet/minecraft/util/WeightedRandom$Item;
CHECKCAST net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.setRandomEntity (Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;)V
L5
LINENUMBER 239 L5
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
ICONST_1
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.func_98267_a (I)V
L7
LINENUMBER 240 L7
RETURN
L8
LOCALVARIABLE i I L4 L3 1
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L8 0
MAXSTACK = 4
MAXLOCALS = 2
// access flags 0x1
public readFromNBT(Lnet/minecraft/nbt/NBTTagCompound;)V
L0
LINENUMBER 244 L0
ALOAD 0
ALOAD 1
LDC "EntityId"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getString (Ljava/lang/String;)Ljava/lang/String;
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.entityTypeName : Ljava/lang/String;
L1
LINENUMBER 245 L1
ALOAD 0
ALOAD 1
LDC "Delay"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getShort (Ljava/lang/String;)S
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
L2
LINENUMBER 247 L2
ALOAD 1
LDC "SpawnPotentials"
BIPUSH 9
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.hasKey (Ljava/lang/String;I)Z
IFEQ L3
L4
LINENUMBER 249 L4
ALOAD 0
NEW java/util/ArrayList
DUP
INVOKESPECIAL java/util/ArrayList.<init> ()V
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
L5
LINENUMBER 250 L5
ALOAD 1
LDC "SpawnPotentials"
BIPUSH 10
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getTagList (Ljava/lang/String;I)Lnet/minecraft/nbt/NBTTagList;
ASTORE 2
L6
LINENUMBER 252 L6
ICONST_0
ISTORE 3
L7
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound net/minecraft/nbt/NBTTagList I] []
ILOAD 3
ALOAD 2
INVOKEVIRTUAL net/minecraft/nbt/NBTTagList.tagCount ()I
IF_ICMPGE L8
L9
LINENUMBER 254 L9
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
NEW net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart
DUP
ALOAD 0
ALOAD 2
ILOAD 3
INVOKEVIRTUAL net/minecraft/nbt/NBTTagList.getCompoundTagAt (I)Lnet/minecraft/nbt/NBTTagCompound;
INVOKESPECIAL net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.<init> (Lnet/minecraft/tileentity/MobSpawnerBaseLogic;Lnet/minecraft/nbt/NBTTagCompound;)V
INVOKEINTERFACE java/util/List.add (Ljava/lang/Object;)Z
POP
L10
LINENUMBER 252 L10
IINC 3 1
GOTO L7
L8
LINENUMBER 256 L8
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound net/minecraft/nbt/NBTTagList I] []
GOTO L11
L3
LINENUMBER 259 L3
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 0
ACONST_NULL
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
L11
LINENUMBER 262 L11
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 1
LDC "SpawnData"
BIPUSH 10
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.hasKey (Ljava/lang/String;I)Z
IFEQ L12
L13
LINENUMBER 264 L13
ALOAD 0
NEW net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart
DUP
ALOAD 0
ALOAD 1
LDC "SpawnData"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getCompoundTag (Ljava/lang/String;)Lnet/minecraft/nbt/NBTTagCompound;
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.entityTypeName : Ljava/lang/String;
INVOKESPECIAL net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.<init> (Lnet/minecraft/tileentity/MobSpawnerBaseLogic;Lnet/minecraft/nbt/NBTTagCompound;Ljava/lang/String;)V
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.setRandomEntity (Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;)V
GOTO L14
L12
LINENUMBER 268 L12
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 0
ACONST_NULL
CHECKCAST net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.setRandomEntity (Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;)V
L14
LINENUMBER 271 L14
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 1
LDC "MinSpawnDelay"
BIPUSH 99
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.hasKey (Ljava/lang/String;I)Z
IFEQ L15
L16
LINENUMBER 273 L16
ALOAD 0
ALOAD 1
LDC "MinSpawnDelay"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getShort (Ljava/lang/String;)S
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
L17
LINENUMBER 274 L17
ALOAD 0
ALOAD 1
LDC "MaxSpawnDelay"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getShort (Ljava/lang/String;)S
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxSpawnDelay : I
L18
LINENUMBER 275 L18
ALOAD 0
ALOAD 1
LDC "SpawnCount"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getShort (Ljava/lang/String;)S
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnCount : I
L15
LINENUMBER 278 L15
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 1
LDC "MaxNearbyEntities"
BIPUSH 99
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.hasKey (Ljava/lang/String;I)Z
IFEQ L19
L20
LINENUMBER 280 L20
ALOAD 0
ALOAD 1
LDC "MaxNearbyEntities"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getShort (Ljava/lang/String;)S
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxNearbyEntities : I
L21
LINENUMBER 281 L21
ALOAD 0
ALOAD 1
LDC "RequiredPlayerRange"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getShort (Ljava/lang/String;)S
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.activatingRangeFromPlayer : I
L19
LINENUMBER 284 L19
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 1
LDC "SpawnRange"
BIPUSH 99
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.hasKey (Ljava/lang/String;I)Z
IFEQ L22
L23
LINENUMBER 286 L23
ALOAD 0
ALOAD 1
LDC "SpawnRange"
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.getShort (Ljava/lang/String;)S
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnRange : I
L22
LINENUMBER 289 L22
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
IFNULL L24
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.isRemote : Z
IFEQ L24
L25
LINENUMBER 291 L25
ALOAD 0
ACONST_NULL
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98291_j : Lnet/minecraft/entity/Entity;
L24
LINENUMBER 293 L24
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
RETURN
L26
LOCALVARIABLE i I L7 L8 3
LOCALVARIABLE nbttaglist Lnet/minecraft/nbt/NBTTagList; L6 L8 2
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L26 0
LOCALVARIABLE p_98270_1_ Lnet/minecraft/nbt/NBTTagCompound; L0 L26 1
MAXSTACK = 6
MAXLOCALS = 4
// access flags 0x1
public writeToNBT(Lnet/minecraft/nbt/NBTTagCompound;)V
L0
LINENUMBER 297 L0
ALOAD 1
LDC "EntityId"
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getEntityNameToSpawn ()Ljava/lang/String;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setString (Ljava/lang/String;Ljava/lang/String;)V
L1
LINENUMBER 298 L1
ALOAD 1
LDC "Delay"
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
I2S
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setShort (Ljava/lang/String;S)V
L2
LINENUMBER 299 L2
ALOAD 1
LDC "MinSpawnDelay"
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
I2S
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setShort (Ljava/lang/String;S)V
L3
LINENUMBER 300 L3
ALOAD 1
LDC "MaxSpawnDelay"
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxSpawnDelay : I
I2S
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setShort (Ljava/lang/String;S)V
L4
LINENUMBER 301 L4
ALOAD 1
LDC "SpawnCount"
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnCount : I
I2S
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setShort (Ljava/lang/String;S)V
L5
LINENUMBER 302 L5
ALOAD 1
LDC "MaxNearbyEntities"
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.maxNearbyEntities : I
I2S
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setShort (Ljava/lang/String;S)V
L6
LINENUMBER 303 L6
ALOAD 1
LDC "RequiredPlayerRange"
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.activatingRangeFromPlayer : I
I2S
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setShort (Ljava/lang/String;S)V
L7
LINENUMBER 304 L7
ALOAD 1
LDC "SpawnRange"
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnRange : I
I2S
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setShort (Ljava/lang/String;S)V
L8
LINENUMBER 306 L8
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
IFNULL L9
L10
LINENUMBER 308 L10
ALOAD 1
LDC "SpawnData"
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.field_98222_b : Lnet/minecraft/nbt/NBTTagCompound;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.copy ()Lnet/minecraft/nbt/NBTBase;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setTag (Ljava/lang/String;Lnet/minecraft/nbt/NBTBase;)V
L9
LINENUMBER 311 L9
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
IFNONNULL L11
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
IFNULL L12
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
INVOKEINTERFACE java/util/List.size ()I
IFLE L12
L11
LINENUMBER 313 L11
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
NEW net/minecraft/nbt/NBTTagList
DUP
INVOKESPECIAL net/minecraft/nbt/NBTTagList.<init> ()V
ASTORE 2
L13
LINENUMBER 315 L13
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
IFNULL L14
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
INVOKEINTERFACE java/util/List.size ()I
IFLE L14
L15
LINENUMBER 317 L15
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.potentialEntitySpawns : Ljava/util/List;
INVOKEINTERFACE java/util/List.iterator ()Ljava/util/Iterator;
ASTORE 3
L16
LINENUMBER 319 L16
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound net/minecraft/nbt/NBTTagList java/util/Iterator] []
ALOAD 3
INVOKEINTERFACE java/util/Iterator.hasNext ()Z
IFEQ L17
L18
LINENUMBER 321 L18
ALOAD 3
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
CHECKCAST net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart
ASTORE 4
L19
LINENUMBER 322 L19
ALOAD 2
ALOAD 4
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.func_98220_a ()Lnet/minecraft/nbt/NBTTagCompound;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagList.appendTag (Lnet/minecraft/nbt/NBTBase;)V
L20
LINENUMBER 323 L20
GOTO L16
L17
LINENUMBER 324 L17
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound net/minecraft/nbt/NBTTagList java/util/Iterator] []
GOTO L21
L14
LINENUMBER 327 L14
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound net/minecraft/nbt/NBTTagList] []
ALOAD 2
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getRandomEntity ()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart.func_98220_a ()Lnet/minecraft/nbt/NBTTagCompound;
INVOKEVIRTUAL net/minecraft/nbt/NBTTagList.appendTag (Lnet/minecraft/nbt/NBTBase;)V
L21
LINENUMBER 330 L21
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound net/minecraft/nbt/NBTTagList] []
ALOAD 1
LDC "SpawnPotentials"
ALOAD 2
INVOKEVIRTUAL net/minecraft/nbt/NBTTagCompound.setTag (Ljava/lang/String;Lnet/minecraft/nbt/NBTBase;)V
L12
LINENUMBER 332 L12
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic net/minecraft/nbt/NBTTagCompound] []
RETURN
L22
LOCALVARIABLE weightedrandomminecart Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart; L19 L20 4
LOCALVARIABLE iterator Ljava/util/Iterator; L16 L17 3
LOCALVARIABLE nbttaglist Lnet/minecraft/nbt/NBTTagList; L13 L12 2
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L22 0
LOCALVARIABLE p_98280_1_ Lnet/minecraft/nbt/NBTTagCompound; L0 L22 1
MAXSTACK = 3
MAXLOCALS = 5
// access flags 0x1
public setDelayToMin(I)Z
L0
LINENUMBER 339 L0
ILOAD 1
ICONST_1
IF_ICMPNE L1
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
GETFIELD net/minecraft/world/World.isRemote : Z
IFEQ L1
L2
LINENUMBER 341 L2
ALOAD 0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.minSpawnDelay : I
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.spawnDelay : I
L3
LINENUMBER 342 L3
ICONST_1
IRETURN
L1
LINENUMBER 346 L1
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic I] []
ICONST_0
IRETURN
L4
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L4 0
LOCALVARIABLE p_98268_1_ I L0 L4 1
MAXSTACK = 2
MAXLOCALS = 2
// access flags 0x1
public func_98281_h()Lnet/minecraft/entity/Entity;
@Lcpw/mods/fml/relauncher/SideOnly;(value=Lcpw/mods/fml/relauncher/Side;.CLIENT)
L0
LINENUMBER 353 L0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98291_j : Lnet/minecraft/entity/Entity;
IFNONNULL L1
L2
LINENUMBER 355 L2
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getEntityNameToSpawn ()Ljava/lang/String;
ALOAD 0
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.getSpawnerWorld ()Lnet/minecraft/world/World;
CHECKCAST net/minecraft/world/World
INVOKESTATIC net/minecraft/entity/EntityList.createEntityByName (Ljava/lang/String;Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
ASTORE 1
L3
LINENUMBER 356 L3
ALOAD 0
ALOAD 1
INVOKEVIRTUAL net/minecraft/tileentity/MobSpawnerBaseLogic.func_98265_a (Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/Entity;
ASTORE 1
L4
LINENUMBER 357 L4
ALOAD 0
ALOAD 1
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98291_j : Lnet/minecraft/entity/Entity;
L1
LINENUMBER 360 L1
FRAME FULL [net/minecraft/tileentity/MobSpawnerBaseLogic] []
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.field_98291_j : Lnet/minecraft/entity/Entity;
ARETURN
L5
LOCALVARIABLE entity Lnet/minecraft/entity/Entity; L3 L1 1
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L5 0
MAXSTACK = 2
MAXLOCALS = 2
// access flags 0x1
public getRandomEntity()Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
L0
LINENUMBER 365 L0
ALOAD 0
GETFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.randomEntity : Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
ARETURN
L1
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L1 0
MAXSTACK = 1
MAXLOCALS = 1
// access flags 0x1
public setRandomEntity(Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;)V
L0
LINENUMBER 370 L0
ALOAD 0
ALOAD 1
PUTFIELD net/minecraft/tileentity/MobSpawnerBaseLogic.randomEntity : Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart;
L1
LINENUMBER 371 L1
RETURN
L2
LOCALVARIABLE this Lnet/minecraft/tileentity/MobSpawnerBaseLogic; L0 L2 0
LOCALVARIABLE p_98277_1_ Lnet/minecraft/tileentity/MobSpawnerBaseLogic$WeightedRandomMinecart; L0 L2 1
MAXSTACK = 2
MAXLOCALS = 2
// access flags 0x401
public abstract func_98267_a(I)V
// access flags 0x401
public abstract getSpawnerWorld()Lnet/minecraft/world/World;
// access flags 0x401
public abstract getSpawnerX()I
// access flags 0x401
public abstract getSpawnerY()I
// access flags 0x401
public abstract getSpawnerZ()I
}
|