dev.thomasglasser.sherdsapi.impl.mixin.accessor.ItemsToPotsAccessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sherdsapi-common-1.20.4 Show documentation
Show all versions of sherdsapi-common-1.20.4 Show documentation
Makes adding new pottery sherds easier
The newest version!
package dev.thomasglasser.sherdsapi.impl.mixin.accessor;
import net.minecraft.resources.ResourceKey;
import net.minecraft.world.item.Item;
import net.minecraft.world.level.block.entity.DecoratedPotPatterns;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
import java.util.Map;
@Mixin(DecoratedPotPatterns.class)
public interface ItemsToPotsAccessor {
@Accessor("ITEM_TO_POT_TEXTURE")
static Map- > getItemsToPots() {
throw new AssertionError("This should not happen!");
}
}