mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-28 21:04:41 +01:00
PR Tweaks
This commit is contained in:
parent
f9d96b2498
commit
ffa26fc0e4
2 changed files with 1 additions and 6 deletions
|
@ -6,9 +6,7 @@ import net.minecraft.nbt.CompoundTag;
|
|||
import net.minecraft.world.entity.EquipmentSlot;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.item.ArmorItem;
|
||||
import net.minecraft.world.item.ArmorMaterials;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraftforge.common.Tags;
|
||||
import net.minecraftforge.event.entity.living.LivingEquipmentChangeEvent;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
|
||||
|
|
|
@ -22,10 +22,7 @@ public class ItemApplicationRecipe extends ProcessingRecipe<RecipeWrapper> {
|
|||
|
||||
@Override
|
||||
public boolean matches(RecipeWrapper inv, Level p_77569_2_) {
|
||||
return ingredients.get(0)
|
||||
.test(inv.getItem(0))
|
||||
&& ingredients.get(1)
|
||||
.test(inv.getItem(1));
|
||||
return getProcessedItem().test(inv.getItem(0)) && getRequiredHeldItem().test(inv.getItem(1));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue