portals.yml
Portal Configuration: The following is an example of how you can define a portal in a YAML file for CoreExtensions:
# portal.yml
portals:
portal1:
name: "Test Portal" # Portal name (not included in lang file)
frameBlock: "coreextensions:other_block" # Replace with your desired namespace:block_id
lightWithItem: "minecraft:ender_eye" # Replace with your desired item ID
destDimID: "minecraft:the_end" # Replace with your desired dimension ID
tintColor: [255, 0, 0] # Replace with your desired RGB color
In this example, a portal named "portal1" is defined with properties including its name, frame block, item for providing light, destination dimension ID, and tint color. The frameBlock
property specifies the block that makes up the frame of the portal. The lightWithItem
property determines the item that provides light to the portal when activated. The destDimID
property defines the destination dimension when the portal is activated. The tintColor
property specifies the RGB color of the portal.
You can customize the properties to create different portal configurations based on your needs. These properties determine how the portal behaves and looks in the game.
Last updated