Skip to content

Commit

Permalink
Update Chinese Minecraft wiki links to new domain (#1416)
Browse files Browse the repository at this point in the history
Update Chinese Minecraft wiki links
  • Loading branch information
Spongecade authored Nov 13, 2023
1 parent 5b1b847 commit 097543e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/block/BlockPointedDripstone.java
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public void grow() {

@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public void drippingLiquid(){//features according to https://minecraft.fandom.com/zh/wiki/%E6%BB%B4%E6%B0%B4%E7%9F%B3%E9%94%A5
public void drippingLiquid(){//features according to https://zh.minecraft.wiki/w/%E6%BB%B4%E6%B0%B4%E7%9F%B3%E9%94%A5
if (this.getBlock(this,1) instanceof BlockLiquid || !this.getThickness().equals("tip") || !this.isHanging()) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/block/BlockTerracottaGlazed.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public BlockFace getBlockFace() {
}

//带釉陶瓦可以被推动但不能被收回
//see: https://minecraft.fandom.com/zh/wiki/%E5%B8%A6%E9%87%89%E9%99%B6%E7%93%A6
//see: https://zh.minecraft.wiki/w/%E5%B8%A6%E9%87%89%E9%99%B6%E7%93%A6

@Override
public boolean canBePushed() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/command/selector/SelectorType.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public enum SelectorType {
ALL_PLAYERS("a"),
ALL_ENTITIES("e"),
//可通过指定type选择随机非玩家实体
//https://minecraft.fandom.com/zh/wiki/%E7%9B%AE%E6%A0%87%E9%80%89%E6%8B%A9%E5%99%A8
//https://zh.minecraft.wiki/w/%E7%9B%AE%E6%A0%87%E9%80%89%E6%8B%A9%E5%99%A8
RANDOM_PLAYER("r"),
SELF("s"),
NEAREST_PLAYER("p"),
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/cn/nukkit/entity/passive/EntitySalmon.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ public void initEntity() {
public Item[] getDrops() {
int rand = Utils.rand(0, 3);
if (this.isLarge()) {
//只有25%获得骨头 来自wiki https://minecraft.fandom.com/zh/wiki/%E9%B2%91%E9%B1%BC
//只有25%获得骨头 来自wiki https://zh.minecraft.wiki/w/%E9%B2%91%E9%B1%BC
if (rand == 1) {
return new Item[]{Item.get(Item.BONE, 0, Utils.rand(1, 2)), Item.get(((this.isOnFire()) ? Item.COOKED_SALMON : Item.RAW_SALMON))};
}
} else if (!this.isLarge()) {
//只有25%获得骨头 来自wiki https://minecraft.fandom.com/zh/wiki/%E9%B2%91%E9%B1%BC
//只有25%获得骨头 来自wiki https://zh.minecraft.wiki/w/%E9%B2%91%E9%B1%BC
if (rand == 1) {
return new Item[]{Item.get(Item.BONE), Item.get(((this.isOnFire()) ? Item.COOKED_SALMON : Item.RAW_SALMON))};
}
Expand Down

0 comments on commit 097543e

Please sign in to comment.