Removed color provider
This commit is contained in:
parent
2c8862a37b
commit
4040597a6d
475 changed files with 5411 additions and 7521 deletions
|
@ -6,11 +6,11 @@ import java.util.List;
|
|||
|
||||
public interface AnvilScreenHandlerExtended {
|
||||
void be_updateCurrentRecipe(AnvilRecipe recipe);
|
||||
|
||||
|
||||
AnvilRecipe be_getCurrentRecipe();
|
||||
|
||||
|
||||
List<AnvilRecipe> be_getRecipes();
|
||||
|
||||
|
||||
default void be_nextRecipe() {
|
||||
List<AnvilRecipe> recipes = be_getRecipes();
|
||||
if (recipes.size() < 2) return;
|
||||
|
@ -21,7 +21,7 @@ public interface AnvilScreenHandlerExtended {
|
|||
}
|
||||
be_updateCurrentRecipe(recipes.get(i));
|
||||
}
|
||||
|
||||
|
||||
default void be_previousRecipe() {
|
||||
List<AnvilRecipe> recipes = be_getRecipes();
|
||||
if (recipes.size() < 2) return;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
package ru.betterend.interfaces;
|
||||
|
||||
public interface BetterEndRecipe {
|
||||
}
|
||||
public interface BetterEndRecipe {}
|
||||
|
|
|
@ -4,6 +4,6 @@ import net.minecraft.resources.ResourceLocation;
|
|||
|
||||
public interface FallFlyingItem {
|
||||
ResourceLocation getModelTexture();
|
||||
|
||||
|
||||
double getMovementFactor();
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@ import net.minecraft.world.entity.Entity;
|
|||
|
||||
public interface ISlime {
|
||||
public void be_setSlimeSize(int size, boolean heal);
|
||||
|
||||
|
||||
void entityRemove(Entity.RemovalReason removalReason);
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import ru.betterend.registry.EndItems;
|
|||
public interface MultiModelItem {
|
||||
@Environment(EnvType.CLIENT)
|
||||
void registerModelPredicate();
|
||||
|
||||
|
||||
static void register() {
|
||||
EndItems.getModItems(BetterEnd.MOD_ID).forEach(item -> {
|
||||
if (item instanceof MultiModelItem) {
|
||||
|
|
3
src/main/java/ru/betterend/interfaces/PottablePlant.java
Normal file
3
src/main/java/ru/betterend/interfaces/PottablePlant.java
Normal file
|
@ -0,0 +1,3 @@
|
|||
package ru.betterend.interfaces;
|
||||
|
||||
public interface PottablePlant {}
|
|
@ -4,8 +4,8 @@ import net.minecraft.core.BlockPos;
|
|||
|
||||
public interface TeleportingEntity {
|
||||
void be_setExitPos(BlockPos pos);
|
||||
|
||||
|
||||
void be_resetExitPos();
|
||||
|
||||
|
||||
boolean be_canTeleport();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue