Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement hopper filter methods for Mesh #18

Open
SimonMeskens opened this issue Jul 14, 2024 · 0 comments
Open

Implement hopper filter methods for Mesh #18

SimonMeskens opened this issue Jul 14, 2024 · 0 comments
Labels
design needed Proposal needs concrete design enhancement New feature or request

Comments

@SimonMeskens
Copy link
Contributor

//------------- Hopper Filtering Functionality -----------//
    
protected int filterablePropertiesBitfield = 0;

public boolean canItemPassIfFilter(ItemStack filteredItem)
{
 return true;
}

public int getFilterableProperties(ItemStack stack)
{
 return filterablePropertiesBitfield;
}

public Item setFilterableProperties(int iProperties)
{
    filterablePropertiesBitfield = iProperties;
 
 return this;
}
@SimonMeskens SimonMeskens added question Further information is requested enhancement New feature or request design needed Proposal needs concrete design and removed question Further information is requested labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design needed Proposal needs concrete design enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant