Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

TonyOneG112

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by TonyOneG112

  1. Pigs>> But it's solved! thank u, problem were on EntityType register, I put a wrong information there, so, I guess minecraft didn't know what to do and send pigs :V
  2. Solved, yes, I put on custom entity type a wrong entity :V
  3. Okay, thanks, I did it, but now are spawning pings instead my mobs
  4. bump, now server is creating pigs instead mob, any idea? @SubscribeEvent public static void onBiomeLoad(final BiomeLoadingEvent event){ if (event.getName() == null){ return; } if ((event.getCategory().getName()!=Biome.Category.NETHER.getName()) && (event.getCategory().getName()!=Biome.Category.THEEND.getName())) { event.getSpawns().addSpawn(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(VERRUCT.get(), 200, 5, 5)).addMobCharge(VERRUCT.get(), 0.1D, 0.1D); LOGGER.info("Welcome to generation! "+event.getName()); } }
  5. Hi, I want to begin creating structures, mobs, and things on minecraft vainilla biomes, but I have some questions. 1. Can I add ex: monster to DefaultBiomeFeatures? 2. Forge have any command to add to vainilla gen (DefaultBiomeFeatures, BiomeMaker) my own things? 3. Can I force add DefaultBiomeFeatures things or biome things, first, especially entities. I noticed that those 3 classes are close, I mean, they haven't anything capable of add on a "natural way" features
  6. [18:32:34] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Configuration file .\saves\New World (2)\serverconfig\forge-server.toml is not correct. Correcting [18:32:34] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server was corrected from null to its default, SimpleCommentedConfig:{ Using that code and before I get that. And my mob still don't work.
  7. Hi, I'm making a custom Entity, already fix it all, i can spawn it by commands but idk how to create spawnegg, i'm working with deferred register and I want that mob spawns naturally in biomes, but i don't see any way to add my monster to biomemaker class etc, any tip? thank u btw. 1. I'm using tthis to try to spawn it (I know 500 it's too much), problem is: Pigs are spawning, not my mob... But on dungeons it's spawning okay. 2. Maybe a more "natural" codding way to spawn it naturally? 3. Really thanks for ur patience, I post a lot, sorry. private void setup(final FMLCommonSetupEvent event) { // some preinit code LOGGER.info("HELLO FROM PREINIT"); EntitySpawnPlacementRegistry.register(VERRUCT.get(), EntitySpawnPlacementRegistry.PlacementType.ON_GROUND, Heightmap.Type.MOTION_BLOCKING_NO_LEAVES, MonsterEntity::checkMonsterSpawnRules); DungeonHooks.addDungeonMob(VERRUCT.get(), 500); @SubscribeEvent public static void onBiomeLoad(final BiomeLoadingEvent event){ if (event.getName() == null){ return; } MobSpawnInfoBuilder spawns = event.getSpawns(); if (event.getCategory()!=(Biome.Category.OCEAN)) { spawns.addSpawn(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(VERRUCT.get(), 500, 1, 1)); } }
  8. Okay, okay, thank u! For ur patience
  9. Hi I have a little trouble, idk how can I set the hitbox/bounding box of a bipedModel, bipedrenderer entity. So when entity is created I can hit her on legs but not on arms or chest or even head, anyone know how to cconfig that? anhy help it's really apreciated. public class verructRenderer extends BipedRenderer<verructEntity, BipedModel<verructEntity>> { private static final ResourceLocation VERRUCT_LOCATION = new ResourceLocation("livinglife", "textures/entity/verructtexture.png"); public verructRenderer(EntityRendererManager manager) { super(manager, new BipedModel<verructEntity>(RenderType::entityTranslucent, 1.0F, 1.0F, 64, 64), 0.3f); } @Override public ResourceLocation getTextureLocation(verructEntity p_110775_1_) { return VERRUCT_LOCATION; } }
  10. Yes that was the answer, thank u so much, now i'm working on organize better my code, ty! ❤️
  11. Hi, I'm new on this, 1. can anyone tell me why use deferred and not use static? 2. If I use deferred, how can I take a "declared" item/entity/block... Example: public static final DeferredRegister<EntityType<?>> ENTITIES = DeferredRegister.create(ForgeRegistries.ENTITIES, "livinglife"); public static final RegistryObject<EntityType<verruct>> VERRUCT = ENTITIES..register("verruct", () -> EntityType.Builder.<verruct>of(verruct::new, EntityClassification.MISC) .sized(0.98F, 0.7F) .clientTrackingRange(8) .build("verruct")); vs public static final EntityType<verruct> VERRUCT = (EntityType<verruct>) EntityType.Builder.of(verruct::new, EntityClassification.MONSTER).build("verruct") .setRegistryName("livinglife", "verruct"); why i ask that? because in second I can call "VERRUCT", in first idk how can i call it :(, any help it's fine ❤️ and is because i need to register render and register entity, code of register render: public class onRendersEntity { public static void onRendersRegistry() { RenderingRegistry.registerEntityRenderingHandler((EntityType<verruct>) "HERE I PUT VERRUCT" , verructRenderer::new); LifeAndLive.LOGGER.debug("LIFE AND LIVE - Entity rendered"); } } but idk how to call the entity when using deferred, i came to this because i'm having same problem of this thread: PDT, I'm still learning, sorry if this is obvious.
  12. [18:04:37] [Worker-Main-6/WARN] [minecraft/ModelBakery]: Unable to load model: 'examplemod:scutumshield#inventory' referenced from: examplemod:scutumshield#inventory: java.io.FileNotFoundException: examplemod:models/item/scutumshield.json Hi I have a problem with assest folder minecraft doesn't read lang, models or textures idk why, it's happening in all versions i try, so if anyone can help me i'll be really greatful. I'm newbie at this, and i want to learn. https://github.com/Inverno112/TaKmod https://github.com/Inverno112/TaKmod/blob/d5ce921a84009df609c1528bab23ca97ad0f7c54/Imagen1.png
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.