майнкрафт мод mixin bootstrap
Майнкрафт мод mixin bootstrap
This is an unofficial method of loading Mixin and as such do not expect any support.
Mixin is available in Forge 1.15.2-31.2.44+ & 1.16.1-32.0.72+ (MixinBootstrap is no longer required).
MixinBootstrap is a temporary way of booting Mixin in a MinecraftForge production environment.
MixinBootstrap is available on CurseForge
MixinBootstrap is available on GitHub
Version | Support | Reason |
---|---|---|
1.12.2 | ✔️ | — |
1.13.x | ❌ | Not supported due to ModLauncher version |
1.14.x | ⚠️ | Only Forge 28.1.45 or later |
1.15.x | ✔️ | — |
1.16.x | ✔️ | — |
1.17.x | ✔️ | — |
MixinBootstrap is licensed under the Apache 2.0 license.
About
MixinBootstrap is a temporary way of booting Mixin in a MinecraftForge production environment.
Mixin Bootstrap Crash w/ Better Foliage #18
Comments
WenXin20 commented Jan 17, 2020
Minecraft v1.14.4
Forge v28.1.115
Immersive Portals v0.10
Mixin Bootstrap v1.0.0
Kottle v1.4.0
Better Foliage v2.5.0
Since both Immersive Portals & Better Foliage require Mixin Bootstrap to function, I’m getting a crash as soon as I try to start the game. Is this something that can be fixed?
Also reported at octarine-noise/BetterFoliage#270
Crash Log
The text was updated successfully, but these errors were encountered:
qouteall commented Jan 18, 2020
It seems correlated with optifine. Try to only install better foliage and optifine and test it.
WenXin20 commented Jan 18, 2020 •
It worked fine with Better Foliage & Optifine when installed with Mixin and Kottle.
When Immersive Portals is added to Better Foliage without Optifine, it works fine, but when Optifine is added it crashes.
So it seems like all 5 mods have to be installed for the crash to happen.
Odd.
qouteall commented Jan 18, 2020
wow, 5-mod interaction.
WenXin20 commented Jan 18, 2020
octarine-noise commented Jan 18, 2020
MixinBootstrap only adds Mixin, and Kottle only adds Kotlin, but they don’t have mixins themselves. So, hopefully only 3-mod interaction 🙂
qouteall commented Jan 20, 2020
ok I found it. When I mixin ActiveRenderInfo it loads PortalPlaceholderBlock then it loads Block then trigger better foliage’s mixin
qouteall commented Jan 20, 2020
WenXin20 commented Jan 20, 2020 •
WenXin20 commented Jan 20, 2020
Just found out that round logs work if Immersive Portals is removed.
qouteall commented Jan 20, 2020
I fixed the issue that good night’s sleep does not load. But it has another serious issue with good night’s sleep
qouteall commented Jan 20, 2020
And /portal tpme command seems broken
qouteall commented Jan 20, 2020
Well I will release a new version so that I at least loads.
WenXin20 commented Jan 20, 2020
When TofuCraft was installed, it was also having trouble loading it’s dimension. I’ll have to do the testing tomorrow with the new version
octarine-noise commented Jan 20, 2020
ok I found it. When I mixin ActiveRenderInfo it loads PortalPlaceholderBlock then it loads Block then trigger better foliage’s mixin
Sorry, but it’s my first time using Mixin, so I’m kind of lost here. Can you explain why this is a problem, or what exactly we are doing that is disallowed, causing our mixins to «resonate» this way?
qouteall commented Jan 21, 2020
qouteall commented Jan 21, 2020
If similar crash happen again then you can debug it in IDE and see which class loads which
qouteall commented Jan 21, 2020
I will check the round log issue later
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Майнкрафт мод mixin bootstrap
Mixin is a trait/mixin and bytecode weaving framework for Java using ASM
Latest commit
Git stats
Files
Failed to load latest commit information.
README.MD
Mixin is a trait/mixin framework for Java using ASM and hooking into the runtime classloading process via a set of pluggable built-in or user-provided services. Built-in services currently support Mojang’s LegacyLauncher system, though this is deprecated in favour of ModLauncher by cpw, which has greater extensibility and has support for Java 8 and later.
The main documentation for Mixin can be found in the Wiki.
Additional documentation for individual features and annotations can be found in the extensive Javadoc. For additional help use the channel #mixin on the Sponge Discord Server.
Mixin binaries are available via Jenkins and are published to the following maven repositories:
If you are using Mixin in a Minecraft Forge project then the MixinGradle plugin can be used to simplify the configuration of the Mixin Annotation Processor. It provides a simple syntax for configuring the Mixin AP for your project, see the MixinGradle README for how to configure MixinGradle.
Integration with Eclipse
When developing using Mixin, you can use the Mixin Annotation Processor within Eclipse to provide context-sensitive errors and warnings to help you more easily troubleshoot your mixins. To do so:
Integration with IntelliJ IDEA
Enhanced functionality for working with Mixin in IntelliJ IDEA is available via the Minecraft Development for IntelliJ IDEA plugin developed by DemonWav.
Specifying the minVersion property in your configurations is extrememly important. The following version history can be used to determine when features were introduced (and sometimes when major bugs are squashed) in order to help you determine which minVersion you should specify.
About
Mixin is a trait/mixin and bytecode weaving framework for Java using ASM
В остальных случаях пишу классы «row», «col-*» и прочие бутстраповские сразу в вёрстке, мне так удобнее. Потому что нужно сбалансировать сложность в HTML разметке и сложность в CSS коде. Рассмотрим крайности.
1) Если каждому блоку в разметке писать уникальный класс, а потом в CSS миксинами накидывать rows, cols и прочие свойства из фреймворка, то в HTML сложность понижается, ведь у нас на блоке всего один класс, зато в CSS сложность резко вырастает: чтобы исправить баг, верстальщику придется бегать по миксинам, анализировать зависимости, чтобы не поломалось в другом месте. При этом растет размер CSS файлов: стили для модульной сетки повторяются в разных селекторах (дублирование кода), а верстальщику для каждого нового блока приходится придумывать новое уникальное имя класса. Два внешне похожих блока имеют 90% одинакового кода и этот код повторяется два раза. Такая ситуация называется «css bloating» (css наводнение).
В первом случае (css bloating) у нас 100% отделение внешного вида от разметки. Это вроде бы хорошо, блоки выглядят независимыми, но достигается это высокой ценой: большой риск сломать что-нибудь, внося правки в миксины; повторения в коде и в результате обязательный gzip стилей. В чистом виде можно использовать, когда нет доступа к html-разметке: один и тот же виджет используется на разных сайтах и должен выглядеть по-разному, менять ему html опасно.
Во втором случае (html bloating) внешний вид смешан с разметкой (это лишь чуть-чуть лучше, чем инлайн styles) и даже самое маленькое изменение в дизайне влечет кучу тупой работы по перестановке классов в html, но зато в css конфликтовать нечему. Пожалуй, в чистом виде может встречаться в веб-приложениях, когда верстка генерируется через js-шаблоны (тупая работа автоматизирована). Отлавливать css баги в динамичной верстке приложений очень сложно, поэтому есть смысл увеличить прочность стилей, перенеся сложность в разметку.
Оптимальный вариант — распределить сложность примерно поровну между стилями и разметкой — «multiple classes». На каждый блок вешать 3-5 классов, которые отвечают за модульную сетку, геометрию, скин этого блока. Соответствующие классы можно переиспользовать в других блоках. Классы Bootstrap’а хорошо справляются с модульной сеткой и частично с геометрией, а скины и геометрию собственных компонентов верстальщик дописывает сам.
В БЭМ баланс сложности смещен в сторону css bloating: блоки должны быть независимыми, их нельзя смешивать, можно лишь вкладывать друг в друга, а значит увеличено количество повторений css кода.
В OOCSS баланс смещен в сторону html bloating: пишут больше мелких, но переиспользуемых конструкций, имена классов придумывать сложнее, т.к. они должны быть достаточно абстрактны, но всё ещё показывать, что этот класс делает.
Майнкрафт мод mixin bootstrap
Bootstrap mixins and utilities in javascript for bootstrap-styled.
If you want to contribute to css-mixins please see our contributing and community guidelines, they’ll help you get set up locally and explain the whole process.
Please also note that all repositories under the bootstrap-styled organization follow our Code of Conduct, make sure to review and follow it.
Copyright (c) 2017-2018 Yeutech Company Limited. https://bootstrap-styled.github.io
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
About
Bootstrap v4 css-in-js mixins for Bootstrap Styled.