Skip to content

Commit

Permalink
update event sidedness docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadows-of-Fire committed Sep 21, 2024
1 parent 82321aa commit 2c95e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import net.minecraft.network.chat.Component;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.component.ItemAttributeModifiers;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.bus.api.Event;
import net.neoforged.neoforge.common.util.AttributeTooltipContext;
import net.neoforged.neoforge.common.util.AttributeUtil;
Expand All @@ -20,7 +19,7 @@
* <p>
* It can be used to add additional tooltip lines adjacent to the attribute lines without having to manually locate the inject point.
* <p>
* This event is only fired on the {@linkplain Dist#CLIENT physical client}.
* This event may be fired on both the logical client and logical server.
*/
public class AddAttributeTooltipsEvent extends Event {
protected final ItemStack stack;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.util.Set;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.ItemStack;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.bus.api.Event;
import net.neoforged.neoforge.common.util.AttributeTooltipContext;

Expand All @@ -17,7 +16,7 @@
* <p>
* It allows hiding some (or all) of the modifiers, potentially for displaying them in an alternative way (or for hiding information from the player).
* <p>
* This event is only fired on the {@linkplain Dist#CLIENT physical client}.
* This event may be fired on both the logical client and logical server.
*/
public class GatherSkippedAttributeTooltipsEvent extends Event {
protected final ItemStack stack;
Expand Down

0 comments on commit 2c95e34

Please sign in to comment.