Deobfuscation_data_1.5.zip has an invalid checksum
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Hola es muy fácil Primero descarga y instala Java https://www.java.com/es/ Después descarga la versión de Forge que quieras usar https://files.minecraftforge.net/net/minecraftforge/forge/ Abre el instalador con Java https://prnt.sc/C4KL2MyyhPKl Nota Si tienes algún antivirus Desactívalo para que el Instalador pueda descargar todos los archivo Necesitas una PC potente unos 16GB de Ram para poder tener el servidor y jugar al mimo tiempo, Los servidores Forge son algo inestables por la cantidad de Mods y por la cantidad de recursos que consumen por lo tanto es recomendable siempre usar un Hosting es mas seguro Te recomiendo layten hosting tienen buenos precios y buen ping son especializado en servidores java bedrock forge y fabric tienen copias de seguridad automáticas y el soporte técnico es en español
-
I tried it and now I dont even get a crash report debug.log: https://gist.github.com/Kratus21/fece34793012af97f14f4336910b9a50 latest.log: https://gist.github.com/Kratus21/cc23d183008ac1761b2c39cdcd8e5a03 I looked in the debug.log and I thought maybe there was something wrong with my java version but I have jdk-17 installed. https://imgur.com/a/KPpfQsv
-
Thanks for your answer and sorry I forgot to mention that I already tried getting rid of byg but then it just does the same thing with ars nouveau that barely adds 1 biome and a few trees here and there. That's why I thought it might not be strictly mod related since I already played a few times with those two mods without issues in the same minecraft version.
-
Hello, I'm trying to make my first mod. Now I'm trying to make an item that would save the type of animal that I right-clicked on with the item and display it in the lore of the item. I thought that this should be implemented through NBT tags and started looking at methods. In all the guides that I looked at and in the mods from GitHub, the setTag method was used to install new tags, but my IDE highlights this method in red, and when assembling, it gives an error. Same with hasTag and getOrCreateTag(). I use VS Code, 47.3.1 forge version, tried to update to 47.3.5. Sorry for bad English, I use Google translator. package net.zkera.genetic_horror.Item.Custom; import java.util.List; import javax.annotation.Nullable; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.chat.Component; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.InteractionResultHolder; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.LivingEntity; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.Item; import net.minecraft.world.level.Level; import net.zkera.genetic_horror.Item.ModItems; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.TooltipFlag; import net.minecraft.nbt.CompoundTag; public class SyringeItem extends Item { public SyringeItem(Properties pProperties) { super(pProperties); } private EntityType<?> storedGen = null; public static final EntityType[] permitteGenes = {EntityType.COW, EntityType.SQUID}; private static final String NBT_KEY_FOR_GEN = "Gen"; @Override public InteractionResult interactLivingEntity(ItemStack pStack, Player pPlayer, LivingEntity Target, InteractionHand pUsedHand) { if (CanFillSyringe(Target.getType())) { storedGen = Target.getType(); CompoundTag sharedGenTag = pStack.getOrCreateTag(); sharedGenTag.putString(NBT_KEY_FOR_GEN, storedGen.toString()); pStack.setTag(sharedGenTag); } return InteractionResult.SUCCESS; } @Override public InteractionResultHolder<ItemStack> use(Level pLevel, Player pPlayer, InteractionHand pUsedHand) { if (pPlayer.getItemInHand(InteractionHand.OFF_HAND).getItem() == ModItems.FLASK.get()) { ItemStack toHand = new ItemStack(ModItems.PIECE.get(), 1); pPlayer.setItemInHand(InteractionHand.MAIN_HAND, toHand); pPlayer.setItemInHand(InteractionHand.OFF_HAND, ItemStack.EMPTY); } return InteractionResultHolder.success(pPlayer.getItemInHand(pUsedHand)); } @Override public void appendHoverText(ItemStack pStack, @Nullable Level p_41422_, List<Component> pTooltipComponents, TooltipFlag pTooltipFlag) { super.appendHoverText(pStack, p_41422_, pTooltipComponents, pTooltipFlag); if (pStack.hasTag()) { String sharedGenString = "item.genetic_horror.syringe.tooltip." + pStack.getTag().getString(NBT_KEY_FOR_GEN); sharedGenString = sharedGenString.replace("entity.minecraft.", ""); pTooltipComponents.add(Component.translatable(sharedGenString)); } } private boolean CanFillSyringe(EntityType<?> type) { if (storedGen != null) return false; for (var i : permitteGenes) { if (type == i) return true; } return false; } }
-
By TileEntity · Posted
Add the latest.log (logs-folder) with sites like https://mclo.gs/ and paste the link to it here
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.