Index
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).
- amount() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
-
Returns the value of the
amountrecord component. - amplifier() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
-
Returns the value of the
amplifierrecord 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, 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
- 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
- applyChange(Soakable, int) - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialSoakChangeResult
-
Increases the wet ticks of the affectee by the specified amount
- applyChange(TemperatureAware, int) - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialTemperatureChangeResult
-
Applies the temperature change in the mode of the result to the affectee
- applyChange(T, int) - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
-
Applies the initial change to an affectee.
- applyIfPossible(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect
-
Tests and applies this effect to a living entity if possible
- applyInitialChange() - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
-
Tells Thermoo to apply the change to the affectee
- applyResistance(TemperatureAware, int) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.HeatingMode
-
Applies thermal resistance to a
TemperatureAwaretarget - applySyncPacket(PacketByteBuf) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
- applySyncPacket(PacketByteBuf) - Method in class com.github.thedeathlycow.thermoo.impl.WetnessComponent
- 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
attributerecord 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
- 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
- com.github.thedeathlycow.thermoo.api - package com.github.thedeathlycow.thermoo.api
- com.github.thedeathlycow.thermoo.api.command - package com.github.thedeathlycow.thermoo.api.command
- com.github.thedeathlycow.thermoo.api.predicate - package com.github.thedeathlycow.thermoo.api.predicate
- com.github.thedeathlycow.thermoo.api.temperature - package com.github.thedeathlycow.thermoo.api.temperature
- com.github.thedeathlycow.thermoo.api.temperature.effects - package com.github.thedeathlycow.thermoo.api.temperature.effects
- com.github.thedeathlycow.thermoo.api.temperature.event - package com.github.thedeathlycow.thermoo.api.temperature.event
- com.github.thedeathlycow.thermoo.impl - package com.github.thedeathlycow.thermoo.impl
- com.github.thedeathlycow.thermoo.impl.config - package com.github.thedeathlycow.thermoo.impl.config
- com.github.thedeathlycow.thermoo.mixin - package com.github.thedeathlycow.thermoo.mixin
- 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
-
Creates an instance of a
Configrecord 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
Configrecord class. - Config(Collection<StatusEffectTemperatureEffect.Config.ConfigEffect>) - Constructor for record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
-
Creates an instance of a
Configrecord 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
ConfigEffectrecord class. - 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
- 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
TemperatureEffecttype. - ConfiguredTemperatureEffect(TemperatureEffect<C>, C, LootCondition, NumberRange.FloatRange) - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect
- ConfiguredTemperatureEffect.Serializer - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
- create() - Static method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate.Builder
- currentConfigVersion - Variable in class com.github.thedeathlycow.thermoo.impl.config.ThermooUpdateConfig
D
- damageInterval() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
-
Returns the value of the
damageIntervalrecord component. - deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect.Serializer
- doDryBiomeNightFreezing() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- duration() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
-
Returns the value of the
durationrecord component.
E
- effects() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config
-
Returns the value of the
effectsrecord component. - EMPTY - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
- 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
- endCombat() - Method in class com.github.thedeathlycow.thermoo.mixin.LivingEntityEnvironmentEventMixin
- EntityInvoker - Interface in com.github.thedeathlycow.thermoo.mixin
- 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
- environmentConfig - Variable in class com.github.thedeathlycow.thermoo.impl.config.ThermooConfig
- 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).
- EnvironmentControllerImpl - Class in com.github.thedeathlycow.thermoo.impl
- EnvironmentControllerImpl() - Constructor for class com.github.thedeathlycow.thermoo.impl.EnvironmentControllerImpl
- EnvironmentManager - Class in com.github.thedeathlycow.thermoo.api.temperature
-
Controls what instance of the
EnvironmentManageris to be used by Thermoo events - equals(Object) - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect.Config
-
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.
F
- FREEZE_DAMAGE_LEGACY - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
- fromJson(JsonElement) - Static method in class com.github.thedeathlycow.thermoo.api.predicate.TemperaturePredicate
-
Returns the
TemperaturePredicatethat is represented by the givenjson. - fromJson(TemperatureEffect<C>, JsonElement, JsonDeserializationContext, LootCondition, NumberRange.FloatRange) - Static method in class com.github.thedeathlycow.thermoo.api.temperature.effects.ConfiguredTemperatureEffect
-
Constructs a new
ConfiguredTemperatureEffectof 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.LegacyDamageTemperatureEffect.Config
- FROST_RESISTANCE - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooAttributes
-
The cold resistance of an entity.
G
- getAttributeValue(EntityAttribute) - Method in class com.github.thedeathlycow.thermoo.mixin.EnvironmentAwareEntityMixin
- getBiomeTemperatureMultiplier() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getConfig() - Static method in class com.github.thedeathlycow.thermoo.impl.Thermoo
- getController() - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager
- getDryBiomeNightTemperature() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getDryRate() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getEffects() - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
- getFabricId() - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureEffectLoader
- 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.impl.EnvironmentControllerImpl
- 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.impl.EnvironmentControllerImpl
- getHeatingMode(CommandContext<ServerCommandSource>, String) - Static method in class com.github.thedeathlycow.thermoo.api.command.HeatingModeArgumentType
- getInitialChange() - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
- getLoadedConfiguredEffects() - Static method in class com.github.thedeathlycow.thermoo.api.temperature.effects.TemperatureEffects
- getLocalTemperatureChange(World, BlockPos) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
-
Computes the local temperature change at a given position in a world.
- getLocalTemperatureChange(World, BlockPos) - Method in class com.github.thedeathlycow.thermoo.impl.EnvironmentControllerImpl
- getMinLightForWarmth() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getModConfigScreenFactory() - Method in class com.github.thedeathlycow.thermoo.impl.ThermooModMenu
- getMode() - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialTemperatureChangeResult
- getNightTimeTemperatureDecrease() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getOnFireDryDate() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getOnFireWarmRate() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getOnFireWarmthRate(LivingEntity) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
-
Computes passive warmth for
LivingEntitys on fire. - getOnFireWarmthRate(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.impl.EnvironmentControllerImpl
- getPassiveFreezingCutoffTemp() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getPowderSnowFreezeRate() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getPowderSnowFreezeRate(LivingEntity) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
-
Computes passive freezing for
LivingEntitys in powder snow. - getPowderSnowFreezeRate(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.impl.EnvironmentControllerImpl
- getRainWetnessIncrease() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getSoakChange(LivingEntity) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.EnvironmentController
-
Gets the wetness increase for a
Soakableplayer this tick - getSoakChange(LivingEntity) - Method in class com.github.thedeathlycow.thermoo.impl.EnvironmentControllerImpl
- getTouchingWaterWetnessIncrease() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getUltrawarmWarmRate() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- getValue() - Method in interface com.github.thedeathlycow.thermoo.impl.IntComponent
- getValue() - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
- getValue() - Method in class com.github.thedeathlycow.thermoo.impl.WetnessComponent
- getWarmthPerLightLevel() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- 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.LegacyDamageTemperatureEffect.Config
-
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.
I
- id(String) - Static method in class com.github.thedeathlycow.thermoo.impl.Thermoo
- InitialEnvironmentChangeResult<T> - Class in com.github.thedeathlycow.thermoo.api.temperature.event
-
This class is to ensure that changes in environmental effects, such as temperature from
TemperatureAwareor wetness from aSoakablethat come from common sources dictated by theEnvironmentControllerare not applied more than once to an affectee. - InitialEnvironmentChangeResult(T, int) - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
-
Creates an initial environment change result with an affectee and an amount
- InitialSoakChangeResult - Class in com.github.thedeathlycow.thermoo.api.temperature.event
-
Initial Environment Change result for
Soakables - InitialSoakChangeResult(Soakable, int) - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.event.InitialSoakChangeResult
-
Creates a soak change result with a soakable affectee and an initial change value
- InitialTemperatureChangeResult - Class in com.github.thedeathlycow.thermoo.api.temperature.event
-
Initial Environment change result implemented for
TemperatureAwares - InitialTemperatureChangeResult(TemperatureAware, int, HeatingMode) - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.event.InitialTemperatureChangeResult
-
Constructs a result with an initial amount and a mode
- 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
- IntComponent - Interface in com.github.thedeathlycow.thermoo.impl
- 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.impl.EnvironmentControllerImpl
- isConfigUpdatesEnabled() - Method in class com.github.thedeathlycow.thermoo.impl.config.ThermooUpdateConfig
- 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.impl.EnvironmentControllerImpl
- isInitialChangeApplied() - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
L
- LegacyDamageTemperatureEffect - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
-
Applies damage to
LivingEntitys when their temperature scale is within a given range. - LegacyDamageTemperatureEffect(DamageSource) - Constructor for class com.github.thedeathlycow.thermoo.api.temperature.effects.LegacyDamageTemperatureEffect
- LegacyDamageTemperatureEffect.Config - Record Class in com.github.thedeathlycow.thermoo.api.temperature.effects
- LivingEntityEnvironmentEventMixin - Class in com.github.thedeathlycow.thermoo.mixin
- LivingEntityEnvironmentEventMixin() - Constructor for class com.github.thedeathlycow.thermoo.mixin.LivingEntityEnvironmentEventMixin
- LivingEntityEnvironmentEvents - Class in com.github.thedeathlycow.thermoo.api.temperature.event
-
Events relevant to entity ticking in the environment
- LivingEntityEnvironmentEvents.SoakChangeEventCallback - Interface in com.github.thedeathlycow.thermoo.api.temperature.event
-
Event callback for soak change ticks
- LivingEntityEnvironmentEvents.TemperatureChangeEventCallback - Interface in com.github.thedeathlycow.thermoo.api.temperature.event
-
Event callback for temperature change ticks
- 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
N
- name() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
-
Returns the value of the
namerecord component.
O
- onBiomeTemperatureChange(EnvironmentController, PlayerEntity, Biome, InitialTemperatureChangeResult) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.event.PlayerEnvironmentEvents.BiomeTemperatureChangeTickCallback
-
Invoked when the temperature change should be applied.
- onEventComplete() - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
-
Called AFTER the event this was created for has completed its invocation.
- onInitialize() - Method in class com.github.thedeathlycow.thermoo.impl.Thermoo
- onSoakChange(EnvironmentController, LivingEntity, InitialSoakChangeResult) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.event.LivingEntityEnvironmentEvents.SoakChangeEventCallback
-
Invoked when the soak change should be applied.
- onTemperatureChange(EnvironmentController, LivingEntity, InitialTemperatureChangeResult) - Method in interface com.github.thedeathlycow.thermoo.api.temperature.event.LivingEntityEnvironmentEvents.TemperatureChangeEventCallback
-
Invoked when the temperature change should be applied.
- operation() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
-
Returns the value of the
operationrecord component.
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.
- PlayerEnvironmentEvents - Class in com.github.thedeathlycow.thermoo.api.temperature.event
-
Events relevant to player ticking and passive temperature changes
- PlayerEnvironmentEvents.BiomeTemperatureChangeTickCallback - Interface in com.github.thedeathlycow.thermoo.api.temperature.event
-
Callback for passive temperature change ticks
- PlayerTemperatureEventMixin - Class in com.github.thedeathlycow.thermoo.mixin
- PlayerTemperatureEventMixin() - Constructor for class com.github.thedeathlycow.thermoo.mixin.PlayerTemperatureEventMixin
R
- readFromNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
- readFromNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.WetnessComponent
- 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
scalerecord 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
- 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
- setController(EnvironmentController) - Method in class com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager
-
Sets the default
EnvironmentControllerto be used by Thermoo events. - setInitialChange(int) - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
-
Set the initial change to a new value
- setMode(HeatingMode) - Method in class com.github.thedeathlycow.thermoo.api.temperature.event.InitialTemperatureChangeResult
-
Sets the heating mode of the change
- setValue(int) - Method in interface com.github.thedeathlycow.thermoo.impl.IntComponent
- setValue(int) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
- setValue(int) - Method in class com.github.thedeathlycow.thermoo.impl.WetnessComponent
- 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, 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
- 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
- StatusEffectTemperatureEffect - Class in com.github.thedeathlycow.thermoo.api.temperature.effects
-
Applies
StatusEffects toLivingEntitys 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_KEY - Static variable in class com.github.thedeathlycow.thermoo.api.ThermooRegistries
- 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
LivingEntitybased on their current temperature, as determined byTemperatureAware. - 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
TemperatureAwareagainst 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$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$invokeIsBeingRainedOn() - Method in interface com.github.thedeathlycow.thermoo.mixin.EntityInvoker
- thermoo$invokeIsInsideBubbleColumn() - Method in interface com.github.thedeathlycow.thermoo.mixin.EntityInvoker
- 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 - ThermooAttributes() - Constructor for class com.github.thedeathlycow.thermoo.api.ThermooAttributes
- 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
- ThermooConfig - Class in com.github.thedeathlycow.thermoo.impl.config
- ThermooConfig() - Constructor for class com.github.thedeathlycow.thermoo.impl.config.ThermooConfig
- ThermooEnvironmentConfig - Class in com.github.thedeathlycow.thermoo.impl.config
- ThermooEnvironmentConfig() - Constructor for class com.github.thedeathlycow.thermoo.impl.config.ThermooEnvironmentConfig
- ThermooModMenu - Class in com.github.thedeathlycow.thermoo.impl
- ThermooModMenu() - Constructor for class com.github.thedeathlycow.thermoo.impl.ThermooModMenu
- ThermooRegistries - Class in com.github.thedeathlycow.thermoo.api
-
Custom registries provided by Thermoo
- ThermooRegistries() - Constructor for class com.github.thedeathlycow.thermoo.api.ThermooRegistries
- ThermooTags - Class in com.github.thedeathlycow.thermoo.api
-
All tags used by Thermoo
- ThermooTags() - Constructor for class com.github.thedeathlycow.thermoo.api.ThermooTags
- ThermooUpdateConfig - Class in com.github.thedeathlycow.thermoo.impl.config
- ThermooUpdateConfig() - Constructor for class com.github.thedeathlycow.thermoo.impl.config.ThermooUpdateConfig
- TICK_BIOME_TEMPERATURE_CHANGE - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.PlayerEnvironmentEvents
-
Invoked on each player in a biome with a non-zero passive temperature change.
- TICK_HEAT_EFFECTS - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.LivingEntityEnvironmentEvents
-
Invoked on each living entity every tick, primarily for the purpose of tracking temperature changes from entity-related effects such as being on fire or being in powder snow.
- TICK_IN_HEATED_LOCATION - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.LivingEntityEnvironmentEvents
-
Invoked on each entity in a heated location
- TICK_IN_WET_LOCATION - Static variable in class com.github.thedeathlycow.thermoo.api.temperature.event.LivingEntityEnvironmentEvents
-
Invoked when an entity is in a wet location
- tickStatusEffects() - Method in class com.github.thedeathlycow.thermoo.mixin.LivingEntityEnvironmentEventMixin
- 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.LegacyDamageTemperatureEffect.Config
-
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.
- type() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.StatusEffectTemperatureEffect.Config.ConfigEffect
-
Returns the value of the
typerecord component.
U
- updateConfig - Variable in class com.github.thedeathlycow.thermoo.impl.config.ThermooConfig
- updateConfig(ConfigHolder<ThermooConfig>) - Static method in class com.github.thedeathlycow.thermoo.impl.config.ThermooConfig
- uuid() - Method in record class com.github.thedeathlycow.thermoo.api.temperature.effects.ScalingAttributeModifierTemperatureEffect.Config
-
Returns the value of the
uuidrecord 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
- WETNESS - Static variable in class com.github.thedeathlycow.thermoo.impl.ThermooComponents
- WetnessComponent - Class in com.github.thedeathlycow.thermoo.impl
- WetnessComponent(LivingEntity) - Constructor for class com.github.thedeathlycow.thermoo.impl.WetnessComponent
- writeSyncPacket(PacketByteBuf, ServerPlayerEntity) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
- writeSyncPacket(PacketByteBuf, ServerPlayerEntity) - Method in class com.github.thedeathlycow.thermoo.impl.WetnessComponent
- writeToNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.TemperatureComponent
- writeToNbt(NbtCompound) - Method in class com.github.thedeathlycow.thermoo.impl.WetnessComponent
All Classes and Interfaces|All Packages|Constant Field Values