mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Comment out curious integration
This commit is contained in:
1 parent
351781d43e
commit
48a2b1ac1e
3 files changed
+7
-6
No files matched your search
@@ -25,14 +25,10 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.potion.Effects;
|
||||
|
||||
import net.minecraft.util.math.vector.Vector3f;
|
||||
import top.theillusivec4.curios.api.CuriosAPI;
|
||||
import top.theillusivec4.curios.api.capability.CuriosCapability;
|
||||
import top.theillusivec4.curios.api.inventory.CurioStackHandler;
|
||||
|
||||
import vazkii.botania.api.item.ICosmeticAttachable;
|
||||
import vazkii.botania.api.item.IPhantomInkable;
|
||||
import vazkii.botania.common.core.handler.ConfigHandler;
|
||||
import vazkii.botania.common.integration.curios.CurioIntegration;
|
||||
import vazkii.botania.common.item.ModItems;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
@@ -47,13 +43,14 @@ public final class BaubleRenderHandler extends LayerRenderer<AbstractClientPlaye
|
||||
|
||||
@Override
|
||||
public void render(MatrixStack ms, IRenderTypeBuffer buffers, int light, @Nonnull AbstractClientPlayerEntity player, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) {
|
||||
dispatchRenders(ms, buffers, light, player, limbSwing, limbSwingAmount, partialTicks, ageInTicks, netHeadYaw, headPitch);
|
||||
// todo 1.16 curios dispatchRenders(ms, buffers, light, player, limbSwing, limbSwingAmount, partialTicks, ageInTicks, netHeadYaw, headPitch);
|
||||
|
||||
if (ConfigHandler.CLIENT.renderAccessories.get() && player.getActivePotionEffect(Effects.INVISIBILITY) == null) {
|
||||
renderManaTablet(ms, buffers, player);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// Like LayerCurios, but with Botania-specific logic
|
||||
private void dispatchRenders(MatrixStack ms, IRenderTypeBuffer buffers, int light, PlayerEntity player, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) {
|
||||
ms.push();
|
||||
@@ -95,6 +92,7 @@ public final class BaubleRenderHandler extends LayerRenderer<AbstractClientPlaye
|
||||
});
|
||||
ms.pop();
|
||||
}
|
||||
*/
|
||||
|
||||
private void renderManaTablet(MatrixStack ms, IRenderTypeBuffer buffers, PlayerEntity player) {
|
||||
boolean renderedOne = false;
|
||||
|
||||
@@ -24,7 +24,6 @@ import net.minecraftforge.items.wrapper.RangedWrapper;
|
||||
|
||||
import vazkii.botania.api.mana.IManaItem;
|
||||
import vazkii.botania.common.Botania;
|
||||
import vazkii.botania.common.integration.curios.CurioIntegration;
|
||||
import vazkii.botania.common.item.equipment.bauble.ItemBauble;
|
||||
|
||||
import java.util.Arrays;
|
||||
@@ -37,9 +36,11 @@ public abstract class EquipmentHandler {
|
||||
|
||||
public static void init() {
|
||||
if (Botania.curiosLoaded) {
|
||||
/* todo 1.16 curios
|
||||
instance = new CurioIntegration();
|
||||
FMLJavaModLoadingContext.get().getModEventBus().addListener(CurioIntegration::sendImc);
|
||||
MinecraftForge.EVENT_BUS.addListener(CurioIntegration::keepCurioDrops);
|
||||
*/
|
||||
} else {
|
||||
InventoryEquipmentHandler handler = new InventoryEquipmentHandler();
|
||||
instance = handler;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* Botania is Open Source and distributed under the
|
||||
* Botania License: http://botaniamod.net/license.php
|
||||
*/
|
||||
/* todo 1.16 curios
|
||||
package vazkii.botania.common.integration.curios;
|
||||
|
||||
import com.google.common.collect.Multimap;
|
||||
@@ -159,3 +160,4 @@ public class CurioIntegration extends EquipmentHandler {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
Reference in new issue
Block a user