Start patterns optimization
This commit is contained in:
parent
a21d50e00a
commit
f34774c54c
3 changed files with 72 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< Updated upstream
|
||||
package ru.betterend.patterns;
|
||||
|
||||
import java.io.Reader;
|
||||
|
@ -12,3 +13,22 @@ public interface BlockPatterned extends Patterned {
|
|||
return null;
|
||||
}
|
||||
}
|
||||
=======
|
||||
package ru.betterend.patterns;
|
||||
|
||||
import java.io.Reader;
|
||||
|
||||
import net.minecraft.client.renderer.block.model.BlockModel;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
public interface BlockPatterned extends Patterned {
|
||||
BlockModel getBlockModel(BlockState state);
|
||||
default String getStatesPattern(Reader data) {
|
||||
return null;
|
||||
}
|
||||
default ResourceLocation statePatternId() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
>>>>>>> Stashed changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue