forked from Valandur/webapi-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathitem_stack.py
More file actions
5301 lines (3899 loc) · 144 KB
/
item_stack.py
File metadata and controls
5301 lines (3899 loc) · 144 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# coding: utf-8
"""
Web-API
Access Sponge powered Minecraft servers through a WebAPI # Introduction This is the documentation of the various API routes offered by the WebAPI plugin. This documentation assumes that you are familiar with the basic concepts of Web API's, such as `GET`, `PUT`, `POST` and `DELETE` methods, request `HEADERS` and `RESPONSE CODES` and `JSON` data. By default this documentation can be found at http:/localhost:8080 (while your minecraft server is running) and the various routes start with http:/localhost:8080/api/v5... As a quick test try reaching the route http:/localhost:8080/api/v5/info (remember that you can only access \\\"localhost\\\" routes on the server on which you are running minecraft). This route should show you basic information about your server, like the motd and player count. # List endpoints Lots of objects offer an endpoint to list all objects (e.g. `GET: /world` to get all worlds). These endpoints return only the properties marked 'required' by default, because the list might be quite large. If you want to return ALL data for a list endpoint add the query parameter `details`, (e.g. `GET: /world?details`). > Remember that in this case the data returned by the endpoint might be quite large. # Debugging endpoints Apart from the `?details` flag you can also pass some other flags for debugging purposes. Remember that you must include the first query parameter with `?`, and further ones with `&`: `details`: Includes details for list endpoints `accept=[json/xml]`: Manually set the accept content type. This is good for browser testing, **BUT DON'T USE THIS IN PRODUCTION, YOU CAN SUPPLY THE `Accepts` HEADER FOR THAT** `pretty`: Pretty prints the data, also good for debugging in the browser. An example request might look like this: `http://localhost:8080/api/v5/world?details&accpet=json&pretty&key=MY-API-KEY` # Additional data Certain endpoints (such as `/player`, `/entity` and `/tile-entity` have additional properties which are not documented here, because the data depends on the concrete object type (eg. `Sheep` have a wool color, others do not) and on the other plugins/mods that are running on your server which might add additional data. You can also find more information in the github docs (https:/github.com/Valandur/Web-API/tree/master/docs/DATA.md) # noqa: E501
OpenAPI spec version: @version@
Contact: inithilian@gmail.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
from swagger_client.models.accepts_items import AcceptsItems # noqa: F401,E501
from swagger_client.models.ageable_data import AgeableData # noqa: F401,E501
from swagger_client.models.armor_slot_type import ArmorSlotType # noqa: F401,E501
from swagger_client.models.armor_stand_data import ArmorStandData # noqa: F401,E501
from swagger_client.models.banner_data import BannerData # noqa: F401,E501
from swagger_client.models.beacon_data import BeaconData # noqa: F401,E501
from swagger_client.models.block_state import BlockState # noqa: F401,E501
from swagger_client.models.breathing_data import BreathingData # noqa: F401,E501
from swagger_client.models.brewing_stand_data import BrewingStandData # noqa: F401,E501
from swagger_client.models.career import Career # noqa: F401,E501
from swagger_client.models.catalog_type import CatalogType # noqa: F401,E501
from swagger_client.models.color import Color # noqa: F401,E501
from swagger_client.models.command_data import CommandData # noqa: F401,E501
from swagger_client.models.damageable_data import DamageableData # noqa: F401,E501
from swagger_client.models.despawn_delay_data import DespawnDelayData # noqa: F401,E501
from swagger_client.models.durability_data import DurabilityData # noqa: F401,E501
from swagger_client.models.dye_color import DyeColor # noqa: F401,E501
from swagger_client.models.enchantment import Enchantment # noqa: F401,E501
from swagger_client.models.end_gateway_data import EndGatewayData # noqa: F401,E501
from swagger_client.models.equipment_slot_type import EquipmentSlotType # noqa: F401,E501
from swagger_client.models.experience_holder_data import ExperienceHolderData # noqa: F401,E501
from swagger_client.models.falling_block_data import FallingBlockData # noqa: F401,E501
from swagger_client.models.firework_effect import FireworkEffect # noqa: F401,E501
from swagger_client.models.firework_rocket_data import FireworkRocketData # noqa: F401,E501
from swagger_client.models.fluid_stack import FluidStack # noqa: F401,E501
from swagger_client.models.food_data import FoodData # noqa: F401,E501
from swagger_client.models.furnace_data import FurnaceData # noqa: F401,E501
from swagger_client.models.fuse_data import FuseData # noqa: F401,E501
from swagger_client.models.game_mode import GameMode # noqa: F401,E501
from swagger_client.models.growth_data import GrowthData # noqa: F401,E501
from swagger_client.models.gui_id_property import GuiIdProperty # noqa: F401,E501
from swagger_client.models.health_data import HealthData # noqa: F401,E501
from swagger_client.models.hide_data import HideData # noqa: F401,E501
from swagger_client.models.horse_data import HorseData # noqa: F401,E501
from swagger_client.models.identifiable import Identifiable # noqa: F401,E501
from swagger_client.models.igniteable_data import IgniteableData # noqa: F401,E501
from swagger_client.models.inventory import Inventory # noqa: F401,E501
from swagger_client.models.inventory_capacity import InventoryCapacity # noqa: F401,E501
from swagger_client.models.inventory_dimension import InventoryDimension # noqa: F401,E501
from swagger_client.models.inventory_title import InventoryTitle # noqa: F401,E501
from swagger_client.models.invisibility_data import InvisibilityData # noqa: F401,E501
from swagger_client.models.invulnerability_data import InvulnerabilityData # noqa: F401,E501
from swagger_client.models.item_stack import ItemStack # noqa: F401,E501
from swagger_client.models.join_data import JoinData # noqa: F401,E501
from swagger_client.models.leash_data import LeashData # noqa: F401,E501
from swagger_client.models.location import Location # noqa: F401,E501
from swagger_client.models.minecart_block_data import MinecartBlockData # noqa: F401,E501
from swagger_client.models.mob_spawner_data import MobSpawnerData # noqa: F401,E501
from swagger_client.models.pickup_delay_data import PickupDelayData # noqa: F401,E501
from swagger_client.models.potion_effect import PotionEffect # noqa: F401,E501
from swagger_client.models.slime_data import SlimeData # noqa: F401,E501
from swagger_client.models.slot_index import SlotIndex # noqa: F401,E501
from swagger_client.models.slot_pos import SlotPos # noqa: F401,E501
from swagger_client.models.slot_side import SlotSide # noqa: F401,E501
from swagger_client.models.stat import Stat # noqa: F401,E501
from swagger_client.models.structure_data import StructureData # noqa: F401,E501
from swagger_client.models.tameable_data import TameableData # noqa: F401,E501
from swagger_client.models.trade_offer import TradeOffer # noqa: F401,E501
from swagger_client.models.vector3d import Vector3d # noqa: F401,E501
from swagger_client.models.vehicle_data import VehicleData # noqa: F401,E501
from swagger_client.models.wire_attachment_data import WireAttachmentData # noqa: F401,E501
class ItemStack(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
swagger_types = {
'quantity': 'int',
'type': 'CatalogType',
'absorption': 'float',
'age': 'AgeableData',
'aggressive': 'bool',
'ai_enabled': 'bool',
'anger_level': 'int',
'armor_stand': 'ArmorStandData',
'art': 'CatalogType',
'attached': 'bool',
'author': 'str',
'axis': 'str',
'banner': 'BannerData',
'beacon': 'BeaconData',
'big_mushroom': 'CatalogType',
'block': 'BlockState',
'breathing': 'BreathingData',
'breedable': 'bool',
'brewing_stand': 'BrewingStandData',
'brick': 'CatalogType',
'career': 'Career',
'charged': 'bool',
'coal': 'CatalogType',
'color': 'Color',
'command': 'CommandData',
'comparator': 'CatalogType',
'connected_direction': 'list[str]',
'cooked_fish': 'CatalogType',
'cooldown': 'int',
'critical_hit': 'bool',
'custom_name': 'bool',
'damage': 'float',
'damageable': 'DamageableData',
'decayable': 'bool',
'delay': 'int',
'despawn_delay': 'DespawnDelayData',
'direction': 'str',
'dirt': 'CatalogType',
'disarmed': 'bool',
'disguised_block': 'CatalogType',
'display_name': 'str',
'dominant_hand': 'CatalogType',
'double_plant': 'CatalogType',
'drops': 'bool',
'durability': 'DurabilityData',
'dye': 'DyeColor',
'enchantments': 'list[Enchantment]',
'end_gateway': 'EndGatewayData',
'exp_orb': 'int',
'experience': 'ExperienceHolderData',
'expire_ticks': 'int',
'explosion_radius': 'int',
'extended': 'bool',
'fall_distance': 'float',
'falling_block': 'FallingBlockData',
'filled': 'bool',
'firework_effects': 'list[FireworkEffect]',
'firework_rocket': 'FireworkRocketData',
'fish': 'CatalogType',
'flammable': 'bool',
'fluid': 'FluidStack',
'fluid_level': 'int',
'fluid_tanks': 'dict(str, list[FluidStack])',
'flying': 'bool',
'flying_ability': 'bool',
'food': 'FoodData',
'furnace': 'FurnaceData',
'fuse': 'FuseData',
'game_mode': 'GameMode',
'generation': 'int',
'glowing': 'bool',
'golden_apple': 'CatalogType',
'griefs': 'bool',
'growth': 'GrowthData',
'health': 'HealthData',
'hide': 'HideData',
'hinge': 'CatalogType',
'horse': 'HorseData',
'igniteable': 'IgniteableData',
'in_wall': 'bool',
'inventory': 'Inventory',
'invisibility': 'InvisibilityData',
'invulnerability': 'InvulnerabilityData',
'joined': 'JoinData',
'knockback': 'int',
'layer': 'int',
'leash': 'LeashData',
'lock_token': 'str',
'log_axis': 'CatalogType',
'lore': 'list[str]',
'minecart_block': 'MinecartBlockData',
'mob_spawner': 'MobSpawnerData',
'moisture': 'int',
'note': 'CatalogType',
'occupied': 'bool',
'ocelot': 'CatalogType',
'open': 'bool',
'pages': 'list[str]',
'passengers': 'list[str]',
'persists': 'bool',
'pickup_delay': 'PickupDelayData',
'pickup_rule': 'CatalogType',
'pig_saddle': 'bool',
'piston': 'CatalogType',
'placeable_on': 'list[CatalogType]',
'plant': 'CatalogType',
'player_created': 'bool',
'playing': 'bool',
'portion': 'CatalogType',
'potion_effects': 'list[PotionEffect]',
'powered': 'bool',
'prismarine': 'CatalogType',
'quartz': 'CatalogType',
'rabbit': 'CatalogType',
'rail_direction': 'CatalogType',
'redstone_power': 'int',
'represented_item': 'ItemStack',
'represented_player': 'str',
'respawn_locations': 'dict(str, Location)',
'sand': 'CatalogType',
'sand_stone': 'CatalogType',
'screaming': 'bool',
'seamless': 'bool',
'shatters': 'bool',
'sheared': 'bool',
'shrub': 'CatalogType',
'sign': 'list[str]',
'silent': 'bool',
'sitting': 'bool',
'skin': 'str',
'skull': 'CatalogType',
'slab': 'CatalogType',
'sleeping': 'bool',
'slime': 'SlimeData',
'sneaking': 'bool',
'snow': 'bool',
'spawn': 'CatalogType',
'sprinting': 'bool',
'stair_shape': 'CatalogType',
'statistics': 'list[Stat]',
'stone': 'CatalogType',
'stored_enchantments': 'list[Enchantment]',
'structure': 'StructureData',
'stuck_arrows': 'int',
'tamed': 'TameableData',
'target': 'Vector3d',
'trades': 'list[TradeOffer]',
'tree': 'CatalogType',
'vehicle': 'VehicleData',
'wall': 'CatalogType',
'wet': 'bool',
'wires': 'WireAttachmentData',
'accepts_items': 'AcceptsItems',
'applicable_effect': 'list[PotionEffect]',
'armor_slot_type': 'ArmorSlotType',
'armor_type': 'CatalogType',
'blast_resistance': 'float',
'burning_fuel': 'int',
'damage_absorption': 'int',
'efficiency': 'float',
'equipment_type': 'CatalogType',
'equiptment_slot_type': 'EquipmentSlotType',
'eye_height': 'float',
'eye_location': 'Vector3d',
'fluid_temperature': 'int',
'fluid_viscosity': 'int',
'food_restoration': 'int',
'full_block_selection_box': 'bool',
'gravity_affected': 'bool',
'ground_luminance': 'float',
'gui_id': 'GuiIdProperty',
'hardness': 'float',
'held_item': 'CatalogType',
'identifiable': 'Identifiable',
'indirectly_powered': 'bool',
'instrument': 'CatalogType',
'inventory_capacity': 'InventoryCapacity',
'inventory_dimension': 'InventoryDimension',
'inventory_title': 'InventoryTitle',
'light_emission': 'int',
'matter': 'str',
'passable': 'bool',
'record': 'CatalogType',
'replaceable': 'bool',
'saturation_property': 'float',
'sky_luminance': 'float',
'slot_index': 'SlotIndex',
'slot_pos': 'SlotPos',
'slot_side': 'SlotSide',
'smeltable': 'bool',
'solid_cube': 'bool',
'statistics_tracked': 'bool',
'surrogate_block': 'bool',
'temperature': 'float',
'tool_type': 'CatalogType',
'unbreakable': 'bool',
'use_limit': 'int'
}
attribute_map = {
'quantity': 'quantity',
'type': 'type',
'absorption': 'absorption',
'age': 'age',
'aggressive': 'aggressive',
'ai_enabled': 'aiEnabled',
'anger_level': 'angerLevel',
'armor_stand': 'armorStand',
'art': 'art',
'attached': 'attached',
'author': 'author',
'axis': 'axis',
'banner': 'banner',
'beacon': 'beacon',
'big_mushroom': 'bigMushroom',
'block': 'block',
'breathing': 'breathing',
'breedable': 'breedable',
'brewing_stand': 'brewingStand',
'brick': 'brick',
'career': 'career',
'charged': 'charged',
'coal': 'coal',
'color': 'color',
'command': 'command',
'comparator': 'comparator',
'connected_direction': 'connectedDirection',
'cooked_fish': 'cookedFish',
'cooldown': 'cooldown',
'critical_hit': 'criticalHit',
'custom_name': 'customName',
'damage': 'damage',
'damageable': 'damageable',
'decayable': 'decayable',
'delay': 'delay',
'despawn_delay': 'despawnDelay',
'direction': 'direction',
'dirt': 'dirt',
'disarmed': 'disarmed',
'disguised_block': 'disguisedBlock',
'display_name': 'displayName',
'dominant_hand': 'dominantHand',
'double_plant': 'doublePlant',
'drops': 'drops',
'durability': 'durability',
'dye': 'dye',
'enchantments': 'enchantments',
'end_gateway': 'endGateway',
'exp_orb': 'expOrb',
'experience': 'experience',
'expire_ticks': 'expireTicks',
'explosion_radius': 'explosionRadius',
'extended': 'extended',
'fall_distance': 'fallDistance',
'falling_block': 'fallingBlock',
'filled': 'filled',
'firework_effects': 'fireworkEffects',
'firework_rocket': 'fireworkRocket',
'fish': 'fish',
'flammable': 'flammable',
'fluid': 'fluid',
'fluid_level': 'fluidLevel',
'fluid_tanks': 'fluidTanks',
'flying': 'flying',
'flying_ability': 'flyingAbility',
'food': 'food',
'furnace': 'furnace',
'fuse': 'fuse',
'game_mode': 'gameMode',
'generation': 'generation',
'glowing': 'glowing',
'golden_apple': 'goldenApple',
'griefs': 'griefs',
'growth': 'growth',
'health': 'health',
'hide': 'hide',
'hinge': 'hinge',
'horse': 'horse',
'igniteable': 'igniteable',
'in_wall': 'inWall',
'inventory': 'inventory',
'invisibility': 'invisibility',
'invulnerability': 'invulnerability',
'joined': 'joined',
'knockback': 'knockback',
'layer': 'layer',
'leash': 'leash',
'lock_token': 'lockToken',
'log_axis': 'logAxis',
'lore': 'lore',
'minecart_block': 'minecartBlock',
'mob_spawner': 'mobSpawner',
'moisture': 'moisture',
'note': 'note',
'occupied': 'occupied',
'ocelot': 'ocelot',
'open': 'open',
'pages': 'pages',
'passengers': 'passengers',
'persists': 'persists',
'pickup_delay': 'pickupDelay',
'pickup_rule': 'pickupRule',
'pig_saddle': 'pigSaddle',
'piston': 'piston',
'placeable_on': 'placeableOn',
'plant': 'plant',
'player_created': 'playerCreated',
'playing': 'playing',
'portion': 'portion',
'potion_effects': 'potionEffects',
'powered': 'powered',
'prismarine': 'prismarine',
'quartz': 'quartz',
'rabbit': 'rabbit',
'rail_direction': 'railDirection',
'redstone_power': 'redstonePower',
'represented_item': 'representedItem',
'represented_player': 'representedPlayer',
'respawn_locations': 'respawnLocations',
'sand': 'sand',
'sand_stone': 'sandStone',
'screaming': 'screaming',
'seamless': 'seamless',
'shatters': 'shatters',
'sheared': 'sheared',
'shrub': 'shrub',
'sign': 'sign',
'silent': 'silent',
'sitting': 'sitting',
'skin': 'skin',
'skull': 'skull',
'slab': 'slab',
'sleeping': 'sleeping',
'slime': 'slime',
'sneaking': 'sneaking',
'snow': 'snow',
'spawn': 'spawn',
'sprinting': 'sprinting',
'stair_shape': 'stairShape',
'statistics': 'statistics',
'stone': 'stone',
'stored_enchantments': 'storedEnchantments',
'structure': 'structure',
'stuck_arrows': 'stuckArrows',
'tamed': 'tamed',
'target': 'target',
'trades': 'trades',
'tree': 'tree',
'vehicle': 'vehicle',
'wall': 'wall',
'wet': 'wet',
'wires': 'wires',
'accepts_items': 'acceptsItems',
'applicable_effect': 'applicableEffect',
'armor_slot_type': 'armorSlotType',
'armor_type': 'armorType',
'blast_resistance': 'blastResistance',
'burning_fuel': 'burningFuel',
'damage_absorption': 'damageAbsorption',
'efficiency': 'efficiency',
'equipment_type': 'equipmentType',
'equiptment_slot_type': 'equiptmentSlotType',
'eye_height': 'eyeHeight',
'eye_location': 'eyeLocation',
'fluid_temperature': 'fluidTemperature',
'fluid_viscosity': 'fluidViscosity',
'food_restoration': 'foodRestoration',
'full_block_selection_box': 'fullBlockSelectionBox',
'gravity_affected': 'gravityAffected',
'ground_luminance': 'groundLuminance',
'gui_id': 'guiId',
'hardness': 'hardness',
'held_item': 'heldItem',
'identifiable': 'identifiable',
'indirectly_powered': 'indirectlyPowered',
'instrument': 'instrument',
'inventory_capacity': 'inventoryCapacity',
'inventory_dimension': 'inventoryDimension',
'inventory_title': 'inventoryTitle',
'light_emission': 'lightEmission',
'matter': 'matter',
'passable': 'passable',
'record': 'record',
'replaceable': 'replaceable',
'saturation_property': 'saturationProperty',
'sky_luminance': 'skyLuminance',
'slot_index': 'slotIndex',
'slot_pos': 'slotPos',
'slot_side': 'slotSide',
'smeltable': 'smeltable',
'solid_cube': 'solidCube',
'statistics_tracked': 'statisticsTracked',
'surrogate_block': 'surrogateBlock',
'temperature': 'temperature',
'tool_type': 'toolType',
'unbreakable': 'unbreakable',
'use_limit': 'useLimit'
}
def __init__(self, quantity=None, type=None, absorption=None, age=None, aggressive=None, ai_enabled=None, anger_level=None, armor_stand=None, art=None, attached=None, author=None, axis=None, banner=None, beacon=None, big_mushroom=None, block=None, breathing=None, breedable=None, brewing_stand=None, brick=None, career=None, charged=None, coal=None, color=None, command=None, comparator=None, connected_direction=None, cooked_fish=None, cooldown=None, critical_hit=None, custom_name=None, damage=None, damageable=None, decayable=None, delay=None, despawn_delay=None, direction=None, dirt=None, disarmed=None, disguised_block=None, display_name=None, dominant_hand=None, double_plant=None, drops=None, durability=None, dye=None, enchantments=None, end_gateway=None, exp_orb=None, experience=None, expire_ticks=None, explosion_radius=None, extended=None, fall_distance=None, falling_block=None, filled=None, firework_effects=None, firework_rocket=None, fish=None, flammable=None, fluid=None, fluid_level=None, fluid_tanks=None, flying=None, flying_ability=None, food=None, furnace=None, fuse=None, game_mode=None, generation=None, glowing=None, golden_apple=None, griefs=None, growth=None, health=None, hide=None, hinge=None, horse=None, igniteable=None, in_wall=None, inventory=None, invisibility=None, invulnerability=None, joined=None, knockback=None, layer=None, leash=None, lock_token=None, log_axis=None, lore=None, minecart_block=None, mob_spawner=None, moisture=None, note=None, occupied=None, ocelot=None, open=None, pages=None, passengers=None, persists=None, pickup_delay=None, pickup_rule=None, pig_saddle=None, piston=None, placeable_on=None, plant=None, player_created=None, playing=None, portion=None, potion_effects=None, powered=None, prismarine=None, quartz=None, rabbit=None, rail_direction=None, redstone_power=None, represented_item=None, represented_player=None, respawn_locations=None, sand=None, sand_stone=None, screaming=None, seamless=None, shatters=None, sheared=None, shrub=None, sign=None, silent=None, sitting=None, skin=None, skull=None, slab=None, sleeping=None, slime=None, sneaking=None, snow=None, spawn=None, sprinting=None, stair_shape=None, statistics=None, stone=None, stored_enchantments=None, structure=None, stuck_arrows=None, tamed=None, target=None, trades=None, tree=None, vehicle=None, wall=None, wet=None, wires=None, accepts_items=None, applicable_effect=None, armor_slot_type=None, armor_type=None, blast_resistance=None, burning_fuel=None, damage_absorption=None, efficiency=None, equipment_type=None, equiptment_slot_type=None, eye_height=None, eye_location=None, fluid_temperature=None, fluid_viscosity=None, food_restoration=None, full_block_selection_box=None, gravity_affected=None, ground_luminance=None, gui_id=None, hardness=None, held_item=None, identifiable=None, indirectly_powered=None, instrument=None, inventory_capacity=None, inventory_dimension=None, inventory_title=None, light_emission=None, matter=None, passable=None, record=None, replaceable=None, saturation_property=None, sky_luminance=None, slot_index=None, slot_pos=None, slot_side=None, smeltable=None, solid_cube=None, statistics_tracked=None, surrogate_block=None, temperature=None, tool_type=None, unbreakable=None, use_limit=None): # noqa: E501
"""ItemStack - a model defined in Swagger""" # noqa: E501
self._quantity = None
self._type = None
self._absorption = None
self._age = None
self._aggressive = None
self._ai_enabled = None
self._anger_level = None
self._armor_stand = None
self._art = None
self._attached = None
self._author = None
self._axis = None
self._banner = None
self._beacon = None
self._big_mushroom = None
self._block = None
self._breathing = None
self._breedable = None
self._brewing_stand = None
self._brick = None
self._career = None
self._charged = None
self._coal = None
self._color = None
self._command = None
self._comparator = None
self._connected_direction = None
self._cooked_fish = None
self._cooldown = None
self._critical_hit = None
self._custom_name = None
self._damage = None
self._damageable = None
self._decayable = None
self._delay = None
self._despawn_delay = None
self._direction = None
self._dirt = None
self._disarmed = None
self._disguised_block = None
self._display_name = None
self._dominant_hand = None
self._double_plant = None
self._drops = None
self._durability = None
self._dye = None
self._enchantments = None
self._end_gateway = None
self._exp_orb = None
self._experience = None
self._expire_ticks = None
self._explosion_radius = None
self._extended = None
self._fall_distance = None
self._falling_block = None
self._filled = None
self._firework_effects = None
self._firework_rocket = None
self._fish = None
self._flammable = None
self._fluid = None
self._fluid_level = None
self._fluid_tanks = None
self._flying = None
self._flying_ability = None
self._food = None
self._furnace = None
self._fuse = None
self._game_mode = None
self._generation = None
self._glowing = None
self._golden_apple = None
self._griefs = None
self._growth = None
self._health = None
self._hide = None
self._hinge = None
self._horse = None
self._igniteable = None
self._in_wall = None
self._inventory = None
self._invisibility = None
self._invulnerability = None
self._joined = None
self._knockback = None
self._layer = None
self._leash = None
self._lock_token = None
self._log_axis = None
self._lore = None
self._minecart_block = None
self._mob_spawner = None
self._moisture = None
self._note = None
self._occupied = None
self._ocelot = None
self._open = None
self._pages = None
self._passengers = None
self._persists = None
self._pickup_delay = None
self._pickup_rule = None
self._pig_saddle = None
self._piston = None
self._placeable_on = None
self._plant = None
self._player_created = None
self._playing = None
self._portion = None
self._potion_effects = None
self._powered = None
self._prismarine = None
self._quartz = None
self._rabbit = None
self._rail_direction = None
self._redstone_power = None
self._represented_item = None
self._represented_player = None
self._respawn_locations = None
self._sand = None
self._sand_stone = None
self._screaming = None
self._seamless = None
self._shatters = None
self._sheared = None
self._shrub = None
self._sign = None
self._silent = None
self._sitting = None
self._skin = None
self._skull = None
self._slab = None
self._sleeping = None
self._slime = None
self._sneaking = None
self._snow = None
self._spawn = None
self._sprinting = None
self._stair_shape = None
self._statistics = None
self._stone = None
self._stored_enchantments = None
self._structure = None
self._stuck_arrows = None
self._tamed = None
self._target = None
self._trades = None
self._tree = None
self._vehicle = None
self._wall = None
self._wet = None
self._wires = None
self._accepts_items = None
self._applicable_effect = None
self._armor_slot_type = None
self._armor_type = None
self._blast_resistance = None
self._burning_fuel = None
self._damage_absorption = None
self._efficiency = None
self._equipment_type = None
self._equiptment_slot_type = None
self._eye_height = None
self._eye_location = None
self._fluid_temperature = None
self._fluid_viscosity = None
self._food_restoration = None
self._full_block_selection_box = None
self._gravity_affected = None
self._ground_luminance = None
self._gui_id = None
self._hardness = None
self._held_item = None
self._identifiable = None
self._indirectly_powered = None
self._instrument = None
self._inventory_capacity = None
self._inventory_dimension = None
self._inventory_title = None
self._light_emission = None
self._matter = None
self._passable = None
self._record = None
self._replaceable = None
self._saturation_property = None
self._sky_luminance = None
self._slot_index = None
self._slot_pos = None
self._slot_side = None
self._smeltable = None
self._solid_cube = None
self._statistics_tracked = None
self._surrogate_block = None
self._temperature = None
self._tool_type = None
self._unbreakable = None
self._use_limit = None
self.discriminator = None
self.quantity = quantity
self.type = type
if absorption is not None:
self.absorption = absorption
if age is not None:
self.age = age
if aggressive is not None:
self.aggressive = aggressive
if ai_enabled is not None:
self.ai_enabled = ai_enabled
if anger_level is not None:
self.anger_level = anger_level
if armor_stand is not None:
self.armor_stand = armor_stand
if art is not None:
self.art = art
if attached is not None:
self.attached = attached
if author is not None:
self.author = author
if axis is not None:
self.axis = axis
if banner is not None:
self.banner = banner
if beacon is not None:
self.beacon = beacon
if big_mushroom is not None:
self.big_mushroom = big_mushroom
if block is not None:
self.block = block
if breathing is not None:
self.breathing = breathing
if breedable is not None:
self.breedable = breedable
if brewing_stand is not None:
self.brewing_stand = brewing_stand
if brick is not None:
self.brick = brick
if career is not None:
self.career = career
if charged is not None:
self.charged = charged
if coal is not None:
self.coal = coal
if color is not None:
self.color = color
if command is not None:
self.command = command
if comparator is not None:
self.comparator = comparator
if connected_direction is not None:
self.connected_direction = connected_direction
if cooked_fish is not None:
self.cooked_fish = cooked_fish
if cooldown is not None:
self.cooldown = cooldown
if critical_hit is not None:
self.critical_hit = critical_hit
if custom_name is not None:
self.custom_name = custom_name
if damage is not None:
self.damage = damage
if damageable is not None:
self.damageable = damageable
if decayable is not None:
self.decayable = decayable
if delay is not None:
self.delay = delay
if despawn_delay is not None:
self.despawn_delay = despawn_delay
if direction is not None:
self.direction = direction
if dirt is not None:
self.dirt = dirt
if disarmed is not None:
self.disarmed = disarmed
if disguised_block is not None:
self.disguised_block = disguised_block
if display_name is not None:
self.display_name = display_name
if dominant_hand is not None:
self.dominant_hand = dominant_hand
if double_plant is not None:
self.double_plant = double_plant
if drops is not None:
self.drops = drops
if durability is not None:
self.durability = durability
if dye is not None:
self.dye = dye
if enchantments is not None:
self.enchantments = enchantments
if end_gateway is not None:
self.end_gateway = end_gateway
if exp_orb is not None:
self.exp_orb = exp_orb
if experience is not None:
self.experience = experience
if expire_ticks is not None:
self.expire_ticks = expire_ticks
if explosion_radius is not None:
self.explosion_radius = explosion_radius
if extended is not None:
self.extended = extended
if fall_distance is not None:
self.fall_distance = fall_distance
if falling_block is not None:
self.falling_block = falling_block
if filled is not None:
self.filled = filled
if firework_effects is not None:
self.firework_effects = firework_effects
if firework_rocket is not None:
self.firework_rocket = firework_rocket
if fish is not None:
self.fish = fish
if flammable is not None:
self.flammable = flammable
if fluid is not None:
self.fluid = fluid
if fluid_level is not None:
self.fluid_level = fluid_level
if fluid_tanks is not None:
self.fluid_tanks = fluid_tanks
if flying is not None:
self.flying = flying
if flying_ability is not None:
self.flying_ability = flying_ability
if food is not None:
self.food = food
if furnace is not None:
self.furnace = furnace
if fuse is not None:
self.fuse = fuse
if game_mode is not None:
self.game_mode = game_mode
if generation is not None:
self.generation = generation
if glowing is not None:
self.glowing = glowing
if golden_apple is not None:
self.golden_apple = golden_apple
if griefs is not None:
self.griefs = griefs
if growth is not None:
self.growth = growth
if health is not None:
self.health = health
if hide is not None:
self.hide = hide
if hinge is not None:
self.hinge = hinge
if horse is not None:
self.horse = horse
if igniteable is not None:
self.igniteable = igniteable
if in_wall is not None:
self.in_wall = in_wall
if inventory is not None:
self.inventory = inventory
if invisibility is not None:
self.invisibility = invisibility
if invulnerability is not None:
self.invulnerability = invulnerability
if joined is not None:
self.joined = joined
if knockback is not None:
self.knockback = knockback
if layer is not None:
self.layer = layer
if leash is not None:
self.leash = leash
if lock_token is not None:
self.lock_token = lock_token
if log_axis is not None:
self.log_axis = log_axis
if lore is not None:
self.lore = lore
if minecart_block is not None:
self.minecart_block = minecart_block
if mob_spawner is not None:
self.mob_spawner = mob_spawner
if moisture is not None:
self.moisture = moisture
if note is not None:
self.note = note
if occupied is not None:
self.occupied = occupied
if ocelot is not None:
self.ocelot = ocelot
if open is not None:
self.open = open
if pages is not None:
self.pages = pages
if passengers is not None:
self.passengers = passengers
if persists is not None:
self.persists = persists
if pickup_delay is not None:
self.pickup_delay = pickup_delay
if pickup_rule is not None:
self.pickup_rule = pickup_rule
if pig_saddle is not None:
self.pig_saddle = pig_saddle
if piston is not None:
self.piston = piston
if placeable_on is not None:
self.placeable_on = placeable_on
if plant is not None:
self.plant = plant
if player_created is not None:
self.player_created = player_created
if playing is not None:
self.playing = playing
if portion is not None:
self.portion = portion
if potion_effects is not None:
self.potion_effects = potion_effects
if powered is not None:
self.powered = powered
if prismarine is not None:
self.prismarine = prismarine
if quartz is not None:
self.quartz = quartz
if rabbit is not None:
self.rabbit = rabbit
if rail_direction is not None:
self.rail_direction = rail_direction
if redstone_power is not None:
self.redstone_power = redstone_power
if represented_item is not None:
self.represented_item = represented_item
if represented_player is not None:
self.represented_player = represented_player
if respawn_locations is not None:
self.respawn_locations = respawn_locations
if sand is not None:
self.sand = sand
if sand_stone is not None:
self.sand_stone = sand_stone
if screaming is not None:
self.screaming = screaming
if seamless is not None:
self.seamless = seamless
if shatters is not None:
self.shatters = shatters
if sheared is not None:
self.sheared = sheared
if shrub is not None:
self.shrub = shrub
if sign is not None:
self.sign = sign
if silent is not None:
self.silent = silent
if sitting is not None:
self.sitting = sitting
if skin is not None:
self.skin = skin
if skull is not None:
self.skull = skull
if slab is not None:
self.slab = slab
if sleeping is not None:
self.sleeping = sleeping
if slime is not None:
self.slime = slime
if sneaking is not None:
self.sneaking = sneaking
if snow is not None:
self.snow = snow
if spawn is not None:
self.spawn = spawn
if sprinting is not None:
self.sprinting = sprinting
if stair_shape is not None:
self.stair_shape = stair_shape
if statistics is not None:
self.statistics = statistics
if stone is not None:
self.stone = stone
if stored_enchantments is not None:
self.stored_enchantments = stored_enchantments
if structure is not None:
self.structure = structure
if stuck_arrows is not None:
self.stuck_arrows = stuck_arrows
if tamed is not None:
self.tamed = tamed
if target is not None:
self.target = target
if trades is not None:
self.trades = trades
if tree is not None:
self.tree = tree
if vehicle is not None:
self.vehicle = vehicle
if wall is not None:
self.wall = wall
if wet is not None:
self.wet = wet
if wires is not None:
self.wires = wires
if accepts_items is not None:
self.accepts_items = accepts_items