Skip to content

Commit

Permalink
Disables Nether Portal (again) and adds tooltips to Dimensional Paint…
Browse files Browse the repository at this point in the history
…ings Fixes #145
  • Loading branch information
Darkosto committed Jan 7, 2025
1 parent cd70641 commit 88b5b29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/minecraft/config/dimpaintings-common.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ netherMaxY = 72
# Range: > 0
teleportCooldown = 4
# Disable nether portal creation (Default: false)
disableNetherPortal = false
disableNetherPortal = true
11 changes: 9 additions & 2 deletions src/minecraft/scripts/tooltips.zs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import crafttweaker.api.text.Component;

// Script for setting up custom tooltips

// var tool_belt_tip = Component.translatable("some.lang.key").setStyle(<constant:formatting:gold>);

/*
var amazon = Component.literal("Amazon").setStyle(<constant:formatting:gold>);
Expand Down Expand Up @@ -184,5 +184,12 @@ var boss_mob_gateway = Component.literal("Warning! Summons a Boss Mob").setStyle
var ugly_steel_plating = Component.literal("Covers Blenders & Printers to save FPS").setStyle(<constant:formatting:yellow>);
<item:forbiddensmoothies:ugly_steel_plating>.addTooltip(ugly_steel_plating);

// Dimensional Painting
var overworld_painting = Component.literal("Teleports you to the Overworld Dimension").setStyle(<constant:formatting:yellow>);
<item:dimpaintings:overworld_painting>.addTooltip(overworld_painting);

// var tool_belt_tip = Component.translatable("some.lang.key").setStyle(<constant:formatting:gold>);
var nether_painting = Component.literal("Teleports you to the Nether Dimension").setStyle(<constant:formatting:yellow>);
<item:dimpaintings:nether_painting>.addTooltip(nether_painting);

var end_painting = Component.literal("Teleports you to the End Dimension").setStyle(<constant:formatting:yellow>);
<item:dimpaintings:end_painting>.addTooltip(end_painting);

0 comments on commit 88b5b29

Please sign in to comment.