Comments (5)
So I just make worksWith
return false on anything but the battery buffer, and inside the default driver, I make it return true for anything but the battery buffer, right?
from computronics.
Yes. Unless you want the default driver to also work for battery buffer, then you can always return true there; if multiple drivers work they are merged, after all.
from computronics.
I still don't know: If multiple drivers with differently named environments are wrapped, which name will be chosen for the merge? They seem to merge, in my opinion they should be seperate if they differ in name.
from computronics.
If multiple environments implement NamedBlock
, the first of those will get chosen. Order depends on the order they are registered in, IIRC. Since that means the order may depend on the order mods are loaded in (if multiple blocks register drivers with named envs for the same block) I'll probably add some priority system there in the next API update, as you suggested.
As for why they are merged: aside from it being, IMHO, more logical to have the drivers merged into what appears to be one single component, because they apply to the same thing, after all, this is pretty much necessary to avoid the component count exploding (which, as you know, is limited based on the CPU tier) due to interface based drivers (IInventory
, fluid stuff, energy stuff, all of which may be present in a single block).
from computronics.
Fair enough. I think I can implement things properly now. Currently testing the changes.
from computronics.
Related Issues (20)
- Speech boxes crashing game HOT 6
- Tape playback
- Mitigating constant player chat spam HOT 2
- add support for modern versions of minecraft HOT 5
- Microcontroller Minecarts HOT 1
- Make tape drive installable into robots
- Recipes are created after crafttweaker removes/edits them HOT 2
- Sound card not producing sound HOT 2
- [suggestion for improvement] The camera installed in the OC drone always looks north. HOT 1
- Crash when breaking Cipher Block with items in its inventory
- Railcraft Betas break integration HOT 1
- Incompatibility with BetterFoliage
- Sound card accepts nonsensical floating-point inputs in its methods
- Sound card plays the modulator channel after set to modulate multiple channels
- Computronics 1.7.10-1.6.6 throws an error during loading
- [Wiki] Firefox shows security issue with the Wiki HOT 1
- Computronics Ticket Machine not showing up HOT 2
- Digital Controller Box can NOT send off aspect
- serious vulnerability of tapes [1.12.2]
- Speakers Audio Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from computronics.