public class NPCEditorPlugin extends JavaPlugin
The main plugin class for Npceditor. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.
java.lang.Object > JavaPlugin > NPCEditorPlugin
Field Summary
assetType
final
String
assetType
Field assetType.
npcPlugin
final
NPCPlugin
npcPlugin
Field npcPlugin.
key
final
String
key
Field key.
roleIndex
final
int
roleIndex
Field roleIndex.
roleBuilderInfo
final
BuilderInfo
roleBuilderInfo
Field roleBuilderInfo.
roleBuilder
final
Builder
roleBuilder
Field roleBuilder.
spawnable
final
ISpawnableWithModel
spawnable
Field spawnable.
spawningContext
final
SpawningContext
spawningContext
Field spawningContext.
model
final
Model
model
Field model.
modelPacket
final
com.hypixel.hytale.protocol.Model
modelPacket
Field modelPacket.
Method Detail
setup
protected
void
setup
()
Method setup.
NPCRoleAssetTypeHandler
public
new
NPCRoleAssetTypeHandler
()
Method NPCRoleAssetTypeHandler.
GeneralCommandException
public
new
GeneralCommandException
(Message.translation("server.commands.npc.spawn.validation_failed")
Method GeneralCommandException.
- Parameters:
Message.translation("server.commands.npc.spawn.validation_failed"Message.translation("server.commands.npc.spawn.validation_failed"
AssetEditorUpdateModelPreview
public
new
AssetEditorUpdateModelPreview
(event.getAssetFilePath()
Method AssetEditorUpdateModelPreview.
- Parameters:
event.getAssetFilePath(event.getAssetFilePath(
AssetEditorPreviewCameraSettings
public
new
AssetEditorPreviewCameraSettings
(0.25f, new Vector3f(0.0f, 75.0f, 0.0f)
Method AssetEditorPreviewCameraSettings.
- Parameters:
0.25f0.25fnewVector3f(0.0f75.0f75.0f0.0f0.0f
Vector3f
public
new
Vector3f
(0.0f, 0.7853f, 0.0f)
Method Vector3f.
- Parameters:
0.0f0.0f0.7853f0.7853f