CraftEngine

授权转载 付费 开源 娱乐 CraftEngine 26.10-快照

请登录后获取
  • 较上个版本新增了个delay选项,对动画效果有帮助
现在如果物品不存在,则会在gui内显示为屏障
1748205452978.webp

添加了配置设置资源包合并时的文件黑名单
1748205459006.webp

添加了红石物理性质方块行为的实现(示例lampblock),添加默认铜线圈配置
  • 打包资源包时候不再打包非资源包文件,例如.md .psd .bbmodel等
  • 添加了新的函数和条件类型
  • 使用netty重写了self host
  • 一些内部实现的重构
  • 修复了1.20.5-1.21.1的客户端流体tag问题
  • 添加了一些新的function和condition类型
  • 本版本增强了依赖管理
  • 还会自动删除旧版本的依赖释放空间
  • 重构了方块配置文件读取
  • 修改了硬碰撞体积家具对着交互的反应
    1747721779404.webp

    比如对着插火把,会插到旁边,而不是插上去后掉落
  • 现在ce菜单物品可以通过shift点击快速获取
  • 实验性,移除了插件本体的adventure,改为动态下载。移除了adventure bukkit平台实现,改为ce自己实现
  • 重构了物品配置读取,添加了旧版模型格式
  • 修复了equals条件
  • 添加了open_window
  • 添加了下界合金砧事件配置
    参考配置
    YAML:
      default:netherite_anvil:
        material: nether_brick
        custom-model-data: 3001
        data:
          item-name: "[URL='http://item.net']item.net[/URL]herite_anvil>"
        model:
          type: "minecraft:model"
          path: "minecraft:item/custom/netherite_anvil"
          generation:
            parent: "minecraft:block/custom/netherite_anvil"
        behavior:
          type: block_item
          block:
            loot:
              template: "default:loot_table/basic"
              arguments:
                item: default:netherite_anvil
            behavior:
              type: falling_block
              hurt-amount: 4
              max-hurt: 80
            events:
              - on: right_click
                functions:
                  - type: run
                    functions:
                      - type: open_window
                        gui-type: anvil
                      - type: cancel_event
                    conditions:
                      - type: equals
                        value1: "<arg:player.is_sneaking>"
                        value2: "false"
                    #conditions:  # 另外一种格式
                    #  - type: expression
                    #    expression: "!<arg:player.is_sneaking>"
  • config.yml添加了合并zip包功能
后退
顶部 底部