Skip to content

Commit

Permalink
Merge pull request #475 from FOREVEREALIZE/patch-1
Browse files Browse the repository at this point in the history
Add ${header} to 1.17+ export in Fabric Modded Entity Plugin
  • Loading branch information
JannisX11 authored Apr 19, 2024
2 parents 92382c1 + ab034fe commit 13bb101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
"icon": "icon-format_java",
"description": "Plugin for exporting Modded Entities using Fabric/Yarn Sourcemap",
"tags": ["Minecraft: Java Edition"],
"version": "0.2.1",
"version": "0.2.2",
"min_version": "3.6.6",
"variant": "both"
},
Expand Down
3 changes: 3 additions & 0 deletions plugins/modded_entity_fabric.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ function setTemplate() {
`// Made with Blockbench %(bb_version)
// Exported for Minecraft version 1.17+ for Yarn
// Paste this class into your mod and generate all required imports
${header}
public class %(identifier) extends EntityModel<${entity}> {
%(fields)
public %(identifier)(ModelPart root) {
Expand Down

0 comments on commit 13bb101

Please sign in to comment.