Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

ABSOLUTE - Enum constant in enum class com.github.thedeathlycow.thermoo.api.temperature.HeatingModes
Applies temperature changes absolutely - ignoring all resistance in all conditions.
ACTIVE - Enum constant in enum class com.github.thedeathlycow.thermoo.api.temperature.HeatingModes
Always applies the relevant resistance for the change - cold resistance when the change is negative (decreasing temperature) and heat resistance when the change is positive (increasing temperature).
addController(Function<EnvironmentController, EnvironmentController>) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager
Appends an additional environment controller decorator to the existing environment controller.
amount() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
Returns the value of the amount record component.
amount() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
Deprecated.
Returns the value of the amount record component.
amplifier() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
Returns the value of the amplifier record component.
ANY - Static variable in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate
"Any" predicate that will always return as true when tested
apply(LivingEntity, ServerWorld, C) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffect
Applies the effect to a living entity
apply(LivingEntity, ServerWorld, DamageTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect
 
apply(LivingEntity, ServerWorld, EmptyTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.EmptyTemperatureEffect
 
apply(LivingEntity, ServerWorld, LegacyDamageTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect
Deprecated.
 
apply(LivingEntity, ServerWorld, ScalingAttributeModifierTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect
 
apply(LivingEntity, ServerWorld, StatusEffectTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect
 
applyIfPossible(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect
Tests and applies this effect to a living entity if possible
applyResistance(TemperatureAware, int) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.HeatingMode
Applies thermal resistance to a TemperatureAware target
applySyncPacket(PacketByteBuf) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
 
applySyncPacket(PacketByteBuf) - Method in class com.github.thedeathlycow.thermoo.impl.WetComponent
 
asString() - Method in enum class com.github.thedeathlycow.thermoo.api.temperature.HeatingModes
 
attribute() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Returns the value of the attribute record component.

B

BENEFITS_FROM_COLD_ENTITY_TYPE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooTags
Entity types that benefit from being cold
BENEFITS_FROM_HEAT_ENTITY_TYPE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooTags
Entity types that benefit from being warm
build() - Method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate.Builder
 
Builder() - Constructor for class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate.Builder
 

C

CAN_APPLY_PASSIVE_TEMPERATURE_CHANGE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.PlayerEnvironmentEvents
Called to check that a player is vulnerable to passive temperature changes.
canApplyChange(int, PlayerEntity) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.event.PlayerEnvironmentEvents.TemperatureChangeEventCallback
Checks that a player can have the given change applied as a passive temperature change.
canBreatheInWater() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
CODEC - Static variable in class com.github.thedeathlycow.thermoo.api.command.HeatingModeArgumentType
 
COLD_IMMUNE_ENTITY_TYPE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooTags
Entity types that are cold immune
collideWithEntity(Entity) - Method in class com.github.thedeathlycow.thermoo.mixin.PlayerTemperatureTickMixin
 
com.github.thedeathlycow.thermoo.api - package com.github.thedeathlycow.thermoo.api
Base API package for Thermoo.
com.github.thedeathlycow.thermoo.api.command - package com.github.thedeathlycow.thermoo.api.command
Stores the definitions for commands in Thermoo.
com.github.thedeathlycow.thermoo.api.predicate - package com.github.thedeathlycow.thermoo.api.predicate
Package for dealing with EntityPredicate extensions in Thermoo.
com.github.thedeathlycow.thermoo.api.temperature - package com.github.thedeathlycow.thermoo.api.temperature
Package for all things temperature related.
com.github.thedeathlycow.thermoo.api.temperature.effects - package com.github.thedeathlycow.thermoo.api.temperature.effects
Contains classes related to temperature effects
com.github.thedeathlycow.thermoo.api.temperature.event - package com.github.thedeathlycow.thermoo.api.temperature.event
Contains classes related to temperature events
com.github.thedeathlycow.thermoo.impl - package com.github.thedeathlycow.thermoo.impl
Implementation package for Thermoo.
com.github.thedeathlycow.thermoo.mixin - package com.github.thedeathlycow.thermoo.mixin
Mixin package for Thermoo.
COMMAND_BUILDER - Static variable in class com.github.thedeathlycow.thermoo.api.command.EnvironmentCommand
Supplier for creating a new environment command builder to be registered to the Minecraft server
COMMAND_BUILDER - Static variable in class com.github.thedeathlycow.thermoo.api.command.TemperatureCommand
Supplier for creating a new temperature command builder to be registered to the Minecraft server
Config(float, int) - Constructor for record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
Deprecated.
Creates an instance of a Config record class.
Config(float, int, RegistryKey<DamageType>) - Constructor for record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
Creates an instance of a Config record class.
Config(float, EntityAttribute, UUID, String, EntityAttributeModifier.Operation) - Constructor for record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Creates an instance of a Config record class.
Config(Collection<StatusEffectTemperatureEffect.Config.ConfigEffect>) - Constructor for record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
Creates an instance of a Config record class.
CONFIG_VERSION - Static variable in class com.github.thedeathlycow.thermoo.impl.Thermoo
 
ConfigEffect(StatusEffect, int, int) - Constructor for record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
Creates an instance of a ConfigEffect record class.
configFromJson(JsonElement, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect
 
configFromJson(JsonElement, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.EmptyTemperatureEffect
 
configFromJson(JsonElement, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect
Deprecated.
 
configFromJson(JsonElement, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect
 
configFromJson(JsonElement, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect
 
configFromJson(JsonElement, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffect
Deserializes a JSON element into a new config instance that is valid for this effect type
ConfiguredTemperatureEffect<C> - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
Represents a configured instance of a TemperatureEffect type.
ConfiguredTemperatureEffect.Serializer - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
 
controller - Variable in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
The base controller to decorate with new functionality.
create() - Static method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate.Builder
 

D

DAMAGE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
Applies damage to entities on an interval
damageInterval() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
Returns the value of the damageInterval record component.
damageInterval() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
Deprecated.
Returns the value of the damageInterval record component.
DamageTemperatureEffect - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
Applies damage to LivingEntitys when their temperature scale is within a given range.
DamageTemperatureEffect() - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect
 
DamageTemperatureEffect.Config - Record Class in com.github.thedeathlycow.thermoo.api.temperature.effects
 
damageType() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
Returns the value of the damageType record component.
decorateController(EnvironmentController) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.event.EnvironmentControllerInitializeEvent.Callback
Create a new controller decorator with the base controller as its param
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect.Serializer
 
duration() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
Returns the value of the duration record component.

E

effects() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
Returns the value of the effects record component.
EMPTY - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
An empty temperature effect; does nothing.
EmptyEnvironmentController - Class in com.github.thedeathlycow.thermoo.api.temperature
The most basic concrete implementation of the environment controller.
EmptyTemperatureEffect - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
Represents an 'empty' temperature effect that is never applied and does nothing.
EmptyTemperatureEffect() - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.EmptyTemperatureEffect
 
EmptyTemperatureEffect.Config - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
 
EntityPredicateMixin - Class in com.github.thedeathlycow.thermoo.mixin
 
EntityPredicateMixin() - Constructor for class com.github.thedeathlycow.thermoo.mixin.EntityPredicateMixin
 
EnvironmentAwareEntityMixin - Class in com.github.thedeathlycow.thermoo.mixin
 
EnvironmentAwareEntityMixin(EntityType<?>, World) - Constructor for class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
EnvironmentCommand - Class in com.github.thedeathlycow.thermoo.api.command
Command relating to environment effects
EnvironmentCommand() - Constructor for class com.github.thedeathlycow.thermoo.api.command.EnvironmentCommand
 
EnvironmentComponent - Interface in com.github.thedeathlycow.thermoo.impl
 
EnvironmentController - Interface in com.github.thedeathlycow.thermoo.api.temperature
Implements computations for various passive environmental effects, such as passive freezing/warming from biomes, and passive warming from heat sources (torches, campfires, etc).
EnvironmentControllerDecorator - Class in com.github.thedeathlycow.thermoo.api.temperature
Decorator for the EnvironmentController, to be extended by other mods for the purpose of adding or replacing functionality from the default environment controller.
EnvironmentControllerDecorator(EnvironmentController) - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
Constructs a decorator out of a base controller
EnvironmentControllerInitializeEvent - Class in com.github.thedeathlycow.thermoo.api.temperature.event
Phased event for applying environment controllers in an ordered manner.
EnvironmentControllerInitializeEvent() - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.event.EnvironmentControllerInitializeEvent
 
EnvironmentControllerInitializeEvent.Callback - Interface in com.github.thedeathlycow.thermoo.api.temperature.event
 
EnvironmentManager - Class in com.github.thedeathlycow.thermoo.api.temperature
Controls what instance of the EnvironmentManager is to be used by Thermoo events
equals(Object) - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
Deprecated.
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
Indicates whether some other object is "equal to" this one.
EVENT - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.EnvironmentControllerInitializeEvent
Called when the EnvironmentManager initializes its controller.

F

FREEZE_DAMAGE_LEGACY - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
Deprecated.
As of 1.5, you should use TemperatureEffects.DAMAGE instead, as it does not hardcode a damage source
fromJson(JsonElement) - Static method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate
Returns the TemperaturePredicate that is represented by the given json.
fromJson(TemperatureEffect<C>, JsonElement, JsonDeserializationContext, LootCondition, EntityType<?>, NumberRange.FloatRange) - Static method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect
Constructs a new ConfiguredTemperatureEffect of a specified type and config JSON object
fromJson(JsonElement) - Static method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
 
fromJson(JsonElement) - Static method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
 
fromJson(JsonElement, JsonDeserializationContext) - Static method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
 
fromJson(JsonElement, JsonDeserializationContext) - Static method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
Deprecated.
 
FROST_RESISTANCE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooAttributes
The cold resistance of an entity.

G

getAttributeInstance(EntityAttribute) - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
getAttributeInstance(EntityAttribute) - Method in class com.github.thedeathlycow.thermoo.mixin.LivingEntityAttributeMixin
 
getAttributeValue(EntityAttribute) - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
getBaseValueForAttribute(EntityAttribute, LivingEntity) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getBaseValueForAttribute(EntityAttribute, LivingEntity) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Gets the base value for one of the ThermooAttributes.
getBaseValueForAttribute(EntityAttribute, LivingEntity) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getController() - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager
Gets the currently configured environment controller.
getDecorated() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Gets the controller that this controller decorates.
getDecorated() - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
Getter for the base controller
getEffectsForEntity(LivingEntity) - Static method in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
Returns all currently loaded ConfiguredTemperatureEffects that are mapped to the entity's type.
getEffectsForEntity(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
 
getEntityType() - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect
 
getEnvironmentTemperatureForPlayer(PlayerEntity, int) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getEnvironmentTemperatureForPlayer(PlayerEntity, int) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Computes the environmental temperature change for a player, based on a local temperature computed from EnvironmentController.getLocalTemperatureChange(World, BlockPos)
getEnvironmentTemperatureForPlayer(PlayerEntity, int) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getFabricId() - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
 
getFloorTemperature(LivingEntity, World, BlockState, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getFloorTemperature(LivingEntity, World, BlockState, BlockPos) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Gets the amount of warmth generated by a floor block state for a given entity.
getFloorTemperature(LivingEntity, World, BlockState, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getGlobalEffects() - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
 
getHeatAtLocation(World, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getHeatAtLocation(World, BlockPos) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Calculates the passive warmth nearby heat sources at a location in a world.
getHeatAtLocation(World, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getHeatFromBlockState(BlockState) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getHeatFromBlockState(BlockState) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Calculates the heat produced by a block state.
getHeatFromBlockState(BlockState) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getHeatingMode(CommandContext<ServerCommandSource>, String) - Static method in class com.github.thedeathlycow.thermoo.api.command.HeatingModeArgumentType
 
getLoadedConfiguredEffects() - Static method in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
 
getLocalTemperatureChange(World, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getLocalTemperatureChange(World, BlockPos) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Computes the local temperature change from the environment at a given position in a world.
getLocalTemperatureChange(World, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getMaxWetTicks(Soakable) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Gets the default maximum wet ticks for the soakable.
getMaxWetTicks(Soakable) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getSoakChange(Soakable) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getSoakChange(Soakable) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Gets the wetness increase for a Soakable this tick
getSoakChange(Soakable) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getTemperatureEffectsChange(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
getTemperatureEffectsChange(LivingEntity) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Computes temperature changes for LivingEntitys from heat effects.
getTemperatureEffectsChange(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
getValue() - Method in interface com.github.thedeathlycow.thermoo.impl.EnvironmentComponent
 
getValue() - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
 
getValue() - Method in class com.github.thedeathlycow.thermoo.impl.WetComponent
 
GSON - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect.Serializer
 

H

hashCode() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
Deprecated.
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
Returns a hash code value for this object.
hasStatusEffect(StatusEffect) - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
HEAT_IMMUNE_ENTITY_TYPE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooTags
Entity types that are heat immune
HEAT_RESISTANCE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooAttributes
The heat resistance of an entity.
heatingMode() - Static method in class com.github.thedeathlycow.thermoo.api.command.HeatingModeArgumentType
 
HeatingMode - Interface in com.github.thedeathlycow.thermoo.api.temperature
The mode of temperature change for a TemperatureAware.
HeatingModeArgumentType - Class in com.github.thedeathlycow.thermoo.api.command
Enum argument type for TemperatureCommand
HeatingModes - Enum Class in com.github.thedeathlycow.thermoo.api.temperature
The three primary modes for adding and removing heat from a TemperatureAware.
HotFloorMixin - Class in com.github.thedeathlycow.thermoo.mixin
 
HotFloorMixin() - Constructor for class com.github.thedeathlycow.thermoo.mixin.HotFloorMixin
 

I

id(String) - Static method in class com.github.thedeathlycow.thermoo.impl.Thermoo
Creates a new Identifier under the namespace "thermoo"
INSTANCE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.EmptyTemperatureEffect.Config
 
INSTANCE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager
Singleton instance of this class
INSTANCE - Static variable in class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
 
isAreaHeated(World, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
isAreaHeated(World, BlockPos) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Check if a position in a world is heated
isAreaHeated(World, BlockPos) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
isColdSource(BlockState) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
isColdSource(BlockState) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Checks if a block state is a cold source, as defined by this controller.
isColdSource(BlockState) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 
isHeatSource(BlockState) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
isHeatSource(BlockState) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
Checks if a block state is a heat source, as defined by this controller.
isHeatSource(BlockState) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
 

L

LegacyDamageTemperatureEffect - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
Deprecated.
For 1.19.4+, use DamageTemperatureEffect instead
LegacyDamageTemperatureEffect(Function<ServerWorld, DamageSource>) - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect
Deprecated.
 
LegacyDamageTemperatureEffect.Config - Record Class in com.github.thedeathlycow.thermoo.api.temperature.effects
Deprecated.
 
LISTENER_PHASE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.EnvironmentControllerInitializeEvent
Final phase of environment controller initialization.
LivingEntityAttributeMixin - Class in com.github.thedeathlycow.thermoo.mixin
 
LivingEntityAttributeMixin() - Constructor for class com.github.thedeathlycow.thermoo.mixin.LivingEntityAttributeMixin
 
LivingEntityEnvironmentTickImpl - Class in com.github.thedeathlycow.thermoo.impl
 
LivingEntityEnvironmentTickMixin - Class in com.github.thedeathlycow.thermoo.mixin
 
LivingEntityEnvironmentTickMixin() - Constructor for class com.github.thedeathlycow.thermoo.mixin.LivingEntityEnvironmentTickMixin
 
LOGGER - Static variable in class com.github.thedeathlycow.thermoo.impl.Thermoo
 

M

MAX_TEMPERATURE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooAttributes
The maximum temperature of an entity.
MIN_TEMPERATURE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooAttributes
The minimum temperature of an entity.
MODID - Static variable in class com.github.thedeathlycow.thermoo.impl.Thermoo
 
MODIFY_PHASE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.EnvironmentControllerInitializeEvent
First phase after setting values in default.

N

name() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Returns the value of the name record component.

O

onInitialize() - Method in class com.github.thedeathlycow.thermoo.impl.Thermoo
 
operation() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Returns the value of the operation record component.
OVERRIDE_PHASE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.EnvironmentControllerInitializeEvent
Overriding phase of environment controller initialization.

P

PASSIVE - Enum constant in enum class com.github.thedeathlycow.thermoo.api.temperature.HeatingModes
Only applies thermal resistance when the target is currently in the relevant temperature range.
peelController() - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager
Peels off the top decorator of the controller.
PlayerEnvironmentEvents - Class in com.github.thedeathlycow.thermoo.api.temperature.event
Events relevant to player ticking and passive temperature changes
PlayerEnvironmentEvents.TemperatureChangeEventCallback - Interface in com.github.thedeathlycow.thermoo.api.temperature.event
 
PlayerTemperatureTickMixin - Class in com.github.thedeathlycow.thermoo.mixin
 
PlayerTemperatureTickMixin() - Constructor for class com.github.thedeathlycow.thermoo.mixin.PlayerTemperatureTickMixin
 

R

readFromNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
 
readFromNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.WetComponent
 
registerAttributes() - Static method in class com.github.thedeathlycow.thermoo.impl.ThermooCommonRegisters
 
registerEntityComponentFactories(EntityComponentFactoryRegistry) - Method in class com.github.thedeathlycow.thermoo.impl.ThermooComponents
 
registerTemperatureEffects() - Static method in class com.github.thedeathlycow.thermoo.impl.ThermooCommonRegisters
 
reload(ResourceManager) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
 

S

scale() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Returns the value of the scale record component.
scale(NumberRange.FloatRange) - Method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate.Builder
 
SCALING_ATTRIBUTE_MODIFIER - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
Applies scaled EntityAttributeModifiers to entities based on their temperature
ScalingAttributeModifierTemperatureEffect - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
A temperature effect that applies an attribute modifier to a victim that increases in strength with respect to the current temperature scale, as computed by TemperatureAware.thermoo$getTemperatureScale()
ScalingAttributeModifierTemperatureEffect() - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect
 
ScalingAttributeModifierTemperatureEffect.Config - Record Class in com.github.thedeathlycow.thermoo.api.temperature.effects
 
Serializer() - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect.Serializer
 
setValue(int) - Method in interface com.github.thedeathlycow.thermoo.impl.EnvironmentComponent
 
setValue(int) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
 
setValue(int) - Method in class com.github.thedeathlycow.thermoo.impl.WetComponent
 
shouldApply(LivingEntity, C) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffect
Tests if the effect should be applied to a living entity.
shouldApply(LivingEntity, DamageTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect
 
shouldApply(LivingEntity, EmptyTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.EmptyTemperatureEffect
 
shouldApply(LivingEntity, LegacyDamageTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect
Deprecated.
 
shouldApply(LivingEntity, ScalingAttributeModifierTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect
 
shouldApply(LivingEntity, StatusEffectTemperatureEffect.Config) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect
 
Soakable - Interface in com.github.thedeathlycow.thermoo.api.temperature
Soakable entities are things that can get wet.
STATUS_EFFECT - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
Applies StatusEffects to entities based on their temperature
StatusEffectTemperatureEffect - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
Applies StatusEffects to LivingEntitys if their temperature scale is within a given range.
StatusEffectTemperatureEffect() - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect
 
StatusEffectTemperatureEffect.Config - Record Class in com.github.thedeathlycow.thermoo.api.temperature.effects
 
StatusEffectTemperatureEffect.Config.ConfigEffect - Record Class in com.github.thedeathlycow.thermoo.api.temperature.effects
 

T

temperature(NumberRange.IntRange) - Method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate.Builder
 
TEMPERATURE - Static variable in class com.github.thedeathlycow.thermoo.impl.ThermooComponents
 
TEMPERATURE_EFFECT - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooRegistryKeys
 
TEMPERATURE_EFFECTS - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooRegistries
Temperature effects
TemperatureAware - Interface in com.github.thedeathlycow.thermoo.api.temperature
TemperatureAware entities are things that are sensitive to temperature.
TemperatureCommand - Class in com.github.thedeathlycow.thermoo.api.command
Command relating to temperature.
TemperatureCommand() - Constructor for class com.github.thedeathlycow.thermoo.api.command.TemperatureCommand
 
TemperatureComponent - Class in com.github.thedeathlycow.thermoo.impl
 
TemperatureComponent(LivingEntity) - Constructor for class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
 
TemperatureEffect<C> - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
A temperature effect is some effect that is applied to a LivingEntity based on their current temperature, as determined by TemperatureAware.
TemperatureEffect() - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffect
 
TemperatureEffectLoader - Class in com.github.thedeathlycow.thermoo.impl
 
TemperatureEffectLoader(Identifier) - Constructor for class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
 
TemperatureEffects - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
A container class that contains all the various temperature effect types provided by Thermoo.
TemperatureEffectTickerMixin - Class in com.github.thedeathlycow.thermoo.mixin
 
TemperatureEffectTickerMixin(EntityType<?>, World) - Constructor for class com.github.thedeathlycow.thermoo.mixin.TemperatureEffectTickerMixin
 
TemperaturePredicate - Class in com.github.thedeathlycow.thermoo.api.predicate
Predicate for testing the temperature of a TemperatureAware
TemperaturePredicate(NumberRange.FloatRange, NumberRange.IntRange) - Constructor for class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate
Constructs a new temperature predicate with a scale and temperature range
TemperaturePredicate.Builder - Class in com.github.thedeathlycow.thermoo.api.predicate
Builder class for TemperaturePredicate
test(TemperatureAware) - Method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate
Tests the temperature of a TemperatureAware against this predicate.
Thermoo - Class in com.github.thedeathlycow.thermoo.impl
 
Thermoo() - Constructor for class com.github.thedeathlycow.thermoo.impl.Thermoo
 
thermoo$addTemperature(int) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
Adds or removes some amount of temperature to the thermally aware object.
thermoo$addTemperature(int, HeatingMode) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
Adds or removes some amount of temperature to the thermally aware object.
thermoo$addTemperature(int, HeatingMode) - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$addWetTicks(int) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
 
thermoo$canFreeze() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$canFreeze() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$canOverheat() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$canOverheat() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$getColdResistance() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
Supplies the cold resistance of the temperature aware object.
thermoo$getColdResistance() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$getHeatResistance() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
Supplies the heat resistance of the temperature aware object.
thermoo$getHeatResistance() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$getMaxTemperature() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$getMaxTemperature() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$getMaxWetTicks() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
 
thermoo$getMaxWetTicks() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$getMinTemperature() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$getMinTemperature() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$getSoakedScale() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
 
thermoo$getTemperature() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$getTemperature() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$getTemperatureScale() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$getWetTicks() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
 
thermoo$getWetTicks() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$ignoresFrigidWater() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
Soakables ignore frigid water if they can breathe in water.
thermoo$ignoresFrigidWater() - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$isCold() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$isSoaked() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
 
thermoo$isWarm() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$isWet() - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
 
thermoo$setTemperature(int) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.TemperatureAware
 
thermoo$setTemperature(int) - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
thermoo$setWetTicks(int) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.Soakable
Sets the wet ticks of a soakable to an exact amount.
thermoo$setWetTicks(int) - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
 
ThermooAttributes - Class in com.github.thedeathlycow.thermoo.api
Custom EntityAttributes provided by Thermoo
ThermooCommonRegisters - Class in com.github.thedeathlycow.thermoo.impl
 
ThermooCommonRegisters() - Constructor for class com.github.thedeathlycow.thermoo.impl.ThermooCommonRegisters
 
ThermooComponents - Class in com.github.thedeathlycow.thermoo.impl
 
ThermooComponents() - Constructor for class com.github.thedeathlycow.thermoo.impl.ThermooComponents
 
ThermooRegistries - Class in com.github.thedeathlycow.thermoo.api
Custom registries provided by Thermoo
ThermooRegistryKeys - Class in com.github.thedeathlycow.thermoo.api
 
ThermooTags - Class in com.github.thedeathlycow.thermoo.api
All tags used by Thermoo.
tick(LivingEntity, int) - Static method in class com.github.thedeathlycow.thermoo.impl.LivingEntityEnvironmentTickImpl
 
toJson() - Method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate
Serializes this predicate to JSON
toString() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.DamageTemperatureEffect.Config
Returns a string representation of this record class.
toString() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
Deprecated.
Returns a string representation of this record class.
toString() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Returns a string representation of this record class.
toString() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
Returns a string representation of this record class.
toString() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
Returns a string representation of this record class.
toString() - Method in class com.github.thedeathlycow.thermoo.api.temperature.EmptyEnvironmentController
 
toString() - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentControllerDecorator
Wraps the class name around the string representation of the EnvironmentControllerDecorator.controller so that it is easy to see which mods are decorating the Thermoo environment controller
toString() - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager
 
type() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
Returns the value of the type record component.

U

uuid() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
Returns the value of the uuid record component.

V

valueOf(String) - Static method in enum class com.github.thedeathlycow.thermoo.api.temperature.HeatingModes
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.github.thedeathlycow.thermoo.api.temperature.HeatingModes
Returns an array containing the constants of this enum class, in the order they are declared.

W

WetComponent - Class in com.github.thedeathlycow.thermoo.impl
 
WetComponent(LivingEntity) - Constructor for class com.github.thedeathlycow.thermoo.impl.WetComponent
 
WETNESS - Static variable in class com.github.thedeathlycow.thermoo.impl.ThermooComponents
 
writeSyncPacket(PacketByteBuf, ServerPlayerEntity) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
 
writeSyncPacket(PacketByteBuf, ServerPlayerEntity) - Method in class com.github.thedeathlycow.thermoo.impl.WetComponent
 
writeToNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
 
writeToNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.WetComponent
 
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values