Remove Max Count Limit From The Creative Relic Generator
This commit is contained in:
parent
a4d5069cdb
commit
feac2483bb
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
**1.0.23**
|
||||
* Remove Max Count Limit From The Creative Relic Generator
|
||||
|
||||
**1.0.22**
|
||||
* Standardize Mod Icon
|
||||
|
||||
|
@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G
|
||||
fabric_loader_version = 0.7.10+build.191
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.0.22
|
||||
mod_version = 1.0.23
|
||||
maven_group = com.thebrokenrail
|
||||
archives_base_name = reliccraft
|
||||
|
||||
|
@ -23,7 +23,7 @@ import java.util.List;
|
||||
|
||||
public class GenerateRelicItem extends Item {
|
||||
public GenerateRelicItem() {
|
||||
super(new Settings().maxCount(1).group(RelicCraft.ITEM_GROUP).rarity(Rarity.UNCOMMON));
|
||||
super(new Settings().group(RelicCraft.ITEM_GROUP).rarity(Rarity.UNCOMMON));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -15,6 +15,7 @@ import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemGroup;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemUsageContext;
|
||||
import net.minecraft.item.Items;
|
||||
@ -23,6 +24,7 @@ import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.text.TranslatableText;
|
||||
import net.minecraft.util.ActionResult;
|
||||
import net.minecraft.util.DefaultedList;
|
||||
import net.minecraft.util.Formatting;
|
||||
import net.minecraft.util.Hand;
|
||||
import net.minecraft.util.Rarity;
|
||||
@ -34,7 +36,11 @@ import java.util.List;
|
||||
|
||||
public class RelicItem extends Item {
|
||||
public RelicItem() {
|
||||
super(new Settings().rarity(Rarity.UNCOMMON).maxDamage(1));
|
||||
super(new Settings().group(RelicCraft.ITEM_GROUP).rarity(Rarity.UNCOMMON).maxDamage(1));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user