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).

Java and Bedrock

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.

ViewReturned ObjectsWhen
NeutralAssetSummaryDtoYou are browsing your assets without being part of a project: /api/v1/assets
JavaJavaBlockDto, JavaFurnitureDto, JavaEntityDto, JavaVanillaBlockDtoYou are working in a Java project: /projects/{id}/java/...
BedrockBedrockAssetDtoYou 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 TypeplatformsJava RoutesBedrock Routes
JAVA (or legacy project without type)["java", "bedrock"]YesYes, projection
BEDROCK["bedrock"]409, with the route to useYes
FieldNeutralJavaBedrock
id, name, slugYesYesYes
Location (project, category, folder)Complete, with namesprojectId, directoryIdprojectId, directoryId
Textures, face layout, blockType–Yes–
Java hitbox, light, seat, scale (furnishings)–Yes–
exportEnabled, collisionBox, selectionBox––Yes
Links to other viewslinks––
  • In a Java project, stay on the java routes: you will always receive Java objects.
  • To find an asset without knowing its project, use the neutral view, then follow links.java or links.bedrock.
  • Identifiers are the same across all three views.