Skip to content

Commit

Permalink
Merge pull request #4 from MCwither/master
Browse files Browse the repository at this point in the history
添加繁体中文语言
  • Loading branch information
oO0oO0oO0o0o00 authored Jul 14, 2020
2 parents 0f9e6ce + 20c9c6e commit ea637e4
Show file tree
Hide file tree
Showing 8 changed files with 489 additions and 3 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Blocktopograph

![author](https://github.com/Templarian/MaterialDesign/blob/master/icons/svg/account.svg)

By *Proto Lambda*\(Link removed, as he asked to\), [@MithrilMania](https://github.com/MithrilMania),
[@flagmaggot](https://github.com/flagmaggot) and many other community contributors, including translation.
This fork is the only one supporting MCPE 1.13+ for now.

## Help improve translation
## ![translate](https://github.com/Templarian/MaterialDesign/blob/master/icons/svg/web.svg) Help improve translation
[Click here](https://github.com/oO0oO0oO0o0o00/blocktopograph/blob/master/translation.md).

## Update paused
Expand All @@ -13,13 +15,15 @@ As title.
Translations and pull requests **will still be processed**, but we encourage you to
take over this project and develope on your own.

## Download
## ![download](https://github.com/Templarian/MaterialDesign/blob/master/icons/svg/download.svg)Download
[>>> Download on Google Play <<<](https://play.google.com/store/apps/details?id=rbq2012.blocktopograph)
[![Google Play](http://ws3.sinaimg.cn/large/006Zo3DUgy1g65u2a2fndj30hy06yjrh.jpg)](https://play.google.com/store/apps/details?id=rbq2012.blocktopograph)

And release page of the repository provides debug version of the app.
<img src="arts/scr02.png" alt="screenshot" width="320"/>
<img src="arts/scr03.png" alt="screenshot" width="320"/>

## Build
## ![build](https://github.com/Templarian/MaterialDesign/blob/master/icons/svg/camera-front-variant.svg)Build

Clone project in Android Studio: `File -> New -> Project from Version Control -> Git`
Install missing SDK components. Android Studio would give you the auto-fix options.
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-hacker
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,9 @@ public boolean onNavigationItemSelected(@NonNull MenuItem item) {
case (R.id.nav_nether_block_light):
changeMapType(MapType.NETHER_BLOCK_LIGHT, Dimension.NETHER);
break;
case (R.id.nav_nether_biome):
changeMapType(MapType.NETHER_BIOME, Dimension.NETHER);
break;
case (R.id.nav_end_satellite):
changeMapType(MapType.END_SATELLITE, Dimension.END);
break;
Expand Down
12 changes: 12 additions & 0 deletions app/src/main/java/com/mithrilmania/blocktopograph/map/Biome.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.mithrilmania.blocktopograph.util.ColorWrapper;



/*
Biome enum for MCPE -- by @mithrilmania
Expand Down Expand Up @@ -111,6 +112,17 @@ public enum Biome {
MESA_PLATEAU_M(167, "Mesa Plateau M", ColorWrapper.fromRGB(255, 220, 184)),
BAMBOO_JUNGLE(168, "Bamboo Jungle", ColorWrapper.fromRGB(255, 220, 184)),
BAMBOO_JUNGLE_HILLS(169, "Bamboo Jungle Hills", ColorWrapper.fromRGB(255, 220, 184));

//Nether biome in 1.16.0 nether update.
NETHER_WASTES(8, "Nether Wastes", ColorWrapper.fromRGB(132, 65, 65));
SOUL_SAND_VALLEY(170, "Soul Sand Valley", ColorWrapper.fromRGB(66, 113, 114));
CRIMSON_FOREST(171, "Crimson Forest", ColorWrapper.fromRGB(141, 30, 40));
WARPED_FOREST(172, "Warped Forest", ColorWrapper.fromRGB(22, 126, 134));
BASALT_DELTAS(173, "Basalt Deltas", ColorWrapper.fromRGB(75, 69, 71));

private static final SparseArray<Biome> biomeMap;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public enum MapType implements DetailLevelManager.LevelType {
NETHER_XRAY(new XRayRenderer()),

NETHER_BLOCK_LIGHT(new BlockLightRenderer()),

//add in 1.16.0
NETHER_BIOME(new BiomeRenderer());

END_SATELLITE(new SatelliteRenderer()),

Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/menu/activity_world_drawer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@
android:id="@+id/nav_nether_map"
android:icon="@drawable/ic_action_map_b"
android:title="@string/map" />
<item
android:id="@+id/nav_nether_biome"
android:icon="@drawable/ic_bubble_chart"
android:title="@string/biomes" />
<item
android:id="@+id/nav_nether_xray"
android:icon="@drawable/ic_visibility"
Expand Down
Loading

0 comments on commit ea637e4

Please sign in to comment.