TransWikia.com

How can you make a infinity damage sword?

Arqade Asked by yypl on March 14, 2021

I found this command : /give @p netherite_sword{Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:2147483647,Operation:0,UUID:[I;439,684,724,99]}]} 1 it will give me a sword with 2147483647 attack damage but I want this to be INFINITY attack damage can you fix the command to make it infinity please?

2 Answers

Try setting the amount to 1.79769313486232E+308d To make this command.

give @p netherite_sword{Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount: 1.79769313486232E+308d,Operation:0,UUID:[I;439,684,724,99]}]} 1

This worked about a year ago. I haven't tested it though.

Answered by randomuser922 on March 14, 2021

This is impossible. "Infinity" anything will crash every computer that has ever been or will ever be created. Just pretend that that is infinity, it is not survivable to any entity currently in the game, or likley any that will, as the game uses a 32 bit integer for damage values.

Answered by valkyrie_pilot on March 14, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP