mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 09:54:25 +00:00
Merge branch 'dev' into feat/zstd-compressor
This commit is contained in:
9 files changed
+14
-10
No files matched your search
Binary file not shown.
@@ -32,7 +32,7 @@ This mod is an ***update*** to CustomNPC and not an add-on. Do not install Custo
|
||||
- Custom Part Disabling
|
||||
- Markov Name Generator
|
||||
- Flying NPCS
|
||||
- Better Script Speeds
|
||||
- Script Enchanments and Fixes
|
||||
- Scripting Additions: [Documentation](https://github.com/PewDizinho/CustomNPCPlus-Script-Documentation)
|
||||
|
||||
--- Please Suggest New Features!
|
||||
@@ -56,5 +56,6 @@ This mod is an ***update*** to CustomNPC and not an add-on. Do not install Custo
|
||||
[](https://discord.gg/rgeWsmQaKa)
|
||||
[](https://discord.gg/pQqRTvFeJ5)
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/customnpc-plus)
|
||||
[](https://github.com/KAMKEEL/Plugin-Mod)
|
||||
[](https://github.com/KAMKEEL/Plugin-Mod)
|
||||
<a href="https://ko-fi.com/kamkeel"> <img src="https://i.imgur.com/zvdVbeW.png" alt="Support Me on Kofi" width="180" height="27"> </a>
|
||||
|
||||
Binary file not shown.
+1
-1
@@ -17,7 +17,7 @@ buildscript {
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "1.5.1-beta"
|
||||
version = "1.5.1"
|
||||
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "CustomNPC-Plus"
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ import noppes.npcs.enchants.EnchantInterface;
|
||||
import noppes.npcs.entity.*;
|
||||
import noppes.npcs.entity.old.*;
|
||||
import noppes.npcs.scripted.wrapper.WrapperNpcAPI;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.Executors;
|
||||
|
||||
@@ -99,7 +99,7 @@ public class TranslateUtil {
|
||||
return null;
|
||||
element = array.get(0);
|
||||
}
|
||||
System.out.println(element.getAsString());
|
||||
// System.out.println(element.getAsString());
|
||||
return element.getAsString();
|
||||
}
|
||||
}
|
||||
@@ -163,8 +163,8 @@ public class GuiNpcPuppet extends GuiModelInterface implements ISliderListener{
|
||||
}
|
||||
if(btn.id == 170 || btn.id == 171 || btn.id == 172){
|
||||
if(btn.id == 170){
|
||||
System.out.println(part.rotationX);
|
||||
System.out.println(rotateX.sliderValue);
|
||||
// System.out.println(part.rotationX);
|
||||
/// System.out.println(rotateX.sliderValue);
|
||||
part.rotationX = 0.0f;
|
||||
rotateX.sliderValue = 0.5f;
|
||||
int percent = (int) ((rotateX.sliderValue) * 360);
|
||||
|
||||
@@ -42,8 +42,8 @@ public class ServerCloneController implements ICloneHandler {
|
||||
try {
|
||||
File dir = new File(getDir(), "..");
|
||||
File file = new File(dir, "clonednpcs.dat");
|
||||
System.out.println(file.getAbsolutePath());
|
||||
System.out.println(file.exists());
|
||||
// System.out.println(file.getAbsolutePath());
|
||||
// System.out.println(file.exists());
|
||||
if(file.exists()){
|
||||
Map<Integer, Map<String, NBTTagCompound>> clones = loadOldClones(file);
|
||||
file.delete();
|
||||
|
||||
@@ -106,7 +106,11 @@ public class ScriptLivingBase<T extends EntityLivingBase> extends ScriptEntity<T
|
||||
public T getMCEntity(){
|
||||
return entity;
|
||||
}
|
||||
|
||||
|
||||
public T getMinecraftEntity(){
|
||||
return getMCEntity();
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes the entity swing its hand
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user