Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-19 14:30:16 +01:00
Put components in entity data through component rewriter
Cursed, but possibly needed
Dieser Commit ist enthalten in:
Ursprung
9c84e0dbe9
Commit
a77e328dfe
@ -385,6 +385,8 @@ public final class EntityPacketRewriter1_20_5 extends EntityRewriter<Clientbound
|
|||||||
Types1_20_5.META_TYPES.particleType,
|
Types1_20_5.META_TYPES.particleType,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
filter().metaType(Types1_20_5.META_TYPES.componentType).handler((event, meta) -> protocol.getComponentRewriter().processTag(event.user(), meta.value()));
|
||||||
|
filter().metaType(Types1_20_5.META_TYPES.optionalComponentType).handler((event, meta) -> protocol.getComponentRewriter().processTag(event.user(), meta.value()));
|
||||||
|
|
||||||
filter().type(EntityTypes1_20_5.LIVINGENTITY).index(10).handler((event, meta) -> {
|
filter().type(EntityTypes1_20_5.LIVINGENTITY).index(10).handler((event, meta) -> {
|
||||||
final int effectColor = meta.value();
|
final int effectColor = meta.value();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren