メインコンテンツまでスキップ

Craftengine Fake Block Audience

Show blocks and furniture to this audience alone

フィールド

フィールド型デフォルト説明
blocksList<FakeBlock>emptyBlocks this audience is shown instead of the world's.
FakeBlock(2)
フィールド型デフォルト説明
locationPositionORIGINThe block to change. Only this audience is shown the change.
blockIdString—A CraftEngine block id ('namespace:id') or a vanilla material. Empty shows air, which hides what the world holds.
furnitureList<FakeFurniture>emptyFurniture raised for this audience alone. It has no collision, for anyone.
FakeFurniture(3)
フィールド型デフォルト説明
locationPositionORIGINThe block the furniture is anchored on. The yaw turns it.回転あり
furnitureIdString—The CraftEngine furniture id ('namespace:furniture_id').
variantString—The variant to show. Leave empty to let CraftEngine pick one.
hiddenFurnitureList<HiddenFurniture>emptyThe world's own furniture this audience is not shown.
HiddenFurniture(2)
フィールド型デフォルト説明
locationPositionORIGINThe block the furniture is anchored on — where it was placed, not where its model appears to sit.
furnitureIdString—Which furniture at that block ('namespace:id'). Empty means every piece anchored there.
refreshIntervalInt20How often, in ticks, the view is re-sent. A reloaded chunk serves the real world back.
refreshRadiusInt48How far, in blocks, the view is re-sent around the player.

How to use it​

Nest it under an audience (a fact, a permission, a quest state) to dress a place differently for whoever is in it. Everyone else keeps seeing the world, and nothing is stored.

  • blocks — a blockId (CraftEngine block or vanilla material) at each location. Empty shows air.
  • furniture — furniture raised for the audience, with furnitureId, variant and the yaw of location.
  • hiddenFurniture — the world's own furniture the audience is not shown.

Unlike a Quest Zone Audience, the list is fixed and the same for every member. Reach for this when the scenery depends on who is looking, and for a zone when it depends on what they did. Furniture raised here cannot be broken by the audience, and has no collision. Do not layer a fake block audience and a zone on the same spot: the last one sent wins.