Class TemperatureStatusSettingsComponentImpl
java.lang.Object
com.github.thedeathlycow.thermoo.impl.fabric.cca.TemperatureStatusSettingsComponentImpl
- All Implemented Interfaces:
com.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent, org.ladysnake.cca.api.v8.component.CardinalComponent
public class TemperatureStatusSettingsComponentImpl
extends Object
implements com.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent, org.ladysnake.cca.api.v8.component.CardinalComponent
-
Constructor Summary
ConstructorsConstructorDescriptionTemperatureStatusSettingsComponentImpl(net.minecraft.world.entity.LivingEntity provider) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.LivingEntityMap<net.minecraft.resources.ResourceKey<com.github.thedeathlycow.thermoo.api.temperature.status.v2.TemperatureStatus>, com.github.thedeathlycow.thermoo.impl.ecs.Settings> @Nullable com.github.thedeathlycow.thermoo.impl.ecs.SettingsgetSettings(net.minecraft.core.Holder.Reference<com.github.thedeathlycow.thermoo.api.temperature.status.v2.TemperatureStatus> statusRef) voidreadData(net.minecraft.world.level.storage.ValueInput readView) voidwriteData(net.minecraft.world.level.storage.ValueOutput writeView) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent
isEffectEnabled, setEffectEnabled
-
Constructor Details
-
TemperatureStatusSettingsComponentImpl
public TemperatureStatusSettingsComponentImpl(net.minecraft.world.entity.LivingEntity provider)
-
-
Method Details
-
getSettings
public Map<net.minecraft.resources.ResourceKey<com.github.thedeathlycow.thermoo.api.temperature.status.v2.TemperatureStatus>, com.github.thedeathlycow.thermoo.impl.ecs.Settings> getSettings()- Specified by:
getSettingsin interfacecom.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent
-
getProvider
public net.minecraft.world.entity.LivingEntity getProvider()- Specified by:
getProviderin interfacecom.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent
-
getSettings
@Nullable public @Nullable com.github.thedeathlycow.thermoo.impl.ecs.Settings getSettings(net.minecraft.core.Holder.Reference<com.github.thedeathlycow.thermoo.api.temperature.status.v2.TemperatureStatus> statusRef) - Specified by:
getSettingsin interfacecom.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent
-
readData
public void readData(net.minecraft.world.level.storage.ValueInput readView) - Specified by:
readDatain interfaceorg.ladysnake.cca.api.v8.component.CardinalComponent
-
writeData
public void writeData(net.minecraft.world.level.storage.ValueOutput writeView) - Specified by:
writeDatain interfaceorg.ladysnake.cca.api.v8.component.CardinalComponent
-