Skip to content

Commit 1e5ec28

Browse files
committed
upd + add post + upd(License)
1 parent f30c11e commit 1e5ec28

29 files changed

+460
-146
lines changed

LICENSE

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
MIT License
1+
All Rights Reserved
22

3-
Copyright (c) 2024 Keyyard
3+
Copyright (c) 2025 Keyyard
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
All rights reserved. No part of this publication, including the website,
6+
images, documentation, or digital assets, may be reproduced, distributed,
7+
modified, transmitted, stored in a retrieval system, or used in any form or
8+
by any means, electronic, mechanical, photocopying, recording, or otherwise,
9+
without the prior written permission of Keyyard.
1110

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
11+
Requests for permission to reproduce material should be sent to: contact@keyyard.xyz
12+
Note: This All Rights Reserved notice is intended to prevent unauthorized
13+
reuse of the site's content. For commercial licensing, contact the author to
14+
discuss terms.

content/discovery/README.md.bak

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
# Discovery — Authoring Tutorial & Formatting Tips
2+
3+
This document is a short tutorial that walks you through creating a new Discovery post (Markdown) and the formatting best-practices we use on the site.
4+
5+
Quick summary
6+
7+
- Files live in: `content/discovery/` (one Markdown file per post)
8+
- Images/assets live in: `public/discovery/<slug>/`
9+
- Build-time RSS: `public/discovery/rss.xml` (generated at build time)
10+
11+
## Create a new post (quick start)
12+
13+
1. Create the Markdown file. Use a lowercase, hyphenated slug for the filename.
14+
15+
```bash
16+
mkdir -p content/discovery/my-project
17+
code content/discovery/my-project/index.md
18+
```
19+
20+
1. Add frontmatter (required fields shown) at the top of the file:
21+
22+
```yaml
23+
---
24+
title: "My Project"
25+
slug: "my-project" # optional (defaults to filename)
26+
tags: ["utility","map"]
27+
description: "One-line summary used in the listing and RSS"
28+
date: "2025-10-08" # ISO YYYY-MM-DD
29+
image: "/discovery/my-project/hero.png"
30+
download: "https://cdn.example.com/my-project/my-project.zip"
31+
---
32+
```
33+
34+
1. Add Markdown content below the frontmatter. Use H2/H3 headings for structure (avoid H1 in the body because the post title is the page H1).
35+
36+
Minimal file example:
37+
38+
Frontmatter (top of the file):
39+
40+
```yaml
41+
---
42+
title: "My Project"
43+
description: "Short summary for listing"
44+
date: "2025-10-08"
45+
image: "/discovery/my-project/hero.png"
46+
---
47+
```
48+
49+
Content skeleton (add below the frontmatter):
50+
51+
## Overview
52+
53+
Short intro paragraph used as the listing summary.
54+
55+
## Installation
56+
57+
Instructions, code block (add language):
58+
59+
```bash
60+
curl -L -o myproject.zip https://cdn.example.com/myproject.zip
61+
```
62+
63+
## Usage
64+
65+
Explain how to use the project, include screenshots with alt text:
66+
67+
![Screenshot](/discovery/my-project/screenshot1.png)
68+
69+
Formatting & styling tips
70+
71+
- Headings:
72+
- Use H2 (`##`) for section titles and H3 (`###`) for subsections. Do NOT add another H1 — the site's title comes from the post frontmatter.
73+
- Lists:
74+
- Use bulleted lists (`-` or `*`) for short item lists. For numbered steps use `1.`.
75+
- Code blocks:
76+
- Always include a language for fenced code blocks (e.g. `bash`, `ts`, `json`) so syntax highlighting works.
77+
- Images:
78+
- Store images under `public/discovery/<slug>/` and reference them with absolute paths (e.g., `/discovery/my-project/hero.png`).
79+
- Recommended sizes: hero image ~1200×600 px (or 3:2), thumbnails ~600×400. Use compressed web-friendly formats (WebP/PNG/JPEG).
80+
- Always include descriptive `alt` text for accessibility and SEO.
81+
- Links & downloads:
82+
- For paid or large files host externally (S3, CDN, Gumroad). Put the public URL in the frontmatter `download:` field.
83+
- For small free samples you may put a small archive under `public/discovery/<slug>/` and link to it from the body or frontmatter.
84+
85+
## Downloads in frontmatter
86+
87+
You can include download URLs in a post's frontmatter. Two formats are supported:
88+
89+
1. Legacy single-download string:
90+
91+
```yaml
92+
download: "https://example.com/files/my-addon-v1.0.mcpack"
93+
```
94+
95+
1. Multiple-downloads array (recommended) — allows labeling versions and adding notes:
96+
97+
```yaml
98+
downloads:
99+
- label: "Release v1.2"
100+
url: "https://cdn.example.com/tcvm/v1.2/tcvm.mcpack"
101+
notes: "Stable release — recommended"
102+
- label: "Beta v1.3-beta"
103+
url: "https://cdn.example.com/tcvm/v1.3-beta/tcvm-modded.mcpack"
104+
notes: "Beta — may be unstable"
105+
```
106+
107+
Buttons for each download will be rendered on the post page. For large or paid downloads, host files on an external CDN or filesharing service and add the external URL in the frontmatter to avoid committing binaries to the repository.
108+
109+
- Table of contents and heading anchors
110+
111+
- We inject `id` attributes for H2–H6 headings automatically, so linking to `#your-heading` in the page will work.
112+
- If you want a TOC, place an explicit list at the top of the document. We render a `prose` style; you can add a small `.toc` wrapper if you want custom styling.
113+
114+
Preview & RSS
115+
116+
- Local preview: `npm run dev` and browse `http://localhost:3000/discovery`.
117+
- Build-time RSS: `getStaticProps` generates `public/discovery/rss.xml` during `next build`. To regenerate the feed, run:
118+
119+
```bash
120+
npm run build
121+
```
122+
123+
Accessibility & SEO tips
124+
125+
- Keep the `description` short (1–2 sentences) — it’s used for RSS and card summaries.
126+
- Use complete sentences, include descriptive alt text for images, and prefer semantic headings (H2/H3).
127+
128+
Common troubleshooting
129+
130+
- Images 404: ensure images are placed under `public/discovery/<slug>/` and that your `image` frontmatter path matches exactly.
131+
- Linter warnings:
132+
- MD025: avoid adding a second H1; remove H1 from the body.
133+
- MD033: the linter flags raw HTML inside Markdown — the README allows a small wrapper div for TOC but you can avoid inline HTML if you prefer.
134+
- Styles not applying: ensure Tailwind's typography plugin is installed and the page uses `prose` or `prose-invert` for dark theme.
135+
136+
Developer commands (quick)
137+
138+
```bash
139+
# scaffold a new post folder
140+
mkdir -p public/discovery/my-project && mkdir -p content/discovery/my-project
141+
cp path/to/image.png public/discovery/my-project/hero.png
142+
code content/discovery/my-project/index.md
143+
144+
# regenerate RSS (build)
145+
npm run build
146+
```
147+
148+
Finish & tips
149+
150+
- Keep entries focused and short; the site shows a short description and thumbnails on the index page. Use the body for details, screenshots, and instructions.
151+
- When ready to publish, verify the post preview under `npm run dev`, then commit the `content/discovery/<slug>.md` and any small images under `public/discovery/<slug>/`.
152+

content/discovery/hello-world.md renamed to content/discovery/hello-world.md.bak

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ I will be posting my works -- addons, tools,..etc here in the future. So you can
1515

1616
## Table of contents
1717

18-
<div class="toc">
19-
2018
- [Overview](#overview)
2119
- [For users](#for-users)
2220
- [For clients](#for-clients)

content/discovery/tcvm.md

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
---
2+
title: "Tree Capitator & Vein Miner Addon"
3+
slug: "tcvm"
4+
tags:
5+
- addon
6+
- free
7+
description: "first post!"
8+
date: "2025-10-06"
9+
image: "/discovery/tcvm/banner2.webp"
10+
downloads:
11+
- label: "Tree Capitator & Vein Miner - With Controller v6.1.0"
12+
url: "/discovery/tcvm/tcvm610.mcaddon"
13+
notes: "Performance costing"
14+
- label: "Tree Capitator & Vein Miner - Optimized no controller v6.2.0"
15+
url: "/discovery/tcvm/tcvmOptv620.mcpack"
16+
notes: "Performance optimized, only BP, no controller item"
17+
github: https://github.com/Keyyard/Minecraft-Tree-Capitator-and-Vein-Miner-Addon
18+
---
19+
20+
![Thumbnail](/discovery/tcvm/banner2.webp)
21+
22+
This addon makes resource gathering faster and more convenient by adding two complementary mechanics: Tree Capitator and Vein Miner (TCVM). It's designed for Bedrock Edition and optimized to minimize game lag while preserving expected behavior and enchantment support.
23+
24+
## Credits
25+
26+
This addon was created by @keyyard.
27+
28+
### Contributors
29+
30+
- Worldwidebrine: commands in version 0.0.2
31+
- [GlitchyTurtle](https://github.com/GlitchyTurtle): algorithms suggestion
32+
- [Trea Beane](https://github.com/TreaBeane): algorithms suggestion
33+
34+
## Features
35+
36+
- **Tree Capitator and Vein Miner Controller:** allows enabling and disabling TCVM.
37+
- **Tree Capitator:** tree-felling when using axes and sneaking.
38+
- **Vein Miner:** vein mining when using pickaxes and sneaking.
39+
- **Enchantment Support:** respects Fortunes, Unbreaking, Silk Touch where applicable.
40+
- **Durability Drain:** using TCVM drains tool durability so balance is preserved.
41+
- **No Limit Optimized Performance:** the addon will not limit the number of blocks broken in a chain; instead it processes chains in small turns to avoid large single-frame work that causes lag.
42+
- **Both:** both features activate only when using the correct tool while sneaking.
43+
44+
![Crafting](/discovery/tcvm/crafting.webp)
45+
46+
## Tree Capitator
47+
48+
To activate Tree Capitator, ensure you are using an axe and sneaking (crouch) while breaking the bottom log of a tree.
49+
50+
- Break the bottom block of a tree, and the entire tree will fall down.
51+
- Works for all tree types (oak, birch, jungle, spruce, etc.).
52+
- Supports nether trees like crimson and warped.
53+
- Supports large/huge trees and new tree types such as mangrove and cherry.
54+
- **Note:** Tree Capitator avoids mangrove roots to prevent unintended biome damage.
55+
56+
![Tree Capitator](/discovery/tcvm/img5.webp)
57+
![Tree Capitator](/discovery/tcvm/img4.webp)
58+
59+
## Vein Miner
60+
61+
To activate Vein Miner, ensure you are using a pickaxe and sneaking while breaking a block in an ore chain.
62+
63+
- Breaking one block in an ore chain causes the connected ore chain to break and drop items.
64+
- Works for all ore types, including nether ores and special blocks like nether debris.
65+
- Supports gravel-style chains when used in the appropriate game contexts.
66+
67+
![Vein Miner](/discovery/tcvm/img3.webp)
68+
![Vein Miner](/discovery/tcvm/img2.webp)
69+
70+
## Enchantment Support
71+
72+
This addon respects common enchantments:
73+
74+
- **Unbreaking:** reduces how quickly tools lose durability when used with TCVM.
75+
- **Fortune:** increases drop quantities for ores.
76+
- **Silk Touch:** allows collecting blocks instead of drops when applicable.
77+
78+
![Silk Touch](/discovery/tcvm/silk_touch.gif)
79+
![Fortune](/discovery/tcvm/fortune.gif)
80+
81+
## Preview Videos
82+
83+
![Preview](/discovery/tcvm/banner.webp)
84+
Preview available above — click the thumbnail to open on YouTube.
85+
86+
## FAQ (Frequently Asked Questions)
87+
88+
**Q: Why is this addon on my GitHub?**
89+
90+
A: This addon is hosted publicly to encourage collaboration and transparency. It’s open-source so contributors can propose improvements and fixes via pull requests.
91+
92+
**Q: Can I use this addon in Creative Mode?**
93+
94+
A: Yes — it works in Creative as well for faster testing and building.
95+
96+
**Q: Are there compatibility issues with other addons?**
97+
98+
A: The addon is designed to be compatible with many other addons. Conflicts are possible if other addons modify the same block-breaking logic; test in a controlled environment.
99+
100+
**Q: How do I install the Tree Capitator and Vein Miner Addon?**
101+
102+
1. Download the addon files from the GitHub release or MCPEDL (trusted host).
103+
2. Import the addon into Minecraft Bedrock (open the .mcpack or follow the platform’s installation instructions).
104+
105+
**Q: Is this addon available for Bedrock Edition or Java Edition?**
106+
107+
A: This addon targets Bedrock Edition.
108+
109+
**Q: Can I modify or redistribute this addon?**
110+
111+
A: Modifying or redistributing this addon without permission from the creator is not permitted. You may fork the repository and create your own version (you will be credited for contributions). For commercial licensing or redistribution requests, contact the author.

public/LICENSE

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
MIT License
1+
All Rights Reserved
22

3-
Copyright (c) 2024 Keyyard
3+
Copyright (c) 2025 Keyyard
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
All rights reserved. No part of this publication, including the website,
6+
images, documentation, or digital assets, may be reproduced, distributed,
7+
modified, transmitted, stored in a retrieval system, or used in any form or
8+
by any means, electronic, mechanical, photocopying, recording, or otherwise,
9+
without the prior written permission of Keyyard.
1110

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
11+
Requests for permission to reproduce material should be sent to: contact@keyyard.xyz
12+
Note: This All Rights Reserved notice is intended to prevent unauthorized
13+
reuse of the site's content. For commercial licensing, contact the author to
14+
discuss terms.

public/discovery/rss.xml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,11 @@
1111
<copyright>© 2025 Keyyard</copyright>
1212
<atom:link href="https://keyyard.xyz/discovery/rss.xml" rel="self" type="application/rss+xml"/>
1313
<item>
14-
<title><![CDATA[Hello World]]></title>
15-
<link>https://keyyard.xyz/discovery/hello-world</link>
16-
<guid>https://keyyard.xyz/discovery/hello-world</guid>
14+
<title><![CDATA[Tree Capitator & Vein Miner Addon]]></title>
15+
<link>https://keyyard.xyz/discovery/tcvm</link>
16+
<guid>https://keyyard.xyz/discovery/tcvm</guid>
1717
<pubDate>Mon, 06 Oct 2025 00:00:00 GMT</pubDate>
1818
<description><![CDATA[first post!]]></description>
1919
</item>
20-
<item>
21-
<title><![CDATA[README]]></title>
22-
<link>https://keyyard.xyz/discovery/README</link>
23-
<guid>https://keyyard.xyz/discovery/README</guid>
24-
<pubDate>Mon, 06 Oct 2025 07:21:14 GMT</pubDate>
25-
</item>
2620
</channel>
2721
</rss>

public/discovery/tcvm/banner.webp

41.4 KB
Loading

public/discovery/tcvm/banner2.webp

40.1 KB
Loading
2.02 KB
Loading

public/discovery/tcvm/fortune.gif

3.16 MB
Loading

0 commit comments

Comments
 (0)