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