mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 02:54:27 +00:00
1.7.10 Files
Files added
This commit is contained in:
1 parent
393ea9b463
commit
a31efb2dc3
1768 files changed
+84831
No files matched your search
@@ -0,0 +1,28 @@
|
||||
package noppes.npcs.client;
|
||||
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.stats.Achievement;
|
||||
import net.minecraft.util.ChatComponentText;
|
||||
import net.minecraft.util.IChatComponent;
|
||||
import noppes.npcs.CustomItems;
|
||||
|
||||
public class QuestAchievement extends Achievement{
|
||||
|
||||
private String description;
|
||||
private String message;
|
||||
public QuestAchievement(String message, String description) {
|
||||
super("",message, 0, 0, CustomItems.letter==null?Items.paper:CustomItems.letter, null);
|
||||
this.description = description;
|
||||
this.message = message;
|
||||
}
|
||||
@Override
|
||||
public IChatComponent func_150951_e()
|
||||
{
|
||||
return new ChatComponentText(message);
|
||||
}
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user