yarn/mappings/net/minecraft/entity/mob/WaterCreatureEntity.mapping

20 lines
865 B
Plaintext

CLASS net/minecraft/class_1480 net/minecraft/entity/mob/WaterCreatureEntity
METHOD method_35174 canSpawnUnderground (Lnet/minecraft/class_1299;Lnet/minecraft/class_5425;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
ARG 0 entityType
ARG 1 world
ARG 2 spawnReason
ARG 3 pos
ARG 4 random
METHOD method_37359 hasNoLight (Lnet/minecraft/class_5425;Lnet/minecraft/class_2338;)Z
ARG 0 world
ARG 1 pos
METHOD method_37360 hasStoneFloor (Lnet/minecraft/class_2338;Lnet/minecraft/class_5425;)Z
COMMENT Returns if the position has a stone floor.
COMMENT
COMMENT @implNote This method checks if a block in the {@link net.minecraft.tag.BlockTags#BASE_STONE_OVERWORLD}
COMMENT tag exists within 5 blocks, and all blocks in between are water.
ARG 0 pos
ARG 1 world
METHOD method_6673 tickWaterBreathingAir (I)V
ARG 1 air