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

    Constructors
    Constructor
    Description
    TemperatureStatusSettingsComponentImpl(net.minecraft.world.entity.LivingEntity provider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.LivingEntity
     
    Map<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.Settings
    getSettings(net.minecraft.core.Holder.Reference<com.github.thedeathlycow.thermoo.api.temperature.status.v2.TemperatureStatus> statusRef)
     
    void
    readData(net.minecraft.world.level.storage.ValueInput readView)
     
    void
    writeData(net.minecraft.world.level.storage.ValueOutput writeView)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      getSettings in interface com.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent
    • getProvider

      public net.minecraft.world.entity.LivingEntity getProvider()
      Specified by:
      getProvider in interface com.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:
      getSettings in interface com.github.thedeathlycow.thermoo.impl.ecs.TemperatureStatusSettingsComponent
    • readData

      public void readData(net.minecraft.world.level.storage.ValueInput readView)
      Specified by:
      readData in interface org.ladysnake.cca.api.v8.component.CardinalComponent
    • writeData

      public void writeData(net.minecraft.world.level.storage.ValueOutput writeView)
      Specified by:
      writeData in interface org.ladysnake.cca.api.v8.component.CardinalComponent