Added doc to SculkSensorRegistry (#2490)

* Added line to Doc to prevent misconception

Added line because people probably want to use their GameEvent for the Warden too.

* Update SculkSensorFrequencyRegistry.java
This commit is contained in:
2ndDerivative 2022-09-11 15:15:53 +02:00 committed by GitHub
parent 0dd10df6d4
commit 763dcebeb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@ public final class SculkSensorFrequencyRegistry {
* <p>As redstone signal strengths are limited to a maximum of 15, a frequency must also be between 1 and 15. As such, many game events will share a single frequency.
*
* <p>Note that the game event must also be in the {@linkplain GameEventTags#VIBRATIONS} tag to be detected by sculk sensors in the first place.
* The same applies for interactions with the Warden in the {@linkplain GameEventTags#WARDEN_CAN_LISTEN} tag.
*
* @param event The event to register the frequency for.
* @param frequency The frequency to register.