Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 606 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 606 Bytes

BowAPI

众所周知,在MCJE里到处都是硬编码,弓这个物品也不例外:如果要编写一把和原版一样的弓,只是拉弓速度翻倍,则至少要混入7个类,要写大量的代码来覆盖和修改原版行为。

因此,我编写了这个库。

API

主功能接口

RenderedAsBow

UsedAsBow

主功能类

SimpleBowItem

工具类

EArrowEntityRenderer

SimpleEntityType

Gradle

repositories {
	maven {
		url = "https://github.com/Phoupraw/BowAPI/raw/1.18/publish"
	}
}
dependencies {
	modImplementation "ph.mcmod:BowAPI:+"
}