Package net.minecraft.block.entity
Class BellBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.BellBlockEntity
public class BellBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cfcintermediary net/minecraft/class_3721named net/minecraft/block/entity/BellBlockEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interfaceBellBlockEntity.class_5557 -
Field Summary
Fields Modifier and Type Field Description private List<LivingEntity>hearingEntitiesprivate longlastRingTimeDirectionlastSideHitprivate intresonateTimeprivate booleanresonatingbooleanringingintringTicksFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors Constructor Description BellBlockEntity(BlockPos blockPos, BlockState blockState) -
Method Summary
Modifier and Type Method Description voidactivate(Direction direction)private static voidapplyGlowToEntity(LivingEntity livingEntity)private static voidapplyGlowToRaiders(World world, BlockPos blockPos, List<LivingEntity> list)private static voidapplyParticlesToRaiders(World world, BlockPos blockPos, List<LivingEntity> list)static voidclientTick(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity)private static booleanisRaiderEntity(BlockPos blockPos, LivingEntity entity)private static voidmethod_31658(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity, BellBlockEntity.class_5557 class_5557)private voidnotifyMemoriesOfBell()booleanonSyncedBlockEvent(int type, int data)private static booleanraidersHearBell(BlockPos blockPos, List<LivingEntity> list)static voidserverTick(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, fromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toTag, toUpdatePacket
-
Field Details
-
lastRingTime
private long lastRingTime- Mappings:
Namespace Name Mixin selector official gLcfc;g:Jintermediary field_19155Lnet/minecraft/class_3721;field_19155:Jnamed lastRingTimeLnet/minecraft/block/entity/BellBlockEntity;lastRingTime:J
-
ringTicks
public int ringTicks- Mappings:
Namespace Name Mixin selector official aLcfc;a:Iintermediary field_17095Lnet/minecraft/class_3721;field_17095:Inamed ringTicksLnet/minecraft/block/entity/BellBlockEntity;ringTicks:I
-
ringing
public boolean ringing- Mappings:
Namespace Name Mixin selector official bLcfc;b:Zintermediary field_17096Lnet/minecraft/class_3721;field_17096:Znamed ringingLnet/minecraft/block/entity/BellBlockEntity;ringing:Z
-
lastSideHit
- Mappings:
Namespace Name Mixin selector official cLcfc;c:Lgc;intermediary field_17097Lnet/minecraft/class_3721;field_17097:Lnet/minecraft/class_2350;named lastSideHitLnet/minecraft/block/entity/BellBlockEntity;lastSideHit:Lnet/minecraft/util/math/Direction;
-
hearingEntities
- Mappings:
Namespace Name Mixin selector official hLcfc;h:Ljava/util/List;intermediary field_19156Lnet/minecraft/class_3721;field_19156:Ljava/util/List;named hearingEntitiesLnet/minecraft/block/entity/BellBlockEntity;hearingEntities:Ljava/util/List;
-
resonating
private boolean resonating- Mappings:
Namespace Name Mixin selector official iLcfc;i:Zintermediary field_19157Lnet/minecraft/class_3721;field_19157:Znamed resonatingLnet/minecraft/block/entity/BellBlockEntity;resonating:Z
-
resonateTime
private int resonateTime- Mappings:
Namespace Name Mixin selector official jLcfc;j:Iintermediary field_19158Lnet/minecraft/class_3721;field_19158:Inamed resonateTimeLnet/minecraft/block/entity/BellBlockEntity;resonateTime:I
-
-
Constructor Details
-
BellBlockEntity
-
-
Method Details
-
onSyncedBlockEvent
public boolean onSyncedBlockEvent(int type, int data)- Overrides:
onSyncedBlockEventin classBlockEntity- Mappings:
Namespace Name Mixin selector official a_Lcfe;a_(II)Zintermediary method_11004Lnet/minecraft/class_2586;method_11004(II)Znamed onSyncedBlockEventLnet/minecraft/block/entity/BlockEntity;onSyncedBlockEvent(II)Z
-
method_31658
private static void method_31658(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity, BellBlockEntity.class_5557 class_5557)- Mappings:
Namespace Name Mixin selector official aLcfc;a(Lbtu;Lfx;Lchg;Lcfc;Lcfc$a;)Vintermediary method_31658Lnet/minecraft/class_3721;method_31658(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3721;Lnet/minecraft/class_3721$class_5557;)Vnamed method_31658Lnet/minecraft/block/entity/BellBlockEntity;method_31658(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BellBlockEntity;Lnet/minecraft/block/entity/BellBlockEntity$class_5557;)V
-
clientTick
public static void clientTick(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity)- Mappings:
Namespace Name Mixin selector official aLcfc;a(Lbtu;Lfx;Lchg;Lcfc;)Vintermediary method_31657Lnet/minecraft/class_3721;method_31657(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3721;)Vnamed clientTickLnet/minecraft/block/entity/BellBlockEntity;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BellBlockEntity;)V
-
serverTick
public static void serverTick(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity)- Mappings:
Namespace Name Mixin selector official bLcfc;b(Lbtu;Lfx;Lchg;Lcfc;)Vintermediary method_31659Lnet/minecraft/class_3721;method_31659(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3721;)Vnamed serverTickLnet/minecraft/block/entity/BellBlockEntity;serverTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BellBlockEntity;)V
-
activate
- Mappings:
Namespace Name Mixin selector official aLcfc;a(Lgc;)Vintermediary method_17031Lnet/minecraft/class_3721;method_17031(Lnet/minecraft/class_2350;)Vnamed activateLnet/minecraft/block/entity/BellBlockEntity;activate(Lnet/minecraft/util/math/Direction;)V
-
notifyMemoriesOfBell
private void notifyMemoriesOfBell()- Mappings:
Namespace Name Mixin selector official dLcfc;d()Vintermediary method_20219Lnet/minecraft/class_3721;method_20219()Vnamed notifyMemoriesOfBellLnet/minecraft/block/entity/BellBlockEntity;notifyMemoriesOfBell()V
-
raidersHearBell
- Mappings:
Namespace Name Mixin selector official aLcfc;a(Lfx;Ljava/util/List;)Zintermediary method_20523Lnet/minecraft/class_3721;method_20523(Lnet/minecraft/class_2338;Ljava/util/List;)Znamed raidersHearBellLnet/minecraft/block/entity/BellBlockEntity;raidersHearBell(Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)Z
-
applyGlowToRaiders
- Mappings:
Namespace Name Mixin selector official aLcfc;a(Lbtu;Lfx;Ljava/util/List;)Vintermediary method_20521Lnet/minecraft/class_3721;method_20521(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;)Vnamed applyGlowToRaidersLnet/minecraft/block/entity/BellBlockEntity;applyGlowToRaiders(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)V
-
applyParticlesToRaiders
private static void applyParticlesToRaiders(World world, BlockPos blockPos, List<LivingEntity> list)- Mappings:
Namespace Name Mixin selector official bLcfc;b(Lbtu;Lfx;Ljava/util/List;)Vintermediary method_20218Lnet/minecraft/class_3721;method_20218(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;)Vnamed applyParticlesToRaidersLnet/minecraft/block/entity/BellBlockEntity;applyParticlesToRaiders(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)V
-
isRaiderEntity
- Mappings:
Namespace Name Mixin selector official aLcfc;a(Lfx;Larh;)Zintermediary method_20518Lnet/minecraft/class_3721;method_20518(Lnet/minecraft/class_2338;Lnet/minecraft/class_1309;)Znamed isRaiderEntityLnet/minecraft/block/entity/BellBlockEntity;isRaiderEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/LivingEntity;)Z
-
applyGlowToEntity
- Mappings:
Namespace Name Mixin selector official aLcfc;a(Larh;)Vintermediary method_20520Lnet/minecraft/class_3721;method_20520(Lnet/minecraft/class_1309;)Vnamed applyGlowToEntityLnet/minecraft/block/entity/BellBlockEntity;applyGlowToEntity(Lnet/minecraft/entity/LivingEntity;)V
-