Interface RemoveFromRegistry<T>

All Known Implementing Classes:
MappedRegistryMixin

@Internal public interface RemoveFromRegistry<T>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    engine$remove(net.minecraft.resources.Identifier key)
     
    boolean
     
    void
    engine$setFrozen(boolean value)
     
    static <T> boolean
    remove(net.minecraft.core.MappedRegistry<T> registry, net.minecraft.resources.Identifier key)
     
    static <T> boolean
    remove(net.minecraft.core.MappedRegistry<T> registry, T value)
     
    thaw(net.minecraft.core.Registry<T> registry)
     
  • Method Details

    • remove

      static <T> boolean remove(net.minecraft.core.MappedRegistry<T> registry, net.minecraft.resources.Identifier key)
    • remove

      static <T> boolean remove(net.minecraft.core.MappedRegistry<T> registry, T value)
    • thaw

      static <T> RemoveFromRegistry.RegistryRemoval thaw(net.minecraft.core.Registry<T> registry)
    • engine$remove

      boolean engine$remove(T value)
    • engine$remove

      boolean engine$remove(net.minecraft.resources.Identifier key)
    • engine$setFrozen

      void engine$setFrozen(boolean value)
    • engine$isFrozen

      boolean engine$isFrozen()