Typo VALID_ENCODED_PATTERN_W_OUPUT
This commit is contained in:
parent
7a5b29643f
commit
832e5334a7
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ public class SlotRestrictedInput extends AppEngSlot
|
||||||
{
|
{
|
||||||
STORAGE_CELLS(15), ORE(1 * 16 + 15), STORAGE_COMPONENT(3 * 16 + 15),
|
STORAGE_CELLS(15), ORE(1 * 16 + 15), STORAGE_COMPONENT(3 * 16 + 15),
|
||||||
|
|
||||||
ENCODEABLE_ITEM(4 * 16 + 15), TRASH(5 * 16 + 15), VALID_ENCODED_PATTERN_W_OUPUT(7 * 16 + 15), ENCODED_PATTERN_W_OUTPUT(7 * 16 + 15),
|
ENCODEABLE_ITEM(4 * 16 + 15), TRASH(5 * 16 + 15), VALID_ENCODED_PATTERN_W_OUTPUT(7 * 16 + 15), ENCODED_PATTERN_W_OUTPUT(7 * 16 + 15),
|
||||||
|
|
||||||
ENCODED_CRAFTING_PATTERN(7 * 16 + 15), ENCODED_PATTERN(7 * 16 + 15), PATTERN(8 * 16 + 15), BLANK_PATTERN(8 * 16 + 15), POWERED_TOOL(9 * 16 + 15),
|
ENCODED_CRAFTING_PATTERN(7 * 16 + 15), ENCODED_PATTERN(7 * 16 + 15), PATTERN(8 * 16 + 15), BLANK_PATTERN(8 * 16 + 15), POWERED_TOOL(9 * 16 + 15),
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ public class SlotRestrictedInput extends AppEngSlot
|
||||||
|
|
||||||
public boolean isValid(ItemStack is, World theWorld)
|
public boolean isValid(ItemStack is, World theWorld)
|
||||||
{
|
{
|
||||||
if ( which == PlaceableItemType.VALID_ENCODED_PATTERN_W_OUPUT )
|
if ( which == PlaceableItemType.VALID_ENCODED_PATTERN_W_OUTPUT )
|
||||||
{
|
{
|
||||||
ICraftingPatternDetails ap = is.getItem() instanceof ICraftingPatternItem ? ((ICraftingPatternItem) is.getItem()).getPatternForItem( is, theWorld )
|
ICraftingPatternDetails ap = is.getItem() instanceof ICraftingPatternItem ? ((ICraftingPatternItem) is.getItem()).getPatternForItem( is, theWorld )
|
||||||
: null;
|
: null;
|
||||||
|
@ -139,7 +139,7 @@ public class SlotRestrictedInput extends AppEngSlot
|
||||||
return de.isCraftable();
|
return de.isCraftable();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
case VALID_ENCODED_PATTERN_W_OUPUT:
|
case VALID_ENCODED_PATTERN_W_OUTPUT:
|
||||||
case ENCODED_PATTERN_W_OUTPUT:
|
case ENCODED_PATTERN_W_OUTPUT:
|
||||||
case ENCODED_PATTERN: {
|
case ENCODED_PATTERN: {
|
||||||
if ( i.getItem() instanceof ICraftingPatternItem )
|
if ( i.getItem() instanceof ICraftingPatternItem )
|
||||||
|
|
Loading…
Reference in a new issue