McQuery API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
Version: 1.0.0
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Returns a list of loaded content (contentGet)
Returns a complete list of all Blocks/Items currently loaded into the game
Return type
Example data
Content-Type: application/json
[ {
"itemGroup" : "itemGroup",
"damage" : 6.027456183070403,
"capabilityTag" : { },
"item" : "item",
"displayName" : "displayName",
"maxDamage" : 1.4658129805029452,
"isEmpty" : true,
"count" : 0.8008281904610115,
"tag" : { }
}, {
"itemGroup" : "itemGroup",
"damage" : 6.027456183070403,
"capabilityTag" : { },
"item" : "item",
"displayName" : "displayName",
"maxDamage" : 1.4658129805029452,
"isEmpty" : true,
"count" : 0.8008281904610115,
"tag" : { }
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Returns a list of online players (playersGet)
Return type
Example data
Content-Type: application/json
[ "", "" ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Up
get /players/{playerId}
Returns detailed information about a specific player (playersPlayerIdGet)
Path parameters
playerId (required)
Path Parameter — Player's Minecraft UUID
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
PlayerEntity
Up
get /players/{playerId}/inventories
Returns detailed information about a specific player's inventory (playersPlayerIdInventoriesGet)
Path parameters
playerId (required)
Path Parameter — Player's Minecraft UUID
Return type
Example data
Content-Type: application/json
{
"enderChestInventory" : [ null, null ],
"playerInventory" : [ {
"itemGroup" : "itemGroup",
"damage" : 6.027456183070403,
"capabilityTag" : { },
"item" : "item",
"displayName" : "displayName",
"maxDamage" : 1.4658129805029452,
"isEmpty" : true,
"count" : 0.8008281904610115,
"tag" : { }
}, {
"itemGroup" : "itemGroup",
"damage" : 6.027456183070403,
"capabilityTag" : { },
"item" : "item",
"displayName" : "displayName",
"maxDamage" : 1.4658129805029452,
"isEmpty" : true,
"count" : 0.8008281904610115,
"tag" : { }
} ],
"hotbar" : {
"inventory" : [ null, null ],
"selectedIndex" : 0.8008281904610115
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
PlayerInventory
Returns a list of loaded dimensions (worldsGet)
Return type
Example data
Content-Type: application/json
[ {
"difficulty" : "peaceful",
"seed" : 0.8008281904610115,
"name" : "name",
"raining" : true,
"thundering" : true,
"type" : "type"
}, {
"difficulty" : "peaceful",
"seed" : 0.8008281904610115,
"name" : "name",
"raining" : true,
"thundering" : true,
"type" : "type"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Up
get /worlds/{worldName}/blocks/{xyz}
Returns information about the block at the requested coordinates (worldsWorldNameBlocksXyzGet)
Path parameters
worldName (required)
Path Parameter — World name (ex. minecraft:overworld)
xyz (required)
Path Parameter — The desired X, Y, and Z coordinate, seperated by commas
Return type
Example data
Content-Type: application/json
{
"name" : "name",
"position" : {
"x" : 0.8008281904610115,
"y" : 6.027456183070403,
"z" : 1.4658129805029452
},
"properties" : { },
"tileEntity" : {
"tag" : { },
"type" : "type"
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
BlockState
Up
get /worlds/{worldName}/entities
Returns a list of all entities active in the world (worldsWorldNameEntitiesGet)
Path parameters
worldName (required)
Path Parameter — World name (ex. minecraft:overworld)
Return type
Example data
Content-Type: application/json
[ {
"name" : "name",
"x" : 0.8008281904610115,
"y" : 6.027456183070403,
"z" : 1.4658129805029452,
"classification" : "classification",
"uuid" : "uuid"
}, {
"name" : "name",
"x" : 0.8008281904610115,
"y" : 6.027456183070403,
"z" : 1.4658129805029452,
"classification" : "classification",
"uuid" : "uuid"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Up
get /worlds/{worldName}
Returns a specific World by ID (worldsWorldNameGet)
Path parameters
worldName (required)
Path Parameter — World name (ex. minecraft:overworld)
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
World
[ Jump to Methods ]
Table of Contents
BlockPos
BlockState
Entity
GameProfile
ItemStack
LivingEntity
LivingEntity_equipment
PlayerEntity
PlayerEntityStub
PlayerHotbar
PlayerInventory
Potion
PotionInstance
TileEntity
World
WorldStub
x (optional)
y (optional)
z (optional)
name (optional)
position (optional)
properties (optional)
tileEntity (optional)
uuid (optional)
name (optional)
classification (optional)
x (optional)
y (optional)
z (optional)
id (optional)
name (optional)
properties (optional)
item (optional)
displayName (optional)
itemGroup (optional)
isEmpty (optional)
count (optional)
damage (optional)
maxDamage (optional)
tag (optional)
capabilityTag (optional)
uuid (optional)
name (optional)
classification (optional)
x (optional)
y (optional)
z (optional)
health (optional)
maxHealth (optional)
attributes (optional)
potionEffects (optional)
equipment (optional)
head (optional)
chest (optional)
legs (optional)
feet (optional)
mainhand (optional)
offhand (optional)
health (optional)
maxHealth (optional)
attributes (optional)
potionEffects (optional)
equipment (optional)
gameProfile (optional)
selectedIndex (optional)
inventory (optional)
playerInventory (optional)
enderChestInventory (optional)
hotbar (optional)
name (optional)
type (optional)
beneficial
harmful
neutral
potion (optional)
duration (optional)
amplifier (optional)
type (optional)
tag (optional)
type (optional)
name (optional)
seed (optional)
raining (optional)
thundering (optional)
difficulty (optional)
peaceful
easy
medium
hard
type (optional)
name (optional)
seed (optional)
raining (optional)
thundering (optional)
difficulty (optional)
peaceful
easy
medium
hard