Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 16:40:10 +01:00
[ci skip] Add comments for conversion direction to classes
Dieser Commit ist enthalten in:
Ursprung
4343aa17fc
Commit
287678c12a
@ -113,6 +113,7 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
import static com.viaversion.viaversion.util.MathUtil.clamp;
|
||||
|
||||
// 1.20.3 nbt -> 1.20.5 data component conversion
|
||||
public final class BlockItemPacketRewriter1_20_5 extends ItemRewriter<ClientboundPacket1_20_3, ServerboundPacket1_20_5, Protocol1_20_5To1_20_3> {
|
||||
|
||||
public static final String[] MOB_TAGS = {"NoAI", "Silent", "NoGravity", "Glowing", "Invulnerable", "Health", "Age", "Variant", "HuntingCooldown", "BucketVariantTag"};
|
||||
|
@ -89,6 +89,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.logging.Level;
|
||||
|
||||
// 1.20.5 data component -> 1.20.5 nbt conversion
|
||||
public class ComponentRewriter1_20_5 extends ComponentRewriter<ClientboundPacket1_20_3> {
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
|
@ -68,6 +68,7 @@ import java.util.Arrays;
|
||||
import java.util.Map;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
// 1.20.5 data component -> 1.20.3 nbt conversion
|
||||
public final class StructuredDataConverter {
|
||||
|
||||
static final int HIDE_ENCHANTMENTS = 1;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren