Interface Silverfish
- All Superinterfaces:
Entity, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Mob, SchedulerSource, Sound.Emitter, Sound.Source.Provider
A silverfish (
minecraft:silverfish): a tiny monster that hides in stone. When something
hurts it, it wakes the silverfish hiding in the blocks around a second later; with nothing to do,
it slips into a stone block next to it when mobs may change the world.
Like every entity, change it from the region thread owning its chunk.
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidMakes this silverfish wake those hiding in the blocks around a second from now, as when something hurts it.Methods inherited from interface Entity
chunk, displayName, entityId, isRemoved, location, remove, server, teleport, teleport, teleport, type, uuid, worldMethods inherited from interface HoverEventSource
asHoverEvent, asHoverEventMethods inherited from interface LivingEntity
absorptionAmount, activeEffects, addEffect, armor, armorToughness, clearEffects, damage, effect, equipment, fireTicks, hasEffect, headYaw, heal, health, isAlive, isDead, kill, knockbackResistance, maxHealth, removeEffect, setAbsorptionAmount, setFireTicks, setHeadYaw, setHealthMethods inherited from interface Mob
attackDamage, behaviour, behaviours, definition, distanceSqTo, followRange, goals, hasLineOfSightTo, height, lookAt, lookAt, movementSpeed, navigateTo, navigation, nearestPlayer, onGround, playSound, setFollowRange, setMoveSpeed, setTarget, setVelocity, target, velocityX, velocityY, velocityZ, widthMethods inherited from interface SchedulerSource
execute, execute, executeDelayed, executeDelayed, isOwnedByCurrentThreadMethods inherited from interface Sound.Source.Provider
soundSource
-
Method Details
-
wakeUpFriends
void wakeUpFriends()Makes this silverfish wake those hiding in the blocks around a second from now, as when something hurts it.- Since:
- 0.1.0
-