mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-02 08:59:31 +01:00
Updated TODO List
This commit is contained in:
parent
c518eccfd5
commit
c44228bfaa
@ -33,9 +33,6 @@ import de.florianmichael.viafabricplus.mappings.ItemReleaseVersionMappings;
|
||||
import de.florianmichael.viafabricplus.mappings.PackFormatsMappings;
|
||||
import de.florianmichael.viafabricplus.protocolhack.ProtocolHack;
|
||||
import de.florianmichael.viafabricplus.screen.ClassicItemSelectionScreen;
|
||||
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.raphimc.vialoader.util.VersionEnum;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@ -43,26 +40,10 @@ import org.apache.logging.log4j.Logger;
|
||||
import java.io.File;
|
||||
|
||||
/*
|
||||
PORTING TO 1.20.2
|
||||
|
||||
- ClientPacketListener#handleAddObjective, new if added that could break behavior?
|
||||
- Same for handleSetScore
|
||||
- ClientHandshakePacketListenerImpl#handleGameProfile now sends brand payload and clientInformation packet.
|
||||
- NBT: "ActiveEffects" is now called "active_effects" and also does not use IDs anymore but names
|
||||
- Riding / Entity hitboxes have changed completely again
|
||||
- Player#getMyRidingOffset default value: -0.35 -> -0.6
|
||||
- AbstractMinecart#getPassengerAttachmentPoint() now no longer always returns 0 (I think we can just inject there?)
|
||||
- Boat attachnment points are completely different
|
||||
- Equipable#swapWithEquipmentSlot now has a swapWithEquipmentSlot check, looks important
|
||||
- NBT: "CustomPotionEffects" is now called "custom_potion_effects
|
||||
- ChorusFlowerBlock: has now a block-support-shape
|
||||
- DaylightDetector#use constant from 4 -> 2 ???? No idea what MS is doing there
|
||||
- PinkPetalsBlock: has no constant shape anymore, but is based on property (ka if this is important, you have to see, depending on how Via remapped this state)
|
||||
- PitcherCrop Shape calculation has changed
|
||||
- RepeaterBlock#updateShape now handles conditions that are also present clientside (do some blocks, not sure if this whole updateShape system is so important for us / that is detectable)
|
||||
*/
|
||||
|
||||
/*
|
||||
* TODO | Port
|
||||
* - Skin loading has changed (Server doesn't send the whole skin data anymore)
|
||||
* - Entity passenger points and heights/offsets are completely broken across all entities
|
||||
*
|
||||
* TODO | General
|
||||
* - Check if relevant for protocol translation: TakeItemEntityPacket isEmpty case (1.20 -> 1.20.1 change)
|
||||
* - Window interactions in <= 1.16.5 has changed and can be detected by the server
|
||||
|
@ -37,8 +37,10 @@ public abstract class MixinAllayEntity extends PathAwareEntity {
|
||||
|
||||
@Inject(method = "getUnscaledRidingOffset", at = @At("HEAD"), cancellable = true)
|
||||
public void changeHeightOffset(CallbackInfoReturnable<Double> cir) {
|
||||
if (ProtocolHack.getTargetVersion().isOlderThanOrEqualTo(VersionEnum.r1_19_1tor1_19_2)) {
|
||||
cir.setReturnValue(0.0);
|
||||
final var ver = ProtocolHack.getTargetVersion();
|
||||
|
||||
if (ver.isOlderThanOrEqualTo(VersionEnum.r1_20tor1_20_1)) {
|
||||
cir.setReturnValue(ver.isOlderThanOrEqualTo(VersionEnum.r1_19_1tor1_19_2) ? 0.0 : 0.4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ public abstract class MixinClientPlayNetworkHandler {
|
||||
}
|
||||
|
||||
@WrapWithCondition(method = "onChatMessage", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;error(Ljava/lang/String;Ljava/lang/Object;)V", remap = false))
|
||||
public boolean removeError() {
|
||||
public boolean removeError(Logger instance, String s, Object o) {
|
||||
return ProtocolHack.getTargetVersion().isNewerThanOrEqualTo(VersionEnum.r1_20_2);
|
||||
}
|
||||
|
||||
|
@ -170,12 +170,11 @@
|
||||
"fixes.viaversion.protocol1_9to1_8.MixinViaIdleThread",
|
||||
"jsonwebtoken.MixinClasses",
|
||||
"jsonwebtoken.MixinDefaultCompressionCodecResolver",
|
||||
"jsonwebtoken.MixinDefaultJwtParserBuilder"
|
||||
"jsonwebtoken.MixinDefaultJwtParserBuilder",
|
||||
"fixes.minecraft.block.MixinFlowerbedBlock",
|
||||
"fixes.minecraft.item.MixinEquipment"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"mixins": [
|
||||
"fixes.minecraft.block.MixinFlowerbedBlock"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user