yarn/mappings/net/minecraft/block/entity/BellBlockEntity.mapping

61 lines
2.8 KiB
Plaintext

CLASS net/minecraft/class_3721 net/minecraft/block/entity/BellBlockEntity
FIELD field_17095 ringTicks I
FIELD field_17096 ringing Z
FIELD field_17097 lastSideHit Lnet/minecraft/class_2350;
FIELD field_19155 lastRingTime J
FIELD field_19156 hearingEntities Ljava/util/List;
FIELD field_19157 resonating Z
FIELD field_19158 resonateTime I
METHOD <init> (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
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
ARG 0 world
ARG 1 pos
ARG 2 state
ARG 3 blockEntity
METHOD method_31658 tick (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3721;Lnet/minecraft/class_3721$class_5557;)V
ARG 0 world
ARG 1 pos
ARG 2 state
ARG 3 blockEntity
ARG 4 bellEffect
METHOD method_31659 serverTick (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3721;)V
ARG 0 world
ARG 1 pos
ARG 2 state
ARG 3 blockEntity
CLASS class_5557 Effect
METHOD run (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;)V
ARG 1 world
ARG 2 pos
ARG 3 hearingEntities