Package mcp.mobius.waila.api
Interface IRegistrar
- All Superinterfaces:
IClientRegistrar
,ICommonRegistrar
Deprecated.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addBlacklist
(int priority, EntityType<?>... entityTypes) Deprecated.default void
addBlacklist
(int priority, Block... blocks) Deprecated.default void
addBlacklist
(int priority, BlockEntityType<?>... blockEntityTypes) Deprecated.default void
addBlacklist
(EntityType<?>... entityTypes) Deprecated.default void
addBlacklist
(Block... blocks) Deprecated.default void
addBlacklist
(BlockEntityType<?>... blockEntityTypes) Deprecated.default <T,
BE extends BlockEntity>
voidaddBlockData
(IDataProvider<BE> provider, Class<T> clazz) Deprecated.default <T,
BE extends BlockEntity>
voidaddBlockData
(IDataProvider<BE> provider, Class<T> clazz, int priority) Deprecated.default <T> void
addComponent
(IBlockComponentProvider provider, TooltipPosition position, Class<T> clazz) Deprecated.default <T> void
addComponent
(IBlockComponentProvider provider, TooltipPosition position, Class<T> clazz, int priority) Deprecated.default <T> void
addComponent
(IEntityComponentProvider provider, TooltipPosition position, Class<T> clazz) Deprecated.default <T> void
addComponent
(IEntityComponentProvider provider, TooltipPosition position, Class<T> clazz, int priority) Deprecated.default void
addConfig
(ResourceLocation key, boolean defaultValue) Deprecated.default void
addConfig
(ResourceLocation key, double defaultValue) Deprecated.default void
addConfig
(ResourceLocation key, int defaultValue) Deprecated.default void
addConfig
(ResourceLocation key, int defaultValue, IntFormat format) Deprecated.default void
addConfig
(ResourceLocation key, String defaultValue) Deprecated.default void
addConfig
(ResourceLocation key, Path path) Deprecated.default <T extends Enum<T>>
voidaddConfig
(ResourceLocation key, T defaultValue) Deprecated.default void
addConfigAlias
(ResourceLocation actual, ResourceLocation... aliases) Deprecated.default <T> void
addDataContext
(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> void
addDataContext
(IEntityComponentProvider provider, Class<T> clazz) Deprecated.default <D extends IData>
voidaddDataType
(IData.Type<D> type, net.minecraft.network.codec.StreamCodec<? super RegistryFriendlyByteBuf, ? extends D> codec) Deprecated.default <T,
E extends Entity>
voidaddEntityData
(IDataProvider<E> provider, Class<T> clazz) Deprecated.default <T,
E extends Entity>
voidaddEntityData
(IDataProvider<E> provider, Class<T> clazz, int priority) Deprecated.default void
addEventListener
(IEventListener listener) Deprecated.default void
addEventListener
(IEventListener listener, int priority) Deprecated.default void
addFeatureConfig
(ResourceLocation key, boolean clientOnly) Deprecated.default <T> void
addIcon
(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> void
addIcon
(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated.default <T> void
addIcon
(IEntityComponentProvider provider, Class<T> clazz) Deprecated.default <T> void
addIcon
(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated.default void
addMergedConfig
(ResourceLocation key, boolean defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.default void
addMergedSyncedConfig
(ResourceLocation key, boolean defaultValue, boolean clientOnlyValue) Deprecated, for removal: This API element is subject to removal in a future version.default <T> void
addOverride
(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> void
addOverride
(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated.default <T> void
addOverride
(IEntityComponentProvider provider, Class<T> clazz) Deprecated.default <T> void
addOverride
(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated.default void
addRayCastVector
(IRayCastVectorProvider provider) Deprecated.default void
addRayCastVector
(IRayCastVectorProvider provider, int priority) Deprecated.default <T> void
addRedirect
(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> void
addRedirect
(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated.default <T> void
addRedirect
(IEntityComponentProvider provider, Class<T> clazz) Deprecated.default <T> void
addRedirect
(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated.default void
addSyncedConfig
(ResourceLocation key, boolean defaultValue, boolean clientOnlyValue) Deprecated.default void
addSyncedConfig
(ResourceLocation key, double defaultValue, double clientOnlyValue) Deprecated.default void
addSyncedConfig
(ResourceLocation key, int defaultValue, int clientOnlyValue) Deprecated.default void
addSyncedConfig
(ResourceLocation key, int defaultValue, int clientOnlyValue, IntFormat format) Deprecated.default void
addSyncedConfig
(ResourceLocation key, String defaultValue, String clientOnlyValue) Deprecated.default <T extends Enum<T>>
voidaddSyncedConfig
(ResourceLocation key, T defaultValue, T clientOnlyValue) Deprecated.default <T extends ITheme>
voidaddThemeType
(ResourceLocation id, IThemeType<T> type) Deprecated.default void
addToolType
(ResourceLocation id, IToolType toolType) Deprecated.void
removeBlacklist
(int priority, EntityType<?>... entityTypes) Deprecated.Removes the specified entity types to the default blacklist.void
removeBlacklist
(int priority, Block... blocks) Deprecated.Removes the specified entity types to the default blacklist.void
removeBlacklist
(int priority, BlockEntityType<?>... blockEntityTypes) Deprecated.Removes the specified entity types to the default blacklist.default void
removeBlacklist
(EntityType<?>... entityTypes) Deprecated.Removes the specified entity types to the default blacklist.default void
removeBlacklist
(Block... blocks) Deprecated.Removes the specified entity types to the default blacklist.default void
removeBlacklist
(BlockEntityType<?>... blockEntityTypes) Deprecated.Removes the specified entity types to the default blacklist.Methods inherited from interface mcp.mobius.waila.api.IClientRegistrar
body, body, body, body, dataContext, dataContext, eventListener, eventListener, head, head, head, head, icon, icon, icon, icon, override, override, override, override, rayCastVector, rayCastVector, redirect, redirect, redirect, redirect, tail, tail, tail, tail, themeType, toolType
Methods inherited from interface mcp.mobius.waila.api.ICommonRegistrar
blacklist, blacklist, blacklist, blacklist, blacklist, blacklist, blockData, blockData, configAlias, dataType, entityData, entityData, externalConfig, featureConfig, localConfig, localConfig, localConfig, localConfig, localConfig, localConfig, syncedConfig, syncedConfig, syncedConfig, syncedConfig, syncedConfig, syncedConfig
-
Field Details
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITYDeprecated.- See Also:
-
-
Method Details
-
addConfig
Deprecated. -
addConfig
Deprecated. -
addConfig
Deprecated. -
addConfig
Deprecated. -
addConfig
Deprecated. -
addConfig
Deprecated. -
addConfig
Deprecated. -
addFeatureConfig
Deprecated. -
addSyncedConfig
Deprecated. -
addSyncedConfig
default void addSyncedConfig(ResourceLocation key, int defaultValue, int clientOnlyValue, IntFormat format) Deprecated. -
addSyncedConfig
Deprecated. -
addSyncedConfig
Deprecated. -
addSyncedConfig
Deprecated. -
addSyncedConfig
default <T extends Enum<T>> void addSyncedConfig(ResourceLocation key, T defaultValue, T clientOnlyValue) Deprecated. -
addConfigAlias
Deprecated. -
addEventListener
Deprecated. -
addEventListener
Deprecated. -
addBlacklist
Deprecated. -
addBlacklist
Deprecated. -
addBlacklist
Deprecated. -
addBlacklist
Deprecated. -
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrar
Removes the specified entity types to the default blacklist.- Specified by:
removeBlacklist
in interfaceICommonRegistrar
- Parameters:
priority
- the modifier priority, lower number will be called last
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrar
Removes the specified entity types to the default blacklist.- Specified by:
removeBlacklist
in interfaceICommonRegistrar
- Parameters:
priority
- the modifier priority, lower number will be called last
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrar
Removes the specified entity types to the default blacklist.- Specified by:
removeBlacklist
in interfaceICommonRegistrar
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrar
Removes the specified entity types to the default blacklist.- Specified by:
removeBlacklist
in interfaceICommonRegistrar
-
addRedirect
@Experimental default <T> void addRedirect(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated. -
addRedirect
Deprecated. -
addOverride
@ClientOnly default <T> void addOverride(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated. -
addOverride
Deprecated. -
addIcon
@ClientOnly default <T> void addIcon(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated. -
addIcon
Deprecated. -
addComponent
@ClientOnly default <T> void addComponent(IBlockComponentProvider provider, TooltipPosition position, Class<T> clazz, int priority) Deprecated. -
addComponent
@ClientOnly default <T> void addComponent(IBlockComponentProvider provider, TooltipPosition position, Class<T> clazz) Deprecated. -
addDataContext
Deprecated. -
addBlockData
default <T,BE extends BlockEntity> void addBlockData(IDataProvider<BE> provider, Class<T> clazz, int priority) Deprecated. -
addBlockData
Deprecated. -
addBlacklist
Deprecated. -
addBlacklist
Deprecated. -
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrar
Removes the specified entity types to the default blacklist.- Specified by:
removeBlacklist
in interfaceICommonRegistrar
- Parameters:
priority
- the modifier priority, lower number will be called last
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrar
Removes the specified entity types to the default blacklist.- Specified by:
removeBlacklist
in interfaceICommonRegistrar
-
addRedirect
@Experimental default <T> void addRedirect(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated. -
addRedirect
Deprecated. -
addOverride
@ClientOnly default <T> void addOverride(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated. -
addOverride
Deprecated. -
addIcon
@ClientOnly default <T> void addIcon(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated. -
addIcon
Deprecated. -
addComponent
@ClientOnly default <T> void addComponent(IEntityComponentProvider provider, TooltipPosition position, Class<T> clazz, int priority) Deprecated. -
addComponent
@ClientOnly default <T> void addComponent(IEntityComponentProvider provider, TooltipPosition position, Class<T> clazz) Deprecated. -
addDataContext
Deprecated. -
addEntityData
default <T,E extends Entity> void addEntityData(IDataProvider<E> provider, Class<T> clazz, int priority) Deprecated. -
addEntityData
Deprecated. -
addDataType
default <D extends IData> void addDataType(IData.Type<D> type, net.minecraft.network.codec.StreamCodec<? super RegistryFriendlyByteBuf, ? extends D> codec) Deprecated. -
addThemeType
@ClientOnly @Experimental default <T extends ITheme> void addThemeType(ResourceLocation id, IThemeType<T> type) Deprecated. -
addRayCastVector
@ClientOnly @Experimental default void addRayCastVector(IRayCastVectorProvider provider, int priority) Deprecated. -
addRayCastVector
Deprecated. -
addToolType
Deprecated. -
addMergedConfig
@Deprecated(forRemoval=true) @ScheduledForRemoval(inVersion="1.22") default void addMergedConfig(ResourceLocation key, boolean defaultValue) Deprecated, for removal: This API element is subject to removal in a future version. -
addMergedSyncedConfig
@Deprecated(forRemoval=true) @ScheduledForRemoval(inVersion="1.22") default void addMergedSyncedConfig(ResourceLocation key, boolean defaultValue, boolean clientOnlyValue) Deprecated, for removal: This API element is subject to removal in a future version.
-
ICommonRegistrar
orIClientRegistrar
instead.