Giter Site home page Giter Site logo

bridge-core / bridge. Goto Github PK

View Code? Open in Web Editor NEW
321.0 321.0 165.0 26.39 MB

Minecraft Add-on Editor | We strive to provide the best development experience possible

Home Page: https://bridge-core.github.io

License: GNU General Public License v3.0

JavaScript 11.29% HTML 0.19% Vue 26.41% TypeScript 61.97% CSS 0.04% EJS 0.10%
addon bridge editor ide javascript json minecraft tool typescript

bridge.'s Introduction

bridge. v2

bridge. v2 is now available. Read more about it on our website or visit our new repository.

About bridge.

bridge. is a powerful add-on editor designed to speed up your development process. It provides a rich editing experience for all files inside behavior and resource packs (JavaScript, JSON and functions) and provides a powerful work environment. Unleash the full power of add-ons with bridge. plugins and make use of rich auto-completions provided as you navigate through a file. Creating Minecraft add-ons was never more convenient!

Why you should use bridge.

Most importantly, JSON editors like bridge. guarantee that you cannot write invalid JSON. Additionally, "bridge." has a few more specific features which other editors do not offer:

  • bridge. interacts seamlessly with Minecraft and loads behavior packs and the corresponding resource pack from the com.mojang folder automatically
  • You cannot make general file structure mistakes because rich auto-completions guide you through the file
  • You do not need to study vanilla files and/or the incorrect documentation to find out which arguments a component has
  • Support for plugins: From custom components to searching files - bridge. plugins can do almost anything
  • Developing is generally significantly faster

Feature Overview

General

  • Create new behavior packs and resource packs with an automatically generated manifest.json
  • Create new behavior pack and resource pack files through a clear interface
  • Package your behavior pack with only one click

Editor

  • Cut, Copy, Paste, Undo, Redo and all other features you would expect
  • Powerful shortcuts to reorder and navigate through a JSON file
  • JSON displays as a tree structure with collapsible/expandable elements
  • Easily restructure JSON files by dragging elements
  • Beautiful syntax highlighting for all behavior pack files
  • Snippets to quickly import common JSON patterns
  • Error/Mistake detection and auto-fixes for some of them
  • bridge. file structure predictions for users who want to be even faster writing add-ons

Auto-Completions

  • Rich auto-completions for entities, loot tables, trades, spawn rules, biomes, items, blocks, recipes, features, feature rules, animations and animation controllers
  • Handcrafted: We don't trust the Minecraft documentation and you shouldn't either. That's why we wrote all suggestions by hand
  • Context sensitive: bridge. proposes different data depending on what you wrote before. Adding e.g. a new item results in the corresponding identifier being proposed whenever an item identifier is a valid value throughout your behavior and resource pack files.
  • Ability to switch between auto-completions for multiple Minecraft versions seamlessly: We always support the latest stable release and the latest beta

Debug Log Explorer

  • A perfect tool for browsing content errors
  • Filter by tags or search for specific logs
  • Open affected files with only one click

Documentation

  • Easy access to the Minecraft add-on documentation
  • Shortcut to lookup specific components in your file
  • And more features to come...!

Settings

  • Tabs vs. Spaces: You get to choose how we generate your files
  • Light & Dark Theme with corresponding syntax highlighter
  • Set a default project to be opened automatically when you open bridge.
  • Choose between auto-completions for multiple Minecraft versions
  • Collection of options to customize your developing experience

JavaScript Plugins

  • Create new menus, windows and notifications
  • Add new file types
  • Hook into a variety of different events
  • Develop your own custom add-on syntax
  • Library with existing plugins to download from within bridge.
  • Read more...

Projects created with bridge.

bridge. Plugins

Documentation

You can read more on plugins here.

Library

The repository for plugins can be found here. Feel free to add your plugins to it in order to make them appear inside the plugin menu.

Contributing to bridge.

Contributions to bridge. are welcome. However, please read the guidelines first.

Screenshots

JSON Editing

JSON errors JSON editing JSON context menu JSON split-screen

Other Filetypes

JavaScript .mcfunction

Menus

bridge. settings bridge. file creation

Snippets

bridge. snippets bridge. custom snippets

bridge.'s People

Contributors

7dev7urandom avatar brandondyer64 avatar bsavage81 avatar chikorita-lover avatar codehz avatar dependabot[bot] avatar destruc7i0n avatar enderzombi102 avatar frederoxdev avatar joelant05 avatar kannoma avatar montudor avatar pascal541 avatar solveddev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bridge.'s Issues

All addons seemingly use the scripting engine

The Problem
All addons seemingly use the Scripting Engine. I accounted this when testing my addon on mobile devices. I made a plain addon with just the manifest and it still set it required to run scripts.

Steps to Reproduce

  1. Make a plain addon with literally just the manifest.json
  2. Package in bridge.
  3. Run on a platform which cannot run Scripts i.e iOS

Screenshots
image
image

[Feature Request] Plugin Dependencies

It would be nice to have Bridge install plugins that other plugins depend on so you don't have to copy and paste code from other plugins into your plugin if they are needed. This would also allow authors to be credited when a plugin depends on their plugin. You may define if you'd like your plugin to be a regular plugin, or a dependency plugin. An example of something you may need to depend on is the "bridge.ui.common_window.js" file. Easy way to add dependencies to a plugin: You could add an "id" property to plugins/dependencies so people would be able to access dependencies by just using the dependency id in this format: "author.category.project". If you'd like to access your own plugins and they're by you, then you may use them in your plugins.
Here's what an example plugin look like in the "me.example.dependent_plugin.js" file:

Bridge.registerPlugin({
	author: "Me",
	version: "1.0.0",
	id: "me.example.dependent_plugin",
	name: "Dependent Plugin",
	description: "A plugin that depends on other plugins.",
	isDependency: false,
	dependencies: [ "bridge.ui.common_window" ]
});

[BUG] Resource pack files generate inside behaviour pack upon project creation

Summary
Whenever I create a project, the resource pack files (blocks.json, sounds folder etc) generate inside the behaviour pack. The resource pack files generate correctly into the resource pack.

To Reproduce
Create a project and they should generate

Observed behavior
Resource pack files also generated inside the behaviour pack
Expected behavior
Only the manifest.json file generates inside the behaviour pack

Platform (please complete the following information):

  • OS: [e.g. Windows 10]
  • App Version: [e.g. 0.13.6]

[Feature] Single instance RP file support

This is purely just a request:

A resource pack's blocks.json file can do so many things, that I thinks it's worth making it compatible with bridge.. There is only a few issues with doing this:

  • Some aspects haven't been documented.
  • Despite it's functionality, it may still be too minor, and a waste of time.

now that i think about it, it's not documented enough to actually add, but you're solvedDev. I'm sure you'll figure it out.

[BUG] Resource packs stuck loading

Resource packs are stuck loading in v1.13.5.
After clicking on "Resource Packs" icon, it procedes with a loading bar near the files, and doesn't do anything else.

It could just be me, but I wanted to make sure you knew just in case.
This is a pain in the back though, because now I can't edit my resource .json files.

Plugin loading fails

Describe the bug
Plugin loading fails -likely in non-standard structure behavior packs.

To Reproduce
Steps to reproduce the behavior haven't been observed yet. It wasn't possible to reproduce the behavior yet.

Expected behavior
Plugins should...
a) appear inside the extension menu
b) disappear from the web store
c) execute & display UI elements

Desktop (please complete the following information):

  • OS: Windows
  • Version v0.4.1

[Feature] Mob Behavior Templates

I was watching one of the Bridge tutorials by DanRobzProbz and I saw that he had access to the player and other mobs behaviors and I was wondering how do I access those?

JSON Format Documentation

There should be documentation on all the JSON formats bridge. uses internally to make contributing to the repository easier.

"Open file..." saving bug

Describe the bug
Files opened with "Open file..." (app menu) cannot be saved.

Expected behavior
Files opened with "Open file..." save to the path where they originated from.

[BUG] Saving broken

When I create a behaviour pack(new project) save the entity it just continues to load therefore not saving my work.

  1. Go to 'New Project' & start to create your entity
  2. Create your entity.
  3. Save it, as you would using either ctrl+s/save option.
  4. The save bar just stays up...
    (this has happend 3xtimes now)

I just wanted to save my progress.
See below;-
Screenshot 2019-08-20 11 19 49(3)

Screenshot 2019-08-20 11 19 39(2)

  • OS: [Windows 10]
  • App Version [See screenshot]
    Screenshot 2019-08-20 11 22 21

This has only started to happen since I updated the program this morning...

Thanks
Dan,

Outdated Plugin Documentation

The plugin documentation is currently outdated, not even mentioning the new capabilities to register auto-completetions, add new file definitions, Bridge.JSONTree or the deprecation of Bridge.Cache/Bridge.Highlighter.

[Feature] Jump to definition

Summary
Use the lightning cache to implement "Jump to definition" within JSON files. (e.g. looking up render controllers, items, blocks, ...)

[BUG] Invalid function auto-completions ("minecraft:" prefix)

Summary
Function auto-completions propose vanilla items & blocks with the "minecraft:" prefix. This is invalid syntax for commands.

Propose Solution
Add unprefixed item & block auto-completions for function files. Also useful for "get_equipped_item" query.

[Feature] Item components

Summary
Add new item components with bridge. Core:

  • "bridge:attack_damage"
  • "bridge:item_use_sensor"
  • "bridge:item_equipped_sensor"

Additional context/Motivation
Creating custom item behavior by editing the player.json file leads to unmaintainable code. Every item file should just carry its custom item logic in addition to the vanilla components.

[BUG] bridge. can't access to the config files on macOs

Summary
You can't change any settings on macOs version of bridge. because of bridge. getting config folder&files creation&reading-access refused.
To Reproduce
Steps to reproduce the behavior:

  1. Run bridge. for macOs
  2. Try changing the custom data directory
  3. Check the console

Observed behavior
The data directory wasn't changed and an error was thrown in the console.
Expected behavior
The data directory changed and no error.

Screenshots / File Attachments

Error: EACCES: permission denied, open '/Users/USER/.bridge/data/settings'
    at Object.openSync (fs.js:447)
    at Object.func (electron/js2c/asar.js:155)
    at Object.func [as openSync] (electron/js2c/asar.js:155)
    at Object.writeFileSync (fs.js:1206)

Platform (please complete the following information):

  • OS: macOs
  • App Version: 0.13.7

Project Switching

Description
Switching the project while working on different files breaks the open editors (makes them unresponsive). Additionally, closing those tabs is completely broken as the button click also affects currently invisible tabs (of different projects).

To Reproduce
Steps to reproduce the behavior:

  1. Open multiple files in project A
  2. Go to project B
  3. Open multiple files in project B
  4. Close tab | Switch back to project A

[Feature] More Template Set Options

Could you add more templates such as food, tool, potion, etc. also add a help page please since some people don't know what the different choices mean

Icons are missing

I encountered this problem where I can't see the Icons, only texts are visible. I'll appreciate it if theres a video on how to install the program because perhaps I've done something wrong?

RP

when i clicked on create on the resource pack button nothing happens after i create it. i checked my folder and there nothing in resource development.

ps come back to discord pls from artistic-waffle

bridge. gets addons confused.

Sometimes bridge. thinks I'm looking in one addon, when I'm looking in a completely different one. It shows the name of the addon I'm looking in, the icon, but not the files. At the moment, I'm just editing raw .json because I know how, but I did rely on bridge, to make it easier. If you can, please fix. Also, I tried reinstalling it, and that didn't work.

[BUG] Text editor overlaps with footer

Describe the bug
Text editor overlaps with footer

To Reproduce
Steps to reproduce the behavior:

  1. Open a scrollable text files
  2. Observe the editor overlap

Expected behavior
Editor has a smaller height which changes as the footer size changes.

Screenshots / File Attachments
Bug

Platform (please complete the following information):

  • OS: Windows10
  • App Version: v0.13.2

[BUG] bridge. doesn't close properly on macOs

Summary
When you close bridge. window on macOs, bridge. process isn't stopped (the app is still running) and if you re try opening it after nothing happen.

To Reproduce
Steps to reproduce the behavior:

  1. Open bridge. on macOs
  2. Close bridge. window
  3. Try reopening bridge.
  4. Observe result

Observed behavior
Bridge. isn't getting closed properly and can't be reopened if you don't force close the application once the window was closed.
Expected behavior
Bridge. closing properly.

Platform (please complete the following information):

  • OS: macOs
  • App 0.13.7

MacOS download

Summary
This isn't really a feature I just can't seem to find the mac version of this program. There are issues related to it as if people have it, so how do I get it?

[BUG] Infinite Loading Bug

On the Minecraft addon thing Bridge I try making a anything new and it wont stop loading ive been sitting here for two hours and it still is loading please help I think it bug

RP files don't get cached in "RP" folder

Summary
RP files don't get cached in "RP" folder. Instead, they land in a <resource pack name> folder inside the BP cache folder. Has no functionality impact.

Unsaved Tab Indicator Broken

Description
JSON tabs currently do not show whether they're unsaved

To Reproduce
Steps to reproduce the behavior:

  1. Open a JSON file
  2. Edit it
  3. See that the tab UI doesn't update

Bridge is stuck loading

When I launch bridge it just says Loading... and doesn't progress any further, settings is empty due to this too and I've changed permissions on the folder it saves behaviour packs to but it hasn't loaded up fully still. Please help. Thanks, MBroOfficial. (I am running Bridge 0.12.2)

UPDATE: I tried launching bridge as administrator and that made no difference either.
UPDATE 2: I downloaded Bridge 0.13.0-pre9 and it worked.

[BUG] bridge. logo no longer centered

Describe the bug
bridge.'s logo is no longer centered inside the start-up window.

To Reproduce
Steps to reproduce the behavior:

  1. Open bridge.
  2. Observe the bug

Expected behavior
The bridge. logo is centered

Platform (please complete the following information):

  • OS: Windows 10
  • App Version: v0.13.4-pre

[Feature] Identifier optimisation

Can you add an option when you start a pack to choose an identifier that will be automatically placed at the start of an item. For example:

Identifier:
bridge

Item name: solveddev > bridge:solveddev.

You don't have to choose the option, but it's there if you need it.
I just find it tedious to type the identifier every time i make an item/block/entity.

Resource Packs Are Still Done By Hand

I would love to be able to have a simple way to connect are blocks and there textures. The best way would be drag and drop but even I know thats unrealistic maybe a simple tag system? Sorry I dont know how to tag I dont use GitHub that much.

Failed to build in linux

for build:main

    ERROR in ./src/main/index.js
    Module not found: Error: Can't resolve '../shared/paths.js' in '/data/soft/bridge./src/main'
     @ ./src/main/index.js 5:0-50

for build:renderer

Error: Unresolved node modules: register-scheme                                                                                                                                                                                                
    at /data/soft/bridge./node_modules/app-builder-lib/src/util/packageDependencies.ts:112:21                                                                                                                                                  
From previous event:                                                                                                                                                                                                                           
    at Collector.resolveUnresolvedHoisted (/data/soft/bridge./node_modules/app-builder-lib/src/util/packageDependencies.ts:88:81)                                                                                                              
    at /data/soft/bridge./node_modules/app-builder-lib/src/util/packageDependencies.ts:83:18                                                                                                                                                   
    at Generator.next (<anonymous>)                                                                                                                                                                                                            
    at processImmediate (internal/timers.js:443:21)                                                                                                                                                                                            
From previous event:                                                                                                                                                                                                                           
    at Collector.collect (/data/soft/bridge./node_modules/app-builder-lib/src/util/packageDependencies.ts:76:28)                                                                                                                               
    at /data/soft/bridge./node_modules/app-builder-lib/src/util/packageDependencies.ts:47:44                                                                                                                                                   
    at Generator.next (<anonymous>)                                                                                                                                                                                                            
    at _getProductionDependencies (/data/soft/bridge./node_modules/app-builder-lib/out/util/packageDependencies.js:92:37)                                                                                                                      
    at getProductionDependencies (/data/soft/bridge./node_modules/app-builder-lib/out/util/packageDependencies.js:83:37)                                                                                                                       
    at Lazy.<anonymous> (/data/soft/bridge./node_modules/app-builder-lib/src/packager.ts:138:24)                                                                                                                                               
    at Generator.next (<anonymous>)                                                                                                                                                                                                            
    at Lazy.get value [as value] (/data/soft/bridge./node_modules/lazy-val/src/main.ts:18:25)                                                                                                                                                  
    at /data/soft/bridge./node_modules/app-builder-lib/out/util/yarn.js:166:90

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.