@@ -176,25 +176,33 @@ public static PlatformHelper get() {
176176 CreativeModeTab .Builder newCreativeModeTab ();
177177
178178 /**
179- * Create a new fake player.
180- *
181- * @param level The level the player should be created in.
182- * @param profile The user this player should mimic.
183- * @return The newly constructed fake player.
184- */
179+ * Create a new fake player.
180+ *
181+ * @param level The level the player should be created in.
182+ * @param profile The user this player should mimic.
183+ * @return The newly constructed fake player.
184+ */
185185 ServerPlayer createFakePlayer (ServerLevel level , GameProfile profile );
186186
187187 /**
188- * Determine if a player is not a real player.
189- *
190- * @param player The player to check.
191- * @return Whether this player is fake.
192- */
188+ * Determine if a player is not a real player.
189+ *
190+ * @param player The player to check.
191+ * @return Whether this player is fake.
192+ */
193193 default boolean isFakePlayer (ServerPlayer player ) {
194194 // Any subclass of ServerPlayer (i.e. Forge's FakePlayer) is assumed to be a fake.
195195 return player .connection == null || player .getClass () != ServerPlayer .class ;
196196 }
197197
198+ /**
199+ * Determine if a player the mod's fake player
200+ *
201+ * @param player The player to check.
202+ * @return Whether this player is this mod's fake player.
203+ */
204+ boolean isSpecialFakePlayer (ServerPlayer player );
205+
198206 final class Instance {
199207 static final @ Nullable PlatformHelper INSTANCE ;
200208 static final @ Nullable Throwable ERROR ;
0 commit comments