Interface ServerPlayerEnvironmentTickEvents.AllowTemperatureChangeApply

Enclosing class:
ServerPlayerEnvironmentTickEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ServerPlayerEnvironmentTickEvents.AllowTemperatureChangeApply
  • Method Summary

    Modifier and Type
    Method
    Description
    net.fabricmc.fabric.api.util.TriState
    allowTemperatureChange(EnvironmentTickContext<net.minecraft.server.level.ServerPlayer> context, int temperatureChange)
     
  • Method Details

    • allowTemperatureChange

      net.fabricmc.fabric.api.util.TriState allowTemperatureChange(EnvironmentTickContext<net.minecraft.server.level.ServerPlayer> context, int temperatureChange)