Commit Graph
347 Commits
Author SHA1 Message Date
Luis C.M dbc9754b43 Re-enabled OpenGL blending for custom particles 2022-05-06 03:15:18 -05:00
Luis C.M 2d2933e873 ScriptEntityParticle:
-Particles can now start or end at a certain tick, and loop or not loop.
-Added setSize(), getWidth() and getHeight() functions.
-Added setOffset(), getOffsetX(), and getOffsetY() functions.
-Added setAnimRate() and getAnimRate() functions.
2022-05-06 01:22:48 -05:00
Luis C.M 728269ff87 ScriptEntityParticle:
-Added width, offset, and animation rate attributes to particles.
-Added setSize(), getWidth() and getHeight() functions.
-Added setOffset(), getOffsetX(), and getOffsetY() functions.
-Added setAnimRate() and getAnimRate() functions.
2022-05-06 00:22:28 -05:00
Luis C.M d6c46158f5 TexturedRect classes for GUIs & overlays, and Custom GUI buttons now support textures of all sizes when using URLs.
EntityCustomFX:
-Added URL support
2022-05-04 23:08:30 -05:00
Luis C.M 034707abd3 ScriptEntityParticle:
-Fixed rotations with scripted particles
2022-05-04 21:41:32 -05:00
Luis C.M f16e2402a6 ScriptEntityParticle:
-Added scripted particles which can not face the player, having their angles be absolute in the world instead of relative to the camera.
-set/getFacePlayer() functions added.
2022-05-04 18:08:54 -05:00
Luis C.M 1cd3ff31b6 Increased the angle limit while pathing for flying NPCs from 15 to 20 degrees 2022-05-04 04:58:59 -05:00
Luis C.M 8033b8ba19 Tweaked vertical speed calculations for NPC flight 2022-05-04 04:10:14 -05:00
Luis C.M a2dd0e502a Slightly improved return to start checks 2022-05-04 03:10:16 -05:00
Luis C.M 85a1892c71 Changes to NPC flight:
-Improved flight pathing greatly, MUCH MUCH smoother now.
-The "flying speed" of an NPC now correctly speeds up how fast the NPC climbs vertically while flying
-NPCs now properly return to start while flying
2022-05-04 03:06:40 -05:00
Luis C.M bfd872a239 ScriptEntity:
-Added getEntityId() function
-Moved getUniqueId() function

ScriptWorld:
-Added getPlayerByUUID(uuidstring) function
-Added several functions from World and WorldServer: isBlockFreezable,isBlockFreezableNaturally,canBlockFreeze,canBlockFreezeBody,canSnowAt,canSnowAtBody,getTopBlock,getHeightValue,getChunkHeightMapMinimum,getBlockMetadata,setBlockMetadataWithNotify,canBlockSeeTheSky,getFullBlockLightValue,getBlockLightValue,playSoundAtEntity,playSoundToNearExcept,getEntityByID,spawnEntityInWorld,getClosestPlayerToEntity,getClosestPlayer,getClosestVulnerablePlayerToEntity,getClosestVulnerablePlayer,countEntities,setTileEntity,removeTileEntity,isBlockFullCube,getSeed,setSpawnLocation,canLightningStrikeAt,isBlockHighHumidity

ScriptTileEntity:
Added a ScriptTileEntity class for MC Tile Entities, with nearly all its functions.

ScriptBlock:
-Added getTileEntity() and setTileEntity() functions using the new ScriptTileEntity class as a return value and parameter respectively.

API:
-Added playSoundAtEntity and playSoundToNearExcept functions.
-Added set/getMOTD() functions.
2022-05-03 23:09:21 -05:00
Luis C.M 80e3c075c7 Added detectAndSendChanges, putStackInSlot(slot,itemStack), isPlayerNotUsingContainer(player) functions to ScriptContainer 2022-05-03 14:05:49 -05:00
Luis C.M 09f76d84c4 GuiContainerNPCInterface, GuiNPCInterface, GuiNpcMenu all disable repeat key events when closed like all other GUIs now.
The keyEvent scripted event no longer detects repeat held key presses.
2022-05-03 13:34:56 -05:00
Luis C.M 5c9424bac8 Added the repeatKey field to KeyEvent, distinguishing whether the event was triggered by the key being held down or the first press. 2022-05-03 13:20:41 -05:00
Luis C.M 4c0ff9bf2e Merge remote-tracking branch 'origin/master' 2022-05-03 11:26:17 -05:00
Luis C.M d41b3b7a7e ScriptEntity:
-Added setInvisible, setSneaking, setSprinting, and getUniqueID() functions.

ScriptLivingBase:
-Added getLookVec() function

ScriptPlayer:
-Added stopUsingItem(), clearItemInUse(), playSound(name,volume,pitch), mountEntity(entity), dropOneItem(shouldDropStack), canHarvestBlock(block), interactWith(entity) functions
2022-05-03 11:26:04 -05:00
Luis C.M 85d59d8631 Merge branch 'KAMKEEL:master' into master 2022-05-03 11:23:27 -05:00
Luis C.M 8db16459df Made CTRL, Shift, ALT, and Meta keys execute the keyPressed event when pressed down, not just when released. 2022-05-02 23:11:45 -05:00
Luis C.M b309738c0b Fixed swingHand() function for ScriptPlayer 2022-05-02 01:41:43 -05:00
KAMKEEL 6ab09b690e Rename to proper version 2022-04-20 18:36:33 -04:00
KAMKEEL a53baefafa Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2022-04-20 17:50:18 -04:00
KAMKEEL d6cd41946c Remove ZSTD Compression 2022-04-20 17:49:20 -04:00
Kamron Vaswani 0ed0893682 Merge pull request #46 from c0508383/master
Scripted Dialog Hook Fix
2022-04-20 17:23:24 -04:00
Luis C.M ff37a8bec2 Merge branch 'KAMKEEL:master' into master 2022-04-13 04:27:25 -05:00
Luis C.M 1e88a4458d Fixed bug with NPC dialog scripts. 2022-04-13 04:25:44 -05:00
KAMKEEL e72672ad71 Revert to Original 😦 2022-04-11 23:01:41 -04:00
KAMKEEL 77ed924492 Steve32 Fake Framework
Started Creating Steve32 Fake so that 64x64 Textures can be applied to 64x32 Steve
2022-04-09 21:04:09 -04:00
KAMKEEL 628fd1084e Cloak Reorganization Compatibility Update 2022-04-09 02:36:14 -04:00
KAMKEEL 71216350d8 Merge branch 'master' into dev 2022-04-09 02:14:21 -04:00
KAMKEEL 0732d98ff8 1.5.3 Gradle Update | Add Version Compatibility Changes
Update Version to 1.5.3
Remove Useless String Statements / Comments
Add Temporary Fixes to Version Compatibility as permanent fixes
2022-04-09 01:31:21 -04:00
KAMKEEL 5ad6bb094a Merge branch 'master' into dev 2022-04-09 01:22:15 -04:00
KAMKEEL 465f52b811 Update RenderNPCInterface.java 2022-04-09 01:21:40 -04:00
Kamron Vaswani 32f89f8e92 Merge pull request #45 from c0508383/master
Important script hook fix, additions to dialog and dialog closed hooks for NPCs
2022-04-09 01:20:53 -04:00
Luis C.M 65bb3b5939 Important fix to some NPC hook scripts crashing, added option and dialog object fields to local NPC dialog and NPC dialog closed scripts 2022-04-09 00:17:16 -05:00
KAMKEEL 8c677901d0 Reorganized Cape Textures 2022-04-09 01:11:05 -04:00
KAMKEEL 5aa5fb335c Remove ME 2022-04-05 20:01:27 -04:00
KAMKEEL be44db63d3 Update Alex Arm Item Offset 2022-04-05 19:33:36 -04:00
KAMKEEL ebc0b96582 Code Cleanup for Bow Fix 2022-04-05 17:55:13 -04:00
Luis C.M 4abe8dca92 Merge remote-tracking branch 'origin/master' 2022-04-05 16:48:37 -05:00
Luis C.M 8749ba0280 Fixed bow rendering for mods with custom bow renderers 2022-04-05 16:48:27 -05:00
Luis C.M 6a0af3b0a0 Fixed solid legwear right & left sides being flipped 2022-04-05 16:10:58 -05:00
Luis C.M cddada1984 Merge branch 'KAMKEEL:master' into master 2022-04-03 19:14:46 -05:00
Luis C.M 917f0d030a Fixed solid Steve armwear 2022-04-03 19:14:19 -05:00
KAMKEEL 3454ecb78a Update Version 2022-04-03 14:37:50 -04:00
Luis C.M 694afb7b6b Possible fix for instant complete kill quests having their progress stuck. 2022-03-24 20:42:38 -05:00
Luis C.M 464f5ecb1e Fixed scaling issue on custom gui textured rectangles 2022-03-24 01:58:39 -05:00
Luis C.M 3066e1dfbc Global event script buttons and the script GUI for an NPC are enabled/disabled/darkened based on their respective configs. 2022-03-23 18:54:55 -05:00
Luis C.M 286f6862cb Small clarifications in the new scripting configs, and removed some unused imports. 2022-03-23 17:48:58 -05:00
Luis C.M 9a244ca2fe Renamed NPCs button on GUI, added configs for enabling player, forge, NPC, and all scripts. 2022-03-23 17:42:35 -05:00
Luis C.M 33378fba59 Merge remote-tracking branch 'origin/master' 2022-03-23 04:02:20 -05:00