Fix minecart block state id

This commit is contained in:
Nassim Jahnke 2023-10-19 11:03:39 +10:00
parent e7d0b01eee
commit 7d1b0d83ce
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
1 changed files with 1 additions and 3 deletions

View File

@ -113,12 +113,10 @@ public final class EntityPacketRewriter1_20_3 extends EntityRewriter<Clientbound
Types1_20_3.META_TYPES.particleType
);
filter().filterFamily(EntityTypes1_19_4.MINECART_ABSTRACT).index(12).handler((event, meta) -> {
filter().filterFamily(EntityTypes1_19_4.MINECART_ABSTRACT).index(11).handler((event, meta) -> {
final int blockState = meta.value();
meta.setValue(protocol.getMappingData().getNewBlockStateId(blockState));
});
// TODO NEW ENTITY METADATA
}
@Override