mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-24 03:34:30 +00:00
Version 0.8-preview
Add initial modlauncher support Bump ASM version and remove renamed ASM for modlauncher interop Conform static accessor target when transforming accessor, Fixes #342 Detect staticness mismatch on accessors, Fixes #341 Allow Invoker to invoke constructors, Closes #339 Remove commons-io and replace with guava, Fixes #327 Fix refmap generation for non-obfuscated derived classes, Fixes #326 Specify locale for case conversions, Fixes #315 Handle accessor overlap more intelligently, Fixes #307 Add SuppressWarnings support to Annotation Processor, Closes #306 Allow mixins applied to a class to be retrieved easily, Closes #302 Conform refmap entries as they are added to the mapper, fixes #296 Fold in misc lvt generation fixes from fabricmc, closes #295 Fail fast when final method is accidentally hidden by mixin, fixes #293 Fix bug handling 2-slot args in cb injector and args gen, fixes #287 Handle accessor mixin types correctly in mixins, Fixes #305, Fixes #288
This commit is contained in:
1 parent
ab935e061f
commit
fd2f2c79c5
246 files changed
+10899
-3125
No files matched your search
@@ -28,6 +28,14 @@ package org.spongepowered.asm.service;
|
||||
* Global property service
|
||||
*/
|
||||
public interface IGlobalPropertyService {
|
||||
|
||||
/**
|
||||
* Resolve a property key from the service by name
|
||||
*
|
||||
* @param name name of key to resolve
|
||||
* @return resolved key
|
||||
*/
|
||||
public abstract IPropertyKey resolveKey(String name);
|
||||
|
||||
/**
|
||||
* Get a value from the global property store (blackboard) and duck-type it
|
||||
@@ -37,7 +45,7 @@ public interface IGlobalPropertyService {
|
||||
* @param <T> duck type
|
||||
* @return value
|
||||
*/
|
||||
public abstract <T> T getProperty(String key);
|
||||
public abstract <T> T getProperty(IPropertyKey key);
|
||||
|
||||
/**
|
||||
* Set the specified value in the global property store (blackboard)
|
||||
@@ -45,7 +53,7 @@ public interface IGlobalPropertyService {
|
||||
* @param key blackboard key
|
||||
* @param value new value
|
||||
*/
|
||||
public abstract void setProperty(String key, Object value);
|
||||
public abstract void setProperty(IPropertyKey key, Object value);
|
||||
|
||||
/**
|
||||
* Get the value from the global property store (blackboard) but return
|
||||
@@ -56,7 +64,7 @@ public interface IGlobalPropertyService {
|
||||
* @param <T> duck type
|
||||
* @return value from blackboard or default value
|
||||
*/
|
||||
public abstract <T> T getProperty(String key, T defaultValue);
|
||||
public abstract <T> T getProperty(IPropertyKey key, T defaultValue);
|
||||
|
||||
/**
|
||||
* Get a string from the global property store (blackboard), returns default
|
||||
@@ -67,6 +75,6 @@ public interface IGlobalPropertyService {
|
||||
* set or is null
|
||||
* @return value from blackboard or default
|
||||
*/
|
||||
public abstract String getPropertyString(String key, String defaultValue);
|
||||
public abstract String getPropertyString(IPropertyKey key, String defaultValue);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user