跳到正文

BlockBoy Arcade

作者:tomalbrc

Serverside GameBoy emulator as Arcade machines with data driven cartridge items!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Arcade machines with full gameboy resolution and color support!

Fully server-side, using polymer!
Checkout polymers authost feature to host the resource-pack (in polymer/resourcepack.zip) automagically!

There are no recipes, use /polymer creative to see the items or use /give @s blockboy:arcade

The mods’ builtin datapack comes with 6 open source gameboy games:

patreon

Config

{
  "dateFormat": "dd.MM yyyy, HH:mm",
  "sound": false
}
  • dateFormat: Date format for rom save data tooltip
  • sound: Flag to enable sounds for the playing player using simple voice chat

Adding roms / items

You can either add cartridge items using filament or just use the blockboy:rom component to give yourself an item that can play a given rom file:
/give @s paper[blockboy:rom="namespace:game.gb"]

Put the roms in data/<namespace>/blockboy/<rom>.gb and data/<namespace>/blockboy/<rom>.gbc
Make sure the rom file names are lowercase and only contain letters from a to z, 0-9 and/or underscores.

To add your own arcade model item + block use the filament mod and the blockboy:arcade behaviour for decorations.

Arcade example for filament (data//filament/decoration/.json):

{
  "id": "blockboy:arcade",
  "group": "blockboy:items",
  "blockTags": ["shulker_boxes"],
  "itemResource": {
    "models": {
      "default": "blockboy:item/arcade-item",
      "floor": "blockboy:item/arcade"
    }
  },
  "properties": {
    "rotate": true,
    "rotateSmooth": true,
    "stackSize": 1,
    "destroyTime": 2,
    "requiresTool": false
  },
  "behaviour": {
    "blockboy:arcade": {
      "seatTranslation": [0, 0.4, 0],
      "screenTranslation": [0, 0.95, -0.775],
      "screenPitch": -22.5,
      "brightness": 10
    }
  },
  "blocks": [
    {
      "origin": [0,0,-1],
      "size": [1,1,2]
    },
    {
      "origin": [0,1,-1],
      "size": [1,1,1]
    }
  ]
}

Cartridge / rom item example for filament (data//filament/item/.json):

{
  "id": "blockboy:flooder",
  "translations": {
    "en_us": "Flooder"
  },
  "group": "blockboy:items",
  "vanillaItem": "minecraft:paper",
  "itemResource":{
    "models": {
      "default": "blockboy:item/cartridge2"
    }
  },
  "properties": {
    "stackSize": 1
  },
  "components": {
    "blockboy:rom": "namespace:flooder.gb"
  }
}

Blockboy Arcade comes with 2 item textures/models for cartridges, feel free to modify them as you wish:
blockboy:item/cartridge1 and blockboy:item/cartridge2

Permissions for Luckperms and friends: blockboy_arcade.command, with vanilla permission level 1

Controls:

  • WASD = DPAD
  • Jump = A
  • Left-Click = B
  • F (swap held item) = Start
  • Q (drop held item) = Select

This project uses code from the coffee-gb gameboy emulator and the Image2Map Mod
You can find the original licenses in the “licenses” directory.
My changes are also licensed under the MIT license.

常见问题

BlockBoy Arcade 支持哪些 Minecraft 版本?

BlockBoy Arcade 支持 Minecraft Java 版 1.21.5–26.3,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

BlockBoy Arcade 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

tomalbrc 的其他作品

查看全部 →