Skip to main content
Best practices
1 vote
0 replies
28 views

I am working on a multifunctional quite old game bot with the followng implementation: There are tons of mixins in different files/folders (each inherits GameBase). Each mixin: - uses attributes + ...
Vova's user avatar
  • 609
6 votes
1 answer
169 views

The following code-snippet bridges some dataclasses and GUI-classes using PySide6 (the Qt library). The HasDataobject class is key here. It defines a mix-in for subclasses of QGraphicsItem. It adds an ...
MacFreek's user avatar
  • 3,568
2 votes
0 answers
73 views

I'm trying to make a mod that adds a new material which can be made into armor, tools, and at some point some other stuff. The material is called Vibral, and it's found in the deep dark and ancient ...
Zadezapper's user avatar
1 vote
0 answers
63 views

I am writing an injector for a method that looks like this: protected ItemInteractionResult useItemOn(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ...
GPorubanTKK's user avatar
0 votes
2 answers
134 views

The MinecraftServer.class has a private Record named ReloadableResources that is used to hold managers for resource managing. ... record ReloadableResources(CloseableResourceManager resourceManager, ...
Résu's user avatar
  • 45
0 votes
0 answers
212 views

How to replace one message to other in minecraft fabric 1.21.5 I writed simple Mixin that insert code into writen method package org.emil.chatmod.mixin; import net.minecraft.client.gui.hud.ChatHud; ...
Максудов Эмиль's user avatar
0 votes
1 answer
176 views

I have been trying to figure out for a while how to fix this issue where Font Awesome icons are loaded correctly. However Bootstrap is working fine. app.scss $fa-font-path: "@fortawesome/...
Shulz's user avatar
  • 634
2 votes
3 answers
99 views

I was learning about Mixins in JavaScript and decided to implement them in TypeScript. Everything works fine when I declare classes normally, but when I assign them to variables, I encounter ...
Denis Kramarenko's user avatar
13 votes
0 answers
101 views

Explanations of Mixins in a C++ context, but many of them seem to describe use cases that are essentially Policy-Oriented Design. This has led to some confusion on my part. From what I understand, ...
Bernard Gressing's user avatar
0 votes
0 answers
35 views

I use mixins retuned from a function, mixin: [getMixin({})] function getMixin(config) { return defineComponent({ mixin: [myMixin, myOtherMixin] }) } but WEBSTORM fails to ...
Manikandan N's user avatar
1 vote
0 answers
71 views

I am using SQLAlchemy==2.0.37. I am developing an enhanced mixin and one of my needs is to modify the query object before compile. I have set up an event listener like so: @event.listens_for(Query, &...
Jake's user avatar
  • 296
1 vote
0 answers
98 views

I am trying to use @fontsource/roboto by importing it with face mixins, offered with the library. Since the latest version v5.2.5, it adviced to use the 2 libraries @fontsource-utils/scss and @...
Abdullah El-Kindy's user avatar
0 votes
0 answers
100 views

After the introduction of @fontsource/roboto v5.2.5, it had some breaking changes including not supporting mixin faces anymore. However, it recommends using 2 other libraries to achieve this. "@...
Abdullah El-Kindy's user avatar
0 votes
0 answers
47 views

I am upgrading one angular app from 18 to 19 While upgrading I am facing issues related to carbon styles. Basically I have uninstalled carbon-components as its deprecated and installed @carbon/styles. ...
Amey Tonape's user avatar
0 votes
2 answers
168 views

I've a model class which I can't change its source, it is annotated with public class Announce { @JsonProperty(value = "id", access = JsonProperty.Access.READ_ONLY) @Id @...
Rafael Lima's user avatar
  • 3,585

15 30 50 per page
1
2 3 4 5
145