-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modified the conf.py sphinx configuration file to ignore the custom fields used in the Entity Metadata type * Added the Entity Metadata type to the documentation * Added `scripts` to the .codeclimate.yml ignore list
- Loading branch information
1 parent
2e98b96
commit 124ecd7
Showing
17 changed files
with
16,765 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Entity Metadata | ||
====================== | ||
|
||
This is the documentation for the NBT type used in Minecraft's network protocol. | ||
|
||
|
||
|
||
|
||
.. automodule:: mcproto.types.entity | ||
:no-undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
.. api/types documentation master file | ||
.. Types Documentation | ||
======================= | ||
API Types Documentation | ||
======================= | ||
Types Documentation | ||
================================== | ||
|
||
Welcome to the API Types documentation! This documentation provides information about the various types used in the API. | ||
This folder contains the documentation for various types used in the project. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
nbt.rst | ||
entity_metadata.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
NBT Format | ||
========== | ||
|
||
This is the documentation for the NBT type used in Minecraft's network protocol. | ||
|
||
|
||
.. automodule:: mcproto.types.nbt | ||
:members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,300 @@ | ||
from mcproto.types.entity.generated import ( | ||
EntityEM, | ||
InteractionEM, | ||
DisplayEM, | ||
BlockDisplayEM, | ||
ItemDisplayEM, | ||
TextDisplayEM, | ||
ThrownItemProjectileEM, | ||
ThrownEggEM, | ||
ThrownEnderPearlEM, | ||
ThrownExperienceBottleEM, | ||
ThrownPotionEM, | ||
ThrownSnowballEM, | ||
EyeOfEnderEM, | ||
FallingBlockEM, | ||
AreaEffectCloudEM, | ||
FishingHookEM, | ||
AbstractArrowEM, | ||
ArrowEM, | ||
SpectralArrowEM, | ||
ThrownTridentEM, | ||
AbstractVehicleEM, | ||
BoatEM, | ||
ChestBoatEM, | ||
AbstractMinecartEM, | ||
MinecartEM, | ||
AbstractMinecartContainerEM, | ||
MinecartHopperEM, | ||
MinecartChestEM, | ||
MinecartFurnaceEM, | ||
MinecartTNTEM, | ||
MinecartSpawnerEM, | ||
MinecartCommandBlockEM, | ||
EndCrystalEM, | ||
DragonFireballEM, | ||
SmallFireballEM, | ||
FireballEM, | ||
WitherSkullEM, | ||
FireworkRocketEM, | ||
ItemFrameEM, | ||
GlowingItemFrameEM, | ||
PaintingEM, | ||
ItemEntityEM, | ||
LivingEntityEM, | ||
PlayerEM, | ||
ArmorStandEM, | ||
MobEM, | ||
AmbientCreatureEM, | ||
BatEM, | ||
PathfinderMobEM, | ||
WaterAnimalEM, | ||
SquidEM, | ||
DolphinEM, | ||
AbstractFishEM, | ||
CodEM, | ||
PufferFishEM, | ||
SalmonEM, | ||
TropicalFishEM, | ||
TadpoleEM, | ||
AgeableMobEM, | ||
AnimalEM, | ||
SnifferEM, | ||
AbstractHorseEM, | ||
HorseEM, | ||
ZombieHorseEM, | ||
SkeletonHorseEM, | ||
CamelEM, | ||
ChestedHorseEM, | ||
DonkeyEM, | ||
LlamaEM, | ||
TraderLlamaEM, | ||
MuleEM, | ||
AxolotlEM, | ||
BeeEM, | ||
FoxEM, | ||
FrogEM, | ||
OcelotEM, | ||
PandaEM, | ||
PigEM, | ||
RabbitEM, | ||
TurtleEM, | ||
PolarBearEM, | ||
ChickenEM, | ||
CowEM, | ||
MooshroomEM, | ||
HoglinEM, | ||
SheepEM, | ||
StriderEM, | ||
GoatEM, | ||
TameableAnimalEM, | ||
CatEM, | ||
WolfEM, | ||
ParrotEM, | ||
AbstractVillagerEM, | ||
VillagerEM, | ||
WanderingTraderEM, | ||
AbstractGolemEM, | ||
IronGolemEM, | ||
SnowGolemEM, | ||
ShulkerEM, | ||
MonsterEM, | ||
BasePiglinEM, | ||
PiglinEM, | ||
PiglinBruteEM, | ||
BlazeEM, | ||
CreeperEM, | ||
EndermiteEM, | ||
GiantEM, | ||
GuardianEM, | ||
ElderGuardianEM, | ||
SilverfishEM, | ||
RaiderEM, | ||
AbstractIllagerEM, | ||
VindicatorEM, | ||
PillagerEM, | ||
SpellcasterIllagerEM, | ||
EvokerEM, | ||
IllusionerEM, | ||
RavagerEM, | ||
WitchEM, | ||
EvokerFangsEM, | ||
VexEM, | ||
AbstractSkeletonEM, | ||
SkeletonEM, | ||
WitherSkeletonEM, | ||
StrayEM, | ||
SpiderEM, | ||
WardenEM, | ||
WitherEM, | ||
ZoglinEM, | ||
ZombieEM, | ||
ZombieVillagerEM, | ||
HuskEM, | ||
DrownedEM, | ||
ZombifiedPiglinEM, | ||
EndermanEM, | ||
EnderDragonEM, | ||
FlyingEM, | ||
GhastEM, | ||
PhantomEM, | ||
SlimeEM, | ||
LlamaSpitEM, | ||
PrimedTntEM, | ||
) | ||
|
||
###################################################################### | ||
# This file is automatically generated by the entity generator script. | ||
# You can modify it by changing what you want in the script. | ||
###################################################################### | ||
|
||
from mcproto.types.entity.enums import Direction, Pose, SnifferState, DragonPhase | ||
|
||
__all__ = [ | ||
"EntityEM", | ||
"InteractionEM", | ||
"DisplayEM", | ||
"BlockDisplayEM", | ||
"ItemDisplayEM", | ||
"TextDisplayEM", | ||
"ThrownItemProjectileEM", | ||
"ThrownEggEM", | ||
"ThrownEnderPearlEM", | ||
"ThrownExperienceBottleEM", | ||
"ThrownPotionEM", | ||
"ThrownSnowballEM", | ||
"EyeOfEnderEM", | ||
"FallingBlockEM", | ||
"AreaEffectCloudEM", | ||
"FishingHookEM", | ||
"AbstractArrowEM", | ||
"ArrowEM", | ||
"SpectralArrowEM", | ||
"ThrownTridentEM", | ||
"AbstractVehicleEM", | ||
"BoatEM", | ||
"ChestBoatEM", | ||
"AbstractMinecartEM", | ||
"MinecartEM", | ||
"AbstractMinecartContainerEM", | ||
"MinecartHopperEM", | ||
"MinecartChestEM", | ||
"MinecartFurnaceEM", | ||
"MinecartTNTEM", | ||
"MinecartSpawnerEM", | ||
"MinecartCommandBlockEM", | ||
"EndCrystalEM", | ||
"DragonFireballEM", | ||
"SmallFireballEM", | ||
"FireballEM", | ||
"WitherSkullEM", | ||
"FireworkRocketEM", | ||
"ItemFrameEM", | ||
"GlowingItemFrameEM", | ||
"PaintingEM", | ||
"ItemEntityEM", | ||
"LivingEntityEM", | ||
"PlayerEM", | ||
"ArmorStandEM", | ||
"MobEM", | ||
"AmbientCreatureEM", | ||
"BatEM", | ||
"PathfinderMobEM", | ||
"WaterAnimalEM", | ||
"SquidEM", | ||
"DolphinEM", | ||
"AbstractFishEM", | ||
"CodEM", | ||
"PufferFishEM", | ||
"SalmonEM", | ||
"TropicalFishEM", | ||
"TadpoleEM", | ||
"AgeableMobEM", | ||
"AnimalEM", | ||
"SnifferEM", | ||
"AbstractHorseEM", | ||
"HorseEM", | ||
"ZombieHorseEM", | ||
"SkeletonHorseEM", | ||
"CamelEM", | ||
"ChestedHorseEM", | ||
"DonkeyEM", | ||
"LlamaEM", | ||
"TraderLlamaEM", | ||
"MuleEM", | ||
"AxolotlEM", | ||
"BeeEM", | ||
"FoxEM", | ||
"FrogEM", | ||
"OcelotEM", | ||
"PandaEM", | ||
"PigEM", | ||
"RabbitEM", | ||
"TurtleEM", | ||
"PolarBearEM", | ||
"ChickenEM", | ||
"CowEM", | ||
"MooshroomEM", | ||
"HoglinEM", | ||
"SheepEM", | ||
"StriderEM", | ||
"GoatEM", | ||
"TameableAnimalEM", | ||
"CatEM", | ||
"WolfEM", | ||
"ParrotEM", | ||
"AbstractVillagerEM", | ||
"VillagerEM", | ||
"WanderingTraderEM", | ||
"AbstractGolemEM", | ||
"IronGolemEM", | ||
"SnowGolemEM", | ||
"ShulkerEM", | ||
"MonsterEM", | ||
"BasePiglinEM", | ||
"PiglinEM", | ||
"PiglinBruteEM", | ||
"BlazeEM", | ||
"CreeperEM", | ||
"EndermiteEM", | ||
"GiantEM", | ||
"GuardianEM", | ||
"ElderGuardianEM", | ||
"SilverfishEM", | ||
"RaiderEM", | ||
"AbstractIllagerEM", | ||
"VindicatorEM", | ||
"PillagerEM", | ||
"SpellcasterIllagerEM", | ||
"EvokerEM", | ||
"IllusionerEM", | ||
"RavagerEM", | ||
"WitchEM", | ||
"EvokerFangsEM", | ||
"VexEM", | ||
"AbstractSkeletonEM", | ||
"SkeletonEM", | ||
"WitherSkeletonEM", | ||
"StrayEM", | ||
"SpiderEM", | ||
"WardenEM", | ||
"WitherEM", | ||
"ZoglinEM", | ||
"ZombieEM", | ||
"ZombieVillagerEM", | ||
"HuskEM", | ||
"DrownedEM", | ||
"ZombifiedPiglinEM", | ||
"EndermanEM", | ||
"EnderDragonEM", | ||
"FlyingEM", | ||
"GhastEM", | ||
"PhantomEM", | ||
"SlimeEM", | ||
"LlamaSpitEM", | ||
"PrimedTntEM", | ||
"Direction", | ||
"Pose", | ||
"SnifferState", | ||
"DragonPhase", | ||
] |
Oops, something went wrong.