Interface RealInvisibilityEvents.Allow
- Enclosing class:
RealInvisibilityEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanallow(@NotNull net.minecraft.server.level.ServerPlayer player, int entityId, @NotNull icu.suc.kkw557.realinvisibility.common.Setting setting) Called when a value in the packet to be modified.
-
Method Details
-
allow
boolean allow(@NotNull @NotNull net.minecraft.server.level.ServerPlayer player, int entityId, @NotNull @NotNull icu.suc.kkw557.realinvisibility.common.Setting setting) Called when a value in the packet to be modified.- Parameters:
player- the playerentityId- the entity idsetting- the setting- Returns:
trueif the value should be modified, otherwisefalse
-