Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fastmailsend

Members
  • Joined

  • Last visited

Everything posted by fastmailsend

  1. import net.minecraft.util.NonNullList; i cant find this lib
  2. I have 2 questions: 1 is it an error in json files or code? 2 How can I fix this? And how do I use ModelRegistryEvent, and where.
  3. check this plz https://github.com/Beriktabe/test/tree/master/main
  4. Can you give me an example. plz
  5. Check, plz, why i cant add texture to my testBlock main.rar
  6. My mistake in code, sry
  7. but health is 10 only if i damage before catching ,mob, health isnt changing it is 10 and 10 only
  8. Like this? EntityLivingBase a = (EntityLivingBase) ent; health = a.getHealth();
  9. how can i get Health from ent.getEntityData()? and where can i get list of names of elements in ent.getEntityData()?
  10. thx, i fixed it
  11. if(!world.isRemote) { Entity ent = new EntityCow(world); //ent.posX = player.posX; //ent.posZ = player.posZ; //ent.posY = player.posY; ent.setPosition(player.posX, player.posY, player.posZ); //ent. world.spawnEntityInWorld(ent); }
  12. How to spawn entities on the server only.
  13. Can you give me an example plz?)
  14. Entity ent = new EntityCow(world); //ent.posX = player.posX; //ent.posZ = player.posZ; //ent.posY = player.posY; ent.setPosition(player.posX, player.posY, player.posZ); world.spawnEntityInWorld(ent); this code spawn 2 cows, one is normal, another is untouchable
  15. Entity ent = new EntityCow(world); ent.posX = player.posX; ent.posZ = player.posZ; ent.posY = player.posY; world.spawnEntityInWorld(ent); return super.onItemRightClick(itemStackIn, world, player, hand); i use this code
  16. When I call the cow, it immediately disappears
  17. Like this? Entity ent = new EntityCow(world); ent.posX = player.posX; ent.posZ = player.posZ; ent.posY = player.posY; world.spawnEntityInWorld(ent);
  18. is it correct: Entity ent = new EntityCow(world); world.spawnEntityInWorld(ent);
  19. This is my problem, i cant found how to spawn entity, like cows) sry for my English)
  20. How can i spawn entity by name, when i right click
  21. I dont know how to spawn mob, which i catch)
  22. @Override public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity) { lastName = entity.getName(); entity.isDead = true; return super.onLeftClickEntity(stack, player, entity); } with this code i catch entityName Plz help )
  23. Thx, it was more easy on 1.7.10)))
  24. I am noob in forge 1.10.2

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.