Class ParticleTypeListSetting
java.lang.Object
meteordevelopment.meteorclient.settings.Setting<List<net.minecraft.particle.ParticleType<?>>>
meteordevelopment.meteorclient.settings.ParticleTypeListSetting
- All Implemented Interfaces:
IGetter<List<net.minecraft.particle.ParticleType<?>>>,ISerializable<List<net.minecraft.particle.ParticleType<?>>>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class meteordevelopment.meteorclient.settings.Setting
Setting.SettingBuilder<B,V, S> -
Field Summary
Fields inherited from class meteordevelopment.meteorclient.settings.Setting
defaultValue, description, lastWasVisible, module, name, onModuleActivated, title, value -
Constructor Summary
ConstructorsConstructorDescriptionParticleTypeListSetting(String name, String description, List<net.minecraft.particle.ParticleType<?>> defaultValue, Consumer<List<net.minecraft.particle.ParticleType<?>>> onChanged, Consumer<Setting<List<net.minecraft.particle.ParticleType<?>>>> onModuleActivated, IVisible visible) -
Method Summary
Modifier and TypeMethodDescriptionIterable<net.minecraft.util.Identifier>protected booleanisValueValid(List<net.minecraft.particle.ParticleType<?>> value) List<net.minecraft.particle.ParticleType<?>>load(net.minecraft.nbt.NbtCompound tag) protected List<net.minecraft.particle.ParticleType<?>>voidnet.minecraft.nbt.NbtCompoundsave(net.minecraft.nbt.NbtCompound tag) Methods inherited from class meteordevelopment.meteorclient.settings.Setting
equals, fromTag, get, getDefaultValue, getSuggestions, hashCode, isVisible, onActivated, onChanged, parse, parseId, reset, set, toString, toTag, wasChanged
-
Constructor Details
-
ParticleTypeListSetting
-
-
Method Details
-
resetImpl
public void resetImpl() -
parseImpl
-
isValueValid
- Specified by:
isValueValidin classSetting<List<net.minecraft.particle.ParticleType<?>>>
-
getIdentifierSuggestions
- Overrides:
getIdentifierSuggestionsin classSetting<List<net.minecraft.particle.ParticleType<?>>>
-
save
public net.minecraft.nbt.NbtCompound save(net.minecraft.nbt.NbtCompound tag) -
load
-