UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

27 lines (26 loc) 758 B
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", { value: true }); exports.PassableBlockTrait = void 0; const ContentTraits_1 = require("./ContentTraits"); /** * Passable - entities can walk through. */ class PassableBlockTrait extends ContentTraits_1.BlockContentTrait { get id() { return "passable"; } getData(_config) { return { id: "passable", displayName: "Passable", description: "Entities can walk through", category: "special", components: { "minecraft:collision_box": false, }, }; } } exports.PassableBlockTrait = PassableBlockTrait;