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 7 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
natanjunges marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -4421,7 +4421,7 @@ c net/minecraft/class_3748 net/minecraft/block/JigsawBlock
p 0 info1
c net/minecraft/class_2417 net/minecraft/data/server/StoryTabAdvancementGenerator
m (Ljava/util/function/Consumer;)V method_10347 accept
c net/minecraft/class_5582 net/minecraft/client/world/ClientEntityManager
c net/minecraft/class_5582 net/minecraft/world/entity/ClientEntityManager
m (Lnet/minecraft/class_1923;)V method_31875 stopTicking
p 1 pos
m (Lnet/minecraft/class_1923;)V method_31869 startTicking
Expand Down Expand Up @@ -4449,7 +4449,7 @@ c net/minecraft/class_5582 net/minecraft/client/world/ClientEntityManager
f Lnet/minecraft/class_5573; field_27282 cache
f Lorg/apache/logging/log4j/Logger; field_27279 LOGGER
f Lnet/minecraft/class_5570; field_27281 index
c net/minecraft/class_5582$class_5583 net/minecraft/client/world/ClientEntityManager$Listener
c net/minecraft/class_5582$class_5583 net/minecraft/world/entity/ClientEntityManager$Listener
f Lnet/minecraft/class_5582; field_27285 manager
m (Lnet/minecraft/class_5582;Lnet/minecraft/class_5568;JLnet/minecraft/class_5572;)V <init> <init>
p 3 lastSectionPos
Expand Down Expand Up @@ -56914,10 +56914,10 @@ c net/minecraft/class_5875 net/minecraft/world/gen/feature/ScatteredOreFeature
p 2 random
p 3 origin
p 4 spread
c net/minecraft/class_5878 net/minecraft/client/particle/ParticleGroup
c A group for particles. This group imposes a limit on the numbers of\nparticles from this group rendered in a particle manager. Additional\nparticles will be discarded when attempted to be rendered.\n\n@see Particle#getGroup()
c net/minecraft/class_5878 net/minecraft/particle/ParticleGroup
c A group for particles. This group imposes a limit on the numbers of\nparticles from this group rendered in a particle manager. Additional\nparticles will be discarded when attempted to be rendered.\n\n@see net.minecraft.client.particle.Particle#getGroup()
f Lnet/minecraft/class_5878; field_29077 SPORE_BLOSSOM_AIR
c The group for the {@linkplain net.minecraft.particle.ParticleTypes#SPORE_BLOSSOM_AIR\nminecraft:spore_blossom_air} particle type. It has a count limit of 1000.
c The group for the {@linkplain ParticleTypes#SPORE_BLOSSOM_AIR\nminecraft:spore_blossom_air} particle type. It has a count limit of 1000.
f I field_29078 maxCount
m (I)V <init> <init>
c Creates a particle group with a custom {@code max} particle count.
Expand Down Expand Up @@ -66389,7 +66389,7 @@ c net/minecraft/class_4870 net/minecraft/client/realms/dto/Ops
f Ljava/util/Set; field_22579 ops
m (Ljava/lang/String;)Lnet/minecraft/class_4870; method_25039 parse
p 0 json
c net/minecraft/class_3540 net/minecraft/client/util/SmoothUtil
c net/minecraft/class_3540 net/minecraft/util/math/SmoothUtil
f D field_15760 actualSum
m (DD)D method_15429 smooth
p 3 smoother
Expand Down
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
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
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