Skip to content

Commit

Permalink
make golden apple juice's name not italic, change map radius
Browse files Browse the repository at this point in the history
  • Loading branch information
Inf1nityy committed Jul 26, 2024
1 parent eb1d438 commit d517a4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/com/nexia/ffa/sky/utilities/FfaSkyUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.nexia.nexus.builder.implementation.util.ObjectMappings;
import net.fabricmc.loader.api.FabricLoader;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.TextDecoration;
import net.kyori.adventure.text.minimessage.MiniMessage;
import net.minecraft.core.BlockPos;
import net.minecraft.sounds.SoundEvents;
Expand Down Expand Up @@ -191,7 +192,7 @@ public void finishSendToSpawn(NexiaPlayer player) {

private static ItemStack gApplePotion() {
ItemStack potion = new ItemStack(Items.POTION);
potion.setHoverName(ObjectMappings.convertComponent(MiniMessage.get().parse(String.format("<gradient:%s:%s>Golden Apple Juice</gradient>", "#ffaa00", "#ffc40e"))));
potion.setHoverName(ObjectMappings.convertComponent(MiniMessage.get().parse(String.format("<gradient:%s:%s>Golden Apple Juice</gradient>", "#ffaa00", "#ffc40e")).decoration(TextDecoration.ITALIC, false)));
potion.getOrCreateTag().putInt("CustomPotionColor", 16771584);

ArrayList<MobEffectInstance> effects = new ArrayList<>();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/nexia/ffa/sky/utilities/SkyFfaAreas.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class SkyFfaAreas implements FfaAreas {

public static EntityPos spawn = new EntityPos(0.5, 90, 0.5, 0, 0);

private static final int mapRadius = 30;
private static final int mapRadius = 40;

public static final int buildLimitY = 90;
public static BlockPos spawnCorner1 = spawn.toBlockPos().offset(-6, -5, -6);
Expand Down

0 comments on commit d517a4a

Please sign in to comment.