Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforcing sidedness for client package #3601

Draft
wants to merge 13 commits into
base: 1.20.1
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion mappings/net/minecraft/client/item/TooltipData.mapping

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_6178 net/minecraft/util/annotation/ClientFieldsAreNonnullByDefault
CLASS net/minecraft/class_6178 net/minecraft/client/util/annotation/ClientFieldsAreNonnullByDefault
COMMENT Specifies that all fields in the annotated package/class are nonnull
COMMENT unless nullability is specified with a separate annotation.
COMMENT
Expand All @@ -7,5 +7,5 @@ CLASS net/minecraft/class_6178 net/minecraft/util/annotation/ClientFieldsAreNonn
COMMENT
COMMENT <p>This annotation is used on the client exclusively.
COMMENT
COMMENT @see FieldsAreNonnullByDefault
COMMENT @see FieldsAreNonnullByDefault2
COMMENT @see net.minecraft.util.annotation.FieldsAreNonnullByDefault
COMMENT @see net.minecraft.util.annotation.FieldsAreNonnullByDefault2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_6179 net/minecraft/util/annotation/ClientMethodsReturnNonnullByDefault
CLASS net/minecraft/class_6179 net/minecraft/client/util/annotation/ClientMethodsReturnNonnullByDefault
COMMENT Specifies that all methods in the annotated package/class return nonnull
COMMENT values unless nullability is specified with a separate annotation.
COMMENT
Expand All @@ -7,5 +7,5 @@ CLASS net/minecraft/class_6179 net/minecraft/util/annotation/ClientMethodsReturn
COMMENT
COMMENT <p>This annotation is used on the client exclusively.
COMMENT
COMMENT @see MethodsReturnNonnullByDefault
COMMENT @see MathMethodsReturnNonnullByDefault
COMMENT @see net.minecraft.util.annotation.MethodsReturnNonnullByDefault
COMMENT @see net.minecraft.util.annotation.MathMethodsReturnNonnullByDefault
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_6177 net/minecraft/util/annotation/DeobfuscateClass
CLASS net/minecraft/class_6177 net/minecraft/client/util/annotation/DeobfuscateClass
COMMENT An annotation on classes. When a class is annotated, the class itself and its
COMMENT fields and methods are not obfuscated. Mainly used by blaze3d.
COMMENT
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/SkinOverlayOwner.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CLASS net/minecraft/class_4582 net/minecraft/entity/SkinOverlayOwner
METHOD method_6872 shouldRenderOverlay ()Z
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_5631 net/minecraft/client/item/BundleTooltipData
CLASS net/minecraft/class_5631 net/minecraft/item/tooltip/BundleTooltipData
FIELD field_27874 inventory Lnet/minecraft/class_2371;
FIELD field_28353 bundleOccupancy I
METHOD <init> (Lnet/minecraft/class_2371;I)V
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/item/tooltip/TooltipData.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_5632 net/minecraft/item/tooltip/TooltipData
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
CLASS net/minecraft/class_5878 net/minecraft/client/particle/ParticleGroup
CLASS net/minecraft/class_5878 net/minecraft/particle/ParticleGroup
COMMENT A group for particles. This group imposes a limit on the numbers of
COMMENT particles from this group rendered in a particle manager. Additional
COMMENT particles will be discarded when attempted to be rendered.
COMMENT
COMMENT @see Particle#getGroup()
COMMENT @see net.minecraft.client.particle.Particle#getGroup()
FIELD field_29077 SPORE_BLOSSOM_AIR Lnet/minecraft/class_5878;
COMMENT The group for the {@linkplain net.minecraft.particle.ParticleTypes#SPORE_BLOSSOM_AIR
COMMENT The group for the {@linkplain ParticleTypes#SPORE_BLOSSOM_AIR
COMMENT minecraft:spore_blossom_air} particle type. It has a count limit of 1000.
FIELD field_29078 maxCount I
METHOD <init> (I)V
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_5945 net/minecraft/client/util/ParticleUtil
CLASS net/minecraft/class_5945 net/minecraft/particle/ParticleUtil
METHOD method_34681 spawnParticle (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2394;Lnet/minecraft/class_243;D)V
ARG 0 world
ARG 1 pos
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_3953 net/minecraft/client/gui/WorldGenerationProgressTracker
CLASS net/minecraft/class_3953 net/minecraft/server/world/WorldGenerationProgressTracker
FIELD field_17474 progressLogger Lnet/minecraft/class_3951;
FIELD field_17475 chunkStatuses Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
FIELD field_17476 spawnPos Lnet/minecraft/class_1923;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ CLASS net/minecraft/class_6319 net/minecraft/util/annotation/FieldsAreNonnullByD
COMMENT <p>A similar {@link FieldsAreNonnullByDefault2} exists; they don't coexist
COMMENT on any package info class.
COMMENT
COMMENT @see ClientFieldsAreNonnullByDefault
COMMENT @see net.minecraft.client.util.annotation.ClientFieldsAreNonnullByDefault
COMMENT @see FieldsAreNonnullByDefault2
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ CLASS net/minecraft/class_6037 net/minecraft/util/annotation/FieldsAreNonnullByD
COMMENT <p>This is pretty much identical to {@link FieldsAreNonnullByDefault} that they
COMMENT are used on different package info files and never coexist.
COMMENT
COMMENT @see ClientFieldsAreNonnullByDefault
COMMENT @see net.minecraft.client.util.annotation.ClientFieldsAreNonnullByDefault
COMMENT @see FieldsAreNonnullByDefault
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ CLASS net/minecraft/class_6328 net/minecraft/util/annotation/MethodsReturnNonnul
COMMENT <p>While this annotation is meant to be a package/class annotation, it can
COMMENT be applied to anything as it does not restrict its targets.
COMMENT
COMMENT @see ClientMethodsReturnNonnullByDefault
COMMENT @see net.minecraft.client.util.annotation.ClientMethodsReturnNonnullByDefault
COMMENT @see MathMethodsReturnNonnullByDefault
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_3540 net/minecraft/client/util/SmoothUtil
CLASS net/minecraft/class_3540 net/minecraft/util/math/SmoothUtil
FIELD field_15758 movementLatency D
FIELD field_15759 smoothedSum D
FIELD field_15760 actualSum D
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_5582 net/minecraft/client/world/ClientEntityManager
CLASS net/minecraft/class_5582 net/minecraft/world/entity/ClientEntityManager
FIELD field_27279 LOGGER Lorg/slf4j/Logger;
FIELD field_27280 handler Lnet/minecraft/class_5576;
FIELD field_27281 index Lnet/minecraft/class_5570;
Expand Down