WIP: patterns
This commit is contained in:
parent
bd5d7e3937
commit
7e1d018140
48 changed files with 787 additions and 10 deletions
|
@ -0,0 +1,23 @@
|
|||
package ru.betterend.mixin.client;
|
||||
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
|
||||
import net.minecraft.client.render.model.json.ModelVariantMap.DeserializationContext;
|
||||
import net.minecraft.util.Identifier;
|
||||
import ru.betterend.interfaces.IdentifiedContext;
|
||||
|
||||
@Mixin(DeserializationContext.class)
|
||||
public class DeserializationContextMixin implements IdentifiedContext {
|
||||
|
||||
private Identifier contextId;
|
||||
|
||||
@Override
|
||||
public Identifier getContextId() {
|
||||
return this.contextId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setContextId(Identifier id) {
|
||||
this.contextId = id;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue