Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/28/22 in all areas

  1. I can't really speak to that CompoundTag. I didn't know it existed until this question. 🙂 From what I can see it is used to pass additional ItemStack NBT for the SpawnEggItem and ArmorStands? It will be up to the particular Entity implementation how it uses it in its finalizeSpawn() method. Also see the spawn() method that takes an ItemStack. Nothing in vanilla uses the spawn() method you are using directly. But, it looks like that same method you are using has a Consumer<T> that let's you modify the Entity before it is spawned. e.g. something like: ModEntityTypes.NEXUS_ZOMBIE.get().spawn(level, null, zombie -> zombie.setNexusTarget(getBlockPos()), spawnPosition, MobSpawnType.EVENT, false, false);
    1 point
  2. My personal opinion in this one might have been stated multiple times, but I think there is no need to stay on 1.18.2 if there is a newer version full of content. 1.19 added an entire new biome called the deep dark, and people have already been making mods around it. I know it is sometimes easier for some modders to not update and stay on older versions like 1.18.2 or 1.12.2, but I think that changing to 1.19.2, which is right before 1.19.3 - a road block for the new versions, is the greater idea. So I vote for it to become a new LTS for forge. UPD: A thought just came to me, that most people have already updated their important for modpacks mods to 1.19.2 and actually it adds a +1 coin to switching to that one as LTS.
    1 point
  3. https://docs.minecraftforge.net/en/latest/gui/screens/ If you are new to minecraft modding, the crafting table (CraftingMenu/Screen) is not the place to start. This forum is littered with people struggling to understand/emulate the crafting table. Try something simpler first to get used to how AbstractContainerMenu/Screens work. https://docs.minecraftforge.net/en/latest/gui/menus/ There are simpler examples in vanilla code.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.