Class TargetDecorations

java.lang.Object
com.llamalad7.mixinextras.utils.TargetDecorations

public class TargetDecorations extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> T
    get(org.spongepowered.asm.mixin.injection.struct.Target target, String key)
     
    static <T> T
    getOrPut(org.spongepowered.asm.mixin.injection.struct.Target target, String key, Supplier<T> supplier)
     
    static boolean
    has(org.spongepowered.asm.mixin.injection.struct.Target target, String key)
     
    static <T> void
    modify(org.spongepowered.asm.mixin.injection.struct.Target target, String key, UnaryOperator<T> operator)
     
    static void
    put(org.spongepowered.asm.mixin.injection.struct.Target target, String key, Object value)
     
    static void
    remove(org.spongepowered.asm.mixin.injection.struct.Target target, String key)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TargetDecorations

      public TargetDecorations()
  • Method Details

    • has

      public static boolean has(org.spongepowered.asm.mixin.injection.struct.Target target, String key)
    • get

      public static <T> T get(org.spongepowered.asm.mixin.injection.struct.Target target, String key)
    • getOrPut

      public static <T> T getOrPut(org.spongepowered.asm.mixin.injection.struct.Target target, String key, Supplier<T> supplier)
    • put

      public static void put(org.spongepowered.asm.mixin.injection.struct.Target target, String key, Object value)
    • modify

      public static <T> void modify(org.spongepowered.asm.mixin.injection.struct.Target target, String key, UnaryOperator<T> operator)
    • remove

      public static void remove(org.spongepowered.asm.mixin.injection.struct.Target target, String key)