Skip to content

Commit

Permalink
Enforce sidedness for client packages (FabricMC#3879)
Browse files Browse the repository at this point in the history
* Enforce sidedness for client packages

* Rename SmoothUtil
  • Loading branch information
apple502j authored May 27, 2024
1 parent 2774991 commit fdd7f98
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_5636 net/minecraft/client/render/CameraSubmersionType
CLASS net/minecraft/class_5636 net/minecraft/block/enums/CameraSubmersionType
COMMENT This class contains the various "fluids" and is used for camera rendering.
COMMENT
COMMENT @see Camera#getSubmersionType()

This file was deleted.

1 change: 0 additions & 1 deletion mappings/net/minecraft/client/item/TooltipData.mapping

This file was deleted.

This file was deleted.

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_3191 net/minecraft/client/render/BlockBreakingInfo
CLASS net/minecraft/class_3191 net/minecraft/entity/player/BlockBreakingInfo
FIELD field_13857 lastUpdateTick I
FIELD field_13858 stage I
FIELD field_13859 actorNetworkId I
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_1664 net/minecraft/client/render/entity/PlayerModelPart
CLASS net/minecraft/class_1664 net/minecraft/entity/player/PlayerModelPart
FIELD field_7560 bitFlag I
FIELD field_7561 id I
FIELD field_7567 optionName Lnet/minecraft/class_2561;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_5631 net/minecraft/item/tooltip/BundleTooltipData
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_9299 net/minecraft/item/TooltipAppender
CLASS net/minecraft/class_9299 net/minecraft/item/tooltip/TooltipAppender
METHOD method_57409 appendTooltip (Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1836;)V
ARG 1 context
ARG 2 tooltip
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,4 +1,4 @@
CLASS net/minecraft/class_1836 net/minecraft/client/item/TooltipType
CLASS net/minecraft/class_1836 net/minecraft/item/tooltip/TooltipType
FIELD field_41070 BASIC Lnet/minecraft/class_1836$class_1837;
FIELD field_41071 ADVANCED Lnet/minecraft/class_1836$class_1837;
METHOD method_47370 isCreative ()Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
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.
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_1143 net/minecraft/client/sound/MusicType
CLASS net/minecraft/class_1143 net/minecraft/sound/MusicType
FIELD field_29804 MENU_MIN_DELAY I
FIELD field_29805 MENU_MAX_DELAY I
FIELD field_29806 GAME_MIN_DELAY I
Expand Down
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/Smoother
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_1926 net/minecraft/client/color/world/FoliageColors
CLASS net/minecraft/class_1926 net/minecraft/world/biome/FoliageColors
FIELD field_9183 colorMap [I
METHOD method_43717 getMangroveColor ()I
METHOD method_8340 setColorMap ([I)V
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_1933 net/minecraft/client/color/world/GrassColors
CLASS net/minecraft/class_1933 net/minecraft/world/biome/GrassColors
FIELD field_9214 colorMap [I
METHOD method_49724 getDefaultColor ()I
METHOD method_8376 setColorMap ([I)V
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

0 comments on commit fdd7f98

Please sign in to comment.