This page is available as Markdown : https://docs.vyse.cloud/reference/java-and-bedrock.md. Index of all the documentation for AI : https://docs.vyse.cloud/llms.txt (full version: https://docs.vyse.cloud/llms-full.txt).
The same Vyse asset can be viewed in three ways: neutral, Java, or Bedrock. This page explains which one the API returns and why.
A JAVA project is the source of truth: its blocks and furnishings are Java documents. Its Bedrock view is a live projection: it reads the same assets and only records what is specific to Bedrock (inclusion in the pack, collision boxes, and selection boxes). Modifying the Bedrock view never changes the Java asset.
| View | Returned Objects | When |
|---|---|---|
| Neutral | AssetSummaryDto | You are browsing your assets without being part of a project: /api/v1/assets |
| Java | JavaBlockDto, JavaFurnitureDto, JavaEntityDto, JavaVanillaBlockDto | You are working in a Java project: /projects/{id}/java/... |
| Bedrock | BedrockAssetDto | You are configuring the Bedrock output: /projects/{id}/bedrock/... |
Each typed object carries a platform field (java or bedrock), and each project lists its views in platforms.
| Project Type | platforms | Java Routes | Bedrock Routes |
|---|---|---|---|
JAVA (or legacy project without type) | ["java", "bedrock"] | Yes | Yes, projection |
BEDROCK | ["bedrock"] | 409, with the route to use | Yes |
| Field | Neutral | Java | Bedrock |
|---|---|---|---|
id, name, slug | Yes | Yes | Yes |
| Location (project, category, folder) | Complete, with names | projectId, directoryId | projectId, directoryId |
Textures, face layout, blockType | – | Yes | – |
| Java hitbox, light, seat, scale (furnishings) | – | Yes | – |
exportEnabled, collisionBox, selectionBox | – | – | Yes |
| Links to other views | links | – | – |
- In a Java project, stay on the
javaroutes: you will always receive Java objects. - To find an asset without knowing its project, use the neutral view, then follow
links.javaorlinks.bedrock. - Identifiers are the same across all three views.