Skip to content
forked from Virtuoel/Pehkui

Fabric/Forge/Quilt mod that allows for changing the size of any entity.

License

Notifications You must be signed in to change notification settings

SStelioss/Pehkui

 
 

Repository files navigation

Pehkui

Library mod for the Fabric, Forge, and Quilt mod loaders that allows mod developers to modify the size of entities.

Information for Players

Show/Hide Information for Players

Required Mods to Run

Show/Hide Required Mods

Playing on Fabric

Playing on Forge

  • Newest version of the Forge mod loader for whichever Minecraft version you're playing on

Playing on Quilt

Supported Minecraft Versions

Show/Hide Supported Minecraft Versions

Fabric/Quilt Versions

Supported Versions of Pehkui-x.y.z+1.14.4-1.19.3:
1.19.3, 1.19.2, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4

Forge Versions

Supported Versions of Pehkui-x.y.z+1.19.3-forge:
1.19.3

Supported Versions of Pehkui-x.y.z+1.19.2-forge:
1.19.2

Supported Versions of Pehkui-x.y.z+1.18.2-forge:
1.18.2

Supported Versions of Pehkui-x.y.z+1.17.1-forge:
1.17.1

Supported Versions of Pehkui-x.y.z+1.16.5-forge:
1.16.5

Mod Features

Show/Hide Mod Features

Pehkui allows mod developers to:

  • Change the size of entities through modifying scale data
  • Affect other properties of an entity that are considered as dependant on the size
    (e.g. movement speed, explosion size, reach distance)
  • Have the scalable properties of an entity be affected by other scale data types or by
    external data through scale modifiers

Information for Developers

Show/Hide Information for Developers

Adding a Dependency

Show/Hide Dependency Information

Maven

Show/Hide Maven Information

To make use of Pehkui in your own mod, you'll first need to go to the repositories
block of your build.gradle, typically found right before the dependencies block,
and add the JitPack Maven to the bottom of the block like below:

// ...

repositories {
	// ... your other Maven repositories above, if any ...
	maven {
		url = "https://jitpack.io"
	}
}

dependencies {
	// ...
}

// ...

Mod Version and Dependency Configuration

Show/Hide Dependency Configuration Information

Now that a Maven repository is specified, add pehkui_version=x.y.z-w to your
gradle.properties, replacing x.y.z-w with one of the available version strings from the
list of release tags.

Lastly, in your build.gradle's dependencies block, add the corresponding line from
below depending on your mod loader:

Developing for Fabric with Loom

modApi("com.github.Virtuoel:Pehkui:${pehkui_version}", {
	exclude group: "net.fabricmc.fabric-api"
})

Developing for Forge with ForgeGradle

implementation fg.deobf("com.github.Virtuoel:Pehkui:${pehkui_version}")

Developing for Forge with Architectury Loom

modApi("com.github.Virtuoel:Pehkui:${pehkui_version}")

Fixing Mixins of Dependencies If Using ForgeGradle

Show/Hide Fix on ForgeGradle

If you're using Forge with ForgeGradle, make sure the mixingradle plugin is present and
applied:

Make sure the following line is present in your build.gradle's
buildscript { repositories {} } block.

maven { url = "https://repo.spongepowered.org/repository/maven-public/" }

Then make sure the following line is present in your build.gradle's buildscript { dependencies {} } block.

classpath "org.spongepowered:mixingradle:0.7-SNAPSHOT"

Next, make sure the following line is present in your build.gradle.

apply plugin: "org.spongepowered.mixin"

Then regenerate your run configurations with genEclipseRuns, genIntellijRuns, or
genVSCodeRuns depending on your IDE.

Show/Hide Fix on Older ForgeGradle (4 and below)

If you're using Forge with ForgeGradle 4 or older, make sure refmap remapping is enabled in your build.gradle's run
configuration blocks.

Make sure the following lines are present in the client {}, server {}, and data {} run configuration blocks.

property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"

Then regenerate your run configurations with genEclipseRuns, genIntellijRuns, or
genVSCodeRuns depending on your IDE.

About

Fabric/Forge/Quilt mod that allows for changing the size of any entity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%