mirror of https://github.com/FabricMC/yarn.git
Document the BellBlockEntity class (#2021)
* Document the BellBlockEntity class * Remove unnecessary project files
This commit is contained in:
parent
27dcc7ae1a
commit
de4ef55992
|
@ -10,22 +10,31 @@ CLASS net/minecraft/class_3721 net/minecraft/block/entity/BellBlockEntity
|
|||
ARG 1 pos
|
||||
ARG 2 state
|
||||
METHOD method_17031 activate (Lnet/minecraft/class_2350;)V
|
||||
COMMENT Rings the bell in a given direction.
|
||||
ARG 1 direction
|
||||
METHOD method_20218 applyParticlesToRaiders (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;)V
|
||||
COMMENT Spawns {@link net.minecraft.particle.ParticleTypes#ENTITY_EFFECT} particles around raiders within 48 blocks.
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
ARG 2 hearingEntities
|
||||
METHOD method_20219 notifyMemoriesOfBell ()V
|
||||
COMMENT Makes living entities within 48 blocks remember that they heard a bell at the current world time.
|
||||
METHOD method_20518 isRaiderEntity (Lnet/minecraft/class_2338;Lnet/minecraft/class_1309;)Z
|
||||
COMMENT Determines whether the given entity is in the {@link net.minecraft.tag.EntityTypeTags#RAIDERS} entity type tag and within 48 blocks of the given position.
|
||||
ARG 0 pos
|
||||
ARG 1 entity
|
||||
METHOD method_20520 applyGlowToEntity (Lnet/minecraft/class_1309;)V
|
||||
COMMENT Gives the {@link net.minecraft.entity.effect.StatusEffects#GLOWING} status effect to the given entity for 3 seconds (60 ticks).
|
||||
ARG 0 entity
|
||||
METHOD method_20521 applyGlowToRaiders (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;)V
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
ARG 2 hearingEntities
|
||||
METHOD method_20523 raidersHearBell (Lnet/minecraft/class_2338;Ljava/util/List;)Z
|
||||
COMMENT Determines whether at least one of the given entities would be affected by the bell.
|
||||
COMMENT
|
||||
COMMENT <p>This determines whether the bell resonates.
|
||||
COMMENT For some reason, despite affected by the bell, entities more than 32 blocks away will not count as hearing the bell.
|
||||
ARG 0 pos
|
||||
ARG 1 hearingEntities
|
||||
METHOD method_31657 clientTick (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3721;)V
|
||||
|
|
Loading…
Reference in New Issue