Removed color provider

This commit is contained in:
paulevsGitch 2021-07-10 16:25:34 +03:00
parent 2c8862a37b
commit 4040597a6d
475 changed files with 5411 additions and 7521 deletions

View file

@ -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;

View file

@ -1,4 +1,3 @@
package ru.betterend.interfaces;
public interface BetterEndRecipe {
}
public interface BetterEndRecipe {}

View file

@ -4,6 +4,6 @@ import net.minecraft.resources.ResourceLocation;
public interface FallFlyingItem {
ResourceLocation getModelTexture();
double getMovementFactor();
}

View file

@ -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);
}

View file

@ -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) {

View file

@ -0,0 +1,3 @@
package ru.betterend.interfaces;
public interface PottablePlant {}

View file

@ -4,8 +4,8 @@ import net.minecraft.core.BlockPos;
public interface TeleportingEntity {
void be_setExitPos(BlockPos pos);
void be_resetExitPos();
boolean be_canTeleport();
}