summaryrefslogblamecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
blob: 15f621711c985f34c59db5f8afece231ef0a95f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
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
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
      

                 
         
                    



                                                                                                                                         
 

                                   
                                              
                                 



















                                                                                                                             
                           
 



                                                                                      
 

                                        
                                                                             






                                                                                                                                                                         
 



                                                                                                       
 










                                                                                                           
 
                                                                                                                   
                  
                    
 



                                                                                                                           
                                                                                                                             




















                                                                                                                                   
                                                                                                           
                                                                                
                                                                                              



                                         













































                                                                                                                                                                                                                        

                                                     



































                                                                                                                                                                     
                                  

                                        






































































































































































                                                                                                                                                                                                                                                                          
                                  

                                               













































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                



                                                                     










                                                                                                                                                                                                                                                     



                                                                     

                                                                                                                                                                                                                                                                                  

                                       



































































                                                                                                                                                                                            
                                  

                                      























































































































































































                                                                                                                                                                    


                                         




























































































































































































































































                                                                                                                                                                             

                                           


















































































































































                                                                                                                                                                           
                                  

                                             



























                                                                                                                                                                                                                                             
                                  

                                       











































































































                                                                                                                                                                                            
                                  
                          

                                   















































                                                                                                                                                         
                          








                                                                                                                            
                                                

                                                         
                                                                                                                               



                                                                                                                                               

                                  

                                        

                                                                    
                                                     




















                                                                                                                                                       
                                                    
                                                                                                            
                                                     










                                                                                                                                          

                                                                                                                                           
 










                                                                                                                                                                         

 
                                                   
                                                                                                                                                         



                                                                                                           
                                                                                                        























                                                                                                                                                                   
 







                                                                                                                                                    
                                                                                                        


                                                                                                                           
                                                                                                                                  

                                                                








                                                                                                                                              
                                                                                                        





                                                                                                                                           















                                                                                                                                                         
 














                                                                                                                                                            
   


                                  






                                                                                          



































































































































































































































                                                                                                                                    


                                   
























































                                                                                                                      

                            


                                                                                             
                                   
                         
 

                                   
                         
                                       
                                 
                                                   
                                  
                                      
                                 


                                                   
                                 
                                                   
                                  
                                       
                                 


                                                                                                     
                                 
































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                        














                                                                                                                   

                          

                               
                                 


                                                                                                                                   
                           

                                   





































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                               


                                   







                                                                                         
                          
                  






                                                                                                                                    


                                                                                                                                













                                                                                                                                                              


                                   

























































































































                                                                                                                                                           





                                                                      

                                                                                     

                                             
                                         
                                                                                        














                                                                                        
                                                                                        



































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                          












                                                                                                                                                
                                                                                                         






                                                                                                                                   

                          

                               
                                 
                                                                                                  

                                                                                                                                




                                                                                                                               
                           

                                   
















































































                                                                                                                                                                                                                             
                                         
                                 











































                                                                                                
                                  
                          
                  

                                 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    
                                                                                                                         


                                   
                                       
                                 
                                                                                                         
                                  
                                                    
                                 







                                                                                                                                    
                                  









































































































































                                                                                                                                      

                                                                                           
                                                                                                                                       




                                                                                                                                                                                                                

                                   











































































                                                                                                                                              
                          
                  

                               













                                                                                                                                    

                                   

























                                                                                                                                                                                                                                                   

                                             

























































































































                                                                                                                                                                
                                  


                                   































































































                                                          

                          

                         














                                                                                                                                    
                                                                                                                              


                                                                                                                                   
                           

                                   

                                             




























































                                                                                                                          
                                  

                                          





























                                                                                                                     
                                 









                                                                                                              
                                 







                                                                                                              
                                  
                                           
                                 









                                                                                                              
                                 













                                                                                                                       
                                  
                                         
                                 








                                                                                                                                                                              
                                  
                                             
                                 








                                                                                                                                                                 
                                 





















                                                                                                                                                                                                                
                                  
                                           
                                 






                                                                                                                 
                                  
                                           
                                 






                                                                                                                 
                                  
                                          
                                 






                                                                                                                          
                                  
                                                
                                 






                                                                                                                                                              
                                  
                                               
                                 



                                                                            
                                                                                     

                                                  
                                                                                                                                                                                                                                                                               
                                  
                                                  
                                 






                                                                                                                                                                 
                                  
                                                       
                                 






                                                                                                                                                                           
                                  
                                                   
                                 






                                                                                                                                                                   
                                  
                                                     
                                 






                                                                                                                                                                       
                                  
                                                   
                                 






                                                                                                                                                                   
                                  
                                            
                                 






                                                                                                                                               
                                  
                                            
                                 








                                                                                                                             
                                 






                                                                                            
                                  
                                           
                                 






                                                                                            
                                  
                                                      
                                 






                                                                                                                                                                                                                                
                                  
                                                           
                                 













                                                                                                                                                                   
                                  
                                               
                                 








                                                                                                                               
                                 






                                                                                                    
                                  
                                              
                                 






                                                                                                                          
                                  
                                                
                                 






                                                                                                              
                                  
                                          
                                 






                                                                                                                                                                                                                                                
                                  
                                             
                                 






                                                                                                     
                                  
                                         
                                 






                                                                                            
                                  
                                         
                                 






                                                                                            
                                  
                                         
                                 






                                                                                            
                                  
                                                     
                                 













                                                                                                                                                                                                                                                                                                                                           
                                  
                                         
                                 






                                                                                                                        
                                  
                                        
                                 






                                                                                                                   
                                  
                                          
                                 






                                                                                                  
                                  
                                           
                                 






                                                                                         
                                  
                                           
                                 






                                                                                         
                                  
                                           
                                 

















































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                  


                                   





























































                                                                                                   
                         
                                             



                                                                                                                                       
                          

                               
                 

                                   



























































































                                                                                                                                                                       









                                                              
                       
                 
                                 




                                                                                                                                  


                                   
                                               
                                 







































































































































































































                                                                                                                                                                                                                                                                                                                                                          
                                                                       

                                                  
                                                                                                                                                                                                                                                                                                                                                          



























































































































                                                                                                                                                                                                                                                                      
                                  
                          

                          

                                 
                                                                                                 


                                   































                                                                                                                                                         
                          
                                             

                                
                 

                                   





















                                                                                                       

                                             

                          

                                 


                                                                                                                                 
                                   






                                                                          
 






                                                                                                                                    
                                   





                                                                                                                                    
                           

                                   
                                                  
                                 









                                                                                                  
                                 
















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                      








                                                                                  
                                                                                                                                                                                 





































                                                                                                                                                       
                                                                                      

                                                  
                                                                                                                         

































































                                                                                                                                                             
                                                                                      







                                                                        
                                                                                                                                                                                 







                                                                         
                                                                                      














































































                                                                                                                                                                                                             
                                                                                      

                                                  
                                                                                                                                                                                              






































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                              
                                                                                   


































































































                                                                                                                                                                                                                                                                                                                                      
                                                                                   





































































                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                       

                                                  
                                                                                                                                                               















                                                                                                   
                                                                       

                                                  
                                                                                                                      












































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                        



































































































































                                                                                                                                                                                                                                                                                             
                                                                                   































































































































































                                                                                                                                                                                                                                                                           

                              










































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                        

























































































































































































































































































































































































                                                                                                                                                           
                                                                        


























































































































































































































































































                                                                                                                                                                                                                                                                   

                                                                               

























































































                                                                                                                                                                                                                                                                                       










                                                             





























































                                                                                                                                       
                                                                        


                                                                             
                                                                        



























                                                                                                                                                                                                                                                                                                                                                    
                                                                              














































































































                                                                                                                                                                                                                                       
                                                                        

















                                                                                                                                       











                                                                        

                                                                         

                                                  

                                                                         

                                                  

                                                                         


                                                                              
                                                                        


                                                                                





                                                                               

























                                                                                                                                                                                                                                                              
                                                                        


                                                                       
                                                                        





































































                                                                                                                                                                                    
                                                                       


                                                                                  
                                                                          
                                                                          


                                                                                      
                                                                          
                                                                          






















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                         









































                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                        


















                                                                              
                                                                                  


                                                                            
                                                                     






































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                  






























                                                                                                                                                                  

                                                                              














                                                                                 
                                                                        



























































































                                                                                                                                                                                                                                                   

                                                                              
















                                                                                                                                                                                                                                                       
                                                                         




























































































































































































































                                                                                                                                                                                                                                                                                                                     
                                                                             

                                                  
                                                                                                                     


































                                                                                 


                                                                          


                                                                       

                                                                          


                                                                       

                                                                          

                                                  


                                                                          















































































                                                                                                                                                            
                                                                                        



































































































































































































                                                                                                                                                                                                                                                                                                                                               
                                                                        











































































































































































































































































































































                                                                                                                                                                                                                                                                                                 
                                                                          
































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                          












































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                     






































































































































































































































































                                                                                                                                                                                                                                                   
                                                                                        

                                                  
                                                                                        






















































































































                                                                                                                                                                                                                                                 
                                                                        










































                                                                                                                                      
                                                                                                                                                         























                                                                                      
                                                                                






















































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                        


                                                                        
                                                                        


                                                                        
                                                                        



                                                                        
                                                                        


                                                                       
                                                                        


                                                                       
                                                                        


                                                                       
                                                                        




















































































                                                                                                                                                                                                                                    

                                  
                                        
                         
















                                                                                                                                                
                                  





























                                                                                                        
 









                                                                                                                

                          
                         

                                 

                                                                                                                                 


                                   






























































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                             
                                                                                   
















                                                                                                                                                                                                          
                                                                                     
















                                                                                                                                                                                                     
                                                                                    

                                                  
                                                                                                                                                                                                          


































                                                                                                                                                          
                                                                              

                                                  
                                                                                                                                                                                                            


































                                                                                                             
                          
                                   
                         












































































































                                                                                                                                                                                                                                                                          
                                 
                                                                                                                                                                                         
                                  
                                                              
                                 


                                                                                                                                                                                         
                                 
                                                                                                                                                                                         
                                  
                                       
                                 
                                                                                                                                 
                                  
                                                
                                 


                                                                                                                                                          
                                 






















                                                                                                                                                                 
                                 

                                                                                                                                                           



























































                                                                                                                                        
                          
                                        
                         
                                            
                                 























































































                                                                                                                                                     


























                                                                                                                                                







                                                                      
                                              


                                                 
































                                                                 








                                                                                                                                     
                                                                                                                                              







                                                                                                                                                

                                           




























                                                                                                                                              







                                                                                                                              























































































































































































































                                                                                                                                                            








                                                                                                               

                                                    



                                           
                                  
                          
                  

















                                                                                                                                    









                                                                                
                                                                        






                                                                                  
                                                                       



                                                                                                                                                        


                                   











                                                   











































                                                                                                                                                                                                                                                                                                                                                            
 
































                                                                             

                          



                                 

                                   

                                          

                                                                                                                                                      
















                                                                                                                                  

                                                                                                                                                      














                                                                                  
                                                                                                                                     
                                                                                                                             






                                                                                                                                         
                            



                      



                                             

                                                                                                                                                      










                                                                                                                                                                                                                                                                     

                                                                                                                                                      







                                                                                                                           

                          

                                




                                                                                                                                  
                         
























                                                                                                                                                                                           
                          
                                        
                         





                                                                                                                                          
                                    









                                                                                                

                          


                                 
                                                                                                                             

                                                                                                                                 
                                                           


                                   
                                      
                                 

                                                                                                                                                      



                                                                        
                                                                     









                                                                         
                                                                     


                                                                                                                                                                                                                                                                                                   
                                  
                                         
                                 
                                                   
                                  
                                         
                                 
                                                   
                                  
                                                  
                                 
                                                   
                                  
                                         
                                 
                                                   
                                  
                                               
                                 
                                                   
                                  
                                      
                                 

                                                                                                                                                      



                                                                        
                                                                     









                                                                                                                                                                                                              
                                  
                          



























                                                                          
          
                       
         
                              
                                   







                            
          


                                 
                              

                                  


                                
                                   

                                          
                               
                                         
                                   
                            
                                 
                                
                             






                                        
          






                                                                 
                                               
                                
          

                         


                         
return
{
	Classes =
	{
		--[[
		-- What the APIDump plugin understands / how to document stuff:
		ExampleClassName =
		{
			Desc = "Description, exported as the first paragraph of the class page. Usually enclosed within double brackets."

			Functions =
			{
				FunctionName =
				{
					{
						Params =
						{
							{ Name = "BuiltInType", Type = "number"},
							{ Name = "ClassEnum", Type = "cClass#eEnum"},
							{ Name = "GlobalEnum", Type = "eEnum"},
						},
						Returns =
						{
							{ Type = "number" },
							{ Type = "self" },  -- Returns the same object on which it was called
						},
						Notes = "Notes 1"
					},
					{
						Params = {...},
						Returns = {...},
						Notes = "Notes 2",
					},
				},
			} ,

			Constants =
			{
				ConstantName = { Notes = "Notes about the constant" },
			} ,

			ConstantGroups =
			{
				eEnum =  -- also used as the HTML anchor name
				{
					Include = {"constant1", "constant2", "const_.*"},  -- Constants to include in this group, array of identifiers, accepts wildcards
					TextBefore = "This text will be written in front of the constant list",
					TextAfter = "This text will be written after the constant list",
					ShowInDescendants = false,  -- If false, descendant classes won't list these constants
				}
			},

			Variables =
			{
				VariableName = { Type = "string", Notes = "Notes about the variable" },
			} ,

			AdditionalInfo =  -- Paragraphs to be exported after the function definitions table
			{
				{
					Header = "Header 1",
					Contents = "Contents of the additional section 1",
				},
				{
					Header = "Header 2",
					Contents = "Contents of the additional section 2",
				}
			},

			Inherits = "ParentClassName",  -- Only present if the class inherits from another API class
		},
		--]]

		cBlockArea =
		{
			Desc = [[
				This class is used when multiple adjacent blocks are to be manipulated. Because of chunking
				and multithreading, manipulating single blocks using {{cWorld|cWorld:SetBlock}}() is a rather
				time-consuming operation (locks for exclusive access need to be obtained, chunk lookup is done
				for each block), so whenever you need to manipulate multiple adjacent blocks, it's better to wrap
				the operation into a cBlockArea access. cBlockArea is capable of reading / writing across chunk
				boundaries, has no chunk lookups for get and set operations and is not subject to multithreading
				locking (because it is not shared among threads).</p>
				<p>
				cBlockArea remembers its origin (MinX, MinY, MinZ coords in the Read() call) and therefore supports
				absolute as well as relative get / set operations. Despite that, the contents of a cBlockArea can
				be written back into the world at any coords.</p>
				<p>
				cBlockArea can hold any combination of the following datatypes:<ul>
					<li>block types</li>
					<li>block metas</li>
					<li>blocklight</li>
					<li>skylight</li>
				</ul>
				Read() and Write() functions have parameters that tell the class which datatypes to read / write.
				Note that a datatype that has not been read cannot be written (FIXME).</p>
				<p>
				Typical usage:<ul>
					<li>Create cBlockArea object</li>
					<li>Read an area from the world / load from file / create anew</li>
					<li>Modify blocks inside cBlockArea</li>
					<li>Write the area back to a world / save to file</li>
				</ul></p>
			]],
			Functions =
			{
				Clear =
				{
					Notes = "Clears the object, resets it to zero size",
				},
				constructor =
				{
					Returns =
					{
						{
							Type = "cBlockArea",
						},
					},
					Notes = "Creates a new empty cBlockArea object",
				},
				CopyFrom =
				{
					Params =
					{
						{
							Name = "BlockAreaSrc",
							Type = "cBlockArea",
						},
					},
					Notes = "Copies contents from BlockAreaSrc into self",
				},
				CopyTo =
				{
					Params =
					{
						{
							Name = "BlockAreaDst",
							Type = "cBlockArea",
						},
					},
					Notes = "Copies contents from self into BlockAreaDst.",
				},
				CountNonAirBlocks =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the count of blocks that are not air. Returns 0 if blocktypes not available. Block metas are ignored (if present, air with any meta is still considered air).",
				},
				CountSpecificBlocks =
				{
					{
						Params =
						{
							{
								Name = "BlockType",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Counts the number of occurences of the specified blocktype contained in the area.",
					},
					{
						Params =
						{
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Counts the number of occurrences of the specified blocktype + blockmeta combination contained in the area.",
					},
				},
				Create =
				{
					{
						Params =
						{
							{
								Name = "SizeX",
								Type = "number",
							},
							{
								Name = "SizeY",
								Type = "number",
							},
							{
								Name = "SizeZ",
								Type = "number",
							},
						},
						Notes = "Initializes this BlockArea to an empty area of the specified size and origin of {0, 0, 0}. Datatypes are set to baTypes + baMetas. Any previous contents are lost.",
					},
					{
						Params =
						{
							{
								Name = "SizeX",
								Type = "number",
							},
							{
								Name = "SizeY",
								Type = "number",
							},
							{
								Name = "SizeZ",
								Type = "number",
							},
							{
								Name = "DataTypes",
								Type = "string",
							},
						},
						Notes = "Initializes this BlockArea to an empty area of the specified size and origin of {0, 0, 0}. Any previous contents are lost.",
					},
					{
						Params =
						{
							{
								Name = "Size",
								Type = "Vector3i",
							},
						},
						Notes = "Creates a new area of the specified size. Datatypes are set to baTypes + baMetas. Origin is set to all zeroes. BlockTypes are set to air, block metas to zero, blocklights to zero and skylights to full light.",
					},
					{
						Params =
						{
							{
								Name = "Size",
								Type = "Vector3i",
							},
							{
								Name = "DataTypes",
								Type = "string",
							},
						},
						Notes = "Creates a new area of the specified size and contents. Origin is set to all zeroes. BlockTypes are set to air, block metas to zero, blocklights to zero and skylights to full light.",
					},
				},
				Crop =
				{
					Params =
					{
						{
							Name = "AddMinX",
							Type = "number",
						},
						{
							Name = "SubMaxX",
							Type = "number",
						},
						{
							Name = "AddMinY",
							Type = "number",
						},
						{
							Name = "SubMaxY",
							Type = "number",
						},
						{
							Name = "AddMinZ",
							Type = "number",
						},
						{
							Name = "SubMaxZ",
							Type = "number",
						},
					},
					Notes = "Crops the specified number of blocks from each border. Modifies the size of this blockarea object.",
				},
				DumpToRawFile =
				{
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
					},
					Notes = "Dumps the raw data into a file. For debugging purposes only.",
				},
				Expand =
				{
					Params =
					{
						{
							Name = "SubMinX",
							Type = "number",
						},
						{
							Name = "AddMaxX",
							Type = "number",
						},
						{
							Name = "SubMinY",
							Type = "number",
						},
						{
							Name = "AddMaxY",
							Type = "number",
						},
						{
							Name = "SubMinZ",
							Type = "number",
						},
						{
							Name = "AddMaxZ",
							Type = "number",
						},
					},
					Notes = "Expands the specified number of blocks from each border. Modifies the size of this blockarea object. New blocks created with this operation are filled with zeroes.",
				},
				Fill =
				{
					Params =
					{
						{
							Name = "DataTypes",
							Type = "string",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
							IsOptional = true,
						},
						{
							Name = "BlockLight",
							Type = "number",
							IsOptional = true,
						},
						{
							Name = "BlockSkyLight",
							Type = "number",
							IsOptional = true,
						},
					},
					Notes = "Fills the entire block area with the same values, specified. Uses the DataTypes param to determine which content types are modified.",
				},
				FillRelCuboid =
				{
					{
						Params =
						{
							{
								Name = "RelCuboid",
								Type = "cCuboid",
							},
							{
								Name = "DataTypes",
								Type = "string",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "BlockLight",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "BlockSkyLight",
								Type = "number",
								IsOptional = true,
							},
						},
						Notes = "Fills the specified cuboid (in relative coords) with the same values (like Fill() ).",
					},
					{
						Params =
						{
							{
								Name = "MinRelX",
								Type = "number",
							},
							{
								Name = "BlockLight",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "BlockSkyLight",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "MaxRelX",
								Type = "number",
							},
							{
								Name = "MinRelY",
								Type = "number",
							},
							{
								Name = "MaxRelY",
								Type = "number",
							},
							{
								Name = "MinRelZ",
								Type = "number",
							},
							{
								Name = "MaxRelZ",
								Type = "number",
							},
							{
								Name = "DataTypes",
								Type = "string",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
								IsOptional = true,
							},
						},
						Notes = "Fills the specified cuboid with the same values (like Fill() ).",
					},
				},
				GetBlockLight =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the blocklight at the specified absolute coords",
				},
				GetBlockMeta =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block meta at the specified absolute coords",
				},
				GetBlockSkyLight =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the skylight at the specified absolute coords",
				},
				GetBlockType =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "BLOCKTYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block type at the specified absolute coords",
				},
				GetBlockTypeMeta =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "BLOCKTYPE",
							Type = "number",
						},
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block type and meta at the specified absolute coords",
				},
				GetCoordRange =
				{
					Returns =
					{
						{
							Name = "MaxX",
							Type = "number",
						},
						{
							Name = "MaxY",
							Type = "number",
						},
						{
							Name = "MaxZ",
							Type = "number",
						},
					},
					Notes = "Returns the maximum relative coords in all 3 axes. See also GetSize().",
				},
				GetDataTypes =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the mask of datatypes that the object is currently holding",
				},
				GetNonAirCropRelCoords =
				{
					Params =
					{
						{
							Name = "IgnoredBlockType",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "MinRelX",
							Type = "number",
						},
						{
							Name = "MinRelY",
							Type = "number",
						},
						{
							Name = "MinRelZ",
							Type = "number",
						},
						{
							Name = "MaxRelX",
							Type = "number",
						},
						{
							Name = "MaxRelY",
							Type = "number",
						},
						{
							Name = "MaxRelZ",
							Type = "number",
						},
					},
					Notes = "Returns the minimum and maximum coords in each direction for the first block in each direction of type different to IgnoredBlockType (E_BLOCK_AIR by default). If there are no non-ignored blocks within the area, or blocktypes are not present, the returned values are reverse-ranges (MinX <- m_RangeX, MaxX <- 0 etc.). IgnoreBlockType defaults to air.",
				},
				GetOrigin =
				{
					Returns =
					{
						{
							Name = "OriginX",
							Type = "number",
						},
						{
							Name = "OriginY",
							Type = "number",
						},
						{
							Name = "OriginZ",
							Type = "number",
						},
					},
					Notes = "Returns the origin coords of where the area was read from.",
				},
				GetOriginX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the origin x-coord",
				},
				GetOriginY =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the origin y-coord",
				},
				GetOriginZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the origin z-coord",
				},
				GetRelBlockLight =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the blocklight at the specified relative coords",
				},
				GetRelBlockMeta =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block meta at the specified relative coords",
				},
				GetRelBlockSkyLight =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the skylight at the specified relative coords",
				},
				GetRelBlockType =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "BLOCKTYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block type at the specified relative coords",
				},
				GetRelBlockTypeMeta =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "BLOCKTYPE",
							Type = "number",
						},
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block type and meta at the specified relative coords",
				},
				GetSize =
				{
					Returns =
					{
						{
							Name = "SizeX",
							Type = "number",
						},
						{
							Name = "SizeY",
							Type = "number",
						},
						{
							Name = "SizeZ",
							Type = "number",
						},
					},
					Notes = "Returns the size of the area in all 3 axes. See also GetCoordRange().",
				},
				GetSizeX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the size of the held data in the x-axis",
				},
				GetSizeY =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the size of the held data in the y-axis",
				},
				GetSizeZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the size of the held data in the z-axis",
				},
				GetVolume =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the volume of the area - the total number of blocks stored within.",
				},
				GetWEOffset =
				{
					Returns =
					{
						{
							Type = "Vector3i",
						},
					},
					Notes = "Returns the WE offset, a data value sometimes stored in the schematic files. Cuberite doesn't use this value, but provides access to it using this method. The default is {0, 0, 0}.",
				},
				HasBlockLights =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if current datatypes include blocklight",
				},
				HasBlockMetas =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if current datatypes include block metas",
				},
				HasBlockSkyLights =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if current datatypes include skylight",
				},
				HasBlockTypes =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if current datatypes include block types",
				},
				LoadFromSchematicFile =
				{
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
					},
					Returns =
					{
						{ Type = "boolean" },
					},
					Notes = "Clears current content and loads new content from the specified schematic file. Returns true if successful. Returns false and logs error if unsuccessful, old content is preserved in such a case.",
				},
				LoadFromSchematicString =
				{
					Params =
					{
						{
							Name = "SchematicData",
							Type = "string",
						},
					},
					Returns =
					{
						{ Type = "boolean" },
					},
					Notes = "Clears current content and loads new content from the specified string (assumed to contain .schematic data). Returns true if successful. Returns false and logs error if unsuccessful, old content is preserved in such a case.",
				},
				Merge =
				{
					{
						Params =
						{
							{
								Name = "BlockAreaSrc",
								Type = "cBlockArea",
							},
							{
								Name = "RelMinCoords",
								Type = "number",
							},
							{
								Name = "Strategy",
								Type = "string",
							},
						},
						Notes = "Merges BlockAreaSrc into this object at the specified relative coords, using the specified strategy",
					},
					{
						Params =
						{
							{
								Name = "BlockAreaSrc",
								Type = "cBlockArea",
							},
							{
								Name = "RelX",
								Type = "number",
							},
							{
								Name = "RelY",
								Type = "number",
							},
							{
								Name = "RelZ",
								Type = "number",
							},
							{
								Name = "Strategy",
								Type = "string",
							},
						},
						Notes = "Merges BlockAreaSrc into this object at the specified relative coords, using the specified strategy",
					},
				},
				MirrorXY =
				{
					Notes = "Mirrors this block area around the XY plane. Modifies blocks' metas (if present) to match (i. e. furnaces facing the opposite direction).",
				},
				MirrorXYNoMeta =
				{
					Notes = "Mirrors this block area around the XY plane. Doesn't modify blocks' metas.",
				},
				MirrorXZ =
				{
					Notes = "Mirrors this block area around the XZ plane. Modifies blocks' metas (if present)",
				},
				MirrorXZNoMeta =
				{
					Notes = "Mirrors this block area around the XZ plane. Doesn't modify blocks' metas.",
				},
				MirrorYZ =
				{
					Notes = "Mirrors this block area around the YZ plane. Modifies blocks' metas (if present)",
				},
				MirrorYZNoMeta =
				{
					Notes = "Mirrors this block area around the YZ plane. Doesn't modify blocks' metas.",
				},
				Read =
				{
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "Cuboid",
								Type = "cCuboid",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Reads the area from World, returns true if successful. baTypes and baMetas are read.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "Cuboid",
								Type = "cCuboid",
							},
							{
								Name = "DataTypes",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Reads the area from World, returns true if successful. DataTypes is the sum of baXXX datatypes to be read",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "Point1",
								Type = "Vector3i",
							},
							{
								Name = "Point2",
								Type = "Vector3i",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Reads the area from World, returns true if successful. baTypes and baMetas are read.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "Point1",
								Type = "Vector3i",
							},
							{
								Name = "Point2",
								Type = "Vector3i",
							},
							{
								Name = "DataTypes",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Reads the area from World, returns true if successful. DataTypes is a sum of baXXX datatypes to be read.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "MinX",
								Type = "number",
							},
							{
								Name = "MaxX",
								Type = "number",
							},
							{
								Name = "MinY",
								Type = "number",
							},
							{
								Name = "MaxY",
								Type = "number",
							},
							{
								Name = "MinZ",
								Type = "number",
							},
							{
								Name = "MaxZ",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Reads the area from World, returns true if successful. baTypes and baMetas are read.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "MinX",
								Type = "number",
							},
							{
								Name = "MaxX",
								Type = "number",
							},
							{
								Name = "MinY",
								Type = "number",
							},
							{
								Name = "MaxY",
								Type = "number",
							},
							{
								Name = "MinZ",
								Type = "number",
							},
							{
								Name = "MaxZ",
								Type = "number",
							},
							{
								Name = "DataTypes",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Reads the area from World, returns true if successful. DataTypes is a sum of baXXX datatypes to read.",
					},
				},
				RelLine =
				{
					{
						Params =
						{
							{
								Name = "RelPoint1",
								Type = "Vector3i",
							},
							{
								Name = "RelPoint2",
								Type = "Vector3i",
							},
							{
								Name = "DataTypes",
								Type = "number",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "BlockLight",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "BlockSkyLight",
								Type = "number",
								IsOptional = true,
							},
						},
						Notes = "Draws a line between the two specified points. Sets only datatypes specified by DataTypes (baXXX constants).",
					},
					{
						Params =
						{
							{
								Name = "RelX1",
								Type = "number",
							},
							{
								Name = "BlockLight",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "BlockSkyLight",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "RelY1",
								Type = "number",
							},
							{
								Name = "RelZ1",
								Type = "number",
							},
							{
								Name = "RelX2",
								Type = "number",
							},
							{
								Name = "RelY2",
								Type = "number",
							},
							{
								Name = "RelZ2",
								Type = "number",
							},
							{
								Name = "DataTypes",
								Type = "string",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
								IsOptional = true,
							},
						},
						Notes = "Draws a line between the two specified points. Sets only datatypes specified by DataTypes (baXXX constants).",
					},
				},
				RotateCCW =
				{
					Notes = "Rotates the block area around the Y axis, counter-clockwise (east -> north). Modifies blocks' metas (if present) to match.",
				},
				RotateCCWNoMeta =
				{
					Notes = "Rotates the block area around the Y axis, counter-clockwise (east -> north). Doesn't modify blocks' metas.",
				},
				RotateCW =
				{
					Notes = "Rotates the block area around the Y axis, clockwise (north -> east). Modifies blocks' metas (if present) to match.",
				},
				RotateCWNoMeta =
				{
					Notes = "Rotates the block area around the Y axis, clockwise (north -> east). Doesn't modify blocks' metas.",
				},
				SaveToSchematicFile =
				{
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Saves the current contents to a schematic file. Returns true if successful.",
				},
				SaveToSchematicString =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Saves the current contents to a string (in a .schematic file format). Returns the data if successful, nil if failed.",
				},
				SetBlockLight =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockLight",
							Type = "number",
						},
					},
					Notes = "Sets the blocklight at the specified absolute coords",
				},
				SetBlockMeta =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Sets the block meta at the specified absolute coords",
				},
				SetBlockSkyLight =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockSkyLight",
							Type = "number",
						},
					},
					Notes = "Sets the skylight at the specified absolute coords",
				},
				SetBlockType =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Notes = "Sets the block type at the specified absolute coords",
				},
				SetBlockTypeMeta =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Sets the block type and meta at the specified absolute coords",
				},
				SetOrigin =
				{
					{
						Params =
						{
							{
								Name = "Origin",
								Type = "Vector3i",
							},
						},
						Notes = "Resets the origin for the absolute coords. Only affects how absolute coords are translated into relative coords.",
					},
					{
						Params =
						{
							{
								Name = "OriginX",
								Type = "number",
							},
							{
								Name = "OriginY",
								Type = "number",
							},
							{
								Name = "OriginZ",
								Type = "number",
							},
						},
						Notes = "Resets the origin for the absolute coords. Only affects how absolute coords are translated into relative coords.",
					},
				},
				SetRelBlockLight =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
						{
							Name = "BlockLight",
							Type = "number",
						},
					},
					Notes = "Sets the blocklight at the specified relative coords",
				},
				SetRelBlockMeta =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Sets the block meta at the specified relative coords",
				},
				SetRelBlockSkyLight =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
						{
							Name = "BlockSkyLight",
							Type = "number",
						},
					},
					Notes = "Sets the skylight at the specified relative coords",
				},
				SetRelBlockType =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Notes = "Sets the block type at the specified relative coords",
				},
				SetRelBlockTypeMeta =
				{
					Params =
					{
						{
							Name = "RelBlockX",
							Type = "number",
						},
						{
							Name = "RelBlockY",
							Type = "number",
						},
						{
							Name = "RelBlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Sets the block type and meta at the specified relative coords",
				},
				SetWEOffset =
				{
					{
						Params =
						{
							{
								Name = "Offset",
								Type = "Vector3i",
							},
						},
						Notes = "Sets the WE offset, a data value sometimes stored in the schematic files. Mostly used for WorldEdit. Cuberite doesn't use this value, but provides access to it using this method.",
					},
					{
						Params =
						{
							{
								Name = "OffsetX",
								Type = "number",
							},
							{
								Name = "OffsetY",
								Type = "number",
							},
							{
								Name = "OffsetZ",
								Type = "number",
							},
						},
						Notes = "Sets the WE offset, a data value sometimes stored in the schematic files. Mostly used for WorldEdit. Cuberite doesn't use this value, but provides access to it using this method.",
					},
				},
				Write =
				{
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "MinPoint",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Writes the area into World at the specified coords, returns true if successful. baTypes and baMetas are written.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "MinPoint",
								Type = "number",
							},
							{
								Name = "DataTypes",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Writes the area into World at the specified coords, returns true if successful. DataTypes is the sum of baXXX datatypes to write.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "MinX",
								Type = "number",
							},
							{
								Name = "MinY",
								Type = "number",
							},
							{
								Name = "MinZ",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Writes the area into World at the specified coords, returns true if successful. baTypes and baMetas are written.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "MinX",
								Type = "number",
							},
							{
								Name = "MinY",
								Type = "number",
							},
							{
								Name = "MinZ",
								Type = "number",
							},
							{
								Name = "DataTypes",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Writes the area into World at the specified coords, returns true if successful. DataTypes is the sum of baXXX datatypes to write.",
					},
				},
			},
			Constants =
			{
				baLight =
				{
					Notes = "Operations should work on block (emissive) light",
				},
				baMetas =
				{
					Notes = "Operations should work on block metas",
				},
				baSkyLight =
				{
					Notes = "Operations should work on skylight",
				},
				baTypes =
				{
					Notes = "Operation should work on block types",
				},
				msDifference =
				{
					Notes = "Block becomes air if 'self' and src are the same. Otherwise it becomes the src block.",
				},
				msFillAir =
				{
					Notes = "'self' is overwritten by Src only where 'self' has air blocks",
				},
				msImprint =
				{
					Notes = "Src overwrites 'self' anywhere where 'self' has non-air blocks",
				},
				msLake =
				{
					Notes = "Special mode for merging lake images",
				},
				msMask =
				{
					Notes = "The blocks that are exactly the same are kept in 'self', all differing blocks are replaced by air",
				},
				msOverwrite =
				{
					Notes = "Src overwrites anything in 'self'",
				},
				msSimpleCompare =
				{
					Notes = "The blocks that are exactly the same are replaced with air, all differing blocks are replaced by stone",
				},
				msSpongePrint =
				{
					Notes = "Similar to msImprint, sponge block doesn't overwrite anything, all other blocks overwrite everything",
				},
			},
			ConstantGroups =
			{
				BATypes =
				{
					Include = "ba.*",
					TextBefore = [[
						The following constants are used to signalize the datatype to read or write:
					]],
				},
				eMergeStrategy =
				{
					Include = "ms.*",
					TextAfter = "See below for a detailed explanation of the individual merge strategies.",
					TextBefore = [[
						The Merge() function can use different strategies to combine the source and destination blocks.
						The following constants are used:
					]],
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Merge strategies",
					Contents = [[
						<p>The strategy parameter specifies how individual blocks are combined together, using the table below.
						</p>
						<table class="inline">
						<tbody><tr>
						<th colspan="2">area block</th><th colspan="3">result</th>
						</tr>
						<tr>
						<th> this </th><th> Src </th><th> msOverwrite </th><th> msFillAir </th><th> msImprint </th>
						</tr>
						<tr>
						<td> air </td><td> air </td><td> air </td><td> air </td><td> air </td>
						</tr>
						<tr>
						<td> A </td><td> air </td><td> air </td><td> A </td><td> A </td>
						</tr>
						<tr>
						<td> air </td><td> B </td><td> B </td><td> B </td><td> B </td>
						</tr>
						<tr>
						<td> A </td><td> B </td><td> B </td><td> A </td><td> B </td>
						</tr>
						<tr>
						<td> A </td><td> A </td><td> A </td><td> A </td><td> A </td>
						</td>
						</tbody></table>

						<p>
						So to sum up:
						<ol>
						<li class="level1">msOverwrite completely overwrites all blocks with the Src's blocks</li>
						<li class="level1">msFillAir overwrites only those blocks that were air</li>
						<li class="level1">msImprint overwrites with only those blocks that are non-air</li>
						</ol>
						</p>

						<h3>Special strategies</h3>
						<p>For each strategy, evaluate the table rows from top downwards, the first match wins.</p>

						<p>
						<strong>msDifference</strong> - changes all the blocks which are the same to air. Otherwise the source block gets placed.
						</p>
						<table><tbody<tr>
						<th colspan="2"> area block </th><th> </th><th> Notes </th>
						</tr><tr>
						<td> * </td><td> B </td><td> B </td><td> The blocks are different so we use block B </td>
						</tr><tr>
						<td> B </td><td> B </td><td> Air </td><td> The blocks are the same so we get air. </td>
						</tr>
						</tbody></table>


						<p>
						<strong>msLake</strong> - used for merging areas with lava and water lakes, in the appropriate generator.
						</p>
						<table><tbody><tr>
						<th colspan="2"> area block </th><th> </th><th> Notes </th>
						</tr><tr>
						<th> self </th><th> Src </th><th> result </th><th> </th>
						</tr><tr>
						<td> A </td><td> sponge </td><td> A </td><td> Sponge is the NOP block </td>
						</tr><tr>
						<td> *        </td><td> air    </td><td> air    </td><td> Air always gets hollowed out, even under the oceans </td>
						</tr><tr>
						<td> water    </td><td> *      </td><td> water  </td><td> Water is never overwritten </td>
						</tr><tr>
						<td> lava     </td><td> *      </td><td> lava   </td><td> Lava is never overwritten </td>
						</tr><tr>
						<td> *        </td><td> water  </td><td> water  </td><td> Water always overwrites anything </td>
						</tr><tr>
						<td> *        </td><td> lava   </td><td> lava   </td><td> Lava always overwrites anything </td>
						</tr><tr>
						<td> dirt     </td><td> stone  </td><td> stone  </td><td> Stone overwrites dirt </td>
						</tr><tr>
						<td> grass    </td><td> stone  </td><td> stone  </td><td> ... and grass </td>
						</tr><tr>
						<td> mycelium </td><td> stone  </td><td> stone  </td><td> ... and mycelium </td>
						</tr><tr>
						<td> A        </td><td> stone  </td><td> A      </td><td> ... but nothing else </td>
						</tr><tr>
						<td> A        </td><td> *      </td><td> A      </td><td> Everything else is left as it is </td>
						</tr>
						</tbody></table>

						<p>
						<strong>msSpongePrint</strong> - used for most prefab-generators to merge the prefabs. Similar to
						msImprint, but uses the sponge block as the NOP block instead, so that the prefabs may carve out air
						pockets, too.
						</p>
						<table><tbody><tr>
						<th colspan="2"> area block </th><th> </th><th> Notes </th>
						</tr><tr>
						<th> self </th><th> Src </th><th> result </th><th> </th>
						</tr><tr>
						<td> A </td><td> sponge </td><td> A </td><td> Sponge is the NOP block </td>
						</tr><tr>
						<td> * </td><td> B </td><td> B </td><td> Everything else overwrites anything </td>
						</tr>
						</tbody></table>

						<p>
						<strong>msMask</strong> - the blocks that are the same in the other area are kept, all the
						differing blocks are replaced with air. Meta is used in the comparison, too, two blocks of the
						same type but different meta are considered different and thus replaced with air.
						</p>
						<table><tbody><tr>
						<th colspan="2"> area block </th><th> </th><th> Notes </th>
						</tr><tr>
						<th> self </th><th> Src </th><th> result </th><th> </th>
						</tr><tr>
						<td> A </td><td> A </td><td> A </td><td> Same blocks are kept </td>
						</tr><tr>
						<td> A </td><td> non-A </td><td> air </td><td> Differing blocks are replaced with air </td>
						</tr>
						</tbody></table>

						<p>
						<strong>msDifference</strong> - the blocks that are the same in both areas are replaced with air, all the
						differing blocks are kept from the first area. Meta is used in the comparison, too, two blocks of the
						same type but different meta are considered different.
						</p>
						<table><tbody><tr>
						<th colspan="2"> area block </th><th> </th><th> Notes </th>
						</tr><tr>
						<th> self </th><th> Src </th><th> result </th><th> </th>
						</tr><tr>
						<td> A </td><td> A </td><td> air </td><td> Same blocks are replaced with air </td>
						</tr><tr>
						<td> A </td><td> non-A </td><td> A </td><td> Differing blocks are kept from 'self' </td>
						</tr>
						</tbody></table>

						<p>
						<strong>msSimpleCompare</strong> - the blocks that are the same in both areas are replaced with air, all the
						differing blocks are replaced with stone. Meta is used in the comparison, too, two blocks of the
						same type but different meta are considered different.
						</p>
						<table><tbody><tr>
						<th colspan="2"> area block </th><th> </th><th> Notes </th>
						</tr><tr>
						<th> self </th><th> Src </th><th> result </th><th> </th>
						</tr><tr>
						<td> A </td><td> A </td><td> air </td><td> Same blocks are replaced with air </td>
						</tr><tr>
						<td> A </td><td> non-A </td><td> stone </td><td> Differing blocks are replaced with stone </td>
						</tr>
						</tbody></table>
]],
				},
			},
		},
		cBlockInfo =
		{
			Desc = [[
				This class is used to query and register block properties.
			]],
			Functions =
			{
				CanBeTerraformed =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the block is suitable to be changed by a generator",
				},
				FullyOccupiesVoxel =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the specified block fully occupies its voxel.",
				},
				Get =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cBlockInfo",
						},
					},
					Notes = "Returns the {{cBlockInfo}} structure for the specified block type.",
				},
				GetBlockHeight =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the block's hitbox height.",
				},
				GetLightValue =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns how much light the specified block emits on its own.",
				},
				GetPlaceSound =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Notes = "Returns the name of the sound that is played when placing the block of this type.",
				},
				GetSpreadLightFalloff =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns how much light the specified block type consumes.",
				},
				IsOneHitDig =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the specified block type will be destroyed after a single hit.",
				},
				IsPistonBreakable =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether a piston can break the specified block type.",
				},
				IsSnowable =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the specified block type can hold snow atop.",
				},
				IsSolid =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the specified block type is solid.",
				},
				IsTransparent =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the specified block is transparent.",
				},
				RequiresSpecialTool =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the specified block requires a special tool to drop resources.",
				},
			},
			Variables =
			{
				m_CanBeTerraformed =
				{
					Type = "bool",
					Notes = "Is this block suited to be terraformed?",
				},
				m_FullyOccupiesVoxel =
				{
					Type = "bool",
					Notes = "Does this block fully occupy its voxel - is it a 'full' block?",
				},
				m_IsSnowable =
				{
					Type = "bool",
					Notes = "Can this block hold snow atop?",
				},
				m_IsSolid =
				{
					Type = "bool",
					Notes = "Is this block solid (player cannot walk through)?",
				},
				m_LightValue =
				{
					Type = "number",
					Notes = "How much light do the blocks emit on their own?",
				},
				m_OneHitDig =
				{
					Type = "bool",
					Notes = "Is a block destroyed after a single hit?",
				},
				m_PistonBreakable =
				{
					Type = "bool",
					Notes = "Can a piston break this block?",
				},
				m_PlaceSound =
				{
					Type = "string",
					Notes = "The name of the sound that is placed when a block is placed.",
				},
				m_RequiresSpecialTool =
				{
					Type = "bool",
					Notes = "Does this block require a tool to drop?",
				},
				m_SpreadLightFalloff =
				{
					Type = "number",
					Notes = "How much light do the blocks consume?",
				},
				m_Transparent =
				{
					Type = "bool",
					Notes = "Is a block completely transparent? (light doesn't get decreased(?))",
				},
			},
		},
		cChatColor =
		{
			Desc = [[
				A wrapper class for constants representing colors or effects.
			]],
			Functions =
			{

			},
			Constants =
			{
				Black =
				{
					Notes = "",
				},
				Blue =
				{
					Notes = "",
				},
				Bold =
				{
					Notes = "",
				},
				Color =
				{
					Notes = "The first character of the color-code-sequence, §",
				},
				DarkPurple =
				{
					Notes = "",
				},
				Delimiter =
				{
					Notes = "The first character of the color-code-sequence, §",
				},
				Gold =
				{
					Notes = "",
				},
				Gray =
				{
					Notes = "",
				},
				Green =
				{
					Notes = "",
				},
				Italic =
				{
					Notes = "",
				},
				LightBlue =
				{
					Notes = "",
				},
				LightGray =
				{
					Notes = "",
				},
				LightGreen =
				{
					Notes = "",
				},
				LightPurple =
				{
					Notes = "",
				},
				Navy =
				{
					Notes = "",
				},
				Plain =
				{
					Notes = "Resets all formatting to normal",
				},
				Purple =
				{
					Notes = "",
				},
				Random =
				{
					Notes = "Random letters and symbols animate instead of the text",
				},
				Red =
				{
					Notes = "",
				},
				Rose =
				{
					Notes = "",
				},
				Strikethrough =
				{
					Notes = "",
				},
				Underlined =
				{
					Notes = "",
				},
				White =
				{
					Notes = "",
				},
				Yellow =
				{
					Notes = "",
				},
			},
		},
		cChunkDesc =
		{
			Desc = [[
				The cChunkDesc class is a container for chunk data while the chunk is being generated. As such, it is
				only used as a parameter for the {{OnChunkGenerating|OnChunkGenerating}} and
				{{OnChunkGenerated|OnChunkGenerated}} hooks and cannot be constructed on its own. Plugins can use this
				class in both those hooks to manipulate generated chunks.
			]],
			Functions =
			{
				FillBlocks =
				{
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Fills the entire chunk with the specified blocks",
				},
				FillRelCuboid =
				{
					{
						Params =
						{
							{
								Name = "RelCuboid",
								Type = "cCuboid",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Notes = "Fills the cuboid, specified in relative coords, by the specified block type and block meta. The cuboid may reach outside of the chunk, only the part intersecting with this chunk is filled.",
					},
					{
						Params =
						{
							{
								Name = "MinRelX",
								Type = "number",
							},
							{
								Name = "MaxRelX",
								Type = "number",
							},
							{
								Name = "MinRelY",
								Type = "number",
							},
							{
								Name = "MaxRelY",
								Type = "number",
							},
							{
								Name = "MinRelZ",
								Type = "number",
							},
							{
								Name = "MaxRelZ",
								Type = "number",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Notes = "Fills the cuboid, specified in relative coords, by the specified block type and block meta. The cuboid may reach outside of the chunk, only the part intersecting with this chunk is filled.",
					},
				},
				FloorRelCuboid =
				{
					{
						Params =
						{
							{
								Name = "RelCuboid",
								Type = "cCuboid",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Notes = "Fills those blocks of the cuboid (specified in relative coords) that are considered non-floor (air, water) with the specified block type and meta. Cuboid may reach outside the chunk, only the part intersecting with this chunk is filled.",
					},
					{
						Params =
						{
							{
								Name = "MinRelX",
								Type = "number",
							},
							{
								Name = "MaxRelX",
								Type = "number",
							},
							{
								Name = "MinRelY",
								Type = "number",
							},
							{
								Name = "MaxRelY",
								Type = "number",
							},
							{
								Name = "MinRelZ",
								Type = "number",
							},
							{
								Name = "MaxRelZ",
								Type = "number",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Notes = "Fills those blocks of the cuboid (specified in relative coords) that are considered non-floor (air, water) with the specified block type and meta. Cuboid may reach outside the chunk, only the part intersecting with this chunk is filled.",
					},
				},
				GetBiome =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "EMCSBiome",
						},
					},
					Notes = "Returns the biome at the specified relative coords",
				},
				GetBlockEntity =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelY",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cBlockEntity",
						},
					},
					Notes = "Returns the block entity for the block at the specified coords. Creates it if it doesn't exist. Returns nil if the block has no block entity capability.",
				},
				GetBlockMeta =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelY",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block meta at the specified relative coords",
				},
				GetBlockType =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelY",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "BLOCKTYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block type at the specified relative coords",
				},
				GetBlockTypeMeta =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelY",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "BLOCKTYPE",
							Type = "number",
						},
						{
							Name = "NIBBLETYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block type and meta at the specified relative coords",
				},
				GetChunkX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the X coord of the chunk contained.",
				},
				GetChunkZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Z coord of the chunk contained.",
				},
				GetHeight =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the height at the specified relative coords",
				},
				GetMaxHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum height contained in the heightmap.",
				},
				GetMinHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the minimum height value in the heightmap.",
				},
				IsUsingDefaultBiomes =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the chunk is set to use default biome generator",
				},
				IsUsingDefaultComposition =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the chunk is set to use default composition generator",
				},
				IsUsingDefaultFinish =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the chunk is set to use default finishers",
				},
				IsUsingDefaultHeight =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the chunk is set to use default height generator",
				},
				IsUsingDefaultStructures =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the chunk is set to use default structures",
				},
				RandomFillRelCuboid =
				{
					{
						Params =
						{
							{
								Name = "RelCuboid",
								Type = "cCuboid",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
							{
								Name = "RandomSeed",
								Type = "number",
							},
							{
								Name = "ChanceOutOf10k",
								Type = "number",
							},
						},
						Notes = "Fills the specified relative cuboid with block type and meta in random locations. RandomSeed is used for the random number genertion (same seed produces same results); ChanceOutOf10k specifies the density (how many out of every 10000 blocks should be filled). Cuboid may reach outside the chunk, only the part intersecting with this chunk is filled.",
					},
					{
						Params =
						{
							{
								Name = "MinRelX",
								Type = "number",
							},
							{
								Name = "ChanceOutOf10k",
								Type = "number",
							},
							{
								Name = "MaxRelX",
								Type = "number",
							},
							{
								Name = "MinRelY",
								Type = "number",
							},
							{
								Name = "MaxRelY",
								Type = "number",
							},
							{
								Name = "MinRelZ",
								Type = "number",
							},
							{
								Name = "MaxRelZ",
								Type = "number",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
							{
								Name = "RandomSeed",
								Type = "number",
							},
						},
						Notes = "Fills the specified relative cuboid with block type and meta in random locations. RandomSeed is used for the random number genertion (same seed produces same results); ChanceOutOf10k specifies the density (how many out of every 10000 blocks should be filled). Cuboid may reach outside the chunk, only the part intersecting with this chunk is filled.",
					},
				},
				ReadBlockArea =
				{
					Params =
					{
						{
							Name = "BlockArea",
							Type = "cBlockArea",
						},
						{
							Name = "MinRelX",
							Type = "number",
						},
						{
							Name = "MaxRelX",
							Type = "number",
						},
						{
							Name = "MinRelY",
							Type = "number",
						},
						{
							Name = "MaxRelY",
							Type = "number",
						},
						{
							Name = "MinRelZ",
							Type = "number",
						},
						{
							Name = "MaxRelZ",
							Type = "number",
						},
					},
					Notes = "Reads data from the chunk into the block area object. Block types and metas are processed.",
				},
				ReplaceRelCuboid =
				{
					{
						Params =
						{
							{
								Name = "RelCuboid",
								Type = "cCuboid",
							},
							{
								Name = "SrcBlockType",
								Type = "number",
							},
							{
								Name = "SrcBlockMeta",
								Type = "number",
							},
							{
								Name = "DstBlockType",
								Type = "number",
							},
							{
								Name = "DstBlockMeta",
								Type = "number",
							},
						},
						Notes = "Replaces all SrcBlockType + SrcBlockMeta blocks in the cuboid (specified in relative coords) with DstBlockType + DstBlockMeta blocks. Cuboid may reach outside the chunk, only the part intersecting with this chunk is filled.",
					},
					{
						Params =
						{
							{
								Name = "MinRelX",
								Type = "number",
							},
							{
								Name = "MaxRelX",
								Type = "number",
							},
							{
								Name = "MinRelY",
								Type = "number",
							},
							{
								Name = "MaxRelY",
								Type = "number",
							},
							{
								Name = "MinRelZ",
								Type = "number",
							},
							{
								Name = "MaxRelZ",
								Type = "number",
							},
							{
								Name = "SrcBlockType",
								Type = "number",
							},
							{
								Name = "SrcBlockMeta",
								Type = "number",
							},
							{
								Name = "DstBlockType",
								Type = "number",
							},
							{
								Name = "DstBlockMeta",
								Type = "number",
							},
						},
						Notes = "Replaces all SrcBlockType + SrcBlockMeta blocks in the cuboid (specified in relative coords) with DstBlockType + DstBlockMeta blocks. Cuboid may reach outside the chunk, only the part intersecting with this chunk is filled.",
					},
				},
				SetBiome =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
						{
							Name = "Biome",
							Type = "EMCSBiome",
						},
					},
					Notes = "Sets the biome at the specified relative coords",
				},
				SetBlockMeta =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelY",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Sets the block meta at the specified relative coords",
				},
				SetBlockType =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelY",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Notes = "Sets the block type at the specified relative coords",
				},
				SetBlockTypeMeta =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelY",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Sets the block type and meta at the specified relative coords",
				},
				SetHeight =
				{
					Params =
					{
						{
							Name = "RelX",
							Type = "number",
						},
						{
							Name = "RelZ",
							Type = "number",
						},
						{
							Name = "Height",
							Type = "number",
						},
					},
					Notes = "Sets the height at the specified relative coords",
				},
				SetUseDefaultBiomes =
				{
					Params =
					{
						{
							Name = "ShouldUseDefaultBiomes",
							Type = "boolean",
						},
					},
					Notes = "Sets the chunk to use default biome generator or not",
				},
				SetUseDefaultComposition =
				{
					Params =
					{
						{
							Name = "ShouldUseDefaultComposition",
							Type = "boolean",
						},
					},
					Notes = "Sets the chunk to use default composition generator or not",
				},
				SetUseDefaultFinish =
				{
					Params =
					{
						{
							Name = "ShouldUseDefaultFinish",
							Type = "boolean",
						},
					},
					Notes = "Sets the chunk to use default finishers or not",
				},
				SetUseDefaultHeight =
				{
					Params =
					{
						{
							Name = "ShouldUseDefaultHeight",
							Type = "boolean",
						},
					},
					Notes = "Sets the chunk to use default height generator or not",
				},
				SetUseDefaultStructures =
				{
					Params =
					{
						{
							Name = "ShouldUseDefaultStructures",
							Type = "boolean",
						},
					},
					Notes = "Sets the chunk to use default structures or not",
				},
				UpdateHeightmap =
				{
					Notes = "Updates the heightmap to match current contents. The plugins should do that if they modify the contents and don't modify the heightmap accordingly; Cuberite expects (and checks in Debug mode) that the heightmap matches the contents when the cChunkDesc is returned from a plugin.",
				},
				WriteBlockArea =
				{
					Params =
					{
						{
							Name = "BlockArea",
							Type = "cBlockArea",
						},
						{
							Name = "MinRelX",
							Type = "number",
						},
						{
							Name = "MinRelY",
							Type = "number",
						},
						{
							Name = "MinRelZ",
							Type = "number",
						},
						{
							Name = "MergeStrategy",
							Type = "cBlockArea",
							IsOptional = true,
						},
					},
					Notes = "Writes data from the block area into the chunk",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Manipulating block entities",
					Contents = [[
						To manipulate block entities while the chunk is generated, first use SetBlockTypeMeta() to set
						the correct block type and meta at the position. Then use the GetBlockEntity() to create and
						return the correct block entity instance. Finally, use {{tolua}}.cast() to cast to the proper
						type.</p>
						Note that you don't need to check if a block entity has previously existed at the place, because
						GetBlockEntity() will automatically re-create the correct type for you.</p>
						<p>
						The following code is taken from the Debuggers plugin, it creates a sign at each chunk's [0, 0]
						coords, with the text being the chunk coords:
<pre class="prettyprint lang-lua">
function OnChunkGenerated(a_World, a_ChunkX, a_ChunkZ, a_ChunkDesc)
	-- Get the topmost block coord:
	local Height = a_ChunkDesc:GetHeight(0, 0);

	-- Create a sign there:
	a_ChunkDesc:SetBlockTypeMeta(0, Height + 1, 0, E_BLOCK_SIGN_POST, 0);
	local BlockEntity = a_ChunkDesc:GetBlockEntity(0, Height + 1, 0);
	if (BlockEntity ~= nil) then
		LOG("Setting sign lines...");
		local SignEntity = tolua.cast(BlockEntity, "cSignEntity");
		SignEntity:SetLines("Chunk:", tonumber(a_ChunkX) .. ", " .. tonumber(a_ChunkZ), "", "(Debuggers)");
	end

	-- Update the heightmap:
	a_ChunkDesc:SetHeight(0, 0, Height + 1);
end
</pre>
					]],
				},
			},
		},
		cClientHandle =
		{
			Desc = [[
				A cClientHandle represents the technical aspect of a connected player - their game client
				connection. Internally, it handles all the incoming and outgoing packets, the chunks that are to be
				sent to the client, ping times etc.
			]],
			Functions =
			{
				GenerateOfflineUUID =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Username",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Generates an UUID based on the player name provided. This is used for the offline (non-auth) mode, when there's no UUID source. Each username generates a unique and constant UUID, so that when the player reconnects with the same name, their UUID is the same. Returns a 32-char UUID (no dashes).",
				},
				GetClientBrand =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the brand that the client has sent in their MC|Brand plugin message.",
				},
				GetIPString =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the IP address of the connection, as a string. Only the address part is returned, without the port number.",
				},
				GetLocale =
				{
					Returns =
					{
						{
							Name = "Locale",
							Type = "string",
						},
					},
					Notes = "Returns the locale string that the client sends as part of the protocol handshake. Can be used to provide localized strings.",
				},
				GetPing =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the ping time, in ms",
				},
				GetPlayer =
				{
					Returns =
					{
						{
							Type = "cPlayer",
						},
					},
					Notes = "Returns the player object connected to this client. Note that this may be nil, for example if the player object is not yet spawned.",
				},
				GetProtocolVersion =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the protocol version number of the protocol that the client is talking. Returns zero if the protocol version is not (yet) known.",
				},
				GetRequestedViewDistance =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the view distance that the player request, not the used view distance.",
				},
				GetUniqueID =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the UniqueID of the client used to identify the client in the server",
				},
				GetUsername =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the username that the client has provided",
				},
				GetUUID =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the authentication-based UUID of the client. This UUID should be used to identify the player when persisting any player-related data. Returns a 32-char UUID (no dashes)",
				},
				GetViewDistance =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the viewdistance (number of chunks loaded for the player in each direction)",
				},
				HasPluginChannel =
				{
					Params =
					{
						{
							Name = "ChannelName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the client has registered to receive messages on the specified plugin channel.",
				},
				IsUUIDOnline =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "UUID",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the UUID is generated by online auth, false if it is an offline-generated UUID. We use Version-3 UUIDs for offline UUIDs, online UUIDs are Version-4, thus we can tell them apart. Accepts both 32-char and 36-char UUIDs (with and without dashes). If the string given is not a valid UUID, returns false.",
				},
				Kick =
				{
					Params =
					{
						{
							Name = "Reason",
							Type = "string",
						},
					},
					Notes = "Kicks the user with the specified reason",
				},
				SendBlockChange =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Sends a BlockChange packet to the client. This can be used to create fake blocks only for that player.",
				},
				SendEntityAnimation =
				{
					Params =
					{
						{
							Name = "Entity",
							Type = "cEntity",
						},
						{
							Name = "AnimationNumber",
							Type = "number",
						},
					},
					Notes = "Sends the specified animation of the specified entity to the client. The AnimationNumber is protocol-specific.",
				},
				SendPluginMessage =
				{
					Params =
					{
						{
							Name = "Channel",
							Type = "string",
						},
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Sends the plugin message on the specified channel.",
				},
				SendSoundEffect =
				{
					Params =
					{
						{
							Name = "SoundName",
							Type = "string",
						},
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "Volume",
							Type = "number",
						},
						{
							Name = "Pitch",
							Type = "number",
						},
					},
					Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%)",
				},
				SendTimeUpdate =
				{
					Params =
					{
						{
							Name = "WorldAge",
							Type = "number",
						},
						{
							Name = "TimeOfDay",
							Type = "number",
						},
						{
							Name = "DoDaylightCycle",
							Type = "boolean",
						},
					},
					Notes = "Sends the specified time update to the client. WorldAge is the total age of the world, in ticks. TimeOfDay is the current day's time, in ticks (0 - 24000). DoDaylightCycle is a bool that specifies whether the client should automatically move the sun (true) or keep it in the same place (false).",
				},
				SetClientBrand =
				{
					Params =
					{
						{
							Name = "ClientBrand",
							Type = "string",
						},
					},
					Notes = "Sets the value of the client's brand. Normally this value is received from the client by a MC|Brand plugin message, this function lets plugins overwrite the value.",
				},
				SetLocale =
				{
					Params =
					{
						{
							Name = "Locale",
							Type = "string",
						},
					},
					Notes = "Sets the locale that Cuberite keeps on record. Initially the locale is initialized in protocol handshake, this function allows plugins to override the stored value (but only server-side and only until the user disconnects).",
				},
				SetUsername =
				{
					Params =
					{
						{
							Name = "Name",
							Type = "string",
						},
					},
					Notes = "Sets the username",
				},
				SetViewDistance =
				{
					Params =
					{
						{
							Name = "ViewDistance",
							Type = "number",
						},
					},
					Notes = "Sets the viewdistance (number of chunks loaded for the player in each direction)",
				},
			},
			Constants =
			{
				MAX_VIEW_DISTANCE =
				{
					Notes = "The maximum value of the view distance",
				},
				MIN_VIEW_DISTANCE =
				{
					Notes = "The minimum value of the view distance",
				},
			},
		},
		cCompositeChat =
		{
			Desc = [[
				Encapsulates a chat message that can contain various formatting, URLs, commands executed on click
				and commands suggested on click. The chat message can be sent by the regular chat-sending functions,
				{{cPlayer}}:SendMessage(), {{cWorld}}:BroadcastChat() and {{cRoot}}:BroadcastChat().</p>
				<p>
				Note that most of the functions in this class are so-called chaining modifiers - they modify the
				object and then return the object itself, so that they can be chained one after another. See the
				Chaining example below for details.</p>
				<p>
				Each part of the composite chat message takes a "Style" parameter, this is a string that describes
				the formatting. It uses the following strings, concatenated together:
				<table>
				<tr><th>String</th><th>Style</th></tr>
				<tr><td>b</td><td>Bold text</td></tr>
				<tr><td>i</td><td>Italic text</td></tr>
				<tr><td>u</td><td>Underlined text</td></tr>
				<tr><td>s</td><td>Strikethrough text</td></tr>
				<tr><td>o</td><td>Obfuscated text</td></tr>
				<tr><td>@X</td><td>color X (X is 0 - 9 or a - f, same as dye meta</td></tr>
				</table>
				The following picture, taken from MineCraft Wiki, illustrates the color codes:</p>
				<img src="http://hydra-media.cursecdn.com/minecraft.gamepedia.com/4/4c/Colors.png?version=34a0f56789a95326e1f7d82047b12232" />
			]],
			Functions =
			{
				AddRunCommandPart =
				{
					Params =
					{
						{
							Name = "Text",
							Type = "string",
						},
						{
							Name = "Command",
							Type = "string",
						},
						{
							Name = "Style",
							Type = "string",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Adds a text which, when clicked, runs the specified command. Chaining.",
				},
				AddShowAchievementPart =
				{
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
						{
							Name = "AchievementName",
							Type = "string",
						},
						{
							Name = "Style",
							Type = "string",
							IsOptional = true,
						},
					},
					Notes = "Adds a text that represents the 'Achievement get' message.",
				},
				AddSuggestCommandPart =
				{
					Params =
					{
						{
							Name = "Text",
							Type = "string",
						},
						{
							Name = "Command",
							Type = "string",
						},
						{
							Name = "Style",
							Type = "string",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Adds a text which, when clicked, puts the specified command into the player's chat input area. Chaining.",
				},
				AddTextPart =
				{
					Params =
					{
						{
							Name = "Text",
							Type = "string",
						},
						{
							Name = "Style",
							Type = "string",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Adds a regular text. Chaining.",
				},
				AddUrlPart =
				{
					Params =
					{
						{
							Name = "Text",
							Type = "string",
						},
						{
							Name = "Url",
							Type = "string",
						},
						{
							Name = "Style",
							Type = "string",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Adds a text which, when clicked, opens up a browser at the specified URL. Chaining.",
				},
				Clear =
				{
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Removes all parts from this object",
				},
				constructor =
				{
					{
						Returns = { {Type = "cCompositeChat"} },
						Notes = "Creates an empty chat message",
					},
					{
						Params =
						{
							{
								Name = "Text",
								Type = "string",
							},
							{
								Name = "MessageType",
								Type = "eMessageType",
								IsOptional = true,
							},
						},
						Returns = { {Type = "cCompositeChat"} },
						Notes = "Creates a chat message containing the specified text, parsed by the ParseText() function. This allows easy migration from old chat messages.",
					},
				},
				CreateJsonString =
				{
					Params =
					{
						{
							Name = "AddPrefixes",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the entire object serialized into JSON, as it would be sent to a client. AddPrefixes specifies whether the chat prefixes should be prepended to the message, true by default.",
				},
				ExtractText =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the text from the parts that comprises the human-readable data. Used for older protocols that don't support composite chat, and for console-logging.",
				},
				GetAdditionalMessageTypeData =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the AdditionalData associated with the message, such as the sender's name for mtPrivateMessage",
				},
				GetMessageType =
				{
					Returns =
					{
						{
							Type = "eMessageType",
						},
					},
					Notes = "Returns the MessageType (mtXXX constant) that is associated with this message. When sent to a player, the message will be formatted according to this message type and the player's settings (adding \"[INFO]\" prefix etc.)",
				},
				ParseText =
				{
					Params =
					{
						{
							Name = "Text",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Adds text, while recognizing http and https URLs and old-style formatting codes (\"@2\"). Chaining.",
				},
				SetMessageType =
				{
					Params =
					{
						{
							Name = "MessageType",
							Type = "eMessageType",
						},
						{
							Name = "AdditionalData",
							Type = "string",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Sets the MessageType (mtXXX constant) that is associated with this message. Also sets the additional data (string) associated with the message, which is specific for the message type - such as the sender's name for mtPrivateMessage. When sent to a player, the message will be formatted according to this message type and the player's settings (adding \"[INFO]\" prefix etc.). Chaining.",
				},
				UnderlineUrls =
				{
					Returns =
					{
						{
							Type = "self",
						},
					},
					Notes = "Makes all URL parts contained in the message underlined. Doesn't affect parts added in the future. Chaining.",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Chaining example",
					Contents = [[
						Sending a chat message that is composed of multiple different parts has been made easy thanks to
						chaining. Consider the following example that shows how a message containing all kinds of parts
						is sent (adapted from the Debuggers plugin):
<pre class="prettyprint lang-lua">
function OnPlayerJoined(a_Player)
	-- Send an example composite chat message to the player:
	a_Player:SendMessage(cCompositeChat()
		:AddTextPart("Hello, ")
		:AddUrlPart(a_Player:GetName(), "http://cuberite.org", "u@2")  -- Colored underlined link
		:AddSuggestCommandPart(", and welcome.", "/help", "u")       -- Underlined suggest-command
		:AddRunCommandPart(" SetDay", "/time set 0")                 -- Regular text that will execute command when clicked
		:SetMessageType(mtJoin)                                      -- It is a join-message
	)
end</pre>
					]],
				},
			},
		},
		cCraftingGrid =
		{
			Desc = [[
				cCraftingGrid represents the player's crafting grid. It is used in
				{{OnCraftingNoRecipe|OnCraftingNoRecipe}}, {{OnPostCrafting|OnPostCrafting}} and
				{{OnPreCrafting|OnPreCrafting}} hooks. Plugins may use it to inspect the items the player placed
				on their crafting grid.</p>
				<p>
				Also, an object of this type is used in {{cCraftingRecipe}}'s ConsumeIngredients() function for
				specifying the exact number of ingredients to consume in that recipe; plugins may use this to
				apply the crafting recipe.</p>
			]],
			Functions =
			{
				Clear =
				{
					Notes = "Clears the entire grid",
				},
				constructor =
				{
					Params =
					{
						{
							Name = "Width",
							Type = "number",
						},
						{
							Name = "Height",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cCraftingGrid",
						},
					},
					Notes = "Creates a new CraftingGrid object. This new crafting grid is not related to any player, but may be needed for {{cCraftingRecipe}}'s ConsumeIngredients function.",
				},
				ConsumeGrid =
				{
					Params =
					{
						{
							Name = "CraftingGrid",
							Type = "cCraftingGrid",
						},
					},
					Notes = "Consumes items specified in CraftingGrid from the current contents. Used internally by {{cCraftingRecipe}}'s ConsumeIngredients() function, but available to plugins, too.",
				},
				Dump =
				{
					Notes = "DEBUG build: Dumps the contents of the grid to the log. RELEASE build: no action",
				},
				GetHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the height of the grid",
				},
				GetItem =
				{
					Params =
					{
						{
							Name = "x",
							Type = "number",
						},
						{
							Name = "y",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item at the specified coords",
				},
				GetWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the width of the grid",
				},
				SetItem =
				{
					{
						Params =
						{
							{
								Name = "x",
								Type = "number",
							},
							{
								Name = "y",
								Type = "number",
							},
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Notes = "Sets the item at the specified coords",
					},
					{
						Params =
						{
							{
								Name = "x",
								Type = "number",
							},
							{
								Name = "y",
								Type = "number",
							},
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "ItemCount",
								Type = "number",
							},
							{
								Name = "ItemDamage",
								Type = "number",
							},
						},
						Notes = "Sets the item at the specified coords",
					},
				},
			},
		},
		cCraftingRecipe =
		{
			Desc = [[
				This class is used to represent a crafting recipe, either a built-in one, or one created dynamically in a plugin. It is used only as a parameter for {{OnCraftingNoRecipe|OnCraftingNoRecipe}}, {{OnPostCrafting|OnPostCrafting}} and {{OnPreCrafting|OnPreCrafting}} hooks. Plugins may use it to inspect or modify a crafting recipe that a player views in their crafting window, either at a crafting table or the survival inventory screen.
</p>
		<p>Internally, the class contains a {{cCraftingGrid}} for the ingredients and a {{cItem}} for the result.
]],
			Functions =
			{
				Clear =
				{
					Notes = "Clears the entire recipe, both ingredients and results",
				},
				ConsumeIngredients =
				{
					Params =
					{
						{
							Name = "CraftingGrid",
							Type = "cCraftingGrid",
						},
					},
					Notes = "Consumes ingredients specified in the given {{cCraftingGrid|cCraftingGrid}} class",
				},
				Dump =
				{
					Notes = "DEBUG build: dumps ingredients and result into server log. RELEASE build: no action",
				},
				GetIngredient =
				{
					Params =
					{
						{
							Name = "x",
							Type = "number",
						},
						{
							Name = "y",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the ingredient stored in the recipe at the specified coords",
				},
				GetIngredientsHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the height of the ingredients' grid",
				},
				GetIngredientsWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the width of the ingredients' grid",
				},
				GetResult =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the result of the recipe",
				},
				SetIngredient =
				{
					{
						Params =
						{
							{
								Name = "x",
								Type = "number",
							},
							{
								Name = "y",
								Type = "number",
							},
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Notes = "Sets the ingredient at the specified coords",
					},
					{
						Params =
						{
							{
								Name = "x",
								Type = "number",
							},
							{
								Name = "y",
								Type = "number",
							},
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "ItemCount",
								Type = "number",
							},
							{
								Name = "ItemDamage",
								Type = "number",
							},
						},
						Notes = "Sets the ingredient at the specified coords",
					},
				},
				SetResult =
				{
					{
						Params =
						{
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Notes = "Sets the result item",
					},
					{
						Params =
						{
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "ItemCount",
								Type = "number",
							},
							{
								Name = "ItemDamage",
								Type = "number",
							},
						},
						Notes = "Sets the result item",
					},
				},
			},
		},
		cCryptoHash =
		{
			Desc = [[
				Provides functions for generating cryptographic hashes.</p>
				<p>
				Note that all functions in this class are super-static, so they are to be called in the dot convention:
<pre class="prettyprint lang-lua">
local Hash = cCryptoHash.sha1HexString("DataToHash")
</pre></p>
				<p>Each cryptographic hash has two variants, one returns the hash as a raw binary string, the other returns the hash as a hex-encoded string twice as long as the binary string.
			]],
			Functions =
			{
				md5 =
				{
					IsStatic = true,
					IsGlobal = true,
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Calculates the md5 hash of the data, returns it as a raw (binary) string of 16 characters.",
				},
				md5HexString =
				{
					IsStatic = true,
					IsGlobal = true,
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Calculates the md5 hash of the data, returns it as a hex-encoded string of 32 characters.",
				},
				sha1 =
				{
					IsStatic = true,
					IsGlobal = true,
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Calculates the sha1 hash of the data, returns it as a raw (binary) string of 20 characters.",
				},
				sha1HexString =
				{
					IsStatic = true,
					IsGlobal = true,
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Calculates the sha1 hash of the data, returns it as a hex-encoded string of 40 characters.",
				},
			},
		},
		cEnchantments =
		{
			Desc = [[
				This class  is the storage for enchantments for a single {{cItem|cItem}} object, through its
				m_Enchantments member variable. Although it is possible to create a standalone object of this class,
				it is not yet used in any API directly.</p>
				<p>
				Enchantments can be initialized either programmatically by calling the individual functions
				(SetLevel()), or by using a string description of the enchantment combination. This string
				description is in the form "id=lvl;id=lvl;...;id=lvl;", where id is either a numerical ID of the
				enchantment, or its textual representation from the table below, and lvl is the desired enchantment
				level. The class can also create its string description from its current contents; however that
				string description will only have the numerical IDs.</p>
				<p>
				See the {{cItem}} class for usage examples.
			]],
			Functions =
			{
				Add =
				{
					Params =
					{
						{
							Name = "Other",
							Type = "cEnchantments",
						},
					},
					Notes = "Adds the enchantments contained in Other into this object. Existing enchantments are preserved, unless Other specifies a different level, in which case the level is changed to the Other's one.",
				},
				AddFromString =
				{
					Params =
					{
						{
							Name = "StringSpec",
							Type = "string",
						},
					},
					Notes = "Adds the enchantments in the string description into the object. If a specified enchantment already existed, it is overwritten.",
				},
				Clear =
				{
					Notes = "Removes all enchantments",
				},
				constructor =
				{
					{
						Returns =
						{
							{
								Type = "cEnchantments",
							},
						},
						Notes = "Creates a new empty cEnchantments object",
					},
					{
						Params =
						{
							{
								Name = "StringSpec",
								Type = "string",
							},
						},
						Returns =
						{
							{
								Type = "cEnchantments",
							},
						},
						Notes = "Creates a new cEnchantments object filled with enchantments based on the string description",
					},
				},
				Count =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Get the count of enchantments contained within the class",
				},
				GetLevel =
				{
					Params =
					{
						{
							Name = "EnchantmentNumID",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the level of the specified enchantment stored in this object; 0 if not stored",
				},
				IsEmpty =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the object stores no enchantments",
				},
				operator_eq =
				{
					Params =
					{
						{
							Name = "OtherEnchantments",
							Type = "cEnchantments",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if this enchantments object has the same enchantments as OtherEnchantments.",
				},
				SetLevel =
				{
					Params =
					{
						{
							Name = "EnchantmentNumID",
							Type = "number",
						},
						{
							Name = "Level",
							Type = "number",
						},
					},
					Notes = "Sets the level for the specified enchantment, adding it if not stored before, or removing it if Level < = 0",
				},
				StringToEnchantmentID =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "EnchantmentName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the enchantment numerical ID, -1 if not understood. Case insensitive. Also understands plain numbers.",
				},
				ToString =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the string description of all the enchantments stored in this object, in numerical-ID form",
				},
			},
			Constants =
			{
				enchAquaAffinity =
				{
					Notes = "",
				},
				enchBaneOfArthropods =
				{
					Notes = "",
				},
				enchBlastProtection =
				{
					Notes = "",
				},
				enchEfficiency =
				{
					Notes = "",
				},
				enchFeatherFalling =
				{
					Notes = "",
				},
				enchFireAspect =
				{
					Notes = "",
				},
				enchFireProtection =
				{
					Notes = "",
				},
				enchFlame =
				{
					Notes = "",
				},
				enchFortune =
				{
					Notes = "",
				},
				enchInfinity =
				{
					Notes = "",
				},
				enchKnockback =
				{
					Notes = "",
				},
				enchLooting =
				{
					Notes = "",
				},
				enchLuckOfTheSea =
				{
					Notes = "",
				},
				enchLure =
				{
					Notes = "",
				},
				enchPower =
				{
					Notes = "",
				},
				enchProjectileProtection =
				{
					Notes = "",
				},
				enchProtection =
				{
					Notes = "",
				},
				enchPunch =
				{
					Notes = "",
				},
				enchRespiration =
				{
					Notes = "",
				},
				enchSharpness =
				{
					Notes = "",
				},
				enchSilkTouch =
				{
					Notes = "",
				},
				enchSmite =
				{
					Notes = "",
				},
				enchThorns =
				{
					Notes = "",
				},
				enchUnbreaking =
				{
					Notes = "",
				},
			},
		},
		cEntity =
		{
			Desc = [[
				A cEntity object represents an object in the world, it has a position and orientation. cEntity is an
				abstract class, and can not be instantiated directly, instead, all entities are implemented as
				subclasses. The cEntity class works as the common interface for the operations that all (most)
				entities support.</p>
				<p>
				All cEntity objects have an Entity Type so it can be determined what kind of entity it is
				efficiently. Entities also have a class inheritance awareness, they know their class name,
				their parent class' name and can decide if there is a class within their inheritance chain.
				Since these functions operate on strings, they are slightly slower than checking the entity type
				directly, on the other hand, they are more specific directly. To check if the entity is a spider,
				you need to call IsMob(), then cast the object to {{cMonster}} and finally compare
				{{cMonster}}:GetMonsterType() to mtSpider. GetClass(), on the other hand, returns "cSpider"
				directly.</p>
				<p>
				Note that you should not store a cEntity object between two hooks' calls, because Cuberite may
				despawn / remove that entity in between the calls. If you need to refer to an entity later, use its
				UniqueID and {{cWorld|cWorld}}'s entity manipulation functions DoWithEntityByID(), ForEachEntity()
				or ForEachEntityInChunk() to access the entity again.</p>
			]],
			Functions =
			{
				AddPosition =
				{
					{
						Params =
						{
							{
								Name = "OffsetX",
								Type = "number",
							},
							{
								Name = "OffsetY",
								Type = "number",
							},
							{
								Name = "OffsetZ",
								Type = "number",
							},
						},
						Notes = "Moves the entity by the specified amount in each axis direction",
					},
					{
						Params =
						{
							{
								Name = "Offset",
								Type = "Vector3d",
							},
						},
						Notes = "Moves the entity by the specified amount in each direction",
					},
				},
				AddPosX =
				{
					Params =
					{
						{
							Name = "OffsetX",
							Type = "number",
						},
					},
					Notes = "Moves the entity by the specified amount in the X axis direction",
				},
				AddPosY =
				{
					Params =
					{
						{
							Name = "OffsetY",
							Type = "number",
						},
					},
					Notes = "Moves the entity by the specified amount in the Y axis direction",
				},
				AddPosZ =
				{
					Params =
					{
						{
							Name = "OffsetZ",
							Type = "number",
						},
					},
					Notes = "Moves the entity by the specified amount in the Z axis direction",
				},
				AddSpeed =
				{
					{
						Params =
						{
							{
								Name = "AddX",
								Type = "number",
							},
							{
								Name = "AddY",
								Type = "number",
							},
							{
								Name = "AddZ",
								Type = "number",
							},
						},
						Notes = "Adds the specified amount of speed in each axis direction.",
					},
					{
						Params =
						{
							{
								Name = "Add",
								Type = "Vector3d",
							},
						},
						Notes = "Adds the specified amount of speed in each axis direction.",
					},
				},
				AddSpeedX =
				{
					Params =
					{
						{
							Name = "AddX",
							Type = "number",
						},
					},
					Notes = "Adds the specified amount of speed in the X axis direction.",
				},
				AddSpeedY =
				{
					Params =
					{
						{
							Name = "AddY",
							Type = "number",
						},
					},
					Notes = "Adds the specified amount of speed in the Y axis direction.",
				},
				AddSpeedZ =
				{
					Params =
					{
						{
							Name = "AddZ",
							Type = "number",
						},
					},
					Notes = "Adds the specified amount of speed in the Z axis direction.",
				},
				ArmorCoversAgainst =
				{
					Params =
					{
						{
							Name = "DamageType",
							Type = "eDamageType",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether armor will protect against the specified damage type",
				},
				Destroy =
				{
					Params =
					{
						{
							Name = "ShouldBroadcast",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Notes = "Schedules the entity to be destroyed; if ShouldBroadcast is not present or set to true, broadcasts the DestroyEntity packet",
				},
				GetAirLevel =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the air level (number of ticks of air left). Note, this function is only updated with mobs or players.",
				},
				GetArmorCoverAgainst =
				{
					Params =
					{
						{
							Name = "AttackerEntity",
							Type = "cEntity",
						},
						{
							Name = "DamageType",
							Type = "eDamageType",
						},
						{
							Name = "RawDamage",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of hitpoints out of RawDamage that the currently equipped armor would cover. See {{TakeDamageInfo}} for more information on attack damage.",
				},
				GetChunkX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the X-coord of the chunk in which the entity is placed",
				},
				GetChunkZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Z-coord of the chunk in which the entity is placed",
				},
				GetClass =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the classname of the entity, such as \"cSpider\" or \"cPickup\"",
				},
				GetClassStatic =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the entity classname that this class implements. Each descendant overrides this function. Is static",
				},
				GetEntityType =
				{
					Returns =
					{
						{
							Name = "EntityType",
							Type = "cEntity#eEntityType",
						},
					},
					Notes = "Returns the type of the entity, one of the {{cEntity#eEntityType|etXXX}} constants. Note that to check specific entity type, you should use one of the IsXXX functions instead of comparing the value returned by this call.",
				},
				GetEquippedBoots =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the boots that the entity has equipped. Returns an empty cItem if no boots equipped or not applicable.",
				},
				GetEquippedChestplate =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the chestplate that the entity has equipped. Returns an empty cItem if no chestplate equipped or not applicable.",
				},
				GetEquippedHelmet =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the helmet that the entity has equipped. Returns an empty cItem if no helmet equipped or not applicable.",
				},
				GetEquippedLeggings =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the leggings that the entity has equipped. Returns an empty cItem if no leggings equipped or not applicable.",
				},
				GetEquippedWeapon =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the weapon that the entity has equipped. Returns an empty cItem if no weapon equipped or not applicable.",
				},
				GetGravity =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number that is used as the gravity for physics simulation. 1G (9.78) by default.",
				},
				GetHeadYaw =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the pitch of the entity's head (FIXME: Rename to GetHeadPitch() ).",
				},
				GetHealth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the current health of the entity.",
				},
				GetHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the height (Y size) of the entity",
				},
				GetInvulnerableTicks =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of ticks that this entity will be invulnerable for. This is used for after-hit recovery - the entities are invulnerable for half a second after being hit.",
				},
				GetKnockbackAmountAgainst =
				{
					Params =
					{
						{
							Name = "ReceiverEntity",
							Type = "cEntity",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the amount of knockback that the currently equipped items would cause when attacking the ReceiverEntity.",
				},
				GetLookVector =
				{
					Returns =
					{
						{
							Type = "Vector3f",
						},
					},
					Notes = "Returns the vector that defines the direction in which the entity is looking",
				},
				GetMass =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the mass of the entity. Currently unused.",
				},
				GetMaxHealth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum number of hitpoints this entity is allowed to have.",
				},
				GetParentClass =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the direct parent class for this entity",
				},
				GetPitch =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the pitch (nose-down rotation) of the entity. Measured in degrees, normal values range from -90 to +90. +90 means looking down, 0 means looking straight ahead, -90 means looking up.",
				},
				GetPosition =
				{
					Returns =
					{
						{
							Type = "Vector3d",
						},
					},
					Notes = "Returns the entity's pivot position as a 3D vector",
				},
				GetPosX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the X-coord of the entity's pivot",
				},
				GetPosY =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Y-coord of the entity's pivot",
				},
				GetPosZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Z-coord of the entity's pivot",
				},
				GetRawDamageAgainst =
				{
					Params =
					{
						{
							Name = "ReceiverEntity",
							Type = "cEntity",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the raw damage that this entity's equipment would cause when attacking the ReceiverEntity. This includes this entity's weapon {{cEnchantments|enchantments}}, but excludes the receiver's armor or potion effects. See {{TakeDamageInfo}} for more information on attack damage.",
				},
				GetRoll =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the roll (sideways rotation) of the entity. Currently unused.",
				},
				GetRot =
				{
					Returns =
					{
						{
							Type = "Vector3f",
						},
					},
					Notes = "(OBSOLETE) Returns the entire rotation vector (Yaw, Pitch, Roll)",
				},
				GetSpeed =
				{
					Returns =
					{
						{
							Type = "Vector3d",
						},
					},
					Notes = "Returns the complete speed vector of the entity",
				},
				GetSpeedX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the X-part of the speed vector",
				},
				GetSpeedY =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Y-part of the speed vector",
				},
				GetSpeedZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Z-part of the speed vector",
				},
				GetTicksAlive =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of ticks that this entity has been alive for.",
				},
				GetUniqueID =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the ID that uniquely identifies the entity within the running server. Note that this ID is not persisted to the data files.",
				},
				GetWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the width (X and Z size) of the entity.",
				},
				GetWorld =
				{
					Returns =
					{
						{
							Type = "cWorld",
						},
					},
					Notes = "Returns the world where the entity resides",
				},
				GetYaw =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the yaw (direction) of the entity. Measured in degrees, values range from -180 to +180. 0 means ZP, 90 means XM, -180 means ZM, -90 means XP.",
				},
				HandleSpeedFromAttachee =
				{
					Params =
					{
						{
							Name = "ForwardAmount",
							Type = "number",
						},
						{
							Name = "SidewaysAmount",
							Type = "number",
						},
					},
					Notes = "Updates the entity's speed based on the attachee exerting the specified force forward and sideways. Used for entities being driven by other entities attached to them - usually players driving minecarts and boats.",
				},
				Heal =
				{
					Params =
					{
						{
							Name = "Hitpoints",
							Type = "number",
						},
					},
					Notes = "Heals the specified number of hitpoints. Hitpoints is expected to be a positive number.",
				},
				IsA =
				{
					Params =
					{
						{
							Name = "ClassName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity class is a descendant of the specified class name, or the specified class itself",
				},
				IsBoat =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is a {{cBoat|boat}}.",
				},
				IsCrouched =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is crouched. Always false for entities that don't support crouching.",
				},
				IsDestroyed =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "(<b>DEPRECATED</b>) Please use cEntity:IsTicking().",
				},
				IsEnderCrystal =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is an ender crystal.",
				},
				IsExpOrb =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents an experience orb",
				},
				IsFallingBlock =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents a {{cFallingBlock}} entity.",
				},
				IsFireproof =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity takes no damage from being on fire.",
				},
				IsFloater =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents a fishing rod floater",
				},
				IsInvisible =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is invisible",
				},
				IsItemFrame =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is an item frame.",
				},
				IsMinecart =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents a {{cMinecart|minecart}}",
				},
				IsMob =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents any {{cMonster|mob}}.",
				},
				IsOnFire =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is on fire",
				},
				IsOnGround =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is on ground (not falling, not jumping, not flying)",
				},
				IsPainting =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns if this entity is a painting.",
				},
				IsPawn =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is a {{cPawn}} descendant.",
				},
				IsPickup =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents a {{cPickup|pickup}}.",
				},
				IsPlayer =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents a {{cPlayer|player}}",
				},
				IsProjectile =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is a {{cProjectileEntity}} descendant.",
				},
				IsRclking =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Currently unimplemented",
				},
				IsRiding =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is attached to (riding) another entity.",
				},
				IsSprinting =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is sprinting. Entities that cannot sprint return always false",
				},
				IsSubmerged =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the mob or player is submerged in water (head is in a water block). Note, this function is only updated with mobs or players.",
				},
				IsSwimming =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the mob or player is swimming in water (feet are in a water block). Note, this function is only updated with mobs or players.",
				},
				IsTicking =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity is valid and ticking. Returns false if the entity is not ticking and is about to leave its current world either via teleportation or destruction. If this returns false, you must stop using the cEntity pointer you have.",
				},
				IsTNT =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the entity represents a {{cTNTEntity|TNT entity}}",
				},
				Killed =
				{
					Params =
					{
						{
							Name = "Victim",
							Type = "cEntity",
						},
					},
					Notes = "This entity has killed another entity (the Victim). For players, adds the scoreboard statistics about the kill.",
				},
				KilledBy =
				{
					Notes = "FIXME: Remove this from API",
				},
				MoveToWorld =
				{
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "ShouldSendRespawn",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Removes the entity from this world and starts moving it to the specified world's spawn point. Note that to avoid deadlocks, the move is asynchronous - the entity is moved into a queue and will be moved from that queue into the destination world at some (unpredictable) time in the future. ShouldSendRespawn is used only for players, it specifies whether the player should be sent a Respawn packet upon leaving the world (The client handles respawns only between different dimensions). <b>OBSOLETE</b>, use ScheduleMoveToWorld() instead.",
					},
					{
						Params =
						{
							{
								Name = "WorldName",
								Type = "string",
							},
							{
								Name = "ShouldSendRespawn",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Removes the entity from this world and starts moving it to the specified world's spawn point. Note that to avoid deadlocks, the move is asynchronous - the entity is moved into a queue and will be moved from that queue into the destination world at some (unpredictable) time in the future. ShouldSendRespawn is used only for players, it specifies whether the player should be sent a Respawn packet upon leaving the world (The client handles respawns only between different dimensions). <b>OBSOLETE</b>, use ScheduleMoveToWorld() instead.",
					},
					{
						Params =
						{
							{
								Name = "World",
								Type = "cWorld",
							},
							{
								Name = "ShouldSendRespawn",
								Type = "boolean",
							},
							{
								Name = "Position",
								Type = "Vector3d",
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Removes the entity from this world and starts moving it to the specified world. Note that to avoid deadlocks, the move is asynchronous - the entity is moved into a queue and will be moved from that queue into the destination world at some (unpredictable) time in the future. ShouldSendRespawn is used only for players, it specifies whether the player should be sent a Respawn packet upon leaving the world (The client handles respawns only between different dimensions). The Position parameter specifies the location that the entity should be placed in, in the new world. <b>OBSOLETE</b>, use ScheduleMoveToWorld() instead.",
					},
				},
				ScheduleMoveToWorld =
				{
					Params =
					{
						{
							Name = "World",
							Type = "cWorld",
						},
						{
							Name = "NewPosition",
							Type = "Vector3d",
						},
						{
							Name = "ShouldSetPortalCooldown",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Notes = "Schedules a MoveToWorld call to occur on the next Tick of the entity. If ShouldSetPortalCooldown is false (default), doesn't set any portal cooldown, if it is true, the default portal cooldown is applied to the entity.",
				},
				SetGravity =
				{
					Params =
					{
						{
							Name = "Gravity",
							Type = "number",
						},
					},
					Notes = "Sets the number that is used as the gravity for physics simulation. 1G (9.78) by default.",
				},
				SetHeadYaw =
				{
					Params =
					{
						{
							Name = "HeadPitch",
							Type = "number",
						},
					},
					Notes = "Sets the head pitch (FIXME: Rename to SetHeadPitch() ).",
				},
				SetHealth =
				{
					Params =
					{
						{
							Name = "Hitpoints",
							Type = "number",
						},
					},
					Notes = "Sets the entity's health to the specified amount of hitpoints. Doesn't broadcast any hurt animation. Doesn't kill the entity if health drops below zero. Use the TakeDamage() function instead for taking damage.",
				},
				SetHeight =
				{
					Notes = "FIXME: Remove this from API",
				},
				SetInvulnerableTicks =
				{
					Params =
					{
						{
							Name = "NumTicks",
							Type = "number",
						},
					},
					Notes = "Sets the amount of ticks for which the entity will not receive any damage from other entities.",
				},
				SetIsFireproof =
				{
					Params =
					{
						{
							Name = "IsFireproof",
							Type = "boolean",
						},
					},
					Notes = "Sets whether the entity receives damage from being on fire.",
				},
				SetMass =
				{
					Params =
					{
						{
							Name = "Mass",
							Type = "number",
						},
					},
					Notes = "Sets the mass of the entity. Currently unused.",
				},
				SetMaxHealth =
				{
					Params =
					{
						{
							Name = "MaxHitpoints",
							Type = "number",
						},
					},
					Notes = "Sets the maximum hitpoints of the entity. If current health is above MaxHitpoints, it is capped to MaxHitpoints.",
				},
				SetPitch =
				{
					Params =
					{
						{
							Name = "Pitch",
							Type = "number",
						},
					},
					Notes = "Sets the pitch (nose-down rotation) of the entity",
				},
				SetPitchFromSpeed =
				{
					Notes = "Sets the entity pitch to match its speed (entity looking forwards as it moves)",
				},
				SetPosition =
				{
					{
						Params =
						{
							{
								Name = "PosX",
								Type = "number",
							},
							{
								Name = "PosY",
								Type = "number",
							},
							{
								Name = "PosZ",
								Type = "number",
							},
						},
						Notes = "Sets all three coords of the entity's pivot",
					},
					{
						Params =
						{
							{
								Name = "Vector3d",
								Type = "Vector3d",
							},
						},
						Notes = "Sets all three coords of the entity's pivot",
					},
				},
				SetPosX =
				{
					Params =
					{
						{
							Name = "PosX",
							Type = "number",
						},
					},
					Notes = "Sets the X-coord of the entity's pivot",
				},
				SetPosY =
				{
					Params =
					{
						{
							Name = "PosY",
							Type = "number",
						},
					},
					Notes = "Sets the Y-coord of the entity's pivot",
				},
				SetPosZ =
				{
					Params =
					{
						{
							Name = "PosZ",
							Type = "number",
						},
					},
					Notes = "Sets the Z-coord of the entity's pivot",
				},
				SetRoll =
				{
					Params =
					{
						{
							Name = "Roll",
							Type = "number",
						},
					},
					Notes = "Sets the roll (sideways rotation) of the entity. Currently unused.",
				},
				SetRot =
				{
					Params =
					{
						{
							Name = "Rotation",
							Type = "Vector3f",
						},
					},
					Notes = "Sets the entire rotation vector (Yaw, Pitch, Roll)",
				},
				SetSpeed =
				{
					{
						Params =
						{
							{
								Name = "SpeedX",
								Type = "number",
							},
							{
								Name = "SpeedY",
								Type = "number",
							},
							{
								Name = "SpeedZ",
								Type = "number",
							},
						},
						Notes = "Sets the current speed of the entity",
					},
					{
						Params =
						{
							{
								Name = "Speed",
								Type = "Vector3d",
							},
						},
						Notes = "Sets the current speed of the entity",
					},
				},
				SetSpeedX =
				{
					Params =
					{
						{
							Name = "SpeedX",
							Type = "number",
						},
					},
					Notes = "Sets the X component of the entity speed",
				},
				SetSpeedY =
				{
					Params =
					{
						{
							Name = "SpeedY",
							Type = "number",
						},
					},
					Notes = "Sets the Y component of the entity speed",
				},
				SetSpeedZ =
				{
					Params =
					{
						{
							Name = "SpeedZ",
							Type = "number",
						},
					},
					Notes = "Sets the Z component of the entity speed",
				},
				SetWidth =
				{
					Notes = "FIXME: Remove this from API",
				},
				SetYaw =
				{
					Params =
					{
						{
							Name = "Yaw",
							Type = "number",
						},
					},
					Notes = "Sets the yaw (direction) of the entity.",
				},
				SetYawFromSpeed =
				{
					Notes = "Sets the entity's yaw to match its current speed (entity looking forwards as it moves).",
				},
				StartBurning =
				{
					Params =
					{
						{
							Name = "NumTicks",
							Type = "number",
						},
					},
					Notes = "Sets the entity on fire for the specified number of ticks. If entity is on fire already, makes it burn for either NumTicks or the number of ticks left from the previous fire, whichever is larger.",
				},
				SteerVehicle =
				{
					Params =
					{
						{
							Name = "ForwardAmount",
							Type = "number",
						},
						{
							Name = "SidewaysAmount",
							Type = "number",
						},
					},
					Notes = "Applies the specified steering to the vehicle this entity is attached to. Ignored if not attached to any entity.",
				},
				StopBurning =
				{
					Notes = "Extinguishes the entity fire, cancels all fire timers.",
				},
				TakeDamage =
				{
					{
						Params =
						{
							{
								Name = "AttackerEntity",
								Type = "cEntity",
							},
						},
						Notes = "Causes this entity to take damage that AttackerEntity would inflict. Includes their weapon and this entity's armor.",
					},
					{
						Params =
						{
							{
								Name = "DamageType",
								Type = "eDamageType",
							},
							{
								Name = "AttackerEntity",
								Type = "cEntity",
							},
							{
								Name = "RawDamage",
								Type = "number",
							},
							{
								Name = "KnockbackAmount",
								Type = "number",
							},
						},
						Notes = "Causes this entity to take damage of the specified type, from the specified attacker (may be nil). The final damage is calculated from RawDamage using the currently equipped armor.",
					},
					{
						Params =
						{
							{
								Name = "DamageType",
								Type = "eDamageType",
							},
							{
								Name = "AttackerEntity",
								Type = "cEntity",
							},
							{
								Name = "RawDamage",
								Type = "number",
							},
							{
								Name = "FinalDamage",
								Type = "number",
							},
							{
								Name = "KnockbackAmount",
								Type = "number",
							},
						},
						Notes = "Causes this entity to take damage of the specified type, from the specified attacker (may be nil). The values are wrapped into a {{TakeDamageInfo}} structure and applied directly.",
					},
				},
				TeleportToCoords =
				{
					Params =
					{
						{
							Name = "PosX",
							Type = "number",
						},
						{
							Name = "PosY",
							Type = "number",
						},
						{
							Name = "PosZ",
							Type = "number",
						},
					},
					Notes = "Teleports the entity to the specified coords. Asks plugins if the teleport is allowed.",
				},
				TeleportToEntity =
				{
					Params =
					{
						{
							Name = "DestEntity",
							Type = "cEntity",
						},
					},
					Notes = "Teleports this entity to the specified destination entity. Asks plugins if the teleport is allowed.",
				},
			},
			Constants =
			{
				etBoat =
				{
					Notes = "The entity is a {{cBoat}}",
				},
				etEnderCrystal =
				{
					Notes = "",
				},
				etEntity =
				{
					Notes = "No further specialization available",
				},
				etExpOrb =
				{
					Notes = "The entity is a {{cExpOrb}}",
				},
				etFallingBlock =
				{
					Notes = "The entity is a {{cFallingBlock}}",
				},
				etFloater =
				{
					Notes = "The entity is a fishing rod floater",
				},
				etItemFrame =
				{
					Notes = "",
				},
				etMinecart =
				{
					Notes = "The entity is a {{cMinecart}} descendant",
				},
				etMob =
				{
					Notes = "The entity is a {{cMonster}} descendant",
				},
				etMonster =
				{
					Notes = "The entity is a {{cMonster}} descendant",
				},
				etPainting =
				{
					Notes = "The entity is a {{cPainting}}",
				},
				etPickup =
				{
					Notes = "The entity is a {{cPickup}}",
				},
				etPlayer =
				{
					Notes = "The entity is a {{cPlayer}}",
				},
				etProjectile =
				{
					Notes = "The entity is a {{cProjectileEntity}} descendant",
				},
				etTNT =
				{
					Notes = "The entity is a {{cTNTEntity}}",
				},
			},
			ConstantGroups =
			{
				eEntityType =
				{
					Include = "et.*",
					TextBefore = "The following constants are used to distinguish between different entity types:",
				},
			},
		},
		cEntityEffect =
		{
			Functions =
			{
				GetPotionColor =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemDamage",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the potion color (used by the client for visuals), based on the potion's damage value",
				},
				GetPotionEffectDuration =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemDamage",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the effect duration, in ticks, based on the potion's damage value",
				},
				GetPotionEffectIntensity =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemDamage",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "short",
							Type = "number",
						},
					},
					Notes = "Retrieves the intensity level from the potion's damage value. Returns 0 for level I potions, 1 for level II potions.",
				},
				GetPotionEffectType =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemDamage",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "eType",
							Type = "cEntityEffect#eType",
						},
					},
					Notes = "Translates the potion's damage value into the entity effect that the potion gives",
				},
				IsPotionDrinkable =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemDamage",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the potion with the given damage is drinkable",
				},
			},  -- Functions
			ConstantGroups =
			{
				eType =
				{
					Include = { "eff.*" },
				},
			},  -- ConstantGroups
		},  -- cEntityEffect

		cFile =
		{
			Desc = [[
				Provides helper functions for manipulating and querying the filesystem. Most functions are static,
				so they should be called directly on the cFile class itself:
<pre class="prettyprint lang-lua">
cFile:DeleteFile("/usr/bin/virus.exe");
</pre></p>
			]],
			Functions =
			{
				ChangeFileExt =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
						{
							Name = "NewExt",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns FileName with its extension changed to NewExt. NewExt may begin with a dot, but needn't, the result is the same in both cases (the first dot, if present, is ignored). FileName may contain path elements, extension is recognized as the last dot after the last path separator in the string.",
				},
				Copy =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "SrcFileName",
							Type = "string",
						},
						{
							Name = "DstFileName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Copies a single file to a new destination. Returns true if successful. Fails if the destination already exists.",
				},
				CreateFolder =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FolderPath",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Creates a new folder. Returns true if successful. Only a single level can be created at a time, use CreateFolderRecursive() to create multiple levels of folders at once.",
				},
				CreateFolderRecursive =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FolderPath",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Creates a new folder, creating its parents if needed. Returns true if successful.",
				},
				Delete =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Path",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes the specified file or folder. Returns true if successful. Only deletes folders that are empty.<br/><b>NOTE</b>: If you already know if the object is a file or folder, use DeleteFile() or DeleteFolder() explicitly.",
				},
				DeleteFile =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FilePath",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes the specified file. Returns true if successful.",
				},
				DeleteFolder =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FolderPath",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes the specified file or folder. Returns true if successful. Only deletes folders that are empty.",
				},
				DeleteFolderContents =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FolderPath",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes everything from the specified folder, recursively. The specified folder stays intact. Returns true if successful.",
				},
				Exists =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Path",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "Exists",
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified file or folder exists.<br/><b>OBSOLETE</b>, use IsFile() or IsFolder() instead",
				},
				GetExecutableExt =
				{
					IsStatic = true,
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the customary executable extension (including the dot) used by the current platform (\".exe\" on Windows, empty string on Linux). ",
				},
				GetFolderContents =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FolderName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Returns the contents of the specified folder, as an array table of strings. Each filesystem object is listed. Use the IsFile() and IsFolder() functions to determine the object type. Note that \".\" and \"..\" are NOT returned. The order of the names is arbitrary (as returned by OS, no sorting).",
				},
				GetLastModificationTime =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Path",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the last modification time (in current timezone) of the specified file or folder. Returns zero if file not found / not accessible. The returned value is in the same units as values returned by os.time().",
				},
				GetPathSeparator =
				{
					IsStatic = true,
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the primary path separator used by the current platform. Returns \"\\\" on Windows and \"/\" on Linux. Note that the platform or CRT may support additional path separators, those are not reported.",
				},
				GetSize =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the size of the file, or -1 on failure.",
				},
				IsFile =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Path",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified path points to an existing file.",
				},
				IsFolder =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Path",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified path points to an existing folder.",
				},
				ReadWholeFile =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the entire contents of the specified file. Returns an empty string if the file cannot be opened.",
				},
				Rename =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "OrigPath",
							Type = "string",
						},
						{
							Name = "NewPath",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Renames a file or a folder. Returns true if successful. Undefined result if NewPath already exists.",
				},
			},
		},
		cFloater =
		{
			Desc = [[
				Manages the floater created when a player uses their fishing rod.
			]],
			Functions =
			{
				CanPickup =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the floater gives an item when the player right clicks.",
				},
				GetAttachedMobID =
				{
					Returns =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
					},
					Notes = "Returns the EntityID of a mob that this floater is attached to. Returns -1 if not attached to any mob.",
				},
				GetOwnerID =
				{
					Returns =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
					},
					Notes = "Returns the EntityID of the player who owns the floater.",
				},
			},
			Inherits = "cEntity",
		},
		cHangingEntity =
		{
			Functions =
			{
				GetFacing =
				{
					Returns =
					{
						{
							Name = "BlockFace",
							Type = "eBlockFace",
						},
					},
					Notes = "Returns the direction in which the entity is facing.",
				},
				SetFacing =
				{
					Params =
					{
						{
							Name = "BlockFace",
							Type = "eBlockFace",
						},
					},
					Notes = "Set the direction in which the entity is facing.",
				},
			},
			Inherits = "cEntity",
		},
		cIniFile =
		{
			Desc = [[
				This class implements a simple name-value storage represented on disk by an INI file. These files
				are suitable for low-volume high-latency human-readable information storage, such as for
				configuration. Cuberite itself uses INI files for settings and options.</p>
				<p>
				The INI files follow this basic structure:
<pre class="prettyprint lang-ini">
; Header comment line
[KeyName0]
; Key comment line 0
ValueName0=Value0
ValueName1=Value1

[KeyName1]
; Key comment line 0
; Key comment line 1
ValueName0=SomeOtherValue
</pre>
				The cIniFile object stores all the objects in numbered arrays and provides access to the information
				either based on names (KeyName, ValueName) or zero-based indices.</p>
				<p>
				The objects of this class are created empty. You need to either load a file using ReadFile(), or
				insert values by hand. Then you can store the object's contents to a disk file using WriteFile(), or
				just forget everything by destroying the object. Note that the file operations are quite slow.</p>
				<p>
				For storing high-volume low-latency data, use the {{sqlite3}} class. For storing
				hierarchically-structured data, use the XML format, using the LuaExpat parser in the {{lxp}} class.
			]],
			Functions =
			{
				AddHeaderComment =
				{
					Params =
					{
						{
							Name = "Comment",
							Type = "string",
						},
					},
					Notes = "Adds a comment to be stored in the file header.",
				},
				AddKeyComment =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
							{
								Name = "Comment",
								Type = "string",
							},
						},
						Notes = "Adds a comment to be stored in the file under the specified key",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
							{
								Name = "Comment",
								Type = "string",
							},
						},
						Notes = "Adds a comment to be stored in the file under the specified key",
					},
				},
				AddKeyName =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Adds a new key of the specified name. Returns the KeyID of the new key.",
				},
				AddValue =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "Value",
							Type = "string",
						},
					},
					Notes = "Adds a new value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)",
				},
				AddValueB =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "Value",
							Type = "boolean",
						},
					},
					Notes = "Adds a new bool value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)",
				},
				AddValueF =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "Value",
							Type = "number",
						},
					},
					Notes = "Adds a new float value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)",
				},
				AddValueI =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "Value",
							Type = "number",
						},
					},
					Notes = "Adds a new integer value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)",
				},
				CaseInsensitive =
				{
					Notes = "Sets key names' and value names' comparisons to case insensitive (default).",
				},
				CaseSensitive =
				{
					Notes = "Sets key names and value names comparisons to case sensitive.",
				},
				Clear =
				{
					Notes = "Removes all the in-memory data. Note that , like all the other operations, this doesn't affect any file data.",
				},
				constructor =
				{
					Returns =
					{
						{
							Type = "cIniFile",
						},
					},
					Notes = "Creates a new empty cIniFile object.",
				},
				DeleteHeaderComment =
				{
					Params =
					{
						{
							Name = "CommentID",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes the specified header comment. Returns true if successful.",
				},
				DeleteHeaderComments =
				{
					Notes = "Deletes all headers comments.",
				},
				DeleteKey =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes the specified key, and all values in that key. Returns true if successful.",
				},
				DeleteKeyComment =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
							{
								Name = "CommentID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Deletes the specified key comment. Returns true if successful.",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
							{
								Name = "CommentID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Deletes the specified key comment. Returns true if successful.",
					},
				},
				DeleteKeyComments =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Deletes all comments for the specified key. Returns true if successful.",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Deletes all comments for the specified key. Returns true if successful.",
					},
				},
				DeleteValue =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes the specified value. Returns true if successful.",
				},
				DeleteValueByID =
				{
					Params =
					{
						{
							Name = "KeyID",
							Type = "number",
						},
						{
							Name = "ValueID",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Deletes the specified value. Returns true if successful.",
				},
				FindKey =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the KeyID for the specified key name, or the noID constant if the key doesn't exist.",
				},
				FindValue =
				{
					Params =
					{
						{
							Name = "KeyID",
							Type = "number",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "ValueID",
							Type = "number",
						},
					},
					Notes = "Returns the ValueID for the specified value name, or the noID constant if the specified key doesn't contain a value of that name.",
				},
				Flush =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Writes the data stored in the object to the file that was last associated with the object (ReadFile() or WriteFile()). Returns true on success, false on failure.",
				},
				GetHeaderComment =
				{
					Params =
					{
						{
							Name = "CommentID",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the specified header comment, or an empty string if such comment doesn't exist",
				},
				GetKeyComment =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
							{
								Name = "CommentID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "string",
							},
						},
						Notes = "Returns the specified key comment, or an empty string if such a comment doesn't exist",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
							{
								Name = "CommentID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "string",
							},
						},
						Notes = "Returns the specified key comment, or an empty string if such a comment doesn't exist",
					},
				},
				GetKeyName =
				{
					Params =
					{
						{
							Name = "KeyID",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the key name for the specified key ID. Inverse for FindKey().",
				},
				GetNumHeaderComments =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Retuns the number of header comments.",
				},
				GetNumKeyComments =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the number of comments under the specified key",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the number of comments under the specified key",
					},
				},
				GetNumKeys =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the total number of keys. This is the range for the KeyID (0 .. GetNumKeys() - 1)",
				},
				GetNumValues =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the number of values stored under the specified key.",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the number of values stored under the specified key.",
					},
				},
				GetValue =
				{
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
							{
								Name = "ValueName",
								Type = "string",
							},
							{
								Name = "DefaultValue",
								Type = "string",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Type = "string",
							},
						},
						Notes = "Returns the value of the specified name under the specified key. Returns DefaultValue (empty string if not given) if the value doesn't exist.",
					},
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
							{
								Name = "ValueID",
								Type = "number",
							},
							{
								Name = "DefaultValue",
								Type = "string",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Type = "string",
							},
						},
						Notes = "Returns the value of the specified name under the specified key. Returns DefaultValue (empty string if not given) if the value doesn't exist.",
					},
				},
				GetValueB =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns the value of the specified name under the specified key, as a bool. Returns DefaultValue (false if not given) if the value doesn't exist.",
				},
				GetValueF =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the value of the specified name under the specified key, as a floating-point number. Returns DefaultValue (zero if not given) if the value doesn't exist.",
				},
				GetValueI =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the value of the specified name under the specified key, as an integer. Returns DefaultValue (zero if not given) if the value doesn't exist.",
				},
				GetValueName =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
							{
								Name = "ValueID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "string",
							},
						},
						Notes = "Returns the name of the value specified by its ID. Inverse for FindValue().",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
							{
								Name = "ValueID",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "string",
							},
						},
						Notes = "Returns the name of the value specified by its ID. Inverse for FindValue().",
					},
				},
				GetValueSet =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "string",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the value of the specified name under the specified key. If the value doesn't exist, creates it with the specified default (empty string if not given).",
				},
				GetValueSetB =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns the value of the specified name under the specified key, as a bool. If the value doesn't exist, creates it with the specified default (false if not given).",
				},
				GetValueSetF =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the value of the specified name under the specified key, as a floating-point number. If the value doesn't exist, creates it with the specified default (zero if not given).",
				},
				GetValueSetI =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the value of the specified name under the specified key, as an integer. If the value doesn't exist, creates it with the specified default (zero if not given).",
				},
				HasValue =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified value is present.",
				},
				ReadFile =
				{
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
						{
							Name = "AllowExampleFallback",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Reads the values from the specified file. Previous in-memory contents are lost. If the file cannot be opened, and AllowExample is true, another file, \"filename.example.ini\", is loaded and then saved as \"filename.ini\". Returns true if successful, false if not.",
				},
				SetValue =
				{
					{
						Params =
						{
							{
								Name = "KeyID",
								Type = "number",
							},
							{
								Name = "ValueID",
								Type = "number",
							},
							{
								Name = "NewValue",
								Type = "string",
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Overwrites the specified value with a new value. If the specified value doesn't exist, returns false (doesn't add).",
					},
					{
						Params =
						{
							{
								Name = "KeyName",
								Type = "string",
							},
							{
								Name = "ValueName",
								Type = "string",
							},
							{
								Name = "NewValue",
								Type = "string",
							},
							{
								Name = "CreateIfNotExists",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Name = "IsSuccess",
								Type = "boolean",
							},
						},
						Notes = "Overwrites the specified value with a new value. If CreateIfNotExists is true (default) and the value doesn't exist, it is first created. Returns true if the value was successfully set, false if not (didn't exists, CreateIfNotExists false).",
					},
				},
				SetValueB =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "NewValue",
							Type = "boolean",
						},
						{
							Name = "CreateIfNotExists",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Overwrites the specified value with a new bool value. If CreateIfNotExists is true (default) and the value doesn't exist, it is first created. Returns true if the value was successfully set, false if not (didn't exists, CreateIfNotExists false).",
				},
				SetValueF =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "NewValue",
							Type = "number",
						},
						{
							Name = "CreateIfNotExists",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Overwrites the specified value with a new floating-point number value. If CreateIfNotExists is true (default) and the value doesn't exist, it is first created. Returns true if the value was successfully set, false if not (didn't exists, CreateIfNotExists false).",
				},
				SetValueI =
				{
					Params =
					{
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "ValueName",
							Type = "string",
						},
						{
							Name = "NewValue",
							Type = "number",
						},
						{
							Name = "CreateIfNotExists",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Overwrites the specified value with a new integer value. If CreateIfNotExists is true (default) and the value doesn't exist, it is first created. Returns true if the value was successfully set, false if not (didn't exists, CreateIfNotExists false).",
				},
				WriteFile =
				{
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Writes the current in-memory data into the specified file. Returns true if successful, false if not.",
				},
			},
			Constants =
			{
				noID =
				{
					Notes = "",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Code example: Reading a simple value",
					Contents = [[
						cIniFile is very easy to use. For example, you can find out what port the server is supposed to
						use according to settings.ini by using this little snippet:
<pre class="prettyprint lang-lua">
local IniFile = cIniFile();
if (IniFile:ReadFile("settings.ini")) then
	ServerPort = IniFile:GetValueI("Server", "Port");
end
</pre>
					]],
				},
				{
					Header = "Code example: Enumerating all objects in a file",
					Contents = [[
						To enumerate all keys in a file, you need to query the total number of keys, using GetNumKeys(),
						and then query each key's name using GetKeyName(). Similarly, to enumerate all values under a
						key, you need to query the total number of values using GetNumValues() and then query each
						value's name using GetValueName().</p>
						<p>
						The following code logs all keynames and their valuenames into the server log:
<pre class="prettyprint lang-lua">
local IniFile = cIniFile();
IniFile:ReadFile("somefile.ini")
local NumKeys = IniFile:GetNumKeys();
for k = 0, (NumKeys - 1) do
	local NumValues = IniFile:GetNumValues(k);
	LOG("key \"" .. IniFile:GetKeyName(k) .. "\" has " .. NumValues .. " values:");
	for v = 0, (NumValues - 1) do
		LOG("  value \"" .. IniFile:GetValueName(k, v) .. "\".");
	end
end
</pre>
					]],
				},
			},
		},
		cInventory =
		{
			Desc = [[
This object is used to store the items that a {{cPlayer|cPlayer}} has. It also keeps track of what item the player has currently selected in their hotbar.
Internally, the class uses three {{cItemGrid|cItemGrid}} objects to store the contents:
<li>Armor</li>
<li>Inventory</li>
<li>Hotbar</li>
These ItemGrids are available in the API and can be manipulated by the plugins, too.</p>
				<p>
				When using the raw slot access functions, such as GetSlot() and SetSlot(), the slots are numbered
				consecutively, each ItemGrid has its offset and count. To future-proff your plugins, use the named
				constants instead of hard-coded numbers.
			]],
			Functions =
			{
				AddItem =
				{
					Params =
					{
						{
							Name = "cItem",
							Type = "cItem",
						},
						{
							Name = "AllowNewStacks",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Adds an item to the storage; if AllowNewStacks is true (default), will also create new stacks in empty slots. Returns the number of items added",
				},
				AddItems =
				{
					Params =
					{
						{
							Name = "cItems",
							Type = "cItems",
						},
						{
							Name = "AllowNewStacks",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Same as AddItem, but for several items at once",
				},
				ChangeSlotCount =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
						{
							Name = "AddToCount",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Adds AddToCount to the count of items in the specified slot. If the slot was empty, ignores the call. Returns the new count in the slot, or -1 if invalid SlotNum",
				},
				Clear =
				{
					Notes = "Empties all slots",
				},
				CopyToItems =
				{
					Params =
					{
						{
							Name = "cItems",
							Type = "cItems",
						},
					},
					Notes = "Copies all non-empty slots into the cItems object provided; original cItems contents are preserved",
				},
				DamageEquippedItem =
				{
					Params =
					{
						{
							Name = "DamageAmount",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "HasDestroyed",
							Type = "boolean",
						},
					},
					Notes = "Adds the specified damage (1 by default) to the currently equipped item. Removes the item and returns true if the item reached its max damage and was destroyed.",
				},
				DamageItem =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
						{
							Name = "DamageAmount",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "HasDestroyed",
							Type = "boolean",
						},
					},
					Notes = "Adds the specified damage (1 by default) to the specified item. Removes the item and returns true if the item reached its max damage and was destroyed.",
				},
				GetArmorGrid =
				{
					Returns =
					{
						{
							Type = "cItemGrid",
						},
					},
					Notes = "Returns the ItemGrid representing the armor grid (1 x 4 slots)",
				},
				GetArmorSlot =
				{
					Params =
					{
						{
							Name = "ArmorSlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the specified armor slot contents. Note that the returned item is read-only",
				},
				GetEquippedBoots =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item in the \"boots\" slot of the armor grid. Note that the returned item is read-only",
				},
				GetEquippedChestplate =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item in the \"chestplate\" slot of the armor grid. Note that the returned item is read-only",
				},
				GetEquippedHelmet =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item in the \"helmet\" slot of the armor grid. Note that the returned item is read-only",
				},
				GetEquippedItem =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the currently selected item from the hotbar. Note that the returned item is read-only",
				},
				GetEquippedLeggings =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item in the \"leggings\" slot of the armor grid. Note that the returned item is read-only",
				},
				GetEquippedSlotNum =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the hotbar slot number for the currently selected item",
				},
				GetHotbarGrid =
				{
					Returns =
					{
						{
							Type = "cItemGrid",
						},
					},
					Notes = "Returns the ItemGrid representing the hotbar grid (9 x 1 slots)",
				},
				GetHotbarSlot =
				{
					Params =
					{
						{
							Name = "HotBarSlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the specified hotbar slot contents. Note that the returned item is read-only",
				},
				GetInventoryGrid =
				{
					Returns =
					{
						{
							Type = "cItemGrid",
						},
					},
					Notes = "Returns the ItemGrid representing the main inventory (9 x 3 slots)",
				},
				GetInventorySlot =
				{
					Params =
					{
						{
							Name = "InventorySlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the specified main inventory slot contents. Note that the returned item is read-only",
				},
				GetOwner =
				{
					Returns =
					{
						{
							Type = "cPlayer",
						},
					},
					Notes = "Returns the player whose inventory this object represents",
				},
				GetSlot =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the contents of the specified slot. Note that the returned item is read-only",
				},
				HasItems =
				{
					Params =
					{
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if there are at least as many items of the specified type as in the parameter",
				},
				HowManyCanFit =
				{
					{
						Params =
						{
							{
								Name = "ItemStack",
								Type = "cItem",
							},
							{
								Name = "AllowNewStacks",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns number of items out of a_ItemStack that can fit in the storage. If AllowNewStacks is false, only considers slots already containing the specified item. AllowNewStacks defaults to true if not given.",
					},
					{
						Params =
						{
							{
								Name = "ItemStack",
								Type = "cItem",
							},
							{
								Name = "BeginSlotNum",
								Type = "number",
							},
							{
								Name = "EndSlotNum",
								Type = "number",
							},
							{
								Name = "AllowNewStacks",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns how many items of the specified type would fit into the slot range specified. If AllowNewStacks is false, only considers slots already containing the specified item. AllowNewStacks defaults to true if not given.",
					},
				},
				HowManyItems =
				{
					Params =
					{
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of the specified items that are currently stored",
				},
				RemoveItem =
				{
					Params =
					{
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Removes the specified item from the inventory, as many as possible, up to the item's m_ItemCount. Returns the number of items that were removed.",
				},
				RemoveOneEquippedItem =
				{
					Notes = "Removes one item from the hotbar's currently selected slot",
				},
				SendEquippedSlot =
				{
					Notes = "Sends the equipped item slot to the client",
				},
				SetArmorSlot =
				{
					Params =
					{
						{
							Name = "ArmorSlotNum",
							Type = "number",
						},
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Notes = "Sets the specified armor slot contents",
				},
				SetEquippedSlotNum =
				{
					Params =
					{
						{
							Name = "EquippedSlotNum",
							Type = "number",
						},
					},
					Notes = "Sets the currently selected hotbar slot number",
				},
				SetHotbarSlot =
				{
					Params =
					{
						{
							Name = "HotbarSlotNum",
							Type = "number",
						},
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Notes = "Sets the specified hotbar slot contents",
				},
				SetInventorySlot =
				{
					Params =
					{
						{
							Name = "InventorySlotNum",
							Type = "number",
						},
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Notes = "Sets the specified main inventory slot contents",
				},
				SetSlot =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Notes = "Sets the specified slot contents",
				},
			},
			Constants =
			{
				invArmorCount =
				{
					Notes = "Number of slots in the Armor part",
				},
				invArmorOffset =
				{
					Notes = "Starting slot number of the Armor part",
				},
				invHotbarCount =
				{
					Notes = "Number of slots in the Hotbar part",
				},
				invHotbarOffset =
				{
					Notes = "Starting slot number of the Hotbar part",
				},
				invInventoryCount =
				{
					Notes = "Number of slots in the main inventory part",
				},
				invInventoryOffset =
				{
					Notes = "Starting slot number of the main inventory part",
				},
				invNumSlots =
				{
					Notes = "Total number of slots in a cInventory",
				},
			},
			ConstantGroups =
			{
				SlotIndices =
				{
					Include = "inv.*",
					TextBefore = [[
						Rather than hardcoding numbers, use the following constants for slot indices and counts:
					]],
				},
			},
		},
		cItem =
		{
			Desc = [[
				cItem is what defines an item or stack of items in the game, it contains the item ID, damage,
				quantity and enchantments. Each slot in a {{cInventory}} class or a {{cItemGrid}} class is a cItem
				and each {{cPickup}} contains a cItem. The enchantments are contained in a separate
				{{cEnchantments}} class and are accessible through the m_Enchantments variable.</p>
				<p>
				To test if a cItem object represents an empty item, do not compare the item type nor the item count,
				but rather use the IsEmpty() function.</p>
				<p>
				To translate from a cItem to its string representation, use the {{Globals#functions|global function}}
				ItemToString(), ItemTypeToString() or ItemToFullString(). To translate from a string to a cItem,
				use the StringToItem() global function.
			]],
			Functions =
			{
				AddCount =
				{
					Params =
					{
						{
							Name = "AmountToAdd",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Adds the specified amount to the item count. Returns self (useful for chaining).",
				},
				Clear =
				{
					Notes = "Resets the instance to an empty item",
				},
				constructor =
				{
					{
						Returns =
						{
							{
								Type = "cItem",
							},
						},
						Notes = "Creates a new empty cItem object",
					},
					{
						Params =
						{
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "Count",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "Damage",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "EnchantmentString",
								Type = "string",
								IsOptional = true,
							},
							{
								Name = "CustomName",
								Type = "string",
								IsOptional = true,
							},
							{
								Name = "Lore",
								Type = "string",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Type = "cItem",
							},
						},
						Notes = "Creates a new cItem object of the specified type, count (1 by default), damage (0 by default), enchantments (non-enchanted by default), CustomName (empty by default) and Lore (string, empty by default)",
					},
					{
						Params =
						{
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Returns =
						{
							{
								Type = "cItem",
							},
						},
						Notes = "Creates an exact copy of the cItem object in the parameter",
					},
				},
				CopyOne =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Creates a copy of this object, with its count set to 1",
				},
				DamageItem =
				{
					Params =
					{
						{
							Name = "Amount",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "HasReachedMaxDamage",
							Type = "boolean",
						},
					},
					Notes = "Adds the specified damage. Returns true when damage reaches max value and the item should be destroyed (but doesn't destroy the item)",
				},
				Empty =
				{
					Notes = "Resets the instance to an empty item",
				},
				EnchantByXPLevels =
				{
					Params =
					{
						{
							Name = "NumXPLevels",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "HasEnchanted",
							Type = "boolean",
						},
					},
					Notes = "Randomly enchants the item using the specified number of XP levels. Returns true if the item was enchanted, false if not (not enchantable / too many enchantments already).",
				},
				GetEnchantability =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the enchantability of the item. Returns zero if the item doesn't have enchantability.",
				},
				GetMaxDamage =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum value for damage that this item can get before breaking; zero if damage is not accounted for for this item type",
				},
				GetMaxStackSize =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum stack size for this item.",
				},
				IsBothNameAndLoreEmpty =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns if both the custom name and lore are not set.",
				},
				IsCustomNameEmpty =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns if the custom name is empty.",
				},
				IsDamageable =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if this item does account for its damage",
				},
				IsEmpty =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if this object represents an empty item (zero count or invalid ItemType)",
				},
				IsEnchantable =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
						{
							Name = "WithBook",
							Type = "boolean",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is enchantable. If WithBook is true, the function is used in the anvil inventory with book enchantments. So it checks the \"only book enchantments\" too. Example: You can only enchant a hoe with a book.",
				},
				IsEqual =
				{
					Params =
					{
						{
							Name = "OtherItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the item in the parameter is the same as the one stored in the object (type, damage, lore, name and enchantments)",
				},
				IsFullStack =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the item is stacked up to its maximum stacking",
				},
				IsLoreEmpty =
				{
					Notes = "Returns if the lore of the cItem is empty.",
				},
				IsSameType =
				{
					Params =
					{
						{
							Name = "OtherItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the item in the parameter is of the same ItemType as the one stored in the object. This is true even if the two items have different enchantments",
				},
			},
			Variables =
			{
				m_CustomName =
				{
					Type = "string",
					Notes = "The custom name for an item.",
				},
				m_Enchantments =
				{
					Type = "{{cEnchantments|cEnchantments}}}",
					Notes = "The enchantments of the item.",
				},
				m_ItemCount =
				{
					Type = "number",
					Notes = "Number of items in this stack",
				},
				m_ItemDamage =
				{
					Type = "number",
					Notes = "The damage of the item. Zero means no damage. Maximum damage can be queried with GetMaxDamage()",
				},
				m_ItemType =
				{
					Type = "number",
					Notes = "The item type. One of E_ITEM_ or E_BLOCK_ constants",
				},
				m_Lore =
				{
					Type = "string",
					Notes = "The lore for an item. Line breaks are represented by the ` character.",
				},
				m_RepairCost =
				{
					Type = "number",
					Notes = "The repair cost of the item. The anvil need this value",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Usage notes",
					Contents = [[
						Note that the object contained in a cItem class is quite complex and quite often new Minecraft
						versions add more stuff. Therefore it is recommended to copy cItem objects using the
						copy-constructor ("local copy = cItem(original);"), this is the only way that guarantees that
						the object will be copied at full, even with future versions of Cuberite.
					]],
				},
				{
					Header = "Example code",
					Contents = [[
						The following code shows how to create items in several different ways (adapted from the Debuggers plugin):
<pre class="prettyprint lang-lua">
-- empty item:
local Item1 = cItem();

-- enchanted sword, enchantment given as numeric string (bad style; see Item5):
local Item2 = cItem(E_ITEM_DIAMOND_SWORD, 1, 0, "1=1");

-- 1 undamaged shovel, no enchantment:
local Item3 = cItem(E_ITEM_DIAMOND_SHOVEL);

-- Add the Unbreaking enchantment. Note that Vanilla's levelcap isn't enforced:
Item3.m_Enchantments:SetLevel(cEnchantments.enchUnbreaking, 4);

-- 1 undamaged pickaxe, no enchantment:
local Item4 = cItem(E_ITEM_DIAMOND_PICKAXE);

-- Add multiple enchantments:
Item4.m_Enchantments:SetLevel(cEnchantments.enchUnbreaking, 5);
Item4.m_Enchantments:SetLevel(cEnchantments.enchEfficiency, 3);

-- enchanted chestplate, enchantment given as textual stringdesc (good style)
local Item5 = cItem(E_ITEM_DIAMOND_CHESTPLATE, 1, 0, "thorns=1;unbreaking=3");
</pre>
]],
				},
			},
		},
		cItemFrame =
		{
			Functions =
			{
				GetItem =
				{
					Returns =
					{
						{
							Type = "cItem",
							IsConst = true,
						},
					},
					Notes = "Returns the item in the frame (readonly object, do not modify)",
				},
				GetItemRotation =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the rotation from the item in the frame",
				},
				SetItem =
				{
					Params =
					{
						{
							Name = "Item",
							Type = "cItem",
						},
					},
					Notes = "Set the item in the frame",
				},
				SetItemRotation =
				{
					Params =
					{
						{
							Name = "ItemRotation",
							Type = "number",
						},
					},
					Notes = "Set the rotation from the item in the frame",
				},
			},
		},
		cItemGrid =
		{
			Desc = [[
This class represents a 2D array of items. It is used as the underlying storage and API for all cases that use a grid of items:
<li>{{cChestEntity|Chest}} contents</li>
<li>(TODO) Chest minecart contents</li>
<li>{{cDispenserEntity|Dispenser}} contents</li>
<li>{{cDropperEntity|Dropper}} contents</li>
<li>{{cFurnaceEntity|Furnace}} contents (?)</li>
<li>{{cHopperEntity|Hopper}} contents</li>
<li>(TODO) Hopper minecart contents</li>
<li>{{cPlayer|Player}} Inventory areas</li>
<li>(TODO) Trapped chest contents</li>
</p>
		<p>The items contained in this object are accessed either by a pair of XY coords, or a slot number (x + Width * y). There are functions available for converting between the two formats.
]],
			Functions =
			{
				AddItem =
				{
					Params =
					{
						{
							Name = "ItemStack",
							Type = "cItem",
						},
						{
							Name = "AllowNewStacks",
							Type = "boolean",
							IsOptional = true,
						},
						{
							Name = "PrioritarySlot",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Adds as many items out of ItemStack as can fit. If AllowNewStacks is set to false, only existing stacks can be topped up. If AllowNewStacks is set to true (default), empty slots can be used for the rest. If PrioritarySlot is set to a non-negative value, then the corresponding slot will be used first (if empty or compatible with added items). If PrioritarySlot is set to -1 (default), regular order applies. Returns the number of items that fit.",
				},
				AddItems =
				{
					Params =
					{
						{
							Name = "ItemStackList",
							Type = "cItems",
						},
						{
							Name = "AllowNewStacks",
							Type = "boolean",
							IsOptional = true,
						},
						{
							Name = "PrioritarySlot",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Same as AddItem, but works on an entire list of item stacks. The a_ItemStackList is modified to reflect the leftover items. If a_AllowNewStacks is set to false, only existing stacks can be topped up. If AllowNewStacks is set to true, empty slots can be used for the rest. If PrioritarySlot is set to a non-negative value, then the corresponding slot will be used first (if empty or compatible with added items). If PrioritarySlot is set to -1 (default), regular order applies. Returns the total number of items that fit.",
				},
				ChangeSlotCount =
				{
					{
						Params =
						{
							{
								Name = "SlotNum",
								Type = "number",
							},
							{
								Name = "AddToCount",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Adds AddToCount to the count of items in the specified slot. If the slot was empty, ignores the call. Returns the new count in the slot, or -1 if invalid SlotNum",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
							{
								Name = "AddToCount",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Adds AddToCount to the count of items in the specified slot. If the slot was empty, ignores the call. Returns the new count in the slot, or -1 if invalid slot coords",
					},
				},
				Clear =
				{
					Notes = "Empties all slots",
				},
				CopyToItems =
				{
					Params =
					{
						{
							Name = "cItems",
							Type = "cItems",
						},
					},
					Notes = "Copies all non-empty slots into the {{cItems}} object provided; original cItems contents are preserved as well.",
				},
				DamageItem =
				{
					{
						Params =
						{
							{
								Name = "SlotNum",
								Type = "number",
							},
							{
								Name = "DamageAmount",
								Type = "number",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Name = "HasReachedMaxDamage",
								Type = "boolean",
							},
						},
						Notes = "Adds the specified damage (1 by default) to the specified item, returns true if the item reached its max damage and should be destroyed (but doesn't destroy the item).",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
							{
								Name = "DamageAmount",
								Type = "number",
								IsOptional = true,
							},
						},
						Returns =
						{
							{
								Name = "HasReachedMaxDamage",
								Type = "boolean",
							},
						},
						Notes = "Adds the specified damage (1 by default) to the specified item, returns true if the item reached its max damage and should be destroyed (but doesn't destroy the item).",
					},
				},
				EmptySlot =
				{
					{
						Params =
						{
							{
								Name = "SlotNum",
								Type = "number",
							},
						},
						Notes = "Destroys the item in the specified slot",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
						},
						Notes = "Destroys the item in the specified slot",
					},
				},
				GetFirstEmptySlot =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the SlotNumber of the first empty slot, -1 if all slots are full",
				},
				GetFirstUsedSlot =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the SlotNumber of the first non-empty slot, -1 if all slots are empty",
				},
				GetHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Y dimension of the grid",
				},
				GetLastEmptySlot =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the SlotNumber of the last empty slot, -1 if all slots are full",
				},
				GetLastUsedSlot =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the SlotNumber of the last non-empty slot, -1 if all slots are empty",
				},
				GetNextEmptySlot =
				{
					Params =
					{
						{
							Name = "StartFrom",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the SlotNumber of the first empty slot following StartFrom, -1 if all the following slots are full",
				},
				GetNextUsedSlot =
				{
					Params =
					{
						{
							Name = "StartFrom",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the SlotNumber of the first non-empty slot following StartFrom, -1 if all the following slots are full",
				},
				GetNumSlots =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the total number of slots in the grid (Width * Height)",
				},
				GetSlot =
				{
					{
						Params =
						{
							{
								Name = "SlotNumber",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "cItem",
							},
						},
						Notes = "Returns the item in the specified slot. Note that the item is read-only",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "cItem",
							},
						},
						Notes = "Returns the item in the specified slot. Note that the item is read-only",
					},
				},
				GetSlotCoords =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
						{
							Type = "number",
						},
					},
					Notes = "Returns the X and Y coords for the specified SlotNumber. Returns \"-1, -1\" on invalid SlotNumber",
				},
				GetSlotNum =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the SlotNumber for the specified slot coords. Returns -1 on invalid coords",
				},
				GetWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the X dimension of the grid",
				},
				HasItems =
				{
					Params =
					{
						{
							Name = "ItemStack",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if there are at least as many items of the specified type as in the parameter",
				},
				HowManyCanFit =
				{
					Params =
					{
						{
							Name = "ItemStack",
							Type = "cItem",
						},
						{
							Name = "AllowNewStacks",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of the specified items that can fit in the storage. If AllowNewStacks is true (default), includes empty slots in the returned count.",
				},
				HowManyItems =
				{
					Params =
					{
						{
							Name = "Item",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of the specified item that are currently stored",
				},
				IsSlotEmpty =
				{
					{
						Params =
						{
							{
								Name = "SlotNum",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Returns true if the specified slot is empty, or an invalid slot is specified",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Returns true if the specified slot is empty, or an invalid slot is specified",
					},
				},
				RemoveItem =
				{
					Params =
					{
						{
							Name = "ItemStack",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Removes the specified item from the grid, as many as possible, up to ItemStack's m_ItemCount. Returns the number of items that were removed.",
				},
				RemoveOneItem =
				{
					{
						Params =
						{
							{
								Name = "SlotNum",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "cItem",
							},
						},
						Notes = "Removes one item from the stack in the specified slot and returns it as a single cItem. Empty slots are skipped and an empty item is returned",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "cItem",
							},
						},
						Notes = "Removes one item from the stack in the specified slot and returns it as a single cItem. Empty slots are skipped and an empty item is returned",
					},
				},
				SetSlot =
				{
					{
						Params =
						{
							{
								Name = "SlotNum",
								Type = "number",
							},
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Notes = "Sets the specified slot to the specified item",
					},
					{
						Params =
						{
							{
								Name = "SlotNum",
								Type = "number",
							},
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "ItemCount",
								Type = "number",
							},
							{
								Name = "ItemDamage",
								Type = "number",
							},
						},
						Notes = "Sets the specified slot to the specified item",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Notes = "Sets the specified slot to the specified item",
					},
					{
						Params =
						{
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "ItemCount",
								Type = "number",
							},
							{
								Name = "ItemDamage",
								Type = "number",
							},
						},
						Notes = "Sets the specified slot to the specified item",
					},
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Code example: Add items to player inventory",
					Contents = [[
						The following code tries to add 32 sticks to a player's main inventory:
<pre class="prettyprint lang-lua">
local Items = cItem(E_ITEM_STICK, 32);
local PlayerMainInventory = Player:GetInventorySlots();  -- PlayerMainInventory is of type cItemGrid
local NumAdded = PlayerMainInventory:AddItem(Items);
if (NumAdded == Items.m_ItemCount) then
  -- All the sticks did fit
  LOG("Added 32 sticks");
else
  -- Some (or all) of the sticks didn't fit
  LOG("Tried to add 32 sticks, but only " .. NumAdded .. " could fit");
end
</pre>
					]],
				},
				{
					Header = "Code example: Damage an item",
					Contents = [[
						The following code damages the helmet in the player's armor and destroys it if it reaches max damage:
<pre class="prettyprint lang-lua">
local PlayerArmor = Player:GetArmorSlots();  -- PlayerArmor is of type cItemGrid
if (PlayerArmor:DamageItem(0)) then  -- Helmet is at SlotNum 0
  -- The helmet has reached max damage, destroy it:
  PlayerArmor:EmptySlot(0);
end
</pre>
					]],
				},
			},
		},
		cItems =
		{
			Desc = [[
				This class represents a numbered collection (array) of {{cItem}} objects. The array indices start at
				zero, each consecutive item gets a consecutive index. This class is used for spawning multiple
				pickups or for mass manipulating an inventory.
				]],
			Functions =
			{
				Add =
				{
					{
						Params =
						{
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Notes = "Adds a new item to the end of the collection",
					},
					{
						Params =
						{
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "ItemCount",
								Type = "number",
							},
							{
								Name = "ItemDamage",
								Type = "number",
							},
						},
						Notes = "Adds a new item to the end of the collection",
					},
				},
				Clear =
				{
					Notes = "Removes all items from the collection",
				},
				constructor =
				{
					Returns =
					{
						{
							Type = "cItems",
						},
					},
					Notes = "Creates a new cItems object",
				},
				Contains =
				{
					Params =
					{
						{
							Name = "Item",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the collection contains an item that is fully equivalent to the parameter",
				},
				ContainsType =
				{
					Params =
					{
						{
							Name = "Item",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the collection contains an item that is the same type as the parameter",
				},
				Delete =
				{
					Params =
					{
						{
							Name = "Index",
							Type = "number",
						},
					},
					Notes = "Deletes item at the specified index",
				},
				Get =
				{
					Params =
					{
						{
							Name = "Index",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item at the specified index",
				},
				Set =
				{
					{
						Params =
						{
							{
								Name = "Index",
								Type = "number",
							},
							{
								Name = "cItem",
								Type = "cItem",
							},
						},
						Notes = "Sets the item at the specified index to the specified item",
					},
					{
						Params =
						{
							{
								Name = "Index",
								Type = "number",
							},
							{
								Name = "ItemType",
								Type = "number",
							},
							{
								Name = "ItemCount",
								Type = "number",
							},
							{
								Name = "ItemDamage",
								Type = "number",
							},
						},
						Notes = "Sets the item at the specified index to the specified item",
					},
				},
				Size =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of items in the collection",
				},
			},
		},
		cJson =
		{
			Desc = [[
				Exposes the Json parser and serializer available in the server. Plugins can parse Json strings into
				Lua tables, and serialize Lua tables into Json strings easily.
			]],
			Functions =
			{
				Parse =
				{
					Params =
					{
						{
							Name = "InputString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Parses the Json in the input string into a Lua table. Returns nil and detailed error message if parsing fails.",
				},
				Serialize =
				{
					Params =
					{
						{
							Name = "table",
							Type = "table",
						},
						{
							Name = "options",
							Type = "table",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Serializes the input table into a Json string. The options table, if present, is used to adjust the formatting of the serialized string, see below for details.",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Serializer options",
					Contents = [[
						The "options" parameter given to the cJson:Serialize() function is a dictionary-table of "option
						name" -> "option value". The serializer warns if any unknown options are used; the following
						options are recognized:</p>
						<ul>
						<li><b>commentStyle</b> - either "All" or "None", specifies whether comments are written to the
						output. Currently unused since comments cannot be represented in a Lua table</li>
						<li><b>indentation</b> - the string that is repeated for each level of indentation of the output.
						If empty, the Json is compressed (without linebreaks).</li>
						<li><b>enableYAMLCompatibility</b> - bool manipulating the whitespace around the colons.</li>
						<li><b>dropNullPlaceholders</b> - bool specifying whether null placeholders should be dropped
						from the output</li>
						</ul>
					]],
				},
				{
					Header = "Code example: Parsing a Json string",
					Contents = [==[
						The following code, adapted from the Debuggers plugin, parses a simple Json string and verifies
						the results:
<pre class="prettyprint lang-lua">
local t1 = cJson:Parse([[{"a": 1, "b": "2", "c": [3, "4", 5]}]])
assert(t1.a == 1)
assert(t1.b == "2")
assert(t1.c[1] == 3)
assert(t1.c[2] == "4")
assert(t1.c[3] == 5)
</pre>
					]==],
				},
				{
					Header = "Code example: Serializing into a Json string",
					Contents = [[
						The following code, adapted from the Debuggers plugin, serializes a simple Lua table into a
						string, using custom indentation:
<pre class="prettyprint lang-lua">
local s1 = cJson:Serialize({a = 1, b = "2", c = {3, "4", 5}}, {indentation = "  "})
LOG("Serialization result: " .. (s1 or "<nil>"))
</pre>
					]],
				},
			},
		},
		cLuaWindow =
		{
			Desc = [[
This class is used by plugins wishing to display a custom window to the player, unrelated to block entities or entities near the player. The window can be of any type and have any contents that the plugin defines. Callbacks for when the player modifies the window contents and when the player closes the window can be set.
</p>
		<p>This class inherits from the {{cWindow|cWindow}} class, so all cWindow's functions and constants can be used, in addition to the cLuaWindow-specific functions listed below.
</p>
		<p>The contents of this window are represented by a {{cWindow|cWindow}}:GetSlot() etc. or {{cPlayer|cPlayer}}:GetInventory() to access the player inventory.
</p>
		<p>When creating a new cLuaWindow object, you need to specify both the window type and the contents' width and height. Note that Cuberite accepts any combination of these, but opening a window for a player may crash their client if the contents' dimensions don't match the client's expectations.
</p>
		<p>To open the window for a player, call {{cPlayer|cPlayer}}:OpenWindow(). Multiple players can open window of the same cLuaWindow object. All players see the same items in the window's contents (like chest, unlike crafting table).
]],
			Functions =
			{
				constructor =
				{
					Params =
					{
						{
							Name = "WindowType",
							Type = "cWindow#WindowType",
						},
						{
							Name = "ContentsWidth",
							Type = "number",
						},
						{
							Name = "ContentsHeight",
							Type = "number",
						},
						{
							Name = "Title",
							Type = "string",
						},
					},
					Notes = "Creates a new object of this class. The window is not shown to any player yet.",
				},
				GetContents =
				{
					Returns =
					{
						{
							Type = "cItemGrid",
						},
					},
					Notes = "Returns the cItemGrid object representing the internal storage in this window",
				},
				SetOnClosing =
				{
					Params =
					{
						{
							Name = "OnClosingCallback",
							Type = "function",
						},
					},
					Notes = "Sets the function that the window will call when it is about to be closed by a player",
				},
				SetOnSlotChanged =
				{
					Params =
					{
						{
							Name = "OnSlotChangedCallback",
							Type = "function",
						},
					},
					Notes = "Sets the function that the window will call when a slot is changed by a player",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Callbacks",
					Contents = [[
						The object calls the following functions at the appropriate time:
					]],
				},
				{
					Header = "OnClosing Callback",
					Contents = [[
						This callback, settable via the SetOnClosing() function, will be called when the player tries to close the window, or the window is closed for any other reason (such as a player disconnecting).</p>
<pre class="prettyprint lang-lua">
function OnWindowClosing(a_Window, a_Player, a_CanRefuse)
</pre>
						<p>
						The a_Window parameter is the cLuaWindow object representing the window, a_Player is the player for whom the window is about to close. a_CanRefuse specifies whether the callback can refuse the closing. If the callback returns true and a_CanRefuse is true, the window is not closed (internally, the server sends a new OpenWindow packet to the client).
					]],
				},
				{
					Header = "OnSlotChanged Callback",
					Contents = [[
						This callback, settable via the SetOnSlotChanged() function, will be called whenever the contents of any slot in the window's contents (i. e. NOT in the player inventory!) changes.</p>
<pre class="prettyprint lang-lua">
function OnWindowSlotChanged(a_Window, a_SlotNum)
</pre>
						<p>The a_Window parameter is the cLuaWindow object representing the window, a_SlotNum is the slot number. There is no reference to a {{cPlayer}}, because the slot change needn't originate from the player action. To get or set the slot, you'll need to retrieve a cPlayer object, for example by calling {{cWorld|cWorld}}:DoWithPlayer().
						</p>
						<p>Any returned values are ignored.
					]],
				},
				{
					Header = "Example",
					Contents = [[
						This example is taken from the Debuggers plugin, used to test the API functionality. It opens a window and refuse to close it 3 times. It also logs slot changes to the server console.
<pre class="prettyprint lang-lua">
-- Callback that refuses to close the window twice, then allows:
local Attempt = 1;
local OnClosing = function(Window, Player, CanRefuse)
	Player:SendMessage("Window closing attempt #" .. Attempt .. "; CanRefuse = " .. tostring(CanRefuse));
	Attempt = Attempt + 1;
	return CanRefuse and (Attempt <= 3);  -- refuse twice, then allow, unless CanRefuse is set to true
end

-- Log the slot changes:
local OnSlotChanged = function(Window, SlotNum)
	LOG("Window \"" .. Window:GetWindowTitle() .. "\" slot " .. SlotNum .. " changed.");
end

-- Set window contents:
-- a_Player is a cPlayer object received from the outside of this code fragment
local Window = cLuaWindow(cWindow.wtHopper, 3, 3, "TestWnd");
Window:SetSlot(a_Player, 0, cItem(E_ITEM_DIAMOND, 64));
Window:SetOnClosing(OnClosing);
Window:SetOnSlotChanged(OnSlotChanged);

-- Open the window:
a_Player:OpenWindow(Window);
</pre>
					]],
				},
			},
			Inherits = "cWindow",
		},
		cMap =
		{
			Desc = [[
				This class encapsulates a single in-game colored map.</p>
				<p>
				The contents (i.e. pixel data) of a cMap are dynamically updated by each
				tracked {{cPlayer}} instance. Furthermore, a cMap maintains and periodically
				updates	a list of map decorators, which are objects drawn on the map that
				can freely move (e.g. Player and item frame pointers).
			]],
			Functions =
			{
				EraseData =
				{
					Notes = "Erases all pixel data.",
				},
				GetCenterX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the X coord of the map's center.",
				},
				GetCenterZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Y coord of the map's center.",
				},
				GetDimension =
				{
					Returns =
					{
						{
							Type = "eDimension",
						},
					},
					Notes = "Returns the dimension of the associated world.",
				},
				GetHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the height of the map.",
				},
				GetID =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the numerical ID of the map. (The item damage value)",
				},
				GetName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the map.",
				},
				GetNumPixels =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of pixels in this map.",
				},
				GetPixel =
				{
					Params =
					{
						{
							Name = "PixelX",
							Type = "number",
						},
						{
							Name = "PixelZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "ColorID",
							Type = "number",
						},
					},
					Notes = "Returns the color of the specified pixel.",
				},
				GetPixelWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the width of a single pixel in blocks.",
				},
				GetScale =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the scale of the map. Range: [0,4]",
				},
				GetWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the width of the map.",
				},
				GetWorld =
				{
					Returns =
					{
						{
							Type = "cWorld",
						},
					},
					Notes = "Returns the associated world.",
				},
				Resize =
				{
					Params =
					{
						{
							Name = "Width",
							Type = "number",
						},
						{
							Name = "Height",
							Type = "number",
						},
					},
					Notes = "Resizes the map. WARNING: This will erase the pixel data.",
				},
				SetPixel =
				{
					Params =
					{
						{
							Name = "PixelX",
							Type = "number",
						},
						{
							Name = "PixelZ",
							Type = "number",
						},
						{
							Name = "ColorID",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "IsSuccess",
							Type = "boolean",
						},
					},
					Notes = "Sets the color of the specified pixel. Returns false on error (Out of range).",
				},
				SetPosition =
				{
					Params =
					{
						{
							Name = "CenterX",
							Type = "number",
						},
						{
							Name = "CenterZ",
							Type = "number",
						},
					},
					Notes = "Relocates the map. The pixel data will not be modified.",
				},
				SetScale =
				{
					Params =
					{
						{
							Name = "Scale",
							Type = "number",
						},
					},
					Notes = "Rescales the map. The pixel data will not be modified.",
				},
			},
			Constants =
			{
				E_BASE_COLOR_BLUE =
				{
					Notes = "",
				},
				E_BASE_COLOR_BROWN =
				{
					Notes = "",
				},
				E_BASE_COLOR_DARK_BROWN =
				{
					Notes = "",
				},
				E_BASE_COLOR_DARK_GRAY =
				{
					Notes = "",
				},
				E_BASE_COLOR_DARK_GREEN =
				{
					Notes = "",
				},
				E_BASE_COLOR_GRAY_1 =
				{
					Notes = "",
				},
				E_BASE_COLOR_GRAY_2 =
				{
					Notes = "",
				},
				E_BASE_COLOR_LIGHT_BROWN =
				{
					Notes = "",
				},
				E_BASE_COLOR_LIGHT_GRAY =
				{
					Notes = "",
				},
				E_BASE_COLOR_LIGHT_GREEN =
				{
					Notes = "",
				},
				E_BASE_COLOR_PALE_BLUE =
				{
					Notes = "",
				},
				E_BASE_COLOR_RED =
				{
					Notes = "",
				},
				E_BASE_COLOR_TRANSPARENT =
				{
					Notes = "",
				},
				E_BASE_COLOR_WHITE =
				{
					Notes = "",
				},
			},
		},
		cMapManager =
		{
			Desc = [[
				This class is associated with a single {{cWorld}} instance and manages a list of maps.
			]],
			Functions =
			{
				DoWithMap =
				{
					Params =
					{
						{
							Name = "MapID",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If a map with the specified ID exists, calls the CallbackFunction for that map. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cMap|Map}})</pre> Returns true if the map was found and the callback called, false if map not found.",
				},
				GetNumMaps =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of registered maps.",
				},
			},
		},
		cMojangAPI =
		{
			Desc = [[
				Provides interface to various API functions that Mojang provides through their servers. Note that
				some of these calls will wait for a response from the network, and so shouldn't be used while the
				server is fully running (or at least when there are players connected) to avoid percepted lag.</p>
				<p>
				All the functions are static, call them using the <code>cMojangAPI:Function()</code> convention.</p>
				<p>
				Mojang uses two formats for UUIDs, short and dashed. Cuberite works with short UUIDs internally, but
				will convert to dashed UUIDs where needed - in the protocol login for example. The MakeUUIDShort()
				and MakeUUIDDashed() functions are provided for plugins to use for conversion between the two
				formats.</p>
				<p>
				This class will cache values returned by the API service. The cache will hold the values for 7 days
				by default, after that, they will no longer be available. This is in order to not let the server get
				banned from using the API service, since they are rate-limited to 600 queries per 10 minutes. The
				cache contents also gets updated whenever a player successfully joins, since that makes the server
				contact the API service, too, and retrieve the relevant data.</p>
			]],
			Functions =
			{
				AddPlayerNameToUUIDMapping =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
						{
							Name = "UUID",
							Type = "string",
						},
					},
					Notes = "Adds the specified PlayerName-to-UUID mapping into the cache, with current timestamp. Accepts both short or dashed UUIDs. ",
				},
				GetPlayerNameFromUUID =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "UUID",
							Type = "string",
						},
						{
							Name = "UseOnlyCached",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
					},
					Notes = "Returns the playername that corresponds to the given UUID, or an empty string on error. If UseOnlyCached is false (the default), queries the Mojang servers if the UUID is not in the cache. The UUID can be either short or dashed. <br /><b>WARNING</b>: Do NOT use this function with UseOnlyCached set to false while the server is running. Only use it when the server is starting up (inside the Initialize() method), otherwise you will lag the server severely.",
				},
				GetUUIDFromPlayerName =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
						{
							Name = "UseOnlyCached",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "UUID",
							Type = "string",
						},
					},
					Notes = "Returns the (short) UUID that corresponds to the given playername, or an empty string on error. If UseOnlyCached is false (the default), queries the Mojang servers if the playername is not in the cache. <br /><b>WARNING</b>: Do NOT use this function with UseOnlyCached set to false while the server is running. Only use it when the server is starting up (inside the Initialize() method), otherwise you will lag the server severely.",
				},
				GetUUIDsFromPlayerNames =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "PlayerNames",
							Type = "string",
						},
						{
							Name = "UseOnlyCached",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Returns a table that contains the map, 'PlayerName' -> '(short) UUID', for all valid playernames in the input array-table. PlayerNames not recognized will not be set in the returned map. If UseOnlyCached is false (the default), queries the Mojang servers for the results that are not in the cache. <br /><b>WARNING</b>: Do NOT use this function with UseOnlyCached set to false while the server is running. Only use it when the server is starting up (inside the Initialize() method), otherwise you will lag the server severely.",
				},
				MakeUUIDDashed =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "UUID",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "DashedUUID",
							Type = "string",
						},
					},
					Notes = "Converts the UUID to a dashed format (\"01234567-8901-2345-6789-012345678901\"). Accepts both dashed or short UUIDs. Logs a warning and returns an empty string if UUID format not recognized.",
				},
				MakeUUIDShort =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "UUID",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "ShortUUID",
							Type = "string",
						},
					},
					Notes = "Converts the UUID to a short format (without dashes, \"01234567890123456789012345678901\"). Accepts both dashed or short UUIDs. Logs a warning and returns an empty string if UUID format not recognized.",
				},
			},
		},
		cMonster =
		{
			Desc = [[
				This class is the base class for all computer-controlled mobs in the game.</p>
				<p>
				To spawn a mob in a world, use the {{cWorld}}:SpawnMob() function.
			]],
			Functions =
			{
				FamilyFromType =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "MobType",
							Type = "Globals#eMonsterType",
						},
					},
					Returns =
					{
						{
							Name = "MobFamily",
							Type = "cMonster#eFamily",
						},
					},
					Notes = "Returns the mob family ({{cMonster#eFamily|mfXXX}} constants) based on the mob type ({{Globals#eMonsterType|mtXXX}} constants)",
				},
				GetAge =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the age of the monster",
				},
				GetCustomName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Gets the custom name of the monster. If no custom name is set, the function returns an empty string.",
				},
				GetMobFamily =
				{
					Returns =
					{
						{
							Name = "MobFamily",
							Type = "cMonster#eFamily",
						},
					},
					Notes = "Returns this mob's family ({{cMonster#eFamily|mfXXX}} constant)",
				},
				GetMobType =
				{
					Returns =
					{
						{
							Name = "MobType",
							Type = "Globals#eMonsterType",
						},
					},
					Notes = "Returns the type of this mob ({{Globals#eMonsterType|mtXXX}} constant)",
				},
				GetRelativeWalkSpeed =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the relative walk speed of this mob. Standard is 1.0",
				},
				GetSpawnDelay =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "MobFamily",
							Type = "cMonster#eFamily",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the spawn delay  - the number of game ticks between spawn attempts - for the specified mob family.",
				},
				HasCustomName =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the monster has a custom name.",
				},
				IsBaby =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the monster is a baby",
				},
				IsCustomNameAlwaysVisible =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Is the custom name of this monster always visible? If not, you only see the name when you sight the mob.",
				},
				MobTypeToString =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "MobType",
							Type = "Globals#eMonsterType",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the string representing the given mob type ({{Globals#eMonsterType|mtXXX}} constant), or empty string if unknown type.",
				},
				MobTypeToVanillaName =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "MobType",
							Type = "Globals#eMonsterType",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the vanilla name of the given mob type, or empty string if unknown type.",
				},
				MoveToPosition =
				{
					Params =
					{
						{
							Name = "Position",
							Type = "Vector3d",
						},
					},
					Notes = "Start moving (using a pathfinder) towards the specified position",
				},
				SetAge =
				{
					Params =
					{
						{
							Name = "Age",
							Type = "number",
						},
					},
					Notes = "Sets the age of the monster",
				},
				SetCustomName =
				{
					Params =
					{
						{
							Name = "CustomName",
							Type = "string",
						},
					},
					Notes = "Sets the custom name of the monster. You see the name over the monster. If you want to disable the custom name, simply set an empty string.",
				},
				SetCustomNameAlwaysVisible =
				{
					Params =
					{
						{
							Name = "IsCustomNameAlwaysVisible",
							Type = "boolean",
						},
					},
					Notes = "Sets the custom name visiblity of this monster. If it's false, you only see the name when you sight the mob. If it's true, you always see the custom name.",
				},
				SetRelativeWalkSpeed =
				{
					Params =
					{
						{
							Name = "RelativeWalkSpeed",
							Type = "number",
						},
					},
					Notes = "Sets the relative walk speed of this mob. The default relative speed is 1.0.",
				},
				StringToMobType =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "MobTypeString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "MobType",
							Type = "Globals#eMonsterType",
						},
					},
					Notes = "Returns the mob type ({{Globals#eMonsterType|mtXXX}} constant) parsed from the string type (\"creeper\"), or mtInvalidType if unrecognized.",
				},
			},
			Constants =
			{
				mfAmbient =
				{
					Notes = "Family: ambient (bat)",
				},
				mfHostile =
				{
					Notes = "Family: hostile (blaze, cavespider, creeper, enderdragon, enderman, ghast, giant, magmacube, silverfish, skeleton, slime, spider, witch, wither, zombie, zombiepigman)",
				},
				mfMaxplusone =
				{
					Notes = "The maximum family value, plus one. Returned when monster family not recognized.",
				},
				mfPassive =
				{
					Notes = "Family: passive (chicken, cow, horse, irongolem, mooshroom, ocelot, pig, sheep, snowgolem, villager, wolf)",
				},
				mfWater =
				{
					Notes = "Family: water (squid)",
				},
				mtBat =
				{
					Notes = "",
				},
				mtBlaze =
				{
					Notes = "",
				},
				mtCaveSpider =
				{
					Notes = "",
				},
				mtChicken =
				{
					Notes = "",
				},
				mtCow =
				{
					Notes = "",
				},
				mtCreeper =
				{
					Notes = "",
				},
				mtEnderDragon =
				{
					Notes = "",
				},
				mtEnderman =
				{
					Notes = "",
				},
				mtGhast =
				{
					Notes = "",
				},
				mtGiant =
				{
					Notes = "",
				},
				mtHorse =
				{
					Notes = "",
				},
				mtInvalidType =
				{
					Notes = "Invalid monster type. Returned when monster type not recognized",
				},
				mtIronGolem =
				{
					Notes = "",
				},
				mtMagmaCube =
				{
					Notes = "",
				},
				mtMooshroom =
				{
					Notes = "",
				},
				mtOcelot =
				{
					Notes = "",
				},
				mtPig =
				{
					Notes = "",
				},
				mtSheep =
				{
					Notes = "",
				},
				mtSilverfish =
				{
					Notes = "",
				},
				mtSkeleton =
				{
					Notes = "",
				},
				mtSlime =
				{
					Notes = "",
				},
				mtSnowGolem =
				{
					Notes = "",
				},
				mtSpider =
				{
					Notes = "",
				},
				mtSquid =
				{
					Notes = "",
				},
				mtVillager =
				{
					Notes = "",
				},
				mtWitch =
				{
					Notes = "",
				},
				mtWither =
				{
					Notes = "",
				},
				mtWolf =
				{
					Notes = "",
				},
				mtZombie =
				{
					Notes = "",
				},
				mtZombiePigman =
				{
					Notes = "",
				},
			},
			ConstantGroups =
			{
				eFamily =
				{
					Include = "mf.*",
					TextBefore = [[
						Mobs are divided into families. The following constants are used for individual family types:
					]],
				},
			},
			Inherits = "cPawn",
		},
		cObjective =
		{
			Desc = [[
				This class represents a single scoreboard objective.
			]],
			Functions =
			{
				AddScore =
				{
					Params =
					{
						{
							Name = "string",
							Type = "string",
						},
						{
							Name = "number",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "Score",
							Type = "<unknown>",
						},
					},
					Notes = "Adds a value to the score of the specified player and returns the new value.",
				},
				GetDisplayName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the display name of the objective. This name will be shown to the connected players.",
				},
				GetName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the internal name of the objective.",
				},
				GetScore =
				{
					Params =
					{
						{
							Name = "string",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "Score",
							Type = "<unknown>",
						},
					},
					Notes = "Returns the score of the specified player.",
				},
				GetType =
				{
					Returns =
					{
						{
							Name = "eType",
							Type = "<unknown>",
						},
					},
					Notes = "Returns the type of the objective. (i.e what is being tracked)",
				},
				Reset =
				{
					Notes = "Resets the scores of the tracked players.",
				},
				ResetScore =
				{
					Params =
					{
						{
							Name = "string",
							Type = "string",
						},
					},
					Notes = "Reset the score of the specified player.",
				},
				SetDisplayName =
				{
					Params =
					{
						{
							Name = "string",
							Type = "string",
						},
					},
					Notes = "Sets the display name of the objective.",
				},
				SetScore =
				{
					Params =
					{
						{
							Name = "string",
							Type = "string",
						},
						{
							Name = "Score",
							Type = "<unknown>",
						},
					},
					Notes = "Sets the score of the specified player.",
				},
				SubScore =
				{
					Params =
					{
						{
							Name = "string",
							Type = "string",
						},
						{
							Name = "number",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "Score",
							Type = "<unknown>",
						},
					},
					Notes = "Subtracts a value from the score of the specified player and returns the new value.",
				},
			},
			Constants =
			{
				otAchievement =
				{
					Notes = "",
				},
				otDeathCount =
				{
					Notes = "",
				},
				otDummy =
				{
					Notes = "",
				},
				otHealth =
				{
					Notes = "",
				},
				otPlayerKillCount =
				{
					Notes = "",
				},
				otStat =
				{
					Notes = "",
				},
				otStatBlockMine =
				{
					Notes = "",
				},
				otStatEntityKill =
				{
					Notes = "",
				},
				otStatEntityKilledBy =
				{
					Notes = "",
				},
				otStatItemBreak =
				{
					Notes = "",
				},
				otStatItemCraft =
				{
					Notes = "",
				},
				otStatItemUse =
				{
					Notes = "",
				},
				otTotalKillCount =
				{
					Notes = "",
				},
			},
		},
		cPainting =
		{
			Desc = "This class represents a painting in the world. These paintings are special and different from Vanilla in that they can be critical-hit.",
			Functions =
			{
				GetDirection =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the direction the painting faces. Directions: ZP - 0, ZM - 2, XM - 1, XP - 3. Note that these are not the BLOCK_FACE constants.",
				},
				GetName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the painting",
				},
			},
		},
		cPawn =
		{
			Desc = "cPawn is a controllable pawn object, controlled by either AI or a player. cPawn inherits all functions and members of {{cEntity}}\
",
			Functions =
			{
				AddEntityEffect =
				{
					Params =
					{
						{
							Name = "EffectType",
							Type = "cEntityEffect",
						},
						{
							Name = "EffectDurationTicks",
							Type = "number",
						},
						{
							Name = "EffectIntensity",
							Type = "number",
						},
						{
							Name = "DistanceModifier",
							Type = "number",
						},
					},
					Notes = "Applies an entity effect. Checks with plugins if they allow the addition. EffectIntensity is the level of the effect (0 = Potion I, 1 = Potion II, etc). DistanceModifier is the scalar multiplied to the potion duration (only applies to splash potions).",
				},
				ClearEntityEffects =
				{
					Notes = "Removes all currently applied entity effects",
				},
				GetHealth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
				},
				HasEntityEffect =
				{
					Params =
					{
						{
							Name = "EffectType",
							Type = "cEntityEffect",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true, if the supplied entity effect type is currently applied",
				},
				Heal =
				{

				},
				KilledBy =
				{

				},
				RemoveEntityEffect =
				{
					Params =
					{
						{
							Name = "EffectType",
							Type = "cEntityEffect",
						},
					},
					Notes = "Removes a currently applied entity effect",
				},
				TakeDamage =
				{

				},
				TeleportTo =
				{

				},
				TeleportToEntity =
				{

				},
			},
			Inherits = "cEntity",
		},
		cPickup =
		{
			Desc = [[
				This class represents a pickup entity (an item that the player or mobs can pick up). It is also
				commonly known as "drops". With this class you could create your own "drop" or modify those
				created automatically.
			]],
			Functions =
			{
				CollectedBy =
				{
					Params =
					{
						{
							Name = "Player",
							Type = "cPlayer",
						},
					},
					Returns =
					{
						{
							Name = "WasCollected",
							Type = "boolean",
						},
					},
					Notes = "Tries to make the player collect the pickup. Returns true if the pickup was collected, at least partially.",
				},
				GetAge =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of ticks that the pickup has existed.",
				},
				GetItem =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item represented by this pickup",
				},
				IsCollected =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if this pickup has already been collected (is waiting to be destroyed)",
				},
				IsPlayerCreated =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the pickup was created by a player",
				},
				SetAge =
				{
					Params =
					{
						{
							Name = "AgeTicks",
							Type = "number",
						},
					},
					Notes = "Sets the pickup's age, in ticks.",
				},
			},
			Inherits = "cEntity",
		},
		cPlayer =
		{
			Desc = [[
				This class describes a player in the server. cPlayer inherits all functions and members of
				{{cPawn|cPawn}}. It handles all the aspects of the gameplay, such as hunger, sprinting, inventory
				etc.
			]],
			Functions =
			{
				AddFoodExhaustion =
				{
					Params =
					{
						{
							Name = "Exhaustion",
							Type = "number",
						},
					},
					Notes = "Adds the specified number to the food exhaustion. Only positive numbers expected.",
				},
				CalcLevelFromXp =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "XPAmount",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the level which is reached with the specified amount of XP. Inverse of XpForLevel().",
				},
				CanFly =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns if the player is able to fly.",
				},
				CloseWindow =
				{
					Params =
					{
						{
							Name = "CanRefuse",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Notes = "Closes the currently open UI window. If CanRefuse is true (default), the window may refuse the closing.",
				},
				CloseWindowIfID =
				{
					Params =
					{
						{
							Name = "WindowID",
							Type = "number",
						},
						{
							Name = "CanRefuse",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Notes = "Closes the currently open UI window if its ID matches the given ID. If CanRefuse is true (default), the window may refuse the closing.",
				},
				DeltaExperience =
				{
					Params =
					{
						{
							Name = "DeltaXP",
							Type = "number",
						},
					},
					Notes = "Adds or removes XP from the current XP amount. Won't allow XP to go negative. Returns the new experience, -1 on error (XP overflow).",
				},
				Feed =
				{
					Params =
					{
						{
							Name = "AddFood",
							Type = "number",
						},
						{
							Name = "AddSaturation",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Tries to add the specified amounts to food level and food saturation level (only positive amounts expected). Returns true if player was hungry and the food was consumed, false if too satiated.",
				},
				FoodPoison =
				{
					Params =
					{
						{
							Name = "NumTicks",
							Type = "number",
						},
					},
					Notes = "Starts the food poisoning for the specified amount of ticks; if already foodpoisoned, sets FoodPoisonedTicksRemaining to the larger of the two",
				},
				ForceSetSpeed =
				{
					Params =
					{
						{
							Name = "Direction",
							Type = "Vector3d",
						},
					},
					Notes = "Forces the player to move to the given direction.",
				},
				Freeze =
				{
					Params =
					{
						{
							Name = "Location",
							Type = "Vector3d",
						},
					},
					Notes = "Teleports the player to \"Location\" and prevents them from moving, locking them in place until unfreeze() is called",
				},
				GetClientHandle =
				{
					Returns =
					{
						{
							Type = "cClientHandle",
						},
					},
					Notes = "Returns the client handle representing the player's connection. May be nil (AI players).",
				},
				GetColor =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the full color code to be used for this player's messages (based on their rank). Prefix player messages with this code.",
				},
				GetCurrentXp =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the current amount of XP",
				},
				GetCustomName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the custom name of this player. If the player hasn't a custom name, it will return an empty string.",
				},
				GetEffectiveGameMode =
				{
					Returns =
					{
						{
							Name = "GameMode",
							Type = "Globals#eGameMode",
						},
					},
					Notes = "(OBSOLETE) Returns the current resolved game mode of the player. If the player is set to inherit the world's gamemode, returns that instead. See also GetGameMode() and IsGameModeXXX() functions. Note that this function is the same as GetGameMode(), use that function instead.",
				},
				GetEquippedItem =
				{
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item that the player is currently holding; empty item if holding nothing.",
				},
				GetEyeHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the height of the player's eyes, in absolute coords",
				},
				GetEyePosition =
				{
					Returns =
					{
						{
							Name = "EyePositionVector",
							Type = "Vector3d",
						},
					},
					Notes = "Returns the position of the player's eyes, as a {{Vector3d}}",
				},
				GetFloaterID =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Entity ID of the fishing hook floater that belongs to the player. Returns -1 if no floater is associated with the player. FIXME: Undefined behavior when the player has used multiple fishing rods simultanously.",
				},
				GetFlyingMaxSpeed =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum flying speed, relative to the default game flying speed. Defaults to 1, but plugins may modify it for faster or slower flying.",
				},
				GetFoodExhaustionLevel =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the food exhaustion level",
				},
				GetFoodLevel =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the food level (number of half-drumsticks on-screen)",
				},
				GetFoodPoisonedTicksRemaining =
				{
					Notes = "Returns the number of ticks left for the food posoning effect",
				},
				GetFoodSaturationLevel =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the food saturation (overcharge of the food level, is depleted before food level)",
				},
				GetFoodTickTimer =
				{
					Notes = "Returns the number of ticks past the last food-based heal or damage action; when this timer reaches 80, a new heal / damage is applied.",
				},
				GetGameMode =
				{
					Returns =
					{
						{
							Name = "GameMode",
							Type = "Globals#eGameMode",
						},
					},
					Notes = "Returns the player's gamemode. The player may have their gamemode unassigned, in which case they inherit the gamemode from the current {{cWorld|world}}.<br /> <b>NOTE:</b> Instead of comparing the value returned by this function to the gmXXX constants, use the IsGameModeXXX() functions. These functions handle the gamemode inheritance automatically.",
				},
				GetInventory =
				{
					Returns =
					{
						{
							Name = "Inventory",
							Type = "cInventory",
						},
					},
					Notes = "Returns the player's inventory",
				},
				GetIP =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the IP address of the player, if available. Returns an empty string if there's no IP to report.",
				},
				GetLastBedPos =
				{
					Returns =
					{
						{
							Type = "Vector3i",
						},
					},
					Notes = "Returns the position of the last bed the player has slept in, or the world's spawn if no such position was recorded.",
				},
				GetMaxSpeed =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the player's current maximum speed, relative to the game default speed. Takes into account the sprinting / flying status.",
				},
				GetName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the player's name",
				},
				GetNormalMaxSpeed =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the player's maximum walking speed, relative to the game default speed. Defaults to 1, but plugins may modify it for faster or slower walking.",
				},
				GetPermissions =
				{
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Returns an array-table of all permissions (strings) that the player has assigned to them through their rank.",
				},
				GetPlayerListName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name that is used in the playerlist.",
				},
				GetResolvedPermissions =
				{
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Returns all the player's permissions, as an array-table of strings.",
				},
				GetSprintingMaxSpeed =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the player's maximum sprinting speed, relative to the game default speed. Defaults to 1.3, but plugins may modify it for faster or slower sprinting.",
				},
				GetStance =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the player's stance (Y-pos of player's eyes)",
				},
				GetTeam =
				{
					Returns =
					{
						{
							Type = "cTeam",
						},
					},
					Notes = "Returns the team that the player belongs to, or nil if none.",
				},
				GetThrowSpeed =
				{
					Params =
					{
						{
							Name = "SpeedCoeff",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "Vector3d",
						},
					},
					Notes = "Returns the speed vector for an object thrown with the specified speed coeff. Basically returns the normalized look vector multiplied by the coeff, with a slight random variation.",
				},
				GetThrowStartPos =
				{
					Returns =
					{
						{
							Type = "Vector3d",
						},
					},
					Notes = "Returns the position where the projectiles should start when thrown by this player.",
				},
				GetUUID =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the (short) UUID that the player is using. Could be empty string for players that don't have a Mojang account assigned to them (in the future, bots for example).",
				},
				GetWindow =
				{
					Returns =
					{
						{
							Type = "cWindow",
						},
					},
					Notes = "Returns the currently open UI window. If the player doesn't have any UI window open, returns the inventory window.",
				},
				GetXpLevel =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the current XP level (based on current XP amount).",
				},
				GetXpLifetimeTotal =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the amount of XP that has been accumulated throughout the player's lifetime.",
				},
				GetXpPercentage =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the percentage of the experience bar - the amount of XP towards the next XP level. Between 0 and 1.",
				},
				HasCustomName =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player has a custom name.",
				},
				HasPermission =
				{
					Params =
					{
						{
							Name = "PermissionString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player has the specified permission",
				},
				Heal =
				{
					Params =
					{
						{
							Name = "HitPoints",
							Type = "number",
						},
					},
					Notes = "Heals the player by the specified amount of HPs. Only positive amounts are expected. Sends a health update to the client.",
				},
				IsEating =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is currently eating the item in their hand.",
				},
				IsFishing =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is currently fishing",
				},
				IsFlying =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is flying.",
				},
				IsFrozen =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is frozen. See Freeze()",
				},
				IsGameModeAdventure =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is in the gmAdventure gamemode, or has their gamemode unset and the world is a gmAdventure world.",
				},
				IsGameModeCreative =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is in the gmCreative gamemode, or has their gamemode unset and the world is a gmCreative world.",
				},
				IsGameModeSpectator =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is in the gmSpectator gamemode, or has their gamemode unset and the world is a gmSpectator world.",
				},
				IsGameModeSurvival =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is in the gmSurvival gamemode, or has their gamemode unset and the world is a gmSurvival world.",
				},
				IsInBed =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is currently lying in a bed.",
				},
				IsSatiated =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is satiated (cannot eat).",
				},
				IsVisible =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the player is visible to other players",
				},
				LoadRank =
				{
					Notes = "Reloads the player's rank, message visuals and permissions from the {{cRankManager}}, based on the player's current rank.",
				},
				MoveTo =
				{
					Params =
					{
						{
							Name = "NewPosition",
							Type = "Vector3d",
						},
					},
					Notes = "Tries to move the player into the specified position.",
				},
				OpenWindow =
				{
					Params =
					{
						{
							Name = "Window",
							Type = "cWindow",
						},
					},
					Notes = "Opens the specified UI window for the player.",
				},
				PermissionMatches =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Permission",
							Type = "string",
						},
						{
							Name = "Template",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified permission matches the specified template. The template may contain asterisk as a wildcard for any word.",
				},
				PlaceBlock =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Places a block while impersonating the player. The {{OnPlayerPlacingBlock|HOOK_PLAYER_PLACING_BLOCK}} hook is called before the placement, and if it succeeds, the block is placed and the {{OnPlayerPlacedBlock|HOOK_PLAYER_PLACED_BLOCK}} hook is called. Returns true iff the block is successfully placed. Assumes that the block is in a currently loaded chunk.",
				},
				Respawn =
				{
					Notes = "Restores the health, extinguishes fire, makes visible and sends the Respawn packet.",
				},
				SendAboveActionBarMessage =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Sends the specified message to the player (shows above action bar, doesn't show for < 1.8 clients).",
				},
				SendBlocksAround =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockRange",
							Type = "number",
							IsOptional = true,
						},
					},
					Notes = "Sends all the world's blocks in BlockRange from the specified coords to the player, as a BlockChange packet. Range defaults to 1 (only one block sent).",
				},
				SendMessage =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Sends the specified message to the player.",
				},
				SendMessageFailure =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Prepends Rose [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and sends message to player. For a command that failed to run because of insufficient permissions, etc.",
				},
				SendMessageFatal =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Prepends Red [FATAL] / colours entire text (depending on ShouldUseChatPrefixes()) and sends message to player. For something serious, such as a plugin crash, etc.",
				},
				SendMessageInfo =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Prepends Yellow [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and sends message to player. Informational message, such as command usage, etc.",
				},
				SendMessagePrivateMsg =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "SenderName",
							Type = "string",
						},
					},
					Notes = "Prepends Light Blue [MSG: *SenderName*] / prepends SenderName and colours entire text (depending on ShouldUseChatPrefixes()) and sends message to player. For private messaging.",
				},
				SendMessageSuccess =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Prepends Green [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and sends message to player. Success notification.",
				},
				SendMessageWarning =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Prepends Rose [WARN] / colours entire text (depending on ShouldUseChatPrefixes()) and sends message to player. Denotes that something concerning, such as plugin reload, is about to happen.",
				},
				SendRotation =
				{
					Params =
					{
						{
							Name = "YawDegrees",
							Type = "number",
						},
						{
							Name = "PitchDegrees",
							Type = "number",
						},
					},
					Notes = "Sends the specified rotation to the player, forcing them to look that way",
				},
				SendSystemMessage =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Sends the specified message to the player (doesn't show for < 1.8 clients).",
				},
				SetBedPos =
				{
					Params =
					{
						{
							Name = "Position",
							Type = "Vector3i",
						},
						{
							Name = "World",
							Type = "cWorld",
							IsOptional = true,
						},
					},
					Notes = "Sets the position and world of the player's respawn point, which is also known as the bed position. The player will respawn at this position and world upon death. If the world is not specified, it is set to the player's current world.",
				},
				SetCanFly =
				{
					Params =
					{
						{
							Name = "CanFly",
							Type = "boolean",
						},
					},
					Notes = "Sets if the player can fly or not.",
				},
				SetCrouch =
				{
					Params =
					{
						{
							Name = "IsCrouched",
							Type = "boolean",
						},
					},
					Notes = "Sets the crouch state, broadcasts the change to other players.",
				},
				SetCurrentExperience =
				{
					Params =
					{
						{
							Name = "XPAmount",
							Type = "number",
						},
					},
					Notes = "Sets the current amount of experience (and indirectly, the XP level).",
				},
				SetCustomName =
				{
					Params =
					{
						{
							Name = "CustomName",
							Type = "string",
						},
					},
					Notes = "Sets the custom name for this player. If you want to disable the custom name, simply set an empty string. The custom name will be used in the tab-list, in the player nametag and in the tab-completion.",
				},
				SetFlying =
				{
					Params =
					{
						{
							Name = "IsFlying",
							Type = "boolean",
						},
					},
					Notes = "Sets if the player is flying or not.",
				},
				SetFlyingMaxSpeed =
				{
					Params =
					{
						{
							Name = "FlyingMaxSpeed",
							Type = "number",
						},
					},
					Notes = "Sets the flying maximum speed, relative to the game default speed. The default value is 1. Sends the updated speed to the client.",
				},
				SetFoodExhaustionLevel =
				{
					Params =
					{
						{
							Name = "ExhaustionLevel",
							Type = "number",
						},
					},
					Notes = "Sets the food exhaustion to the specified level.",
				},
				SetFoodLevel =
				{
					Params =
					{
						{
							Name = "FoodLevel",
							Type = "number",
						},
					},
					Notes = "Sets the food level (number of half-drumsticks on-screen)",
				},
				SetFoodPoisonedTicksRemaining =
				{
					Params =
					{
						{
							Name = "FoodPoisonedTicksRemaining",
							Type = "number",
						},
					},
					Notes = "Sets the number of ticks remaining for food poisoning. Doesn't send foodpoisoning effect to the client, use FoodPoison() for that.",
				},
				SetFoodSaturationLevel =
				{
					Params =
					{
						{
							Name = "FoodSaturationLevel",
							Type = "number",
						},
					},
					Notes = "Sets the food saturation (overcharge of the food level).",
				},
				SetFoodTickTimer =
				{
					Params =
					{
						{
							Name = "FoodTickTimer",
							Type = "number",
						},
					},
					Notes = "Sets the number of ticks past the last food-based heal or damage action; when this timer reaches 80, a new heal / damage is applied.",
				},
				SetGameMode =
				{
					Params =
					{
						{
							Name = "NewGameMode",
							Type = "Globals#eGameMode",
						},
					},
					Notes = "Sets the gamemode for the player. The new gamemode overrides the world's default gamemode, unless it is set to gmInherit.",
				},
				SetIsFishing =
				{
					Params =
					{
						{
							Name = "IsFishing",
							Type = "boolean",
						},
						{
							Name = "FloaterEntityID",
							Type = "number",
							IsOptional = true,
						},
					},
					Notes = "Sets the 'IsFishing' flag for the player. The floater entity ID is expected for the true variant, it can be omitted when IsFishing is false. FIXME: Undefined behavior when multiple fishing rods are used simultanously",
				},
				SetName =
				{
					Params =
					{
						{
							Name = "Name",
							Type = "string",
						},
					},
					Notes = "Sets the player name. This rename will NOT be visible to any players already in the server who are close enough to see this player.",
				},
				SetNormalMaxSpeed =
				{
					Params =
					{
						{
							Name = "NormalMaxSpeed",
							Type = "number",
						},
					},
					Notes = "Sets the normal (walking) maximum speed, relative to the game default speed. The default value is 1. Sends the updated speed to the client, if appropriate.",
				},
				SetSprint =
				{
					Params =
					{
						{
							Name = "IsSprinting",
							Type = "boolean",
						},
					},
					Notes = "Sets whether the player is sprinting or not.",
				},
				SetSprintingMaxSpeed =
				{
					Params =
					{
						{
							Name = "SprintingMaxSpeed",
							Type = "number",
						},
					},
					Notes = "Sets the sprinting maximum speed, relative to the game default speed. The default value is 1.3. Sends the updated speed to the client, if appropriate.",
				},
				SetTeam =
				{
					Params =
					{
						{
							Name = "Team",
							Type = "cTeam",
						},
					},
					Notes = "Moves the player to the specified team.",
				},
				SetVisible =
				{
					Params =
					{
						{
							Name = "IsVisible",
							Type = "boolean",
						},
					},
					Notes = "Sets the player visibility to other players",
				},
				TossEquippedItem =
				{
					Params =
					{
						{
							Name = "Amount",
							Type = "number",
							IsOptional = true,
						},
					},
					Notes = "Tosses the item that the player has selected in their hotbar. Amount defaults to 1.",
				},
				TossHeldItem =
				{
					Params =
					{
						{
							Name = "Amount",
							Type = "number",
							IsOptional = true,
						},
					},
					Notes = "Tosses the item held by the cursor, when the player is in a UI window. Amount defaults to 1.",
				},
				TossPickup =
				{
					Params =
					{
						{
							Name = "Item",
							Type = "cItem",
						},
					},
					Notes = "Tosses a pickup newly created from the specified item.",
				},
				Unfreeze =
				{
					Notes = "Allows the player to move again, canceling the effects of Freeze()",
				},
				XpForLevel =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "XPLevel",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the total amount of XP needed for the specified XP level. Inverse of CalcLevelFromXp().",
				},
			},
			Constants =
			{
				EATING_TICKS =
				{
					Notes = "Number of ticks required for consuming an item.",
				},
				MAX_FOOD_LEVEL =
				{
					Notes = "The maximum food level value. When the food level is at this value, the player cannot eat.",
				},
				MAX_HEALTH =
				{
					Notes = "The maximum health value",
				},
			},
			Inherits = "cPawn",
		},  -- cPlayer

		cRoot =
		{
			Desc = [[
				This class represents the root of Cuberite's object hierarchy. There is always only one cRoot
				object. It manages and allows querying all the other objects, such as {{cServer}},
				{{cPluginManager}}, individual {{cWorld|worlds}} etc.</p>
				<p>
				To get the singleton instance of this object, you call the cRoot:Get() function. Then you can call
				the individual functions on this object. Note that some of the functions are static and don't need
				the instance, they are to be called directly on the cRoot class, such as cRoot:GetPhysicalRAMUsage()
			]],
			Functions =
			{
				BroadcastChat =
				{
					{
						Params =
						{
							{
								Name = "MessageText",
								Type = "string",
							},
							{
								Name = "MessageType",
								Type = "eMessageType",
							},
						},
						Notes = "Broadcasts a message to all players, with its message type set to MessageType (default: mtCustom).",
					},
					{
						Params =
						{
							{
								Name = "CompositeChat",
								Type = "cCompositeChat",
							},
						},
						Notes = "Broadcasts a {{cCompositeChat|composite chat message}} to all players.",
					},
				},
				BroadcastChatDeath =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtDeath. Use for when a player has died.",
				},
				BroadcastChatFailure =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtFailure. Use for a command that failed to run because of insufficient permissions, etc.",
				},
				BroadcastChatFatal =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtFatal. Use for a plugin that crashed, or similar.",
				},
				BroadcastChatInfo =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtInfo. Use for informational messages, such as command usage.",
				},
				BroadcastChatJoin =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtJoin. Use for players joining the server.",
				},
				BroadcastChatLeave =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtLeave. Use for players leaving the server.",
				},
				BroadcastChatSuccess =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtSuccess. Use for success messages.",
				},
				BroadcastChatWarning =
				{
					Params =
					{
						{
							Name = "MessageText",
							Type = "string",
						},
					},
					Notes = "Broadcasts the specified message to all players, with its message type set to mtWarning. Use for concerning events, such as plugin reload etc.",
				},
				DoWithPlayerByUUID =
				{
					Params =
					{
						{
							Name = "PlayerUUID",
							Type = "string",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is the player with the uuid, calls the CallbackFunction with the {{cPlayer}} parameter representing the player. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre> The function returns false if the player was not found, or whatever bool value the callback returned if the player was found.",
				},
				FindAndDoWithPlayer =
				{
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the given callback function for the player with the name best matching the name string provided.<br>This function is case-insensitive and will match partial names.<br>Returns false if player not found or there is ambiguity, true otherwise. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre>",
				},
				ForEachPlayer =
				{
					Params =
					{
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Notes = "Calls the given callback function for each player. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|cPlayer}})</pre>",
				},
				ForEachWorld =
				{
					Params =
					{
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Notes = "Calls the given callback function for each world. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cWorld|cWorld}})</pre>",
				},
				Get =
				{
					IsStatic = true,
					Returns =
					{
						{
							Type = "cRoot",
						},
					},
					Notes = "Returns the one and only cRoot object.",
				},
				GetBrewingRecipe =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Bottle",
							Type = "cItem",
						},
						{
							Name = "Ingredient",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the result item, if a recipe has been found to brew the Ingredient into Bottle. If no recipe is found, returns no value.",
				},
				GetBuildCommitID =
				{
					IsStatic = true,
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "For official builds (Travis CI / Jenkins) it returns the exact commit hash used for the build. For unofficial local builds, returns the approximate commit hash (since the true one cannot be determined), formatted as \"approx: &lt;CommitHash&gt;\".",
				},
				GetBuildDateTime =
				{
					IsStatic = true,
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "For official builds (Travic CI / Jenkins) it returns the date and time of the build. For unofficial local builds, returns the approximate datetime of the commit (since the true one cannot be determined), formatted as \"approx: &lt;DateTime-iso8601&gt;\".",
				},
				GetBuildID =
				{
					IsStatic = true,
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "For official builds (Travis CI / Jenkins) it returns the unique ID of the build, as recognized by the build system. For unofficial local builds, returns the string \"Unknown\".",
				},
				GetBuildSeriesName =
				{
					IsStatic = true,
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "For official builds (Travis CI / Jenkins) it returns the series name of the build (for example \"Cuberite Windows x64 Master\"). For unofficial local builds, returns the string \"local build\".",
				},
				GetCraftingRecipes =
				{
					Returns =
					{
						{
							Type = "cCraftingRecipe",
						},
					},
					Notes = "Returns the CraftingRecipes object",
				},
				GetDefaultWorld =
				{
					Returns =
					{
						{
							Type = "cWorld",
						},
					},
					Notes = "Returns the world object from the default world.",
				},
				GetFurnaceFuelBurnTime =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Fuel",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of ticks for how long the item would fuel a furnace. Returns zero if not a fuel.",
				},
				GetFurnaceRecipe =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "InItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Name = "OutItem",
							Type = "cItem",
						},
						{
							Name = "NumTicks",
							Type = "number",
						},
						{
							Name = "InItem",
							Type = "cItem",
						},
					},
					Notes = "Returns the furnace recipe for smelting the specified input. If a recipe is found, returns the smelted result, the number of ticks required for the smelting operation, and the input consumed (note that Cuberite supports smelting M items into N items and different smelting rates). If no recipe is found, returns no value.",
				},
				GetPhysicalRAMUsage =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the amount of physical RAM that the entire Cuberite process is using, in KiB. Negative if the OS doesn't support this query.",
				},
				GetPluginManager =
				{
					Returns =
					{
						{
							Type = "cPluginManager",
						},
					},
					Notes = "Returns the cPluginManager object.",
				},
				GetPrimaryServerVersion =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the servers primary server version.",
				},
				GetProtocolVersionTextFromInt =
				{
					Params =
					{
						{
							Name = "ProtocolVersionNumber",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the Minecraft client version from the given Protocol version number. If there is no version found, it returns 'Unknown protocol (Number)'",
				},
				GetServer =
				{
					Returns =
					{
						{
							Type = "cServer",
						},
					},
					Notes = "Returns the cServer object.",
				},
				GetServerUpTime =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the uptime of the server in seconds.",
				},
				GetTotalChunkCount =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the amount of loaded chunks.",
				},
				GetVirtualRAMUsage =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the amount of virtual RAM that the entire Cuberite process is using, in KiB. Negative if the OS doesn't support this query.",
				},
				GetWebAdmin =
				{
					Returns =
					{
						{
							Type = "cWebAdmin",
						},
					},
					Notes = "Returns the cWebAdmin object.",
				},
				GetWorld =
				{
					Params =
					{
						{
							Name = "WorldName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "cWorld",
						},
					},
					Notes = "Returns the cWorld object of the given world. It returns nil if there is no world with the given name.",
				},
				QueueExecuteConsoleCommand =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
					},
					Notes = "Queues a console command for execution through the cServer class. The command will be executed in the tick thread. The command's output will be sent to console.",
				},
				SaveAllChunks =
				{
					Notes = "Saves all the chunks in all the worlds. Note that the saving is queued on each world's tick thread and this functions returns before the chunks are actually saved.",
				},
				SetPrimaryServerVersion =
				{
					Params =
					{
						{
							Name = "Protocol Version",
							Type = "number",
						},
					},
					Notes = "Sets the servers PrimaryServerVersion to the given protocol number.",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Querying a furnace recipe",
					Contents = [[
						To find the furnace recipe for an item, use the following code (adapted from the Debuggers plugin's /fr command):
<pre class="prettyprint lang-lua">
local HeldItem = a_Player:GetEquippedItem();
local Out, NumTicks, In = cRoot:GetFurnaceRecipe(HeldItem);  -- Note STATIC call - no need for a Get()
if (Out ~= nil) then
	-- There is a recipe, list it:
	a_Player:SendMessage(
		"Furnace turns " .. ItemToFullString(In) ..
		" to " .. ItemToFullString(Out) ..
		" in " .. NumTicks .. " ticks (" ..
		tostring(NumTicks / 20) .. " seconds)."
	);
else
	-- No recipe found
	a_Player:SendMessage("There is no furnace recipe that would smelt " .. ItemToString(HeldItem));
end
</pre>
					]],
				},
			},
		},
		cScoreboard =
		{
			Desc = [[
				This class manages the objectives and teams of a single world.
			]],
			Functions =
			{
				AddPlayerScore =
				{
					Params =
					{
						{
							Name = "Name",
							Type = "string",
						},
						{
							Name = "Type",
							Type = "<unknown>",
						},
						{
							Name = "Value",
							Type = "<unknown>",
						},
					},
					Notes = "Adds a value to all player scores of the specified objective type.",
				},
				ForEachObjective =
				{
					Params =
					{
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each objective in the scoreboard. Returns true if all objectives have been processed (including when there are zero objectives), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cObjective|Objective}})</pre> The callback should return false or no value to continue with the next objective, or true to abort the enumeration.",
				},
				ForEachTeam =
				{
					Params =
					{
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each team in the scoreboard. Returns true if all teams have been processed (including when there are zero teams), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cObjective|Objective}})</pre> The callback should return false or no value to continue with the next team, or true to abort the enumeration.",
				},
				GetNumObjectives =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the nuber of registered objectives.",
				},
				GetNumTeams =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of registered teams.",
				},
				GetObjective =
				{
					Params =
					{
						{
							Name = "string",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "cObjective",
						},
					},
					Notes = "Returns the objective with the specified name.",
				},
				GetObjectiveIn =
				{
					Params =
					{
						{
							Name = "DisplaySlot",
							Type = "<unknown>",
						},
					},
					Returns =
					{
						{
							Type = "cObjective",
						},
					},
					Notes = "Returns the objective in the specified display slot. Can be nil.",
				},
				GetTeam =
				{
					Params =
					{
						{
							Name = "TeamName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "cTeam",
						},
					},
					Notes = "Returns the team with the specified name.",
				},
				GetTeamNames =
				{
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Returns the names of all teams, as an array-table of strings",
				},
				RegisterObjective =
				{
					Params =
					{
						{
							Name = "Name",
							Type = "string",
						},
						{
							Name = "DisplayName",
							Type = "string",
						},
						{
							Name = "Type",
							Type = "<unknown>",
						},
					},
					Returns =
					{
						{
							Type = "cObjective",
						},
					},
					Notes = "Registers a new scoreboard objective. Returns the {{cObjective}} instance, nil on error.",
				},
				RegisterTeam =
				{
					Params =
					{
						{
							Name = "Name",
							Type = "string",
						},
						{
							Name = "DisplayName",
							Type = "string",
						},
						{
							Name = "Prefix",
							Type = "<unknown>",
						},
						{
							Name = "Suffix",
							Type = "<unknown>",
						},
					},
					Returns =
					{
						{
							Type = "cTeam",
						},
					},
					Notes = "Registers a new team. Returns the {{cTeam}} instance, nil on error.",
				},
				RemoveObjective =
				{
					Params =
					{
						{
							Name = "Name",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Removes the objective with the specified name. Returns true if operation was successful.",
				},
				RemoveTeam =
				{
					Params =
					{
						{
							Name = "TeamName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Removes the team with the specified name. Returns true if operation was successful.",
				},
				SetDisplay =
				{
					Params =
					{
						{
							Name = "Name",
							Type = "string",
						},
						{
							Name = "DisplaySlot",
							Type = "<unknown>",
						},
					},
					Notes = "Updates the currently displayed objective.",
				},
			},
			Constants =
			{
				dsCount =
				{
					Notes = "",
				},
				dsList =
				{
					Notes = "",
				},
				dsName =
				{
					Notes = "",
				},
				dsSidebar =
				{
					Notes = "",
				},
			},
		},
		cServer =
		{
			Desc = [[
				This class manages all the client connections internally. In the API layer, it allows to get and set
				the general properties of the server, such as the description and max players.</p>
				<p>
				It used to support broadcasting chat messages to all players, this functionality has been moved to
				{{cRoot}}:BroadcastChat().
				]],
			Functions =
			{
				DoesAllowMultiLogin =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if players can log in multiple times from the same account (normally used for debugging), false if only one player per name is allowed.",
				},
				GetDescription =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the server description set in the settings.ini.",
				},
				GetMaxPlayers =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the max amount of players who can join the server.",
				},
				GetNumPlayers =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the amount of players online.",
				},
				GetServerID =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the ID of the server?",
				},
				IsHardcore =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the server is hardcore (players get banned on death).",
				},
				IsPlayerInQueue =
				{
					Params =
					{
						{
							Name = "Username",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified player is queued to be transferred to a World.",
				},
				SetMaxPlayers =
				{
					Params =
					{
						{
							Name = "MaxPlayers",
							Type = "number",
						},
					},
					Notes = "Sets the max amount of players who can join.",
				},
				ShouldAuthenticate =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true iff the server is set to authenticate players (\"online mode\").",
				},
			},
		},
		cStringCompression =
		{
			Desc = [[
				Provides functions to compress or decompress string
				<p>
				All functions in this class are static, so they should be called in the dot convention:
<pre class="prettyprint lang-lua">
local CompressedString = cStringCompression.CompressStringGZIP("DataToCompress")
</pre>
			]],
			Functions =
			{
				CompressStringGZIP =
				{
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Compresses data in a string using GZIP",
				},
				CompressStringZLIB =
				{
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
						{
							Name = "factor",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Compresses data in a string using ZLIB. Factor 0 is no compression and factor 9 is maximum compression.",
				},
				InflateString =
				{
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Uncompresses a string using Inflate",
				},
				UncompressStringGZIP =
				{
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Uncompress a string using GZIP",
				},
				UncompressStringZLIB =
				{
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
						{
							Name = "UncompressedLength",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Uncompresses Data using ZLIB",
				},
			},
		},
		cTeam =
		{
			Desc = [[
				This class manages a single player team.
			]],
			Functions =
			{
				AddPlayer =
				{
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Adds a player to this team. Returns true if the operation was successful.",
				},
				AllowsFriendlyFire =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether team friendly fire is allowed.",
				},
				CanSeeFriendlyInvisible =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether players can see invisible teammates.",
				},
				GetDisplayName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the display name of the team.",
				},
				GetName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the internal name of the team.",
				},
				GetNumPlayers =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of registered players.",
				},
				GetPrefix =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the prefix prepended to the names of the members of this team.",
				},
				GetSuffix =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the suffix appended to the names of the members of this team.",
				},
				HasPlayer =
				{
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the specified player is a member of this team.",
				},
				RemovePlayer =
				{
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Removes the player with the specified name from this team. Returns true if the operation was successful.",
				},
				Reset =
				{
					Notes = "Removes all players from this team.",
				},
				SetCanSeeFriendlyInvisible =
				{
					Params =
					{
						{
							Name = "CanSeeFriendlyInvisible",
							Type = "boolean",
						},
					},
					Notes = "Set whether players can see invisible teammates.",
				},
				SetDisplayName =
				{
					Params =
					{
						{
							Name = "DisplayName",
							Type = "string",
						},
					},
					Notes = "Sets the display name of this team. (i.e. what will be shown to the players)",
				},
				SetFriendlyFire =
				{
					Params =
					{
						{
							Name = "AllowFriendlyFire",
							Type = "boolean",
						},
					},
					Notes = "Sets whether team friendly fire is allowed.",
				},
				SetPrefix =
				{
					Params =
					{
						{
							Name = "Prefix",
							Type = "string",
						},
					},
					Notes = "Sets the prefix prepended to the names of the members of this team.",
				},
				SetSuffix =
				{
					Params =
					{
						{
							Name = "Suffix",
							Type = "string",
						},
					},
					Notes = "Sets the suffix appended to the names of the members of this team.",
				},
			},
		},
		cTNTEntity =
		{
			Desc = "This class manages a TNT entity.",
			Functions =
			{
				Explode =
				{
					Notes = "Explode the tnt.",
				},
				GetFuseTicks =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the fuse ticks - the number of game ticks until the tnt explodes.",
				},
				SetFuseTicks =
				{
					Params =
					{
						{
							Name = "TicksUntilExplosion",
							Type = "number",
						},
					},
					Notes = "Set the fuse ticks until the tnt will explode.",
				},
			},
			Inherits = "cEntity",
		},
		cUrlParser =
		{
			Desc = [[
			Provides a parser for generic URLs that returns the individual components of the URL.</p>
			<p>
			Note that all functions are static. Call them by using "cUrlParser:Parse(...)" etc.
			]],
			Functions =
			{
				GetDefaultPort =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Scheme",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the default port that should be used for the given scheme (protocol). Returns zero if the scheme is not known.",
				},
				IsKnownScheme =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "Scheme",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the scheme (protocol) is recognized by the parser.",
				},
				Parse =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "URL",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "Scheme",
							Type = "string",
						},
						{
							Name = "Username",
							Type = "string",
						},
						{
							Name = "Password",
							Type = "string",
						},
						{
							Name = "Host",
							Type = "string",
						},
						{
							Name = "Port",
							Type = "string",
						},
						{
							Name = "Path",
							Type = "string",
						},
						{
							Name = "Query",
							Type = "string",
						},
						{
							Name = "Fragment",
							Type = "string",
						},
					},
					Notes = "Returns the individual parts of the URL. Parts that are not explicitly specified in the URL are empty, the default port for the scheme is used. If parsing fails, the function returns nil and an error message.",
				},
				ParseAuthorityPart =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "AuthPart",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "Username",
							Type = "string",
						},
						{
							Name = "Password",
							Type = "string",
						},
						{
							Name = "Host",
							Type = "string",
						},
						{
							Name = "Port",
							Type = "string",
						},
					},
					Notes = "Parses the Authority part of the URL. Parts that are not explicitly specified in the AuthPart are returned empty, the port is returned zero. If parsing fails, the function returns nil and an error message.",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Code example",
					Contents = [[
						The following code fragment uses the cUrlParser to parse an URL string into its components, and
						prints those components out:
<pre class="prettyprint lang-lua">
local Scheme, Username, Password, Host, Port, Path, Query, Fragment = cUrlParser:Parse(
	"http://anonymous:user@example.com@ftp.cuberite.org:9921/releases/2015/?sort=date#files"
)
if not(Scheme) then
	-- Parsing failed, the second returned value (in Username) is the error message:
	LOG("  Error: " .. (Username or "<nil>"))
else
	LOG("  Scheme   = " .. Scheme)    -- "http"
	LOG("  Username = " .. Username)  -- "anonymous"
	LOG("  Password = " .. Password)  -- "user@example.com"
	LOG("  Host     = " .. Host)      -- "ftp.cuberite.org"
	LOG("  Port     = " .. Port)      -- 9921
	LOG("  Path     = " .. Path)      -- "releases/2015/"
	LOG("  Query    = " .. Query)     -- "sort=date"
	LOG("  Fragment = " .. Fragment)  -- "files"
end
</pre>
					]],
				},
			},
		},
		cWebPlugin =
		{
			Desc = "",
			Functions =
			{

			},
		},
		cWindow =
		{
			Desc = [[
				This class is the common ancestor for all window classes used by Cuberite. It is inherited by the
				{{cLuaWindow|cLuaWindow}} class that plugins use for opening custom windows. It is planned to be
				used for window-related hooks in the future. It implements the basic functionality of any
				window.</p>
				<p>
				Note that one cWindow object can be used for multiple players at the same time, and therefore the
				slot contents are player-specific (e. g. crafting grid, or player inventory). Thus the GetSlot() and
				SetSlot() functions need to have the {{cPlayer|cPlayer}} parameter that specifies the player for
				whom the contents are to be queried.</p>
				<p>
				Windows also have numeric properties, these are used to set the progressbars for furnaces or the XP
				costs for enchantment tables.
			]],
			Functions =
			{
				GetSlot =
				{
					Params =
					{
						{
							Name = "Player",
							Type = "cPlayer",
						},
						{
							Name = "SlotNumber",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item at the specified slot for the specified player. Returns nil and logs to server console on error.",
				},
				GetWindowID =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the ID of the window, as used by the network protocol",
				},
				GetWindowTitle =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the window title that will be displayed to the player",
				},
				GetWindowType =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the type of the window, one of the constants in the table above",
				},
				GetWindowTypeName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the textual representation of the window's type, such as \"minecraft:chest\".",
				},
				IsSlotInPlayerHotbar =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified slot number is in the player hotbar",
				},
				IsSlotInPlayerInventory =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified slot number is in the player's main inventory or in the hotbar. Note that this returns false for armor slots!",
				},
				IsSlotInPlayerMainInventory =
				{
					Params =
					{
						{
							Name = "SlotNum",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified slot number is in the player's main inventory",
				},
				SetProperty =
				{
					Params =
					{
						{
							Name = "PropertyID",
							Type = "number",
						},
						{
							Name = "PropertyValue",
							Type = "number",
						},
						{
							Name = "Player",
							Type = "cPlayer",
							IsOptional = true,
						},
					},
					Notes = "Updates a numerical property associated with the window. Typically used for furnace progressbars. Sends the UpdateWindowProperty packet to the specified Player, or to all current clients of the window if Player is not specified.",
				},
				SetSlot =
				{
					Params =
					{
						{
							Name = "Player",
							Type = "cPlayer",
						},
						{
							Name = "SlotNum",
							Type = "number",
						},
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Notes = "Sets the contents of the specified slot for the specified player. Ignored if the slot number is invalid",
				},
				SetWindowTitle =
				{
					Params =
					{
						{
							Name = "WindowTitle",
							Type = "string",
						},
					},
					Notes = "Sets the window title that will be displayed to the player",
				},
			},
			Constants =
			{
				wtAnimalChest =
				{
					Notes = "A horse or donkey window",
				},
				wtAnvil =
				{
					Notes = "An anvil window",
				},
				wtBeacon =
				{
					Notes = "A beacon window",
				},
				wtBrewery =
				{
					Notes = "A brewing stand window",
				},
				wtChest =
				{
					Notes = "A {{cChestEntity|chest}} or doublechest window",
				},
				wtDropSpenser =
				{
					Notes = "A {{cDropperEntity|dropper}} or a {{cDispenserEntity|dispenser}} window",
				},
				wtEnchantment =
				{
					Notes = "An enchantment table window",
				},
				wtFurnace =
				{
					Notes = "A {{cFurnaceEntity|furnace}} window",
				},
				wtHopper =
				{
					Notes = "A {{cHopperEntity|hopper}} window",
				},
				wtInventory =
				{
					Notes = "An inventory window",
				},
				wtNPCTrade =
				{
					Notes = "A villager trade window",
				},
				wtWorkbench =
				{
					Notes = "A workbench (crafting table) window",
				},
			},  -- Constants

			ConstantGroups =
			{
				WindowType =
				{
					Include = { "wt.*" },
				}
			},  -- ConstantGroups
		},  -- cWindow

		cWorld =
		{
			Desc = [[
				cWorld is the game world. It is the hub of all the information managed by individual classes,
				providing convenient access to them. Cuberite supports multiple worlds in any combination of
				world types. You can have two overworlds, three nethers etc. To enumerate all world the server
				provides, use the {{cRoot}}:ForEachWorld() function.</p>
				<p>
				The world data is held in individual chunks. Each chunk consists of 16 (x) * 16 (z) * 256 (y)
				blocks, each block is specified by its block type (8-bit) and block metadata (4-bit).
				Additionally, each block has two light values calculated - skylight (how much daylight it receives)
				and blocklight (how much light from light-emissive blocks it receives), both 4-bit.</p>
				<p>
				Each world runs several separate threads used for various housekeeping purposes, the most important
				of those is the Tick thread. This thread updates the game logic 20 times per second, and it is
				the thread where all the gameplay actions are evaluated. Liquid physics, entity interactions,
				player ovement etc., all are applied in this thread.</p>
				<p>
				Additional threads include the generation thread (generates new chunks as needed, storage thread
				(saves and loads chunk from the disk), lighting thread (updates block light values) and the
				chunksender thread (compresses chunks to send to the clients).</p>
				<p>
				The world provides access to all its {{cPlayer|players}}, {{cEntity|entities}} and {{cBlockEntity|block
				entities}}. Because of multithreading issues, individual objects cannot be retrieved for indefinite
				handling, but rather must be modified in callbacks, within which they are guaranteed to stay valid.</p>
				<p>
				Physics for individual blocks are handled by the simulators. These will fire in each tick for all
				blocks that have been scheduled for simulator update ("simulator wakeup"). The simulators include
				liquid physics, falling blocks, fire spreading and extinguishing and redstone.</p>
				<p>
				Game time is also handled by the world. It provides the time-of-day and the total world age.
			]],
			Functions =
			{
				AreCommandBlocksEnabled =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether command blocks are enabled on the (entire) server",
				},
				BroadcastBlockAction =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "ActionByte1",
							Type = "number",
						},
						{
							Name = "ActionByte2",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Broadcasts the BlockAction packet to all clients who have the appropriate chunk loaded (except ExcludeClient). The contents of the packet are specified by the parameters for the call, the blocktype needn't match the actual block that is present in the world data at the specified location.",
				},
				BroadcastChat =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
						{
							Name = "ChatPrefix",
							Type = "eMessageType",
							IsOptional = true,
						},
					},
					Notes = "Sends the Message to all players in this world, except the optional ExcludeClient. No formatting is done by the server.",
				},
				BroadcastChatDeath =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Prepends Gray [DEATH] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For when a player dies.",
				},
				BroadcastChatFailure =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Prepends Rose [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For a command that failed to run because of insufficient permissions, etc.",
				},
				BroadcastChatFatal =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Prepends Red [FATAL] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For a plugin that crashed, or similar.",
				},
				BroadcastChatInfo =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Prepends Yellow [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For informational messages, such as command usage.",
				},
				BroadcastChatSuccess =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Prepends Green [INFO] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For success messages.",
				},
				BroadcastChatWarning =
				{
					Params =
					{
						{
							Name = "Message",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Prepends Rose [WARN] / colours entire text (depending on ShouldUseChatPrefixes()) and broadcasts message. For concerning events, such as plugin reload etc.",
				},
				BroadcastEntityAnimation =
				{
					Params =
					{
						{
							Name = "TargetEntity",
							Type = "cEntity",
						},
						{
							Name = "Animation",
							Type = "number",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Sends an animation of an entity to all clienthandles (except ExcludeClient if given)",
				},
				BroadcastParticleEffect =
				{
					Params =
					{
						{
							Name = "ParticleName",
							Type = "string",
						},
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "OffsetX",
							Type = "number",
						},
						{
							Name = "OffsetY",
							Type = "number",
						},
						{
							Name = "OffsetZ",
							Type = "number",
						},
						{
							Name = "ParticleData",
							Type = "number",
						},
						{
							Name = "ParticleAmount",
							Type = "number",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Spawns the specified particles to all players in the world exept the optional ExeptClient. A list of available particles by thinkofdeath can be found {{https://gist.github.com/thinkofdeath/5110835|Here}}",
				},
				BroadcastSoundEffect =
				{
					Params =
					{
						{
							Name = "SoundName",
							Type = "string",
						},
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "Volume",
							Type = "number",
						},
						{
							Name = "Pitch",
							Type = "number",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Sends the specified sound effect to all players in this world, except the optional ExceptClient",
				},
				BroadcastSoundParticleEffect =
				{
					Params =
					{
						{
							Name = "EffectID",
							Type = "number",
						},
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "EffectData",
							Type = "string",
						},
						{
							Name = "ExcludeClient",
							Type = "cClientHandle",
							IsOptional = true,
						},
					},
					Notes = "Sends the specified effect to all players in this world, except the optional ExceptClient",
				},
				CastThunderbolt =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
					},
					Notes = "Creates a thunderbolt at the specified coords",
				},
				ChangeWeather =
				{
					Notes = "Forces the weather to change in the next game tick. Weather is changed according to the normal rules: wSunny <-> wRain <-> wStorm",
				},
				ChunkStay =
				{
					Params =
					{
						{
							Name = "ChunkCoordTable",
							Type = "table",
						},
						{
							Name = "OnChunkAvailable",
							Type = "function",
							IsOptional = true,
						},
						{
							Name = "OnAllChunksAvailable",
							Type = "function",
							IsOptional = true,
						},
					},
					Notes = "Queues the specified chunks to be loaded or generated and calls the specified callbacks once they are loaded. ChunkCoordTable is an arra-table of chunk coords, each coord being a table of 2 numbers: { {Chunk1x, Chunk1z}, {Chunk2x, Chunk2z}, ...}. When any of those chunks are made available (including being available at the start of this call), the OnChunkAvailable() callback is called. When all the chunks are available, the OnAllChunksAvailable() callback is called. The function signatures are: <pre class=\"prettyprint lang-lua\">function OnChunkAvailable(ChunkX, ChunkZ)\
function OnAllChunksAvailable()</pre> All return values from the callbacks are ignored.",
				},
				CreateProjectile =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "ProjectileKind",
							Type = "cProjectileEntity#eKind",
						},
						{
							Name = "Creator",
							Type = "cEntity",
						},
						{
							Name = "Originating Item",
							Type = "cItem",
						},
						{
							Name = "Speed",
							Type = "Vector3d",
							IsOptional = true,
						},
					},
					Notes = "Creates a new projectile of the specified kind at the specified coords. The projectile's creator is set to Creator (may be nil). The item that created the projectile entity, commonly the {{cPlayer|player}}'s currently equipped item, is used at present for fireworks to correctly set their entity metadata. It is not used for any other projectile. Optional speed indicates the initial speed for the projectile.",
				},
				DigBlock =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
					},
					Notes = "Replaces the specified block with air, without dropping the usual pickups for the block. Wakes up the simulators for the block and its neighbors.",
				},
				DoExplosionAt =
				{
					Params =
					{
						{
							Name = "Force",
							Type = "number",
						},
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "CanCauseFire",
							Type = "boolean",
						},
						{
							Name = "Source",
							Type = "eExplosionSource",
						},
						{
							Name = "SourceData",
							Type = "any",
						},
					},
					Notes = "Creates an explosion of the specified relative force in the specified position. If CanCauseFire is set, the explosion will set blocks on fire, too. The Source parameter specifies the source of the explosion, one of the esXXX constants. The SourceData parameter is specific to each source type, usually it provides more info about the source.",
				},
				DoWithBeaconAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a beacon at the specified coords, calls the CallbackFunction with the {{cBeaconEntity}} parameter representing the beacon. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cBeaconEntity|BeaconEntity}})</pre> The function returns false if there is no beacon, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithBlockEntityAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a block entity at the specified coords, calls the CallbackFunction with the {{cBlockEntity}} parameter representing the block entity. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cBlockEntity|BlockEntity}})</pre> The function returns false if there is no block entity, or if there is, it returns the bool value that the callback has returned. Use {{tolua}}.cast() to cast the Callback's BlockEntity parameter to the correct {{cBlockEntity}} descendant.",
				},
				DoWithBrewingstandAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a brewingstand at the specified coords, calls the CallbackFunction with the {{cBrewingstandEntity}} parameter representing the brewingstand. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cBrewingstandEntity|cBrewingstandEntity}})</pre> The function returns false if there is no brewingstand, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithChestAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a chest at the specified coords, calls the CallbackFunction with the {{cChestEntity}} parameter representing the chest. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cChestEntity|ChestEntity}})</pre> The function returns false if there is no chest, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithCommandBlockAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a command block at the specified coords, calls the CallbackFunction with the {{cCommandBlockEntity}} parameter representing the command block. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cCommandBlockEntity|CommandBlockEntity}})</pre> The function returns false if there is no command block, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithDispenserAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a dispenser at the specified coords, calls the CallbackFunction with the {{cDispenserEntity}} parameter representing the dispenser. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cDispenserEntity|DispenserEntity}})</pre> The function returns false if there is no dispenser, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithDropperAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a dropper at the specified coords, calls the CallbackFunction with the {{cDropperEntity}} parameter representing the dropper. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cDropperEntity|DropperEntity}})</pre> The function returns false if there is no dropper, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithDropSpenserAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a dropper or a dispenser at the specified coords, calls the CallbackFunction with the {{cDropSpenserEntity}} parameter representing the dropper or dispenser. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cDropSpenserEntity|DropSpenserEntity}})</pre> Note that this can be used to access both dispensers and droppers in a similar way. The function returns false if there is neither dispenser nor dropper, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithEntityByID =
				{
					Params =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If an entity with the specified ID exists, calls the callback with the {{cEntity}} parameter representing the entity. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cEntity|Entity}})</pre> The function returns false if the entity was not found, and it returns the same bool value that the callback has returned if the entity was found.",
				},
				DoWithFlowerPotAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a flower pot at the specified coords, calls the CallbackFunction with the {{cFlowerPotEntity}} parameter representing the flower pot. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cFlowerPotEntity|FlowerPotEntity}})</pre> The function returns false if there is no flower pot, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithFurnaceAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a furnace at the specified coords, calls the CallbackFunction with the {{cFurnaceEntity}} parameter representing the furnace. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cFurnaceEntity|FurnaceEntity}})</pre> The function returns false if there is no furnace, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithMobHeadAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a mob head at the specified coords, calls the CallbackFunction with the {{cMobHeadEntity}} parameter representing the furnace. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cMobHeadEntity|MobHeadEntity}})</pre> The function returns false if there is no mob head, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithNoteBlockAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a note block at the specified coords, calls the CallbackFunction with the {{cNoteEntity}} parameter representing the note block. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cNoteEntity|NoteEntity}})</pre> The function returns false if there is no note block, or if there is, it returns the bool value that the callback has returned.",
				},
				DoWithPlayer =
				{
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is a player of the specified name (exact match), calls the CallbackFunction with the {{cPlayer}} parameter representing the player. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre> The function returns false if the player was not found, or whatever bool value the callback returned if the player was found.",
				},
				DoWithPlayerByUUID =
				{
					Params =
					{
						{
							Name = "PlayerUUID",
							Type = "string",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "If there is the player with the uuid, calls the CallbackFunction with the {{cPlayer}} parameter representing the player. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre> The function returns false if the player was not found, or whatever bool value the callback returned if the player was found.",
				},
				FastSetBlock =
				{
					{
						Params =
						{
							{
								Name = "BlockX",
								Type = "number",
							},
							{
								Name = "BlockY",
								Type = "number",
							},
							{
								Name = "BlockZ",
								Type = "number",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Notes = "Sets the block at the specified coords, without waking up the simulators or replacing the block entities for the previous block type. Do not use if the block being replaced has a block entity tied to it!",
					},
					{
						Params =
						{
							{
								Name = "BlockCoords",
								Type = "Vector3i",
							},
							{
								Name = "BlockType",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Notes = "Sets the block at the specified coords, without waking up the simulators or replacing the block entities for the previous block type. Do not use if the block being replaced has a block entity tied to it!",
					},
				},
				FindAndDoWithPlayer =
				{
					Params =
					{
						{
							Name = "PlayerName",
							Type = "string",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the given callback function for the player with the name best matching the name string provided.<br>This function is case-insensitive and will match partial names.<br>Returns false if player not found or there is ambiguity, true otherwise. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre>",
				},
				ForEachBlockEntityInChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each block entity in the chunk. Returns true if all block entities in the chunk have been processed (including when there are zero block entities), or false if the callback has aborted the enumeration by returning true. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cBlockEntity|BlockEntity}})</pre> The callback should return false or no value to continue with the next block entity, or true to abort the enumeration. Use {{tolua}}.cast() to cast the Callback's BlockEntity parameter to the correct {{cBlockEntity}} descendant.",
				},
				ForEachBrewingstandInChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each brewingstand in the chunk. Returns true if all brewingstands in the chunk have been processed (including when there are zero brewingstands), or false if the callback has aborted the enumeration by returning true. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cBrewingstandEntity|cBrewingstandEntity}})</pre> The callback should return false or no value to continue with the next brewingstand, or true to abort the enumeration.",
				},
				ForEachChestInChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each chest in the chunk. Returns true if all chests in the chunk have been processed (including when there are zero chests), or false if the callback has aborted the enumeration by returning true. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cChestEntity|ChestEntity}})</pre> The callback should return false or no value to continue with the next chest, or true to abort the enumeration.",
				},
				ForEachEntity =
				{
					Params =
					{
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each entity in the loaded world. Returns true if all the entities have been processed (including when there are zero entities), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cEntity|Entity}})</pre> The callback should return false or no value to continue with the next entity, or true to abort the enumeration.",
				},
				ForEachEntityInBox =
				{
					Params =
					{
						{
							Name = "Box",
							Type = "cBoundingBox",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each entity in the specified bounding box. Returns true if all the entities have been processed (including when there are zero entities), or false if the callback function has aborted the enumeration by returning true. If any chunk within the bounding box is not valid, it is silently skipped without any notification. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cEntity|Entity}})</pre> The callback should return false or no value to continue with the next entity, or true to abort the enumeration.",
				},
				ForEachEntityInChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each entity in the specified chunk. Returns true if all the entities have been processed (including when there are zero entities), or false if the chunk is not loaded or the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cEntity|Entity}})</pre> The callback should return false or no value to continue with the next entity, or true to abort the enumeration.",
				},
				ForEachFurnaceInChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each furnace in the chunk. Returns true if all furnaces in the chunk have been processed (including when there are zero furnaces), or false if the callback has aborted the enumeration by returning true. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cFurnaceEntity|FurnaceEntity}})</pre> The callback should return false or no value to continue with the next furnace, or true to abort the enumeration.",
				},
				ForEachPlayer =
				{
					Params =
					{
						{
							Name = "CallbackFunction",
							Type = "function",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Calls the specified callback for each player in the loaded world. Returns true if all the players have been processed (including when there are zero players), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre> The callback should return false or no value to continue with the next player, or true to abort the enumeration.",
				},
				GenerateChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
					},
					Notes = "Queues the specified chunk in the chunk generator. Ignored if the chunk is already generated (use RegenerateChunk() to force chunk re-generation).",
				},
				GetBiomeAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "eBiome",
							Type = "EMCSBiome",
						},
					},
					Notes = "Returns the biome at the specified coords. Reads the biome from the chunk, if it is loaded, otherwise it uses the chunk generator to provide the biome value.",
				},
				GetBlock =
				{
					{
						Params =
						{
							{
								Name = "BlockX",
								Type = "number",
							},
							{
								Name = "BlockY",
								Type = "number",
							},
							{
								Name = "BlockZ",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Name = "BLOCKTYPE",
								Type = "number",
							},
						},
						Notes = "Returns the block type of the block at the specified coords, or 0 if the appropriate chunk is not loaded.",
					},
					{
						Params =
						{
							{
								Name = "BlockCoords",
								Type = "Vector3i",
							},
						},
						Returns =
						{
							{
								Name = "BLOCKTYPE",
								Type = "number",
							},
						},
						Notes = "Returns the block type of the block at the specified coords, or 0 if the appropriate chunk is not loaded.",
					},
				},
				GetBlockBlockLight =
				{
					{
						Params =
						{
							{
								Name = "BlockX",
								Type = "number",
							},
							{
								Name = "BlockY",
								Type = "number",
							},
							{
								Name = "BlockZ",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the amount of block light at the specified coords, or 0 if the appropriate chunk is not loaded.",
					},
					{
						Params =
						{
							{
								Name = "Pos",
								Type = "Vector3i",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the amount of block light at the specified coords, or 0 if the appropriate chunk is not loaded.",
					},
				},
				GetBlockInfo =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "IsBlockValid",
							Type = "boolean",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
						{
							Name = "BlockSkyLight",
							Type = "number",
						},
						{
							Name = "BlockBlockLight",
							Type = "number",
						},
					},
					Notes = "Returns the complete block info for the block at the specified coords. The first value specifies if the block is in a valid loaded chunk, the other values are valid only if BlockValid is true.",
				},
				GetBlockMeta =
				{
					{
						Params =
						{
							{
								Name = "BlockX",
								Type = "number",
							},
							{
								Name = "BlockY",
								Type = "number",
							},
							{
								Name = "BlockZ",
								Type = "number",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the block metadata of the block at the specified coords, or 0 if the appropriate chunk is not loaded.",
					},
					{
						Params =
						{
							{
								Name = "BlockCoords",
								Type = "Vector3i",
							},
						},
						Returns =
						{
							{
								Type = "number",
							},
						},
						Notes = "Returns the block metadata of the block at the specified coords, or 0 if the appropriate chunk is not loaded.",
					},
				},
				GetBlockSkyLight =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the block skylight of the block at the specified coords, or 0 if the appropriate chunk is not loaded.",
				},
				GetBlockTypeMeta =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "IsBlockValid",
							Type = "boolean",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Notes = "Returns the block type and metadata for the block at the specified coords. The first value specifies if the block is in a valid loaded chunk, the other values are valid only if BlockValid is true.",
				},
				GetDefaultWeatherInterval =
				{
					Params =
					{
						{
							Name = "Weather",
							Type = "eWeather",
						},
					},
					Notes = "Returns the default weather interval for the specific weather type. Returns -1 for any unknown weather.",
				},
				GetDimension =
				{
					Returns =
					{
						{
							Type = "eDimension",
						},
					},
					Notes = "Returns the dimension of the world - dimOverworld, dimNether or dimEnd.",
				},
				GetGameMode =
				{
					Returns =
					{
						{
							Type = "eGameMode",
						},
					},
					Notes = "Returns the gamemode of the world - gmSurvival, gmCreative or gmAdventure.",
				},
				GetGeneratorQueueLength =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of chunks that are queued in the chunk generator.",
				},
				GetHeight =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum height of the particula block column in the world. If the chunk is not loaded, it waits for it to load / generate. <b>WARNING</b>: Do not use, Use TryGetHeight() instead for a non-waiting version, otherwise you run the risk of a deadlock!",
				},
				GetIniFileName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the world.ini file that the world uses to store the information.",
				},
				GetLightingQueueLength =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of chunks in the lighting thread's queue.",
				},
				GetLinkedEndWorldName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the end world this world is linked to.",
				},
				GetLinkedNetherWorldName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the Netherworld linked to this world.",
				},
				GetLinkedOverworldName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the world this world is linked to.",
				},
				GetMapManager =
				{
					Returns =
					{
						{
							Type = "cMapManager",
						},
					},
					Notes = "Returns the {{cMapManager|MapManager}} object used by this world.",
				},
				GetMaxCactusHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the configured maximum height to which cacti will grow naturally.",
				},
				GetMaxNetherPortalHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum height for a nether portal",
				},
				GetMaxNetherPortalWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum width for a nether portal",
				},
				GetMaxSugarcaneHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the configured maximum height to which sugarcane will grow naturally.",
				},
				GetMaxViewDistance =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the maximum viewdistance that players can see in this world. The view distance is the amount of chunks around the player that the player can see.",
				},
				GetMinNetherPortalHeight =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the minimum height for a nether portal",
				},
				GetMinNetherPortalWidth =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the minimum width for a nether portal",
				},
				GetName =
				{
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the name of the world, as specified in the settings.ini file.",
				},
				GetNumChunks =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of chunks currently loaded.",
				},
				GetNumUnusedDirtyChunks =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of unused dirty chunks. That's the number of chunks that we can save and then unload.",
				},
				GetScoreBoard =
				{
					Returns =
					{
						{
							Type = "cScoreboard",
						},
					},
					Notes = "Returns the {{cScoreboard|Scoreboard}} object used by this world. ",
				},
				GetSeed =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the seed of the world.",
				},
				GetSignLines =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "IsValid",
							Type = "boolean",
						},
						{
							Name = "Line1",
							Type = "string",
							IsOptional = true,
						},
						{
							Name = "Line2",
							Type = "string",
							IsOptional = true,
						},
						{
							Name = "Line3",
							Type = "string",
							IsOptional = true,
						},
						{
							Name = "Line4",
							Type = "string",
							IsOptional = true,
						},
					},
					Notes = "Returns true and the lines of a sign at the specified coords, or false if there is no sign at the coords.",
				},
				GetSpawnX =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the X coord of the default spawn",
				},
				GetSpawnY =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Y coord of the default spawn",
				},
				GetSpawnZ =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the Z coord of the default spawn",
				},
				GetStorageLoadQueueLength =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of chunks queued up for loading",
				},
				GetStorageSaveQueueLength =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of chunks queued up for saving",
				},
				GetTicksUntilWeatherChange =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of ticks that will pass before the weather is changed",
				},
				GetTimeOfDay =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the number of ticks that have passed from the sunrise, 0 .. 24000.",
				},
				GetTNTShrapnelLevel =
				{
					Returns =
					{
						{
							Name = "ShrapnelLevel",
							Type = "Globals#eShrapnelLevel",
						},
					},
					Notes = "Returns the shrapnel level, representing the block types that are propelled outwards following an explosion. Based on this value and a random picker, blocks are selectively converted to physics entities (FallingSand) and flung outwards.",
				},
				GetWeather =
				{
					Returns =
					{
						{
							Type = "eWeather",
						},
					},
					Notes = "Returns the current weather in the world (wSunny, wRain, wStorm). To check for weather, use IsWeatherXXX() functions instead.",
				},
				GetWorldAge =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the total age of the world, in ticks. The age always grows, cannot be set by plugins and is unrelated to TimeOfDay.",
				},
				GrowCactus =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "NumBlocksToGrow",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Grows a cactus block at the specified coords, by up to the specified number of blocks. Adheres to the world's maximum cactus growth (GetMaxCactusHeight()). Returns the amount of blocks the cactus grew inside this call.",
				},
				GrowMelonPumpkin =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "StemBlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Grows a melon or pumpkin, based on the stem block type specified (assumed to be at the coords provided). Checks for normal melon / pumpkin growth conditions - stem not having another produce next to it and suitable ground below. Returns true if the melon or pumpkin grew successfully.",
				},
				GrowRipePlant =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "IsByBonemeal",
							Type = "boolean",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Grows the plant at the specified coords. If IsByBonemeal is true, checks first if the specified plant type is bonemealable in the settings. Returns true if the plant was grown, false if not.",
				},
				GrowSugarcane =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "NumBlocksToGrow",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Grows a sugarcane block at the specified coords, by up to the specified number of blocks. Adheres to the world's maximum sugarcane growth (GetMaxSugarcaneHeight()). Returns the amount of blocks the sugarcane grew inside this call.",
				},
				GrowTree =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Notes = "Grows a tree based at the specified coords. If there is a sapling there, grows the tree based on that sapling, otherwise chooses a tree image based on the biome.",
				},
				GrowTreeByBiome =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Notes = "Grows a tree based at the specified coords. The tree type is picked from types available for the biome at those coords.",
				},
				GrowTreeFromSapling =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "SaplingMeta",
							Type = "number",
						},
					},
					Notes = "Grows a tree based at the specified coords. The tree type is determined from the sapling meta (the sapling itself needn't be present).",
				},
				IsBlockDirectlyWatered =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified block has a water block right next to it (on the X/Z axes)",
				},
				IsDaylightCycleEnabled =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the daylight cycle is enabled.",
				},
				IsDeepSnowEnabled =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether the configuration has DeepSnow enabled.",
				},
				IsGameModeAdventure =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current gamemode is gmAdventure.",
				},
				IsGameModeCreative =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current gamemode is gmCreative.",
				},
				IsGameModeSpectator =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current gamemode is gmSpectator.",
				},
				IsGameModeSurvival =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current gamemode is gmSurvival.",
				},
				IsPVPEnabled =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether PVP is enabled in the world settings.",
				},
				IsTrapdoorOpen =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns false if there is no trapdoor there or if the block isn't a trapdoor or if the chunk wasn't loaded. Returns true if trapdoor is open.",
				},
				IsWeatherRain =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current world is raining (no thunderstorm).",
				},
				IsWeatherRainAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified location is raining (takes biomes into account - it never rains in a desert).",
				},
				IsWeatherStorm =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current world is stormy.",
				},
				IsWeatherStormAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified location is stormy (takes biomes into account - no storm in a desert).",
				},
				IsWeatherSunny =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current weather is sunny.",
				},
				IsWeatherSunnyAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current weather is sunny at the specified location (takes into account biomes).",
				},
				IsWeatherWet =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the current world has any precipitation (rain or storm).",
				},
				IsWeatherWetAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified location has any precipitation (rain or storm) (takes biomes into account, deserts are never wet).",
				},
				PrepareChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
						{
							Name = "Callback",
							Type = "function",
							IsOptional = true,
						},
					},
					Notes = "Queues the chunk for preparing - making sure that it's generated and lit. It is legal to call with no callback. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback(ChunkX, ChunkZ)</pre>",
				},
				QueueBlockForTick =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "TicksToWait",
							Type = "number",
						},
					},
					Notes = "Queues the specified block to be ticked after the specified number of gameticks.",
				},
				QueueSaveAllChunks =
				{
					Notes = "Queues all chunks to be saved in the world storage thread",
				},
				QueueSetBlock =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
						{
							Name = "TickDelay",
							Type = "number",
						},
					},
					Notes = "Queues the block to be set to the specified blocktype and meta after the specified amount of game ticks. Uses SetBlock() for the actual setting, so simulators are woken up and block entities are handled correctly.",
				},
				QueueTask =
				{
					Params =
					{
						{
							Name = "TaskFunction",
							Type = "function",
						},
					},
					Notes = "Queues the specified function to be executed in the tick thread. This is the primary means of interaction with a cWorld from the WebAdmin page handlers (see {{WebWorldThreads}}). The function signature is <pre class=\"pretty-print lang-lua\">function()</pre>All return values from the function are ignored. Note that this function is actually called *after* the QueueTask() function returns. Note that it is unsafe to store references to Cuberite objects, such as entities, across from the caller to the task handler function; store the EntityID instead.",
				},
				QueueUnloadUnusedChunks =
				{
					Notes = "Queues a cTask that unloads chunks that are no longer needed and are saved.",
				},
				RegenerateChunk =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
					},
					Notes = "Queues the specified chunk to be re-generated, overwriting the current data. To queue a chunk for generating only if it doesn't exist, use the GenerateChunk() instead.",
				},
				ScheduleTask =
				{
					Params =
					{
						{
							Name = "DelayTicks",
							Type = "number",
						},
						{
							Name = "TaskFunction",
							Type = "function",
						},
					},
					Notes = "Queues the specified function to be executed in the world's tick thread after a the specified number of ticks. This enables operations to be queued for execution in the future. The function signature is <pre class=\"pretty-print lang-lua\">function({{cWorld|World}})</pre>All return values from the function are ignored. Note that it is unsafe to store references to Cuberite objects, such as entities, across from the caller to the task handler function; store the EntityID instead.",
				},
				SendBlockTo =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "Player",
							Type = "cPlayer",
						},
					},
					Notes = "Sends the block at the specified coords to the specified player's client, as an UpdateBlock packet.",
				},
				SetAreaBiome =
				{
					{
						Params =
						{
							{
								Name = "MinX",
								Type = "number",
							},
							{
								Name = "MaxX",
								Type = "number",
							},
							{
								Name = "MinZ",
								Type = "number",
							},
							{
								Name = "MaxZ",
								Type = "number",
							},
							{
								Name = "Biome",
								Type = "EMCSBiome",
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Sets the biome in the rectangular area specified. Returns true if successful, false if any of the chunks were unloaded.",
					},
					{
						Params =
						{
							{
								Name = "Cuboid",
								Type = "cCuboid",
							},
							{
								Name = "Biome",
								Type = "EMCSBiome",
							},
						},
						Returns =
						{
							{
								Type = "boolean",
							},
						},
						Notes = "Sets the biome in the cuboid specified. Returns true if successful, false if any of the chunks were unloaded. The cuboid needn't be sorted.",
					},
				},
				SetBiomeAt =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "Biome",
							Type = "EMCSBiome",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Sets the biome at the specified block coords. Returns true if successful, false otherwise.",
				},
				SetBlock =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
						{
							Name = "ShouldSendToClients",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Notes = "Sets the block at the specified coords, replaces the block entities for the previous block type, creates a new block entity for the new block, if appropriate, and wakes up the simulators. This is the preferred way to set blocks, as opposed to FastSetBlock(), which is only to be used under special circumstances. If ShouldSendToClients is true (default), the change is broadcast to all players who have this chunk loaded; if false, the change is made server-side only.",
				},
				SetBlockMeta =
				{
					{
						Params =
						{
							{
								Name = "BlockX",
								Type = "number",
							},
							{
								Name = "BlockY",
								Type = "number",
							},
							{
								Name = "BlockZ",
								Type = "number",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
							{
								Name = "ShouldMarkChunkDirty",
								Type = "boolean",
								IsOptional = true,
							},
							{
								Name = "ShouldSendToClients",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Notes = "Sets the meta for the block at the specified coords. If ShouldMarkChunkDirty is true (default), the chunk is marked dirty and will be saved later on. If ShouldSendToClients is true (default), the change is broadcast to all clients who have the chunk loaded, if false, the change is kept server-side only.",
					},
					{
						Params =
						{
							{
								Name = "BlockCoords",
								Type = "Vector3i",
							},
							{
								Name = "BlockMeta",
								Type = "number",
							},
						},
						Notes = "Sets the meta for the block at the specified coords.",
					},
				},
				SetChunkAlwaysTicked =
				{
					Params =
					{
						{
							Name = "ChunkX",
							Type = "number",
						},
						{
							Name = "ChunkZ",
							Type = "number",
						},
						{
							Name = "IsAlwaysTicked",
							Type = "boolean",
						},
					},
					Notes = "Sets the chunk to always be ticked and loaded even when it doesn't contain any clients. IsAlwaysTicked set to true turns forced ticking on, set to false turns it off. Every call with 'true' should be paired with a later call with 'false', otherwise the ticking won't stop. Multiple actions can request ticking independently, the ticking will continue until the last call with 'false'." },
				},
				SetCommandBlockCommand =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "Command",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Sets the command to be executed in a command block at the specified coordinates. Returns if command was changed.",
				},
				SetCommandBlocksEnabled =
				{
					Params =
					{
						{
							Name = "AreEnabled",
							Type = "boolean",
						},
					},
					Notes = "Sets whether command blocks should be enabled on the (entire) server.",
				},
				SetDaylightCycleEnabled =
				{
					Params =
					{
						{
							Name = "IsEnabled",
							Type = "boolean",
						},
					},
					Notes = "Starts or stops the daylight cycle.",
				},
				SetLinkedEndWorldName =
				{
					Params =
					{
						{
							Name = "WorldName",
							Type = "string",
						},
					},
					Notes = "Sets the name of the world that the end portal should link to.",
				},
				SetLinkedNetherWorldName =
				{
					Params =
					{
						{
							Name = "WorldName",
							Type = "string",
						},
					},
					Notes = "Sets the name of the world that the nether portal should link to.",
				},
				SetLinkedOverworldName =
				{
					Params =
					{
						{
							Name = "WorldName",
							Type = "string",
						},
					},
					Notes = "Sets the name of the world that the nether portal should link to?",
				},
				SetMaxNetherPortalHeight =
				{
					Params =
					{
						{
							Name = "Height",
							Type = "number",
						},
					},
					Notes = "Sets the maximum height for a nether portal",
				},
				SetMaxNetherPortalWidth =
				{
					Params =
					{
						{
							Name = "Width",
							Type = "number",
						},
					},
					Notes = "Sets the maximum width for a nether portal",
				},
				SetMaxViewDistance =
				{
					Params =
					{
						{
							Name = "MaxViewDistance",
							Type = "number",
						},
					},
					Notes = "Sets the maximum viewdistance of the players in the world. This maximum takes precedence over each player's ViewDistance setting.",
				},
				SetMinNetherPortalHeight =
				{
					Params =
					{
						{
							Name = "Height",
							Type = "number",
						},
					},
					Notes = "Sets the minimum height for a nether portal",
				},
				SetMinNetherPortalWidth =
				{
					Params =
					{
						{
							Name = "Width",
							Type = "number",
						},
					},
					Notes = "Sets the minimum width for a nether portal",
				},
				SetNextBlockTick =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Notes = "Sets the blockticking to start at the specified block in the next tick.",
				},
				SetShouldUseChatPrefixes =
				{
					Returns =
					{
						{
							Name = "ShouldUseChatPrefixes",
							Type = "boolean",
						},
					},
					Notes = "Sets whether coloured chat prefixes such as [INFO] is used with the SendMessageXXX() or BroadcastChatXXX(), or simply the entire message is coloured in the respective colour.",
				},
				SetSignLines =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "Line1",
							Type = "string",
						},
						{
							Name = "Line2",
							Type = "string",
						},
						{
							Name = "Line3",
							Type = "string",
						},
						{
							Name = "Line4",
							Type = "string",
						},
						{
							Name = "Player",
							Type = "cPlayer",
							IsOptional = true,
						},
					},
					Notes = "Sets the sign text at the specified coords. The sign-updating hooks are called for the change. The Player parameter is used to indicate the player from whom the change has come, it may be nil.",
				},
				SetSpawn =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Sets the default spawn at the specified coords. Returns false if the new spawn couldn't be stored in the INI file.",
				},
				SetTicksUntilWeatherChange =
				{
					Params =
					{
						{
							Name = "NumTicks",
							Type = "number",
						},
					},
					Notes = "Sets the number of ticks after which the weather will be changed.",
				},
				SetTimeOfDay =
				{
					Params =
					{
						{
							Name = "TimeOfDayTicks",
							Type = "number",
						},
					},
					Notes = "Sets the time of day, expressed as number of ticks past sunrise, in the range 0 .. 24000.",
				},
				SetTNTShrapnelLevel =
				{
					Params =
					{
						{
							Name = "ShrapnelLevel",
							Type = "Globals#eShrapnelLevel",
						},
					},
					Notes = "Sets the Shrapnel level of the world.",
				},
				SetTrapdoorOpen =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "IsOpen",
							Type = "boolean",
						},
					},
					Notes = "Opens or closes a trapdoor at the specific coordinates.",
				},
				SetWeather =
				{
					Params =
					{
						{
							Name = "Weather",
							Type = "eWeather",
						},
					},
					Notes = "Sets the current weather (wSunny, wRain, wStorm) and resets the TicksUntilWeatherChange to the default value for the new weather. The normal weather-changing hooks are called for the change.",
				},
				ShouldBroadcastAchievementMessages =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the server should broadcast achievement messages in this world.",
				},
				ShouldBroadcastDeathMessages =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the server should broadcast death messages in this world.",
				},
				ShouldLavaSpawnFire =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the world is configured to spawn fires near lava (world.ini: [Physics].ShouldLavaSpawnFire value)",
				},
				ShouldUseChatPrefixes =
				{
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns whether coloured chat prefixes are prepended to chat messages or the entire message is simply coloured.",
				},
				SpawnBoat =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
					},
					Notes = "Spawns a boat at the specific coordinates. Returns the entity ID of the new boat, or {{cEntity#NO_ID|cEntity.NO_ID}} if no boat was created.",
				},
				SpawnExperienceOrb =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "Reward",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
					},
					Notes = "Spawns an {{cExpOrb|experience orb}} at the specified coords, with the given reward",
				},
				SpawnFallingBlock =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "BlockType",
							Type = "number",
						},
						{
							Name = "BlockMeta",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
					},
					Notes = "Spawns a {{cFallingBlock|Falling Block}} entity at the specified coords with the given block type/meta",
				},
				SpawnItemPickups =
				{
					{
						Params =
						{
							{
								Name = "Pickups",
								Type = "cItems",
							},
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
							{
								Name = "Z",
								Type = "number",
							},
							{
								Name = "FlyAwaySpeed",
								Type = "number",
								IsOptional = true,
							},
							{
								Name = "IsPlayerCreated",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Notes = "Spawns the specified pickups at the position specified. The FlyAwaySpeed is a coefficient (default: 1) used to initialize the random speed in which the pickups fly away from the spawn position. The IsPlayerCreated parameter (default: false) is used to initialize the created {{cPickup}} object's IsPlayerCreated value.",
					},
					{
						Params =
						{
							{
								Name = "Pickups",
								Type = "cItems",
							},
							{
								Name = "X",
								Type = "number",
							},
							{
								Name = "Y",
								Type = "number",
							},
							{
								Name = "Z",
								Type = "number",
							},
							{
								Name = "SpeedX",
								Type = "number",
							},
							{
								Name = "SpeedY",
								Type = "number",
							},
							{
								Name = "SpeedZ",
								Type = "number",
							},
							{
								Name = "IsPlayerCreated",
								Type = "boolean",
								IsOptional = true,
							},
						},
						Notes = "Spawns the specified pickups at the position specified. All the pickups fly away from the spawn position using the specified speed. The IsPlayerCreated parameter (default: false) is used to initialize the created {{cPickup}} object's IsPlayerCreated value.",
					},
				},
				SpawnMinecart =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "MinecartType",
							Type = "number",
						},
						{
							Name = "Item",
							Type = "cItem",
							IsOptional = true,
						},
						{
							Name = "BlockHeight",
							Type = "number",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
					},
					Notes = "Spawns a minecart at the specific coordinates. MinecartType is the item type of the minecart. If the minecart is an empty minecart then the given Item (default: empty) is the block to be displayed inside the minecart, and BlockHeight (default: 1) is the relative distance of the block from the minecart. Returns the entity ID of the new minecart, or {{cEntity#NO_ID|cEntity.NO_ID}} if no minecart was created.",
				},
				SpawnMob =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "MonsterType",
							Type = "cMonster",
						},
						{
							Name = "IsBaby",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "EntityID",
							Type = "number",
						},
					},
					Notes = "Spawns the specified type of mob at the specified coords. If the Baby parameter is true, the mob will be a baby. Returns the EntityID of the creates entity, or -1 on failure. ",
				},
				SpawnPrimedTNT =
				{
					Params =
					{
						{
							Name = "X",
							Type = "number",
						},
						{
							Name = "Y",
							Type = "number",
						},
						{
							Name = "Z",
							Type = "number",
						},
						{
							Name = "FuseTicks",
							Type = "number",
						},
						{
							Name = "InitialVelocityCoeff",
							Type = "number",
						},
					},
					Notes = "Spawns a {{cTNTEntity|primed TNT entity}} at the specified coords, with the given fuse ticks. The entity gets a random speed multiplied by the InitialVelocityCoeff, 1 being the default value.",
				},
				TryGetHeight =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "IsValid",
							Type = "boolean",
						},
						{
							Name = "Height",
							Type = "number",
						},
					},
					Notes = "Returns true and height of the highest non-air block if the chunk is loaded, or false otherwise.",
				},
				UpdateSign =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "Line1",
							Type = "string",
						},
						{
							Name = "Line2",
							Type = "string",
						},
						{
							Name = "Line3",
							Type = "string",
						},
						{
							Name = "Line4",
							Type = "string",
						},
						{
							Name = "Player",
							Type = "cPlayer",
							IsOptional = true,
						},
					},
					Notes = "(<b>DEPRECATED</b>) Please use SetSignLines().",
				},
				UseBlockEntity =
				{
					Params =
					{
						{
							Name = "Player",
							Type = "cPlayer",
						},
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Notes = "Makes the specified Player use the block entity at the specified coords (open chest UI, etc.) If the cords are in an unloaded chunk or there's no block entity, ignores the call.",
				},
				VillagersShouldHarvestCrops =
				{
					Notes = "Returns true if villagers can harvest crops.",
				},
				WakeUpSimulators =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Notes = "Wakes up the simulators for the specified block.",
				},
				WakeUpSimulatorsInArea =
				{
					Params =
					{
						{
							Name = "MinBlockX",
							Type = "number",
						},
						{
							Name = "MaxBlockX",
							Type = "number",
						},
						{
							Name = "MinBlockY",
							Type = "number",
						},
						{
							Name = "MaxBlockY",
							Type = "number",
						},
						{
							Name = "MinBlockZ",
							Type = "number",
						},
						{
							Name = "MaxBlockZ",
							Type = "number",
						},
					},
					Notes = "Wakes up the simulators for all the blocks in the specified area (edges inclusive).",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Using callbacks",
					Contents = [[
						To avoid problems with stale objects, the cWorld class will not let plugins get a direct pointer
						to an {{cEntity|entity}}, {{cBlockEntity|block entity}} or a {{cPlayer|player}}. Such an object
						could be modified or even destroyed by another thread while the plugin holds it, so it would be
						rather unsafe.</p>
						<p>
						Instead, the cWorld provides access to these objects using callbacks. The plugin provides a
						function that is called and receives the object as a parameter; cWorld guarantees that while
						the callback is executing, the object will stay valid. If a plugin needs to "remember" the
						object outside of the callback, it needs to store the entity ID, blockentity coords or player
						name.</p>
						<p>
						The following code examples show how to use the callbacks</p>
						<p>
						This code teleports player Player to another player named ToName in the same world:
<pre class="prettyprint lang-lua">
-- Player is a cPlayer object
-- ToName is a string
-- World is a cWorld object
World:ForEachPlayer(
	function (a_OtherPlayer)
	if (a_OtherPlayer:GetName() == ToName) then
		Player:TeleportToEntity(a_OtherPlayer);
	end
);
</pre></p>
						<p>
						This code fills each furnace in the chunk with 64 coals:
<pre class="prettyprint lang-lua">
-- Player is a cPlayer object
-- World is a cWorld object
World:ForEachFurnaceInChunk(Player:GetChunkX(), Player:GetChunkZ(),
	function (a_Furnace)
		a_Furnace:SetFuelSlot(cItem(E_ITEM_COAL, 64));
	end
);
</pre></p>
						<p>
						This code teleports all spiders up by 100 blocks:
<pre class="prettyprint lang-lua">
-- World is a cWorld object
World:ForEachEntity(
	function (a_Entity)
		if not(a_Entity:IsMob()) then
			return;
		end

		-- Get the cMonster out of cEntity, now that we know the entity represents one.
		local Monster = tolua.cast(a_Entity, "cMonster");
		if (Monster:GetMobType() == mtSpider) then
			Monster:TeleportToCoords(Monster:GetPosX(), Monster:GetPosY() + 100, Monster:GetPosZ());
		end
	end
);
</pre></p>
					]],
				},
			},
		},
		Globals =
		{
			Desc = [[
				These functions are available directly, without a class instance. Any plugin can call them at any
				time.
			]],
			Functions =
			{
				AddFaceDirection =
				{
					Params =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
						{
							Name = "BlockFace",
							Type = "eBlockFace",
						},
						{
							Name = "IsInverse",
							Type = "boolean",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "BlockX",
							Type = "number",
						},
						{
							Name = "BlockY",
							Type = "number",
						},
						{
							Name = "BlockZ",
							Type = "number",
						},
					},
					Notes = "Returns the coords of a block adjacent to the specified block through the specified {{Globals#BlockFaces|face}}",
				},
				BlockFaceToString =
				{
					Params =
					{
						{
							Name = "eBlockFace",
							Type = "eBlockFace",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the string representation of the {{Globals#BlockFaces|eBlockFace}} constant. Uses the axis-direction-based names, such as BLOCK_FACE_XP.",
				},
				BlockStringToType =
				{
					Params =
					{
						{
							Name = "BlockTypeString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "BLOCKTYPE",
							Type = "number",
						},
					},
					Notes = "Returns the block type parsed from the given string",
				},
				Clamp =
				{
					Params =
					{
						{
							Name = "Number",
							Type = "number",
						},
						{
							Name = "Min",
							Type = "number",
						},
						{
							Name = "Max",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Clamp the number to the specified range.",
				},
				ClickActionToString =
				{
					Params =
					{
						{
							Name = "ClickAction",
							Type = "eClickAction",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns a string description of the ClickAction enumerated value",
				},
				DamageTypeToString =
				{
					Params =
					{
						{
							Name = "DamageType",
							Type = "eDamageType",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Converts the {{Globals#eDamageType|DamageType}} to a string representation ",
				},
				EscapeString =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns a copy of the string with all quotes and backslashes escaped by a backslash",
				},
				GetChar =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
						{
							Name = "Index",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "(<b>OBSOLETE</b>, use standard Lua string.sub() instead) Returns one character from the string, specified by index. ",
				},
				GetIniItemSet =
				{
					Params =
					{
						{
							Name = "IniFile",
							Type = "cIniFile",
						},
						{
							Name = "SectionName",
							Type = "string",
						},
						{
							Name = "KeyName",
							Type = "string",
						},
						{
							Name = "DefaultValue",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "cItem",
						},
					},
					Notes = "Returns the item that has been read from the specified INI file value. If the value is not present in the INI file, the DefaultValue is stored in the file and parsed as the result. Returns empty item if the value cannot be parsed. ",
				},
				GetTime =
				{
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Returns the current OS time, as a unix time stamp (number of seconds since Jan 1, 1970)",
				},
				IsBiomeNoDownfall =
				{
					Params =
					{
						{
							Name = "Biome",
							Type = "EMCSBiome",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the biome is 'dry', that is, there is no precipitation during rains and storms.",
				},
				IsValidBlock =
				{
					Params =
					{
						{
							Name = "BlockType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if BlockType is a known block type",
				},
				IsValidItem =
				{
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if ItemType is a known item type",
				},
				ItemToFullString =
				{
					Params =
					{
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the string representation of the item, in the format 'ItemTypeText:ItemDamage * Count'",
				},
				ItemToString =
				{
					Params =
					{
						{
							Name = "cItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the string representation of the item type",
				},
				ItemTypeToString =
				{
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns the string representation of ItemType ",
				},
				LOG =
				{
					{
						Params =
						{
							{
								Name = "Message",
								Type = "string",
							},
						},
						Notes = "Logs a text into the server console and logfile using 'normal' severity (gray text)",
					},
					{
						Params =
						{
							{
								Name = "Message",
								Type = "cCompositeChat",
							},
						},
						Notes = "Logs the {{cCompositeChat}}'s human-readable text into the server console. The severity is converted from the CompositeChat's MessageType.",
					},
				},
				LOGERROR =
				{
					{
						Params =
						{
							{
								Name = "Message",
								Type = "string",
							},
						},
						Notes = "Logs a text into the server console and logfile using 'error' severity (black text on red background)",
					},
					{
						Params =
						{
							{
								Name = "Message",
								Type = "cCompositeChat",
							},
						},
						Notes = "Logs the {{cCompositeChat}}'s human-readable text into the server console and logfile using 'error' severity (black text on red background)",
					},
				},
				LOGINFO =
				{
					{
						Params =
						{
							{
								Name = "Message",
								Type = "string",
							},
						},
						Notes = "Logs a text into the server console and logfile using 'info' severity (yellow text)",
					},
					{
						Params =
						{
							{
								Name = "Message",
								Type = "cCompositeChat",
							},
						},
						Notes = "Logs the {{cCompositeChat}}'s human-readable text into the server console and logfile using 'info' severity (yellow text)",
					},
				},
				LOGWARN =
				{
					{
						Params =
						{
							{
								Name = "Message",
								Type = "string",
							},
						},
						Notes = "Logs a text into the server console and logfile using 'warning' severity (red text); OBSOLETE, use LOGWARNING() instead",
					},
					{
						Params =
						{
							{
								Name = "Message",
								Type = "cCompositeChat",
							},
						},
						Notes = "Logs the {{cCompositeChat}}'s human-readable text into the server console and logfile using 'warning' severity (red text); OBSOLETE, use LOGWARNING() instead",
					},
				},
				LOGWARNING =
				{
					{
						Params =
						{
							{
								Name = "Message",
								Type = "string",
							},
						},
						Notes = "Logs a text into the server console and logfile using 'warning' severity (red text)",
					},
					{
						Params =
						{
							{
								Name = "Message",
								Type = "cCompositeChat",
							},
						},
						Notes = "Logs the {{cCompositeChat}}'s human-readable text into the server console and logfile using 'warning' severity (red text)",
					},
				},
				md5 =
				{
					Params =
					{
						{
							Name = "Data",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "<b>OBSOLETE</b>, use the {{cCryptoHash}} functions instead.<br>Converts a string to a raw binary md5 hash.",
				},
				MirrorBlockFaceY =
				{
					Params =
					{
						{
							Name = "eBlockFace",
							Type = "eBlockFace",
						},
					},
					Returns =
					{
						{
							Type = "eBlockFace",
						},
					},
					Notes = "Returns the {{Globals#BlockFaces|eBlockFace}} that corresponds to the given {{Globals#BlockFaces|eBlockFace}} after mirroring it around the Y axis (or rotating 180 degrees around it).",
				},
				NoCaseCompare =
				{
					Params =
					{
						{
							Name = "Value1",
							Type = "string",
						},
						{
							Name = "Value2",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "number",
						},
					},
					Notes = "Case-insensitive string comparison; returns 0 if the strings are the same, -1 if Value1 is smaller and 1 if Value2 is smaller",
				},
				NormalizeAngleDegrees =
				{
					Params =
					{
						{
							Name = "AngleDegrees",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Name = "AngleDegrees",
							Type = "number",
						},
					},
					Notes = "Returns the angle, wrapped into the [-180, +180) range.",
				},
				ReplaceString =
				{
					Params =
					{
						{
							Name = "full-string",
							Type = "string",
						},
						{
							Name = "to-be-replaced-string",
							Type = "string",
						},
						{
							Name = "to-replace-string",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Replaces *each* occurence of to-be-replaced-string in full-string with to-replace-string",
				},
				RotateBlockFaceCCW =
				{
					Params =
					{
						{
							Name = "eBlockFace",
							Type = "eBlockFace",
						},
					},
					Returns =
					{
						{
							Type = "eBlockFace",
						},
					},
					Notes = "Returns the {{Globals#BlockFaces|eBlockFace}} that corresponds to the given {{Globals#BlockFaces|eBlockFace}} after rotating it around the Y axis 90 degrees counter-clockwise.",
				},
				RotateBlockFaceCW =
				{
					Params =
					{
						{
							Name = "eBlockFace",
							Type = "eBlockFace",
						},
					},
					Returns =
					{
						{
							Type = "eBlockFace",
						},
					},
					Notes = "Returns the {{Globals#BlockFaces|eBlockFace}} that corresponds to the given {{Globals#BlockFaces|eBlockFace}} after rotating it around the Y axis 90 degrees clockwise.",
				},
				StringSplit =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
						{
							Name = "SeperatorsString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Seperates string into multiple by splitting every time any of the characters in SeperatorsString is encountered. Returns and array-table of strings.",
				},
				StringSplitAndTrim =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
						{
							Name = "SeperatorsString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Seperates string into multiple by splitting every time any of the characters in SeperatorsString is encountered. Each of the separate strings is trimmed (whitespace removed from the beginning and end of the string). Returns an array-table of strings.",
				},
				StringSplitWithQuotes =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
						{
							Name = "SeperatorsString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "table",
						},
					},
					Notes = "Seperates string into multiple by splitting every time any of the characters in SeperatorsString is encountered. Whitespace wrapped with single or double quotes will be ignored. Returns an array-table of strings.",
				},
				StringToBiome =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "BiomeType",
							Type = "Globals#EMCSBiome",
						},
					},
					Notes = "Converts a string representation to a {{Globals#BiomeTypes|BiomeType}} enumerated value. Returns biInvalidBiome if the input is not a recognized biome.",
				},
				StringToDamageType =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "DamageType",
							Type = "Globals#eDamageType",
						},
					},
					Notes = "Converts a string representation to a {{Globals#DamageType|DamageType}} enumerated value. Returns -1 if the inupt is not a recognized damage type.",
				},
				StringToDimension =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "Dimension",
							Type = "Globals#eDimension",
						},
					},
					Notes = "Converts a string representation to a {{Globals#eDimension|eDimension}} enumerated value. Returns dimNotSet if the input is not a recognized dimension.",
				},
				StringToItem =
				{
					Params =
					{
						{
							Name = "StringToParse",
							Type = "string",
						},
						{
							Name = "DestItem",
							Type = "cItem",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Parses the item specification in the given string and sets it into DestItem; returns true if successful",
				},
				StringToMobType =
				{
					Params =
					{
						{
							Name = "MobTypeString",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "MobType",
							Type = "eMonsterType",
						},
					},
					Notes = "(<b>DEPRECATED!</b>) Please use cMonster:StringToMobType(). Converts a string representation to an {{Globals#eMonsterType|eMonsterType}} enumerated value",
				},
				StripColorCodes =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Removes all control codes used by MC for colors and styles",
				},
				TrimString =
				{
					Params =
					{
						{
							Name = "Input",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Removes whitespace at both ends of the string",
				},
			},
			Constants =
			{
				BLOCK_FACE_BOTTOM =
				{
					Notes = "Please use BLOCK_FACE_YM instead. Interacting with the bottom face of the block.",
				},
				BLOCK_FACE_EAST =
				{
					Notes = "Please use BLOCK_FACE_XM instead. Interacting with the eastern face of the block.",
				},
				BLOCK_FACE_MAX =
				{
					Notes = "Used for range checking - highest legal value for an {{Globals#eBlockFace|eBlockFace}}",
				},
				BLOCK_FACE_MIN =
				{
					Notes = "Used for range checking - lowest legal value for an {{Globals#eBlockFace|eBlockFace}}",
				},
				BLOCK_FACE_NONE =
				{
					Notes = "Interacting with no block face - swinging the item in the air",
				},
				BLOCK_FACE_NORTH =
				{
					Notes = "Please use BLOCK_FACE_ZM instead. Interacting with the northern face of the block.",
				},
				BLOCK_FACE_SOUTH =
				{
					Notes = "Please use BLOCK_FACE_ZP instead. Interacting with the southern face of the block.",
				},
				BLOCK_FACE_TOP =
				{
					Notes = "Please use BLOCK_FACE_YP instead. Interacting with the top face of the block.",
				},
				BLOCK_FACE_WEST =
				{
					Notes = "Please use BLOCK_FACE_XP instead. Interacting with the western face of the block.",
				},
				BLOCK_FACE_XM =
				{
					Notes = "Interacting with the X- face of the block",
				},
				BLOCK_FACE_XP =
				{
					Notes = "Interacting with the X+ face of the block",
				},
				BLOCK_FACE_YM =
				{
					Notes = "Interacting with the Y- face of the block",
				},
				BLOCK_FACE_YP =
				{
					Notes = "Interacting with the Y+ face of the block",
				},
				BLOCK_FACE_ZM =
				{
					Notes = "Interacting with the Z- face of the block",
				},
				BLOCK_FACE_ZP =
				{
					Notes = "Interacting with the Z+ face of the block",
				},
				DIG_STATUS_CANCELLED =
				{
					Notes = "The player has let go of the mine block key before finishing mining the block",
				},
				DIG_STATUS_DROP_HELD =
				{
					Notes = "The player has dropped a single item using the Drop Item key (default: Q)",
				},
				DIG_STATUS_DROP_STACK =
				{
					Notes = "The player has dropped a full stack of items using the Drop Item key (default: Q) while holding down a specific modifier key (in windows, control)",
				},
				DIG_STATUS_FINISHED =
				{
					Notes = "The player thinks that it has finished mining a block",
				},
				DIG_STATUS_SHOOT_EAT =
				{
					Notes = "The player has finished shooting a bow or finished eating",
				},
				DIG_STATUS_STARTED =
				{
					Notes = "The player has started digging",
				},
				DIG_STATUS_SWAP_ITEM_IN_HAND =
				{
					Notes = "The player has swapped their held item with the item in their offhand slot (1.9)",
				},
				E_META_DROPSPENSER_ACTIVATED =
				{
					Notes = "A flag in the metadata of droppers and dispensers that indicates that the dropper or dispenser is currently activated. If this flag is set, the block must be unpowered first and powered again to shoot the next item.",
				},
				E_META_DROPSPENSER_FACING_MASK =
				{
					Notes = "A mask that indicates the bits of the metadata that specify the facing of droppers and dispensers.",
				},
				E_META_DROPSPENSER_FACING_XM =
				{
					Notes = "A flag in the metadata of droppers and dispensers that indicates that the dropper or dispenser is looking in the negative X direction.",
				},
				E_META_DROPSPENSER_FACING_XP =
				{
					Notes = "A flag in the metadata of droppers and dispensers that indicates that the dropper or dispenser is looking in the positive X direction.",
				},
				E_META_DROPSPENSER_FACING_YM =
				{
					Notes = "A flag in the metadata of droppers and dispensers that indicates that the dropper or dispenser is looking in the negative Y direction.",
				},
				E_META_DROPSPENSER_FACING_YP =
				{
					Notes = "A flag in the metadata of droppers and dispensers that indicates that the dropper or dispenser is looking in the positive Y direction.",
				},
				E_META_DROPSPENSER_FACING_ZM =
				{
					Notes = "A flag in the metadata of droppers and dispensers that indicates that the dropper or dispenser is looking in the negative Z direction.",
				},
				E_META_DROPSPENSER_FACING_ZP =
				{
					Notes = "A flag in the metadata of droppers and dispensers that indicates that the dropper or dispenser is looking in the positive Z direction.",
				},
				esBed =
				{
					Notes = "A bed explosion. The SourceData param is the {{Vector3i|position}} of the bed.",
				},
				esEnderCrystal =
				{
					Notes = "An ender crystal entity explosion. The SourceData param is the {{cEntity|ender crystal entity}} object.",
				},
				esGhastFireball =
				{
					Notes = "A ghast fireball explosion. The SourceData param is the {{cGhastFireballEntity|ghast fireball entity}} object.",
				},
				esMonster =
				{
					Notes = "A monster explosion (creeper). The SourceData param is the {{cMonster|monster entity}} object.",
				},
				esOther =
				{
					Notes = "Any other explosion. The SourceData param is unused.",
				},
				esPlugin =
				{
					Notes = "An explosion started by a plugin, without any further information. The SourceData param is unused. ",
				},
				esPrimedTNT =
				{
					Notes = "A TNT explosion. The SourceData param is the {{cTNTEntity|TNT entity}} object.",
				},
				esWitherBirth =
				{
					Notes = "An explosion at a wither's birth. The SourceData param is the {{cMonster|wither entity}} object.",
				},
				esWitherSkull =
				{
					Notes = "A wither skull explosion. The SourceData param is the {{cWitherSkullEntity|wither skull entity}} object.",
				},
				mtCustom =
				{
					Notes = "Send raw data without any processing",
				},
				mtDeath =
				{
					Notes = "Denotes death of player",
				},
				mtError =
				{
					Notes = "Something could not be done (i.e. command not executed due to insufficient privilege)",
				},
				mtFail =
				{
					Notes = "Something could not be done (i.e. command not executed due to insufficient privilege)",
				},
				mtFailure =
				{
					Notes = "Something could not be done (i.e. command not executed due to insufficient privilege)",
				},
				mtFatal =
				{
					Notes = "Something catastrophic occured (i.e. plugin crash)",
				},
				mtInfo =
				{
					Notes = "Informational message (i.e. command usage)",
				},
				mtInformation =
				{
					Notes = "Informational message (i.e. command usage)",
				},
				mtJoin =
				{
					Notes = "A player has joined the server",
				},
				mtLeave =
				{
					Notes = "A player has left the server",
				},
				mtMaxPlusOne =
				{
					Notes = "The first invalid type, used for checking on LuaAPI boundaries",
				},
				mtPM =
				{
					Notes = "Player to player messaging identifier",
				},
				mtPrivateMessage =
				{
					Notes = "Player to player messaging identifier",
				},
				mtSuccess =
				{
					Notes = "Something executed successfully",
				},
				mtWarning =
				{
					Notes = "Something concerning (i.e. reload) is about to happen",
				},
			},
			ConstantGroups =
			{
				eBlockFace =
				{
					Include = "^BLOCK_FACE_.*",
					TextBefore = [[
						These constants are used to describe individual faces of the block. They are used when the
						client is interacting with a block in the {{OnPlayerBreakingBlock|HOOK_PLAYER_BREAKING_BLOCK}},
						{{OnPlayerBrokenBlock|HOOK_PLAYER_BROKEN_BLOCK}}, {{OnPlayerLeftClick|HOOK_PLAYER_LEFT_CLICK}},
						{{OnPlayerPlacedBlock|HOOK_PLAYER_PLACED_BLOCK}}, {{OnPlayerPlacingBlock|HOOK_PLAYER_PLACING_BLOCK}},
						{{OnPlayerRightClick|HOOK_PLAYER_RIGHT_CLICK}}, {{OnPlayerUsedBlock|HOOK_PLAYER_USED_BLOCK}},
						{{OnPlayerUsedItem|HOOK_PLAYER_USED_ITEM}}, {{OnPlayerUsingBlock|HOOK_PLAYER_USING_BLOCK}},
						and {{OnPlayerUsingItem|HOOK_PLAYER_USING_ITEM}} hooks, or when the {{cLineBlockTracer}} hits a
						block, etc.
					]],
				},
				eBlockType =
				{
					Include = "^E_BLOCK_.*",
					TextBefore = [[
						These constants are used for block types. They correspond directly with MineCraft's data values
						for blocks.
					]],
				},
				eClickAction =
				{
					Include = "^ca.*",
					TextBefore = [[
						These constants are used to signalize various interactions that the user can do with the
						{{cWindow|UI windows}}. The server translates the protocol events into these constants. Note
						that there is a global ClickActionToString() function that can translate these constants into
						their textual representation.
					]],
				},
				eDamageType =
				{
					Include = "^dt.*",
					TextBefore = [[
						These constants are used for specifying the cause of damage to entities. They are used in the
						{{TakeDamageInfo}} structure, as well as in {{cEntity}}'s damage-related API functions.
					]],
				},
				DigStatuses =
				{
					Include = "^DIG_STATUS_.*",
					TextBefore = [[
						These constants are used to describe digging statuses, but in reality cover several more cases.
						They are used with {{OnPlayerLeftClick|HOOK_PLAYER_LEFT_CLICK}}.
					]],
				},
				eDimension =
				{
					Include = "^dim.*",
					TextBefore = [[
						These constants represent dimension of a world. In Cuberite, the dimension is only reflected in
						the world's overall tint - overworld gets sky-like colors and dark shades, the nether gets
						reddish haze and the end gets dark haze. World generator is not directly affected by the
						dimension, same as fluid simulators; those only default to the expected values if not set
						specifically otherwise in the world.ini file.
					]],
				},
				eExplosionSource =
				{
					Include = "^es.*",
					TextBefore = [[
						These constants are used to differentiate the various sources of explosions. They are used in
						the {{OnExploded|HOOK_EXPLODED}} hook, {{OnExploding|HOOK_EXPLODING}} hook and in the
						{{cWorld}}:DoExplosionAt() function. These constants also dictate the type of the additional
						data provided with the explosions, such as the exploding creeper {{cEntity|entity}} or the
						{{Vector3i|coords}} of the exploding bed.
					]],
				},
				eGameMode =
				{
					Include =
					{
						"^gm.*",
						"^eGameMode_.*",
					},
					TextBefore = [[
						The following constants are used for the gamemode - survival, creative or adventure. Use the
						gmXXX constants, the eGameMode_ constants are deprecated and will be removed from the API.
					]],
				},
				EMCSBiome =
				{
					Include = "^bi.*",
					TextBefore = [[
						These constants represent the biomes that the server understands. Note that there is a global
						StringToBiome() function that can convert a string into one of these constants.
					]],
				},
				eMessageType =
				{
					-- Need to be specified explicitly, because there's also eMonsterType using the same "mt" prefix
					Include =
					{
						"mtCustom",
						"mtDeath",
						"mtError",
						"mtFail",
						"mtFailure",
						"mtFatal",
						"mtInfo",
						"mtInformation",
						"mtJoin",
						"mtLeave",
						"mtMaxPlusOne",
						"mtPrivateMessage",
						"mtPM",
						"mtSuccess",
						"mtWarning",
					},
					TextBefore = [[
						These constants are used together with messaging functions and classes, they specify the type of
						message being sent. The server can be configured to modify the message text (add prefixes) based
						on the message's type.
					]],
				},
				eMobHeadType =
				{
					Include = "SKULL_TYPE_.*",
				},
				eMobHeadRotation =
				{
					Include = "SKULL_ROTATION_.*",
				},
				eMonsterType =
				{
					Include =
					{
						"mtInvalidType",
						"mtBat",
						"mtBlaze",
						"mtCaveSpider",
						"mtChicken",
						"mtCow",
						"mtCreeper",
						"mtEnderDragon",
						"mtEnderman",
						"mtGhast",
						"mtGiant",
						"mtGuardian",
						"mtHorse",
						"mtIronGolem",
						"mtMagmaCube",
						"mtMooshroom",
						"mtOcelot",
						"mtPig",
						"mtRabbit",
						"mtSheep",
						"mtSilverfish",
						"mtSkeleton",
						"mtSlime",
						"mtSnowGolem",
						"mtSpider",
						"mtSquid",
						"mtVillager",
						"mtWitch",
						"mtWither",
						"mtWolf",
						"mtZombie",
						"mtZombiePigman",
						"mtMax",
					},
					TextBefore = [[
						The following constants are used for distinguishing between the individual mob types:
					]],
				},
				eShrapnelLevel =
				{
					Include = "^sl.*",
					TextBefore = [[
						The following constants define the block types that are propelled outwards after an explosion.
					]],
				},
				eSpreadSource =
				{
					Include = "^ss.*",
					TextBefore = [[
						These constants are used to differentiate the various sources of spreads, such as grass growing.
						They are used in the {{OnBlockSpread|HOOK_BLOCK_SPREAD}} hook.
					]],
				},
				eWeather =
				{
					Include =
					{
						"^eWeather_.*",
						"wSunny",
						"wRain",
						"wStorm",
						"wThunderstorm",
					},
					TextBefore = [[
						These constants represent the weather in the world. Note that unlike vanilla, Cuberite allows
						different weathers even in non-overworld {{Globals#eDimension|dimensions}}.
					]],
				},
				ItemTypes =
				{
					Include = "^E_ITEM_.*",
					TextBefore = [[
						These constants are used for item types. They correspond directly with MineCraft's data values
						for items.
					]],
				},
				MetaValues =
				{
					Include = "^E_META_.*",
				},
			},
		},
		ItemCategory =
		{
			Desc = [[
				This class contains static functions for determining item categories. All of the functions are
				called directly on the class table, unlike most other object, which require an instance first.
			]],
			Functions =
			{
				IsArmor =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of an armor.",
				},
				IsAxe =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of an axe.",
				},
				IsBoots =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of boots.",
				},
				IsChestPlate =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a chestplate.",
				},
				IsHelmet =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a helmet.",
				},
				IsHoe =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a hoe.",
				},
				IsLeggings =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a leggings.",
				},
				IsMinecart =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a minecart.",
				},
				IsPickaxe =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a pickaxe.",
				},
				IsShovel =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a shovel.",
				},
				IsSword =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a sword.",
				},
				IsTool =
				{
					IsStatic = true,
					Params =
					{
						{
							Name = "ItemType",
							Type = "number",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the specified item type is any kind of a tool (axe, hoe, pickaxe, shovel or FIXME: sword)",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Code example",
					Contents = [[
						The following code snippet checks if the player holds a shovel.
<pre class="prettyprint lang-lua">
-- a_Player is a {{cPlayer}} object, possibly received as a hook param
local HeldItem = a_Player:GetEquippedItem()
if (ItemCategory.IsShovel(HeldItem.m_ItemType)) then
	-- It's a shovel
end
</pre>
					]],
				},
			},
		},
		lxp =
		{
			Desc = [[
				This class provides an interface to the XML parser,
				{{http://matthewwild.co.uk/projects/luaexpat/|LuaExpat}}. It provides a SAX interface with an
				incremental XML parser.</p>
				<p>
				With an event-based API like SAX the XML document can be fed to the parser in chunks, and the
				parsing begins as soon as the parser receives the first document chunk. LuaExpat reports parsing
				events (such as the start and end of elements) directly to the application through callbacks. The
				parsing of huge documents can benefit from this piecemeal operation.</p>
				<p>
				See the online
				{{http://matthewwild.co.uk/projects/luaexpat/manual.html#parser|LuaExpat documentation}} for details
				on how to work with this parser. The code examples below should provide some basic help, too.
			]],
			Functions =
			{
				new =
				{
					Params =
					{
						{
							Name = "CallbacksTable",
							Type = "table",
						},
						{
							Name = "SeparatorChar",
							Type = "string",
							IsOptional = true,
						},
					},
					Returns =
					{
						{
							Name = "XMLParser object",
							Type = "table",
						},
					},
					Notes = "Creates a new XML parser object, with the specified callbacks table and optional separator character.",
				},
			},
			Constants =
			{
				_COPYRIGHT =
				{
					Notes = "",
				},
				_DESCRIPTION =
				{
					Notes = "",
				},
				_VERSION =
				{
					Notes = "",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "Parser callbacks",
					Contents = [[
						The callbacks table passed to the new() function specifies the Lua functions that the parser
						calls upon various events. The following table lists the most common functions used, for a
						complete list see the online
						{{http://matthewwild.co.uk/projects/luaexpat/manual.html#parser|LuaExpat documentation}}.</p>
						<table>
						<tr><th>Function name</th><th>Parameters</th><th>Notes</th></tr>
						<tr><td>CharacterData</td><td>Parser, string</td><td>Called when the parser recognizes a raw string inside the element</td></tr>
						<tr><td>EndElement</td><td>Parser, ElementName</td><td>Called when the parser detects the ending of an XML element</td></tr>
						<tr><td>StartElement</td><td>Parser, ElementName, AttributesTable</td><td>Called when the parser detects the start of an XML element. The AttributesTable is a Lua table containing all the element's attributes, both in the array section (in the order received) and in the dictionary section.</td></tr>
						</table>
					]],
				},
				{
					Header = "XMLParser object",
					Contents = [[
						The XMLParser object returned by lxp.new provides the functions needed to parse the XML. The
						following list provides the most commonly used ones, for a complete list see the online
						{{http://matthewwild.co.uk/projects/luaexpat/manual.html#parser|LuaExpat documentation}}.
						<ul>
							<li>close() - closes the parser, freeing all memory used by it.</li>
							<li>getCallbacks() - returns the callbacks table for this parser.</li>
							<li>parse(string) - parses more document data. the string contains the next part (or possibly all) of the document. Returns non-nil for success or nil, msg, line, col, pos for error.</li>
							<li>stop() - aborts parsing (can be called from within the parser callbacks).</li>
						</ul>
					]],
				},
				{
					Header = "Code example",
					Contents = [[
						The following code reads an entire XML file and outputs its logical structure into the console:
<pre class="prettyprint lang-lua">
local Depth = 0;

-- Define the callbacks:
local Callbacks = {
	CharacterData = function(a_Parser, a_String)
		LOG(string.rep(" ", Depth) .. "* " .. a_String);
	end

	EndElement = function(a_Parser, a_ElementName)
		Depth = Depth - 1;
		LOG(string.rep(" ", Depth) .. "- " .. a_ElementName);
	end

	StartElement = function(a_Parser, a_ElementName, a_Attribs)
		LOG(string.rep(" ", Depth) .. "+ " .. a_ElementName);
		Depth = Depth + 1;
	end
}

-- Create the parser:
local Parser = lxp.new(Callbacks);

-- Parse the XML file:
local f = io.open("file.xml", "rb");
while (true) do
	local block = f:read(128 * 1024);  -- Use a 128KiB buffer for reading
	if (block == nil) then
		-- End of file
		break;
	end
	Parser:parse(block);
end

-- Signalize to the parser that no more data is coming
Parser:parse();

-- Close the parser:
Parser:close();
</pre>
					]],
				},
			},
		},
		sqlite3 =
		{
			Desc = [[
			]],
			Functions =
			{
				complete =
				{
					IsStatic = true,
					IsGlobal = true,  -- Emulate a global function without a self parameter - this is called with a dot convention
					Params =
					{
						{
							Name = "SQL",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Type = "boolean",
						},
					},
					Notes = "Returns true if the input string comprises one or more complete SQL statements.",
				},
				open =
				{
					IsStatic = true,
					IsGlobal = true,  -- Emulate a global function without a self parameter - this is called with a dot convention
					Params =
					{
						{
							Name = "FileName",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "DBClass",
							Type = "SQLite DB object",
						},
					},
					Notes = [[
					Opens (or creates if it does not exist) an SQLite database with name filename and returns its
					handle (the returned object should be used for all further method calls in connection
					with this specific database, see
					{{http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki#database_methods|Database methods}}).
					Example:
<pre class="prettyprint lang-lua">
-- open the database:
myDB = sqlite3.open('MyDatabaseFile.sqlite3')

-- do some database calls...

-- Close the database:
myDB:close()
</pre>
				]],
				},
				open_memory =
				{
					IsStatic = true,
					IsGlobal = true,  -- Emulate a global function without a self parameter - this is called with a dot convention
					Returns =
					{
						{
							Name = "DBClass",
							Type = "SQLite DB object",
						},
					},
					Notes = "Opens an SQLite database in memory and returns its handle. In case of an error, the function returns nil, an error code and an error message. (In-memory databases are volatile as they are never stored on disk.)",
				},
				version =
				{
					IsStatic = true,
					IsGlobal = true,  -- Emulate a global function without a self parameter - this is called with a dot convention
					Returns =
					{
						{
							Type = "string",
						},
					},
					Notes = "Returns a string with SQLite version information, in the form 'x.y[.z]'.",
				},
			},
		},
		TakeDamageInfo =
		{
			Desc = [[
				This class contains the amount of damage, and the entity that caused the damage. It is used in the
				{{OnTakeDamage|HOOK_TAKE_DAMAGE}} hook and in the {{cEntity}}'s TakeDamage() function.
			]],
			Variables =
			{
				Attacker =
				{
					Type = "{{cEntity}}",
					Notes = "The entity who is attacking. Only valid if dtAttack.",
				},
				DamageType =
				{
					Type = "eDamageType",
					Notes = "Source of the damage. One of the dtXXX constants.",
				},
				FinalDamage =
				{
					Type = "number",
					Notes = "The final amount of damage that will be applied to the Receiver. It is the RawDamage minus any Receiver's armor-protection.",
				},
				Knockback =
				{
					Type = "{{Vector3d}}",
					Notes = "Vector specifying the amount and direction of knockback that will be applied to the Receiver ",
				},
				RawDamage =
				{
					Type = "number",
					Notes = "Amount of damage that the attack produces on the Receiver, including the Attacker's equipped weapon, but excluding the Receiver's armor.",
				},
			},
			AdditionalInfo =
			{
				{
					Header = "",
					Contents = [[
						The TDI is passed as the second parameter in the HOOK_TAKE_DAMAGE hook, and can be used to
						modify the damage before it is applied to the receiver:
<pre class="prettyprint lang-lua">
function OnTakeDamage(Receiver, TDI)
	LOG("Damage: Raw ".. TDI.RawDamage .. ", Final:" .. TDI.FinalDamage);

	-- If the attacker is a spider, make it deal 999 points of damage (insta-death spiders):
	if ((TDI.Attacker ~= nil) and TDI.Attacker:IsA("cSpider")) then
		TDI.FinalDamage = 999;
	end
end
</pre>
					]],
				},
			},
		},
		tolua =
		{
			Desc = [[
				This class represents the tolua bridge between the Lua API and Cuberite. It supports some low
				level operations and queries on the objects. See also the tolua++'s documentation at
				{{http://www.codenix.com/~tolua/tolua++.html#utilities}}. Normally you shouldn't use any of these
				functions except for type()
			]],
			Functions =
			{
				cast =
				{
					IsStatic = true,
					IsGlobal = true,  -- Emulate a global function without a self parameter - this is called with a dot convention
					Params =
					{
						{
							Name = "Object",
							Type = "any",
						},
						{
							Name = "TypeStr",
							Type = "string",
						},
					},
					Returns =
					{
						{
							Name = "Object",
							Type = "any",
						},
					},
					Notes = "Casts the object to the specified type.<br/><b>Note:</b> This is a potentially unsafe operation and it could crash the server. There is normally no need to use this function at all, so don't use it unless you know exactly what you're doing.",
				},
				getpeer =
				{
					Notes = "",
				},
				inherit =
				{
					Notes = "",
				},
				releaseownership =
				{
					Notes = "",
				},
				setpeer =
				{
					Notes = "",
				},
				takeownership =
				{
					Notes = "",
				},
				type =
				{
					IsStatic = true,
					IsGlobal = true,  -- Emulate a global function without a self parameter - this is called with a dot convention
					Params =
					{
						{
							Name = "Object",
							Type = "any",
						},
					},
					Returns =
					{
						{
							Name = "TypeStr",
							Type = "string",
						},
					},
					Notes = "Returns a string representing the type of the object. This works similar to Lua's built-in type() function, but recognizes the underlying C++ classes, too.",
				},
			},
		},
	},
	ExtraPages =
	{
		{
			FileName = "Writing-a-Cuberite-plugin.html",
			Title = "Writing a Cuberite plugin",
		},
		{
			FileName = "InfoFile.html",
			Title = "Using the Info.lua file",
		},
		{
			FileName = "SettingUpDecoda.html",
			Title = "Setting up the Decoda Lua IDE",
		},
		{
			FileName = "SettingUpZeroBrane.html",
			Title = "Setting up the ZeroBrane Studio Lua IDE",
		},
		{
			FileName = "UsingChunkStays.html",
			Title = "Using ChunkStays",
		},
		{
			FileName = "WebWorldThreads.html",
			Title = "Webserver vs World threads",
		},
	},
	IgnoreClasses =
	{
		"^coroutine$",
		"^g_TrackedPages$",
		"^debug$",
		"^io$",
		"^math$",
		"^package$",
		"^os$",
		"^string$",
		"^table$",
		"^g_Stats$",
	},
	IgnoreFunctions =
	{
		"Globals.assert",
		"%a+%.delete",
		"CreateAPITables",
		"DumpAPIHtml",
		"DumpAPITxt",
		"Initialize",
		"LinkifyString",
		"ListMissingPages",
		"ListUndocumentedObjects",
		"ListUnexportedObjects",
		"LoadAPIFiles",
		"Globals.collectgarbage",
		"ReadDescriptions",
		"ReadHooks",
		"WriteHtmlClass",
		"WriteHtmlHook",
		"WriteStats",
		"Globals.xpcall",
		"Globals.decoda_output",
		"sqlite3.__newindex",
		"%a+%.__%a+",
		"%a+%.%.collector",
		"%a+%.new",
		"%a+%.new_local",
	},
	IgnoreConstants =
	{
		"cChestEntity.__cBlockEntityWindowOwner__",
		"cDropSpenserEntity.__cBlockEntityWindowOwner__",
		"cFurnaceEntity.__cBlockEntityWindowOwner__",
		"cHopperEntity.__cBlockEntityWindowOwner__",
		"cLuaWindow.__cItemGrid__cListener__",
		"Globals._CuberiteInternal_.*",
		"Globals.esMax",
	},
	IgnoreVariables =
	{
		"__.*__",
	},
}