Composters prototype
This commit is contained in:
parent
2008be1a6b
commit
e2930887e3
8 changed files with 208 additions and 3 deletions
|
@ -0,0 +1,15 @@
|
|||
package ru.betterend.mixin.common;
|
||||
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.gen.Invoker;
|
||||
|
||||
import net.minecraft.block.ComposterBlock;
|
||||
import net.minecraft.item.ItemConvertible;
|
||||
|
||||
@Mixin(ComposterBlock.class)
|
||||
public interface ComposterBlockAccessor {
|
||||
@Invoker
|
||||
static void callRegisterCompostableItem(float levelIncreaseChance, ItemConvertible item) {
|
||||
throw new AssertionError("@Invoker dummy body called");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue