Package mcp.mobius.waila.api
Interface IRegistrar
- All Superinterfaces:
IClientRegistrar,ICommonRegistrar
Deprecated.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddBlacklist(int priority, EntityType<?>... entityTypes) Deprecated.default voidaddBlacklist(int priority, Block... blocks) Deprecated.default voidaddBlacklist(int priority, BlockEntityType<?>... blockEntityTypes) Deprecated.default voidaddBlacklist(EntityType<?>... entityTypes) Deprecated.default voidaddBlacklist(Block... blocks) Deprecated.default voidaddBlacklist(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> voidaddComponent(IBlockComponentProvider provider, TooltipPosition position, Class<T> clazz) Deprecated.default <T> voidaddComponent(IBlockComponentProvider provider, TooltipPosition position, Class<T> clazz, int priority) Deprecated.default <T> voidaddComponent(IEntityComponentProvider provider, TooltipPosition position, Class<T> clazz) Deprecated.default <T> voidaddComponent(IEntityComponentProvider provider, TooltipPosition position, Class<T> clazz, int priority) Deprecated.default voidaddConfig(Identifier key, boolean defaultValue) Deprecated.default voidaddConfig(Identifier key, double defaultValue) Deprecated.default voidaddConfig(Identifier key, int defaultValue) Deprecated.default voidaddConfig(Identifier key, int defaultValue, IntFormat format) Deprecated.default voidaddConfig(Identifier key, String defaultValue) Deprecated.default voidaddConfig(Identifier key, Path path) Deprecated.default <T extends Enum<T>>
voidaddConfig(Identifier key, T defaultValue) Deprecated.default voidaddConfigAlias(Identifier actual, Identifier... aliases) Deprecated.default <T> voidaddDataContext(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> voidaddDataContext(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 voidaddEventListener(IEventListener listener) Deprecated.default voidaddEventListener(IEventListener listener, int priority) Deprecated.default voidaddFeatureConfig(Identifier key, boolean clientOnly) Deprecated.default <T> voidaddIcon(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> voidaddIcon(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated.default <T> voidaddIcon(IEntityComponentProvider provider, Class<T> clazz) Deprecated.default <T> voidaddIcon(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated.default voidaddMergedConfig(Identifier key, boolean defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.default voidaddMergedSyncedConfig(Identifier key, boolean defaultValue, boolean clientOnlyValue) Deprecated, for removal: This API element is subject to removal in a future version.default <T> voidaddOverride(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> voidaddOverride(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated.default <T> voidaddOverride(IEntityComponentProvider provider, Class<T> clazz) Deprecated.default <T> voidaddOverride(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated.default voidaddRayCastVector(IRayCastVectorProvider provider) Deprecated.default voidaddRayCastVector(IRayCastVectorProvider provider, int priority) Deprecated.default <T> voidaddRedirect(IBlockComponentProvider provider, Class<T> clazz) Deprecated.default <T> voidaddRedirect(IBlockComponentProvider provider, Class<T> clazz, int priority) Deprecated.default <T> voidaddRedirect(IEntityComponentProvider provider, Class<T> clazz) Deprecated.default <T> voidaddRedirect(IEntityComponentProvider provider, Class<T> clazz, int priority) Deprecated.default voidaddSyncedConfig(Identifier key, boolean defaultValue, boolean clientOnlyValue) Deprecated.default voidaddSyncedConfig(Identifier key, double defaultValue, double clientOnlyValue) Deprecated.default voidaddSyncedConfig(Identifier key, int defaultValue, int clientOnlyValue) Deprecated.default voidaddSyncedConfig(Identifier key, int defaultValue, int clientOnlyValue, IntFormat format) Deprecated.default voidaddSyncedConfig(Identifier key, String defaultValue, String clientOnlyValue) Deprecated.default <T extends Enum<T>>
voidaddSyncedConfig(Identifier key, T defaultValue, T clientOnlyValue) Deprecated.default <T extends ITheme>
voidaddThemeType(Identifier id, IThemeType<T> type) Deprecated.default voidaddToolType(Identifier id, IToolType toolType) Deprecated.voidremoveBlacklist(int priority, EntityType<?>... entityTypes) Deprecated.Removes the specified entity types to the default blacklist.voidremoveBlacklist(int priority, Block... blocks) Deprecated.Removes the specified entity types to the default blacklist.voidremoveBlacklist(int priority, BlockEntityType<?>... blockEntityTypes) Deprecated.Removes the specified entity types to the default blacklist.default voidremoveBlacklist(EntityType<?>... entityTypes) Deprecated.Removes the specified entity types to the default blacklist.default voidremoveBlacklist(Block... blocks) Deprecated.Removes the specified entity types to the default blacklist.default voidremoveBlacklist(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, toolTypeMethods 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(Identifier key, int defaultValue, int clientOnlyValue, IntFormat format) Deprecated. -
addSyncedConfig
Deprecated. -
addSyncedConfig
Deprecated. -
addSyncedConfig
Deprecated. -
addSyncedConfig
Deprecated. -
addConfigAlias
Deprecated. -
addEventListener
Deprecated. -
addEventListener
Deprecated. -
addBlacklist
Deprecated. -
addBlacklist
Deprecated. -
addBlacklist
Deprecated. -
addBlacklist
Deprecated. -
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrarRemoves the specified entity types to the default blacklist.- Specified by:
removeBlacklistin interfaceICommonRegistrar- Parameters:
priority- the modifier priority, lower number will be called last
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrarRemoves the specified entity types to the default blacklist.- Specified by:
removeBlacklistin interfaceICommonRegistrar- Parameters:
priority- the modifier priority, lower number will be called last
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrarRemoves the specified entity types to the default blacklist.- Specified by:
removeBlacklistin interfaceICommonRegistrar
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrarRemoves the specified entity types to the default blacklist.- Specified by:
removeBlacklistin 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:ICommonRegistrarRemoves the specified entity types to the default blacklist.- Specified by:
removeBlacklistin interfaceICommonRegistrar- Parameters:
priority- the modifier priority, lower number will be called last
-
removeBlacklist
Deprecated.Description copied from interface:ICommonRegistrarRemoves the specified entity types to the default blacklist.- Specified by:
removeBlacklistin 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(Identifier 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(Identifier 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(Identifier key, boolean defaultValue, boolean clientOnlyValue) Deprecated, for removal: This API element is subject to removal in a future version.
-
ICommonRegistrarorIClientRegistrarinstead.