Class EntityTypeListSetting
java.lang.Object
meteordevelopment.meteorclient.settings.Setting<Set<net.minecraft.world.entity.EntityType<?>>>
meteordevelopment.meteorclient.settings.EntityTypeListSetting
- All Implemented Interfaces:
IGetter<Set<net.minecraft.world.entity.EntityType<?>>>, ISerializable<Set<net.minecraft.world.entity.EntityType<?>>>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Setting
Setting.SettingBuilder<B,V, S> -
Field Summary
FieldsFields inherited from class Setting
defaultValue, description, lastWasVisible, module, name, onModuleActivated, title, value -
Constructor Summary
ConstructorsConstructorDescriptionEntityTypeListSetting(String name, String description, Set<net.minecraft.world.entity.EntityType<?>> defaultValue, Consumer<Set<net.minecraft.world.entity.EntityType<?>>> onChanged, Consumer<Setting<Set<net.minecraft.world.entity.EntityType<?>>>> onModuleActivated, IVisible visible, Predicate<net.minecraft.world.entity.EntityType<?>> filter) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisValueValid(Set<net.minecraft.world.entity.EntityType<?>> value) Set<net.minecraft.world.entity.EntityType<?>> load(net.minecraft.nbt.CompoundTag tag) protected Set<net.minecraft.world.entity.EntityType<?>> voidnet.minecraft.nbt.CompoundTagsave(net.minecraft.nbt.CompoundTag tag) Methods inherited from class 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.world.entity.EntityType<?>> defaultValue, Consumer<Set<net.minecraft.world.entity.EntityType<?>>> onChanged, Consumer<Setting<Set<net.minecraft.world.entity.EntityType<?>>>> onModuleActivated, IVisible visible, Predicate<net.minecraft.world.entity.EntityType<?>> filter)
-
-
Method Details
-
resetImpl
-
parseImpl
-
isValueValid
- Specified by:
isValueValidin classSetting<Set<net.minecraft.world.entity.EntityType<?>>>
-
getSuggestions
- Overrides:
getSuggestionsin classSetting<Set<net.minecraft.world.entity.EntityType<?>>>
-
save
-
load
-