├── .gitignore ├── LICENSE ├── README.md ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── src └── main ├── java └── com │ └── github │ └── tartaricacid │ └── bakaintouhou │ ├── BakaInTouhou.java │ ├── client │ ├── ClientProxy.java │ ├── event │ │ ├── FogRenderEvent.java │ │ ├── GoheiGuiEvent.java │ │ └── WorldLoadingEvent.java │ ├── gui │ │ └── GuiTouhouLoading.java │ ├── network │ │ ├── handler │ │ │ └── PointMessageHandler.java │ │ └── message │ │ │ └── GoheiChangeMessage.java │ ├── particle │ │ └── SakuraParticle.java │ ├── render │ │ ├── armor │ │ │ └── ReimuHeaddressModel.java │ │ ├── character │ │ │ ├── EntityAliceRender.java │ │ │ ├── EntityChenRender.java │ │ │ ├── EntityCirnoRender.java │ │ │ ├── EntityDaiyouseiRender.java │ │ │ ├── EntityFairyBlueRender.java │ │ │ ├── EntityFairyGreenRender.java │ │ │ ├── EntityFairyRedRender.java │ │ │ ├── EntityFairyYellowRender.java │ │ │ ├── EntityFlyingYinyangsRender.java │ │ │ ├── EntityFrandleRender.java │ │ │ ├── EntityKisumeRender.java │ │ │ ├── EntityKoakumaRender.java │ │ │ ├── EntityLettyRender.java │ │ │ ├── EntityLilyRender.java │ │ │ ├── EntityLunarRender.java │ │ │ ├── EntityLunasaRender.java │ │ │ ├── EntityLyricaRender.java │ │ │ ├── EntityMagicBookRender.java │ │ │ ├── EntityMarisaRender.java │ │ │ ├── EntityMeilingRender.java │ │ │ ├── EntityMerlinRender.java │ │ │ ├── EntityMomiziRender.java │ │ │ ├── EntityPatchouliRender.java │ │ │ ├── EntityRanRender.java │ │ │ ├── EntityReimuRender.java │ │ │ ├── EntityRemiliaRender.java │ │ │ ├── EntityRumiaRender.java │ │ │ ├── EntitySakuyaRender.java │ │ │ ├── EntityStarRender.java │ │ │ ├── EntitySuikaRender.java │ │ │ ├── EntitySunflowerFairyRender.java │ │ │ ├── EntitySunnyRender.java │ │ │ ├── EntityWakasagihimeRender.java │ │ │ ├── EntityYoumuRender.java │ │ │ ├── EntityYukariRender.java │ │ │ ├── EntityYuyukoRender.java │ │ │ ├── RenderEntityTouhouCharacter.java │ │ │ └── model │ │ │ │ ├── EntityAliceModel.java │ │ │ │ ├── EntityChenModel.java │ │ │ │ ├── EntityCirnoModel.java │ │ │ │ ├── EntityDaiyouseiModel.java │ │ │ │ ├── EntityFairyModel.java │ │ │ │ ├── EntityFlyingYinyangsModel.java │ │ │ │ ├── EntityFrandleModel.java │ │ │ │ ├── EntityKisumeModel.java │ │ │ │ ├── EntityKoakumaModel.java │ │ │ │ ├── EntityLettyModel.java │ │ │ │ ├── EntityLilyModel.java │ │ │ │ ├── EntityLunarModel.java │ │ │ │ ├── EntityMagicBookModel.java │ │ │ │ ├── EntityMagicCircleModel.java │ │ │ │ ├── EntityMarisaModel.java │ │ │ │ ├── EntityMeilingModel.java │ │ │ │ ├── EntityMomiziModel.java │ │ │ │ ├── EntityPatchouliModel.java │ │ │ │ ├── EntityPrismriverModel.java │ │ │ │ ├── EntityRanModel.java │ │ │ │ ├── EntityReimuModel.java │ │ │ │ ├── EntityRemiliaModel.java │ │ │ │ ├── EntityRumiaModel.java │ │ │ │ ├── EntitySakuyaModel.java │ │ │ │ ├── EntityStarModel.java │ │ │ │ ├── EntitySuikaModel.java │ │ │ │ ├── EntitySunflowerFairyModel.java │ │ │ │ ├── EntitySunnyModel.java │ │ │ │ ├── EntityTouhouCharacterModel.java │ │ │ │ ├── EntityWakasagihimeModel.java │ │ │ │ ├── EntityYoumuModel.java │ │ │ │ ├── EntityYukariModel.java │ │ │ │ └── EntityYuyukoModel.java │ │ ├── danmaku │ │ │ ├── EntityButterflyDanmakuRender.java │ │ │ ├── EntityHakureDanmakuRender.java │ │ │ ├── EntityKnifeDanmakuRender.java │ │ │ ├── EntityLaserDanmakuRender.java │ │ │ ├── EntityNormalDanmakuRender.java │ │ │ ├── EntityTrainDanmakuRender.java │ │ │ └── model │ │ │ │ ├── EntityButterflyDanmakuModel.java │ │ │ │ ├── EntityHakureDanmakuModel.java │ │ │ │ ├── EntityKnifeDanmakuModel.java │ │ │ │ └── EntityTrainDanmakuModel.java │ │ ├── item │ │ │ ├── EntityMarisaBroomRender.java │ │ │ ├── EntityMiniHakkeroRender.java │ │ │ └── model │ │ │ │ └── EntityMarisaBroomModel.java │ │ └── tesr │ │ │ ├── GarageKitRender.java │ │ │ ├── ShojiRender.java │ │ │ ├── SpawnCrystalRender.java │ │ │ └── model │ │ │ └── ShojiModel.java │ └── util │ │ └── CustomShape.java │ └── common │ ├── CommonProxy.java │ ├── block │ ├── BlockBamboo.java │ ├── BlockBambooShoot.java │ ├── BlockGarageKit.java │ ├── BlockLantern.java │ ├── BlockObjectHolder.java │ ├── BlockSaisenBako.java │ ├── BlockSakuraCarpet.java │ ├── BlockSakuraLeaf.java │ ├── BlockSakuraLog.java │ ├── BlockSakuraPane.java │ ├── BlockSakuraSapling.java │ ├── BlockShoji.java │ ├── BlockSpawnCrystal.java │ ├── BlockTatami.java │ ├── BlockTatamiSlab.java │ ├── BlockTatamiStairs.java │ └── tileentity │ │ ├── TileEntityGarageKit.java │ │ ├── TileEntityShoji.java │ │ └── TileEntitySpawnCrystal.java │ ├── capability │ ├── IPower.java │ ├── IScore.java │ ├── Power.java │ ├── PowerProvider.java │ ├── PowerStroage.java │ ├── Score.java │ ├── ScoreProvider.java │ └── ScoreStroage.java │ ├── command │ └── MainCommand.java │ ├── config │ └── MainConfig.java │ ├── entity │ ├── ai │ │ └── EntityAIFlyingAndShoot.java │ ├── character │ │ ├── EntityAlice.java │ │ ├── EntityChen.java │ │ ├── EntityCirno.java │ │ ├── EntityDaiyousei.java │ │ ├── EntityFairyBlue.java │ │ ├── EntityFairyGreen.java │ │ ├── EntityFairyRed.java │ │ ├── EntityFairyYellow.java │ │ ├── EntityFlyingYinyangs.java │ │ ├── EntityFrandle.java │ │ ├── EntityKisume.java │ │ ├── EntityKoakuma.java │ │ ├── EntityLetty.java │ │ ├── EntityLily.java │ │ ├── EntityLunar.java │ │ ├── EntityLunasa.java │ │ ├── EntityLyrica.java │ │ ├── EntityMagicBook.java │ │ ├── EntityMarisa.java │ │ ├── EntityMeiling.java │ │ ├── EntityMerlin.java │ │ ├── EntityMomizi.java │ │ ├── EntityPatchouli.java │ │ ├── EntityRan.java │ │ ├── EntityReimu.java │ │ ├── EntityRemilia.java │ │ ├── EntityRumia.java │ │ ├── EntitySakuya.java │ │ ├── EntityStar.java │ │ ├── EntitySuika.java │ │ ├── EntitySunflowerFairy.java │ │ ├── EntitySunny.java │ │ ├── EntityTouhouCharacter.java │ │ ├── EntityWakasagihime.java │ │ ├── EntityYoumu.java │ │ ├── EntityYukari.java │ │ └── EntityYuyuko.java │ ├── danmaku │ │ ├── EntityButterflyDanmaku.java │ │ ├── EntityHakureDanmaku.java │ │ ├── EntityKnifeDanmaku.java │ │ ├── EntityLaserDanmaku.java │ │ ├── EntityNormalDanmaku.java │ │ └── EntityTrainDanmaku.java │ └── item │ │ ├── EntityMarisaBroom.java │ │ └── EntityMiniHakkero.java │ ├── event │ └── PointEvent.java │ ├── item │ ├── ItemHakureiGohei.java │ ├── ItemLantern.java │ ├── ItemMarisaBroom.java │ ├── ItemMiniHakkero.java │ ├── ItemObjectHolder.java │ ├── ItemReimuHeaddress.java │ ├── ItemSakuraCarpet.java │ ├── ItemTouhouIcons.java │ └── danmaku │ │ └── ItemDanmaku.java │ ├── network │ ├── handler │ │ └── GoheiChangeMessageHandler.java │ └── message │ │ └── PointMessage.java │ ├── sound │ └── SoundObjectHolder.java │ ├── util │ ├── DanmakuInit.java │ └── DanmakuShoot.java │ └── world │ ├── TouhouBiomeProvider.java │ ├── TouhouChunkGenerator.java │ ├── TouhouTeleporter.java │ ├── TouhouWorldProvider.java │ ├── biome │ ├── BambooBiome.java │ └── BiomeObjectHolder.java │ └── gen │ ├── WorldGenBamboo.java │ ├── WorldGenBigTree.java │ └── WorldGenShrine.java └── resources ├── assets └── bakaintouhou │ ├── advancements │ ├── player_ship │ │ ├── marisa.json │ │ └── reimu.json │ ├── root.json │ ├── th06 │ │ ├── cirno.json │ │ ├── daiyousei.json │ │ ├── frandle.json │ │ ├── koakuma.json │ │ ├── meiling.json │ │ ├── patchouli.json │ │ ├── remilia.json │ │ ├── rumia.json │ │ └── sakuya.json │ └── th07 │ │ ├── chen.json │ │ └── letty.json │ ├── blockstates │ ├── bamboo.json │ ├── bamboo_shoot.json │ ├── garage_kit.json │ ├── lantern.json │ ├── mini_hakkero.json │ ├── saisen_bako.json │ ├── sakura_carpet.json │ ├── sakura_leaf_pink.json │ ├── sakura_leaf_red.json │ ├── sakura_leaf_yellow.json │ ├── sakura_log.json │ ├── sakura_pane_pink.json │ ├── sakura_pane_red.json │ ├── sakura_pane_yellow.json │ ├── sakura_sapling_pink.json │ ├── sakura_sapling_red.json │ ├── sakura_sapling_yellow.json │ ├── shoji.json │ ├── spawn_crystal.json │ ├── tatami.json │ ├── tatami_slab_double.json │ ├── tatami_slab_half.json │ └── tatami_stairs.json │ ├── lang │ ├── en_us.lang │ └── zh_cn.lang │ ├── logo.png │ ├── models │ ├── block │ │ ├── bamboo.json │ │ ├── bamboo_shoot.json │ │ ├── garage_kit.json │ │ ├── lantern_a.json │ │ ├── lantern_b.json │ │ ├── saisen_bako.json │ │ ├── sakura_carpet_pink.json │ │ ├── sakura_carpet_red.json │ │ ├── sakura_carpet_yellow.json │ │ ├── sakura_leaf_pink.json │ │ ├── sakura_leaf_red.json │ │ ├── sakura_leaf_yellow.json │ │ ├── sakura_log.json │ │ ├── sakura_pink_pane_noside.json │ │ ├── sakura_pink_pane_noside_alt.json │ │ ├── sakura_pink_pane_post.json │ │ ├── sakura_pink_pane_side.json │ │ ├── sakura_pink_pane_side_alt.json │ │ ├── sakura_red_pane_noside.json │ │ ├── sakura_red_pane_noside_alt.json │ │ ├── sakura_red_pane_post.json │ │ ├── sakura_red_pane_side.json │ │ ├── sakura_red_pane_side_alt.json │ │ ├── sakura_sapling_pink.json │ │ ├── sakura_sapling_red.json │ │ ├── sakura_sapling_yellow.json │ │ ├── sakura_yellow_pane_noside.json │ │ ├── sakura_yellow_pane_noside_alt.json │ │ ├── sakura_yellow_pane_post.json │ │ ├── sakura_yellow_pane_side.json │ │ ├── sakura_yellow_pane_side_alt.json │ │ ├── shoji.json │ │ ├── spawn_crystal.mtl │ │ ├── spawn_crystal.obj │ │ ├── tatami.json │ │ ├── tatami_inner_stairs.json │ │ ├── tatami_outer_stairs.json │ │ ├── tatami_slab_bottom.json │ │ ├── tatami_slab_double.json │ │ ├── tatami_slab_top.json │ │ └── tatami_stairs.json │ ├── entity │ │ ├── laser_danmaku.mtl │ │ └── laser_danmaku.obj │ └── item │ │ ├── danmaku.json │ │ ├── hakurei_gohei.json │ │ ├── marisa_broom.json │ │ ├── mini_hakkero.mtl │ │ ├── mini_hakkero.obj │ │ ├── reimu_headdress.json │ │ ├── sakura_log.json │ │ ├── sakura_pane_pink.json │ │ ├── sakura_pane_red.json │ │ ├── sakura_pane_yellow.json │ │ ├── shoji.json │ │ ├── spawn_crystal.json │ │ ├── tatami_slab_half.json │ │ ├── tatami_stairs.json │ │ ├── touhou_icons_0.json │ │ ├── touhou_icons_1.json │ │ ├── touhou_icons_2.json │ │ └── touhou_icons_3.json │ ├── patchouli_books │ └── memorizable_gensokyo │ │ ├── book.json │ │ └── en_us │ │ ├── categories │ │ ├── main_characters.json │ │ └── th06.json │ │ └── entries │ │ ├── main_characters │ │ ├── marisa.json │ │ └── reimu.json │ │ └── th06 │ │ ├── daiyousei.json │ │ └── rumia.json │ ├── structures │ └── shrine.nbt │ └── textures │ ├── blocks │ ├── bamboo_shoot.png │ ├── bamboo_side.png │ ├── bamboo_top.png │ ├── lantern_a.png │ ├── lantern_b_side.png │ ├── lantern_b_top.png │ ├── saisen_bako_front.png │ ├── saisen_bako_side.png │ ├── saisen_bako_top.png │ ├── sakura_leaf_pink.png │ ├── sakura_leaf_red.png │ ├── sakura_leaf_yellow.png │ ├── sakura_log.png │ ├── sakura_log_top.png │ ├── sakura_sapling_pink.png │ ├── sakura_sapling_red.png │ ├── sakura_sapling_yellow.png │ └── tatami.png │ ├── entity │ ├── block │ │ ├── shoji_type_0.png │ │ ├── shoji_type_1.png │ │ ├── shoji_type_2.png │ │ ├── shoji_type_3.png │ │ └── shoji_type_4.png │ ├── character │ │ ├── alice.png │ │ ├── chen.png │ │ ├── cirno.png │ │ ├── daiyousei.png │ │ ├── fairy_b.png │ │ ├── fairy_g.png │ │ ├── fairy_r.png │ │ ├── fairy_y.png │ │ ├── flying_yinyangs.png │ │ ├── frandle.png │ │ ├── kisume.png │ │ ├── koakuma.png │ │ ├── letty.png │ │ ├── lily.png │ │ ├── lunar.png │ │ ├── lunasa.png │ │ ├── lyrica.png │ │ ├── magic_book.png │ │ ├── magic_circle.png │ │ ├── marisa.png │ │ ├── meiling.png │ │ ├── merlin.png │ │ ├── momizi.png │ │ ├── patchouli.png │ │ ├── ran.png │ │ ├── reimu.png │ │ ├── remilia.png │ │ ├── rumia.png │ │ ├── sakuya.png │ │ ├── star.png │ │ ├── suika.png │ │ ├── sunflower_fairy.png │ │ ├── sunny.png │ │ ├── wakasagihime.png │ │ ├── youmu.png │ │ ├── yukari.png │ │ └── yuyuko.png │ ├── danmaku │ │ ├── butterfly_danmaku.png │ │ ├── hakure_danmaku.png │ │ ├── knife_danmaku_0.png │ │ ├── knife_danmaku_1.png │ │ ├── knife_danmaku_2.png │ │ ├── knife_danmaku_3.png │ │ ├── knife_danmaku_4.png │ │ ├── laser_danmaku.png │ │ ├── normal_danmaku.png │ │ └── train_danmaku.png │ └── item │ │ └── marisa_broom.png │ ├── gui │ └── advancements │ │ └── back_ground.png │ └── items │ ├── danmaku.png │ ├── gohei.png │ ├── marisa_broom.png │ ├── mini_hakkero.png │ ├── reimu_headdress.png │ ├── shoji.png │ ├── spawn_crystal.png │ ├── touhou_icons_0.png │ ├── touhou_icons_1.png │ ├── touhou_icons_2.png │ └── touhou_icons_3.png ├── mcmod.info └── pack.mcmeta /.gitignore: -------------------------------------------------------------------------------- 1 | # eclipse 2 | bin 3 | *.launch 4 | .settings 5 | .metadata 6 | .classpath 7 | .project 8 | 9 | # idea 10 | out 11 | *.ipr 12 | *.iws 13 | *.iml 14 | .idea 15 | 16 | # gradle 17 | build 18 | .gradle 19 | 20 | # other 21 | eclipse 22 | run 23 | test 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 tartaric_acid 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Baka In Touhou 模组的简单介绍和未来发展展望 2 | 3 | ## 1. 简介 4 | 5 | 这是我心血来潮突然想写的一个模组,基于东方 Project 为主题的同人向 Minecraft 1.12.2 版本模组。 6 | 7 | ## 2. 目前计划 8 | 9 | 按照东方 Project 官方的游戏为蓝本,暂时先完成东方红魔馆作品的还原。但是鉴于 Minecraft 和 STG 作存在巨大的不同之处,所以很大一部分可能并不会原样还原,甚至加入自己的设定和思维在里面。 10 | 11 | 下面的这些描述可能部分已经实现或者未完成。 12 | 13 | #### 人物 14 | 15 | - 博丽灵梦 16 | - [ ] 头饰:具有能够显示 Power 等功能 17 | - [x] 御币:能够发射弹幕 18 | - 雾雨魔理沙 19 | - [x] 扫帚:能够飞行 20 | - [ ] 迷你八卦炉:能够放出威力巨大的魔炮 21 | - 露米娅 22 | - [x] 外形:具有黑色的暗圈 23 | - [ ] 特殊效果:攻击具有失明效果 24 | - 大妖精 25 | - [ ] 特殊效果:瞬移 26 | - 琪露诺 27 | - [ ] 特殊效果:攻击具有缓慢效果 28 | - 红美玲 29 | - 小恶魔 30 | - 帕秋莉·诺雷姬 31 | - 十六夜咲夜 32 | - 蕾米莉亚·斯卡雷特 33 | - 芙兰朵露·斯卡雷特 34 | 35 | #### 自然生成 36 | 37 | - [x] 博丽神社 38 | - [ ] 红魔馆 39 | - [ ] 冰屋 40 | 41 | #### 杂项 42 | 43 | - [x] 赛钱箱(需要更改大小) 44 | - [ ] 神社装饰向方块 45 | - [ ] 榻榻米 46 | - [ ] 拉门 47 | - [ ] 日式灯笼 48 | - [ ] 神社牌子 49 | - [ ] 地藏菩萨像 50 | 51 | #### 弹幕 52 | 53 | - [x] 普通弹幕 54 | 55 | - [x] 刀弹 56 | 57 | - [x] 蝶弹 58 | 59 | - [ ] 椭弹 60 | 61 | - [x] 激光弹 62 | 63 | - [x] 电车弹 64 | 65 | ## 3. 鸣谢 66 | 67 | 感谢 68 | 69 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | jcenter() 4 | maven { 5 | name = "forge" 6 | url = "https://files.minecraftforge.net/maven" 7 | } 8 | } 9 | dependencies { 10 | classpath "net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT" 11 | } 12 | } 13 | 14 | apply plugin: "net.minecraftforge.gradle.forge" 15 | 16 | version = modVersion 17 | group = modGroup 18 | archivesBaseName = modBaseName 19 | 20 | minecraft { 21 | version = project.forgeVersion 22 | runDir = "run" 23 | 24 | // the mappings can be changed at any time, and must be in the following format. 25 | // snapshot_YYYYMMDD snapshot are built nightly. 26 | // stable_# stables are built at the discretion of the MCP team. 27 | // Use non-default mappings at your own risk. they may not always work. 28 | // simply re-run your setup task after changing the mappings to update your workspace. 29 | mappings = project.mcpVersion 30 | // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. 31 | } 32 | 33 | repositories { 34 | mavenCentral() 35 | } 36 | 37 | dependencies { 38 | } 39 | 40 | processResources { 41 | // this will ensure that this task is redone when the versions change. 42 | inputs.property "version", project.version 43 | inputs.property "mcversion", project.minecraft.version 44 | 45 | // replace stuff in mcmod.info, nothing else 46 | from(sourceSets.main.resources.srcDirs) { 47 | include "mcmod.info" 48 | 49 | // replace version and mcversion 50 | expand "version": project.version, "mcversion": project.minecraft.version 51 | } 52 | 53 | // copy everything else, thats not the mcmod.info 54 | from(sourceSets.main.resources.srcDirs) { 55 | exclude "mcmod.info" 56 | } 57 | } 58 | 59 | tasks.withType(JavaCompile) { 60 | options.encoding = "utf-8" 61 | } 62 | 63 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | modGroup=com.github.tartaricacid 2 | modVersion=1.0.0-alpha 3 | modBaseName=bakaintouhou 4 | forgeVersion=1.12.2-14.23.5.2768 5 | mcpVersion=snapshot_20180701 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip 6 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/BakaInTouhou.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.CommonProxy; 4 | import net.minecraftforge.fml.common.Mod; 5 | import net.minecraftforge.fml.common.SidedProxy; 6 | import net.minecraftforge.fml.common.event.FMLInitializationEvent; 7 | import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; 8 | import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; 9 | import net.minecraftforge.fml.common.event.FMLServerStartingEvent; 10 | 11 | @Mod( 12 | modid = BakaInTouhou.MOD_ID, 13 | name = BakaInTouhou.MOD_NAME, 14 | version = BakaInTouhou.VERSION, 15 | acceptedMinecraftVersions = "[1.12]" 16 | ) 17 | public class BakaInTouhou { 18 | public static final String MOD_ID = "bakaintouhou"; 19 | public static final String MOD_NAME = "BakaInTouhou"; 20 | public static final String VERSION = "1.0.0"; 21 | 22 | @Mod.Instance(MOD_ID) 23 | public static BakaInTouhou INSTANCE; 24 | 25 | @SidedProxy(serverSide = "com.github.tartaricacid.bakaintouhou.common.CommonProxy", 26 | clientSide = "com.github.tartaricacid.bakaintouhou.client.ClientProxy") 27 | public static CommonProxy commonProxy; 28 | 29 | @Mod.EventHandler 30 | public void preinit(FMLPreInitializationEvent event) { 31 | commonProxy.preinit(event); 32 | } 33 | 34 | @Mod.EventHandler 35 | public void init(FMLInitializationEvent event) { 36 | commonProxy.init(event); 37 | } 38 | 39 | @Mod.EventHandler 40 | public void postinit(FMLPostInitializationEvent event) { 41 | commonProxy.postinit(event); 42 | } 43 | 44 | @Mod.EventHandler 45 | public void serverLoad(FMLServerStartingEvent event) { 46 | commonProxy.serverLoad(event); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/event/FogRenderEvent.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.event; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.common.world.biome.BiomeObjectHolder; 5 | import net.minecraft.client.renderer.GlStateManager; 6 | import net.minecraft.entity.player.EntityPlayer; 7 | import net.minecraftforge.client.event.EntityViewRenderEvent; 8 | import net.minecraftforge.fml.common.Mod; 9 | import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; 10 | import net.minecraftforge.fml.relauncher.Side; 11 | 12 | @Mod.EventBusSubscriber(modid = BakaInTouhou.MOD_ID, value = Side.CLIENT) 13 | public class FogRenderEvent { 14 | @SubscribeEvent 15 | public static void onRenderFog(EntityViewRenderEvent.RenderFogEvent event) { 16 | if (event.getEntity() instanceof EntityPlayer) { 17 | EntityPlayer player = (EntityPlayer) event.getEntity(); 18 | if (player.getEntityWorld().getBiome(player.getPosition()) == BiomeObjectHolder.bambooBiome) { 19 | GlStateManager.setFog(GlStateManager.FogMode.EXP); 20 | GlStateManager.setFogEnd(event.getFarPlaneDistance()); 21 | GlStateManager.setFogStart(3f); 22 | GlStateManager.setFogDensity(0.07f); 23 | } 24 | } 25 | } 26 | 27 | @SubscribeEvent 28 | public static void onRenderFog(EntityViewRenderEvent.FogColors event) { 29 | if (event.getEntity() instanceof EntityPlayer) { 30 | EntityPlayer player = (EntityPlayer) event.getEntity(); 31 | if (player.getEntityWorld().getBiome(player.getPosition()) == BiomeObjectHolder.bambooBiome) { 32 | event.setRed(0.1f); 33 | event.setBlue(0.1f); 34 | event.setGreen(0.1f); 35 | } 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/event/WorldLoadingEvent.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.event; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.gui.GuiTouhouLoading; 5 | import com.github.tartaricacid.bakaintouhou.common.config.MainConfig; 6 | import net.minecraft.client.Minecraft; 7 | import net.minecraft.client.gui.GuiDownloadTerrain; 8 | import net.minecraftforge.client.event.GuiOpenEvent; 9 | import net.minecraftforge.fml.client.FMLClientHandler; 10 | import net.minecraftforge.fml.common.Mod; 11 | import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; 12 | import net.minecraftforge.fml.common.gameevent.TickEvent; 13 | import net.minecraftforge.fml.relauncher.Side; 14 | 15 | @Mod.EventBusSubscriber(modid = BakaInTouhou.MOD_ID, value = Side.CLIENT) 16 | public class WorldLoadingEvent { 17 | private final Minecraft client = FMLClientHandler.instance().getClient(); 18 | private int lastDimension = 0; 19 | 20 | @SubscribeEvent 21 | public void onPlayerTick(TickEvent.PlayerTickEvent evt) { 22 | if (evt.phase.equals(TickEvent.Phase.END) && evt.player == client.player) 23 | lastDimension = evt.player.dimension; 24 | } 25 | 26 | @SubscribeEvent 27 | public void onOpenGui(GuiOpenEvent event) { 28 | if (event.getGui() instanceof GuiDownloadTerrain && client.player != null 29 | && (client.player.dimension == MainConfig.changeId.dimensionId || lastDimension == MainConfig.changeId.dimensionId)) { 30 | event.setGui(new GuiTouhouLoading()); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/gui/GuiTouhouLoading.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.gui; 2 | 3 | import net.minecraft.client.gui.GuiScreen; 4 | import net.minecraft.client.resources.I18n; 5 | 6 | public class GuiTouhouLoading extends GuiScreen { 7 | public void initGui() { 8 | this.buttonList.clear(); 9 | } 10 | 11 | public void drawScreen(int mouseX, int mouseY, float partialTicks) { 12 | this.drawBackground(0); 13 | this.drawCenteredString(this.fontRenderer, I18n.format("gui.bakaintouhou.world.loading"), this.width / 2, this.height / 2 - 50, 16777215); 14 | super.drawScreen(mouseX, mouseY, partialTicks); 15 | } 16 | 17 | public boolean doesGuiPauseGame() { 18 | return true; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/network/handler/PointMessageHandler.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.network.handler; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.capability.IPower; 4 | import com.github.tartaricacid.bakaintouhou.common.capability.IScore; 5 | import com.github.tartaricacid.bakaintouhou.common.capability.PowerProvider; 6 | import com.github.tartaricacid.bakaintouhou.common.capability.ScoreProvider; 7 | import com.github.tartaricacid.bakaintouhou.common.network.message.PointMessage; 8 | import net.minecraft.client.Minecraft; 9 | import net.minecraft.entity.player.EntityPlayer; 10 | import net.minecraftforge.fml.common.network.simpleimpl.IMessage; 11 | import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; 12 | import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; 13 | import net.minecraftforge.fml.relauncher.Side; 14 | import net.minecraftforge.fml.relauncher.SideOnly; 15 | 16 | 17 | public class PointMessageHandler implements IMessageHandler { 18 | @Override 19 | @SideOnly(Side.CLIENT) 20 | public IMessage onMessage(PointMessage message, MessageContext ctx) { 21 | if (ctx.side == Side.CLIENT) { 22 | // 将 Netty IO 线程任务添加到客户端主线程任务处,进行处理 23 | Minecraft.getMinecraft().addScheduledTask(() -> { 24 | EntityPlayer player = Minecraft.getMinecraft().player; 25 | 26 | IPower power = player.getCapability(PowerProvider.POWER_CAP, null); 27 | IScore score = player.getCapability(ScoreProvider.SCORE_CAP, null); 28 | 29 | power.set(message.getPower()); 30 | score.set(message.getScore()); 31 | }); 32 | } 33 | return null; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/network/message/GoheiChangeMessage.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.network.message; 2 | 3 | import io.netty.buffer.ByteBuf; 4 | import net.minecraftforge.fml.common.network.simpleimpl.IMessage; 5 | 6 | public class GoheiChangeMessage implements IMessage { 7 | public GoheiChangeMessage() { 8 | } 9 | 10 | @Override 11 | public void fromBytes(ByteBuf buf) { 12 | } 13 | 14 | @Override 15 | public void toBytes(ByteBuf buf) { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityAliceRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityAliceModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityAlice; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityAliceRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/alice.png"); 18 | 19 | public EntityAliceRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityAlice entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityAlice entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityAliceRender(manager, new EntityAliceModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityChenRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityChenModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityChen; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityChenRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/chen.png"); 18 | 19 | public EntityChenRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityChen entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityChen entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityChenRender(manager, new EntityChenModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityCirnoRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityCirnoModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityCirno; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityCirnoRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/cirno.png"); 18 | 19 | public EntityCirnoRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityCirno entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityCirno entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityCirnoRender(manager, new EntityCirnoModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityDaiyouseiRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityDaiyouseiModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityDaiyousei; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityDaiyouseiRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/daiyousei.png"); 18 | 19 | public EntityDaiyouseiRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityDaiyousei entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityDaiyousei entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityDaiyouseiRender(manager, new EntityDaiyouseiModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityFairyBlueRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityFairyModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityFairyBlue; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityFairyBlueRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/fairy_b.png"); 18 | 19 | public EntityFairyBlueRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityFairyBlue entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityFairyBlue entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityFairyBlueRender(manager, new EntityFairyModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityFairyGreenRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityFairyModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityFairyGreen; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityFairyGreenRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/fairy_g.png"); 18 | 19 | public EntityFairyGreenRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityFairyGreen entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityFairyGreen entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityFairyGreenRender(manager, new EntityFairyModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityFairyRedRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityFairyModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityFairyRed; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityFairyRedRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/fairy_r.png"); 18 | 19 | public EntityFairyRedRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityFairyRed entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityFairyRed entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityFairyRedRender(manager, new EntityFairyModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityFairyYellowRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityFairyModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityFairyYellow; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityFairyYellowRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/fairy_y.png"); 18 | 19 | public EntityFairyYellowRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityFairyYellow entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityFairyYellow entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityFairyYellowRender(manager, new EntityFairyModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityFrandleRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityFrandleModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityFrandle; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityFrandleRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/frandle.png"); 18 | 19 | public EntityFrandleRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityFrandle entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityFrandle entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityFrandleRender(manager, new EntityFrandleModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityKoakumaRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityKoakumaModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityKoakuma; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityKoakumaRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/koakuma.png"); 18 | 19 | public EntityKoakumaRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityKoakuma entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityKoakuma entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityKoakumaRender(manager, new EntityKoakumaModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityLettyRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityLettyModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityLetty; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityLettyRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/letty.png"); 18 | 19 | public EntityLettyRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityLetty entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityLetty entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityLettyRender(manager, new EntityLettyModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityLilyRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityLilyModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityLily; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityLilyRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/lily.png"); 18 | 19 | public EntityLilyRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityLily entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityLily entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | GlStateManager.translate(0f, 0.1f, 0f); 33 | } 34 | 35 | public static class Factory implements IRenderFactory { 36 | @Override 37 | public Render createRenderFor(RenderManager manager) { 38 | return new EntityLilyRender(manager, new EntityLilyModel(), 0.5f); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityLunarRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityLunarModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityLunar; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityLunarRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/lunar.png"); 18 | 19 | public EntityLunarRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityLunar entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityLunar entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityLunarRender(manager, new EntityLunarModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityLunasaRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityPrismriverModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityLunasa; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityLunasaRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/lunasa.png"); 18 | 19 | public EntityLunasaRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityLunasa entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityLunasa entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityLunasaRender(manager, new EntityPrismriverModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityLyricaRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityPrismriverModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityLyrica; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityLyricaRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/lyrica.png"); 18 | 19 | public EntityLyricaRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityLyrica entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityLyrica entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityLyricaRender(manager, new EntityPrismriverModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityMagicBookRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityMagicBookModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityMagicBook; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityMagicBookRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/magic_book.png"); 18 | 19 | public EntityMagicBookRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityMagicBook entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityMagicBook entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityMagicBookRender(manager, new EntityMagicBookModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityMarisaRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityMarisaModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityMarisa; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityMarisaRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/marisa.png"); 18 | 19 | public EntityMarisaRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityMarisa entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityMarisa entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityMarisaRender(manager, new EntityMarisaModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityMeilingRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityMeilingModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityMeiling; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityMeilingRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/meiling.png"); 18 | 19 | public EntityMeilingRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityMeiling entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityMeiling entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityMeilingRender(manager, new EntityMeilingModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityMerlinRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityPrismriverModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityMerlin; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityMerlinRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/merlin.png"); 18 | 19 | public EntityMerlinRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityMerlin entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityMerlin entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityMerlinRender(manager, new EntityPrismriverModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityMomiziRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityMomiziModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityMomizi; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityMomiziRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/momizi.png"); 18 | 19 | public EntityMomiziRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityMomizi entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityMomizi entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityMomiziRender(manager, new EntityMomiziModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityPatchouliRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityPatchouliModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityPatchouli; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityPatchouliRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/patchouli.png"); 18 | 19 | public EntityPatchouliRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityPatchouli entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityPatchouli entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityPatchouliRender(manager, new EntityPatchouliModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityRanRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityRanModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityRan; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityRanRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/ran.png"); 18 | 19 | public EntityRanRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityRan entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityRan entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityRanRender(manager, new EntityRanModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityReimuRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityReimuModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityReimu; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityReimuRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/reimu.png"); 18 | 19 | public EntityReimuRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityReimu entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityReimu entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityReimuRender(manager, new EntityReimuModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityRemiliaRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityRemiliaModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityRemilia; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityRemiliaRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/remilia.png"); 18 | 19 | public EntityRemiliaRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityRemilia entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityRemilia entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityRemiliaRender(manager, new EntityRemiliaModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntitySakuyaRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntitySakuyaModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntitySakuya; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntitySakuyaRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/sakuya.png"); 18 | 19 | public EntitySakuyaRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntitySakuya entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntitySakuya entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntitySakuyaRender(manager, new EntitySakuyaModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityStarRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityStarModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityStar; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityStarRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/star.png"); 18 | 19 | public EntityStarRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityStar entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityStar entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityStarRender(manager, new EntityStarModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntitySuikaRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntitySuikaModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntitySuika; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntitySuikaRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/suika.png"); 18 | 19 | public EntitySuikaRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntitySuika entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntitySuika entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntitySuikaRender(manager, new EntitySuikaModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntitySunnyRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntitySunnyModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntitySunny; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntitySunnyRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/sunny.png"); 18 | 19 | public EntitySunnyRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntitySunny entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntitySunny entity, float partialTickTime) { 31 | GlStateManager.scale(0.8f, 0.8f, 0.8f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntitySunnyRender(manager, new EntitySunnyModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityYoumuRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityYoumuModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityYoumu; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityYoumuRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/youmu.png"); 18 | 19 | public EntityYoumuRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityYoumu entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityYoumu entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityYoumuRender(manager, new EntityYoumuModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityYukariRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityYukariModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityYukari; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityYukariRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/yukari.png"); 18 | 19 | public EntityYukariRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityYukari entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityYukari entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityYukariRender(manager, new EntityYukariModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/EntityYuyukoRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.client.render.character.model.EntityYuyukoModel; 5 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityYuyuko; 6 | import net.minecraft.client.model.ModelBase; 7 | import net.minecraft.client.renderer.GlStateManager; 8 | import net.minecraft.client.renderer.entity.Render; 9 | import net.minecraft.client.renderer.entity.RenderManager; 10 | import net.minecraft.util.ResourceLocation; 11 | import net.minecraftforge.fml.client.registry.IRenderFactory; 12 | 13 | import javax.annotation.Nullable; 14 | 15 | public class EntityYuyukoRender extends RenderEntityTouhouCharacter { 16 | public static final Factory FACTORY = new Factory(); 17 | private static ResourceLocation resourceLocation = new ResourceLocation(BakaInTouhou.MOD_ID, "textures/entity/character/yuyuko.png"); 18 | 19 | public EntityYuyukoRender(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn) { 20 | super(rendermanagerIn, modelbaseIn, shadowsizeIn); 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityYuyuko entity) { 26 | return resourceLocation; 27 | } 28 | 29 | @Override 30 | protected void preRenderCallback(EntityYuyuko entity, float partialTickTime) { 31 | GlStateManager.scale(1.0f, 1.0f, 1.0f); 32 | } 33 | 34 | public static class Factory implements IRenderFactory { 35 | @Override 36 | public Render createRenderFor(RenderManager manager) { 37 | return new EntityYuyukoRender(manager, new EntityYuyukoModel(), 0.5f); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/model/EntityMagicCircleModel.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character.model; 2 | 3 | import net.minecraft.client.model.ModelRenderer; 4 | import net.minecraft.entity.Entity; 5 | 6 | public class EntityMagicCircleModel extends EntityTouhouCharacterModel { 7 | //fields 8 | private ModelRenderer body; 9 | 10 | public EntityMagicCircleModel() { 11 | textureWidth = 64; 12 | textureHeight = 64; 13 | 14 | body = new ModelRenderer(this, 0, 0); 15 | body.addBox(-32F, 0F, -32F, 64, 0, 64); 16 | body.setRotationPoint(0F, 0F, 0F); 17 | body.setTextureSize(64, 64); 18 | body.mirror = true; 19 | setRotation(body, 0F, 0F, 0F); 20 | } 21 | 22 | public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { 23 | super.render(entity, f, f1, f2, f3, f4, f5); 24 | setRotationAngles(f, f1, f2, f3, f4, f5, entity); 25 | body.render(f5); 26 | } 27 | 28 | private void setRotation(ModelRenderer model, float x, float y, float z) { 29 | model.rotateAngleX = x; 30 | model.rotateAngleY = y; 31 | model.rotateAngleZ = z; 32 | } 33 | 34 | public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { 35 | super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/character/model/EntityTouhouCharacterModel.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.character.model; 2 | 3 | import net.minecraft.client.model.ModelBase; 4 | 5 | public class EntityTouhouCharacterModel extends ModelBase { 6 | } 7 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/danmaku/model/EntityHakureDanmakuModel.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.danmaku.model; 2 | 3 | import net.minecraft.client.model.ModelBase; 4 | import net.minecraft.client.model.ModelRenderer; 5 | import net.minecraft.entity.Entity; 6 | 7 | public class EntityHakureDanmakuModel extends ModelBase { 8 | //fields 9 | private ModelRenderer body; 10 | 11 | public EntityHakureDanmakuModel() { 12 | textureWidth = 32; 13 | textureHeight = 64; 14 | 15 | body = new ModelRenderer(this, -64, 0); 16 | body.addBox(-16F, 0F, -32F, 32, 0, 64); 17 | body.setRotationPoint(0F, 22F, 0F); 18 | body.setTextureSize(32, 64); 19 | body.mirror = true; 20 | setRotation(body, 0F, 0F, 0F); 21 | } 22 | 23 | public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { 24 | super.render(entity, f, f1, f2, f3, f4, f5); 25 | setRotationAngles(f, f1, f2, f3, f4, f5, entity); 26 | body.render(f5); 27 | } 28 | 29 | private void setRotation(ModelRenderer model, float x, float y, float z) { 30 | model.rotateAngleX = x; 31 | model.rotateAngleY = y; 32 | model.rotateAngleZ = z; 33 | } 34 | 35 | public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { 36 | super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/item/EntityMiniHakkeroRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.item; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.entity.item.EntityMiniHakkero; 4 | import net.minecraft.client.renderer.entity.Render; 5 | import net.minecraft.client.renderer.entity.RenderManager; 6 | import net.minecraft.util.ResourceLocation; 7 | import net.minecraftforge.fml.client.registry.IRenderFactory; 8 | 9 | import javax.annotation.Nullable; 10 | 11 | public class EntityMiniHakkeroRender extends Render { 12 | public static final EntityMiniHakkeroRender.Factory FACTORY = new EntityMiniHakkeroRender.Factory(); 13 | 14 | public EntityMiniHakkeroRender(RenderManager renderManager) { 15 | super(renderManager); 16 | } 17 | 18 | @Override 19 | public void doRender(EntityMiniHakkero entity, double x, double y, double z, float entityYaw, float partialTicks) { 20 | // TODO:渲染出魔炮 21 | } 22 | 23 | @Nullable 24 | @Override 25 | protected ResourceLocation getEntityTexture(EntityMiniHakkero entity) { 26 | return null; 27 | } 28 | 29 | public static class Factory implements IRenderFactory { 30 | @Override 31 | public Render createRenderFor(RenderManager manager) { 32 | return new EntityMiniHakkeroRender(manager); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/tesr/SpawnCrystalRender.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.tesr; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.block.tileentity.TileEntitySpawnCrystal; 4 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityMarisa; 5 | import net.minecraft.client.Minecraft; 6 | import net.minecraft.client.renderer.GlStateManager; 7 | import net.minecraft.client.renderer.OpenGlHelper; 8 | import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; 9 | import net.minecraft.entity.Entity; 10 | import net.minecraft.entity.EntityList; 11 | import net.minecraft.util.ResourceLocation; 12 | 13 | public class SpawnCrystalRender extends TileEntitySpecialRenderer { 14 | @Override 15 | public void render(TileEntitySpawnCrystal te, double x, double y, double z, float partialTicks, int destroyStage, float alpha) { 16 | super.render(te, x, y, z, partialTicks, destroyStage, alpha); 17 | 18 | final Entity entity = EntityList.createEntityByIDFromName(new ResourceLocation(te.getCharacter()), getWorld()); 19 | 20 | GlStateManager.pushMatrix(); 21 | GlStateManager.translate(x, y + 0.0625, z); 22 | GlStateManager.scale(0.4, 0.4, 0.4); 23 | GlStateManager.translate(1.2, 1.4 + 0.2 * Math.cos(0.05 * (this.getWorld().getWorldTime() + partialTicks)) 24 | , 1.2); 25 | GlStateManager.rotate(this.getWorld().getWorldTime() * 2, 0, 1, 0); 26 | 27 | OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240f, 240f); 28 | 29 | Minecraft.getMinecraft().getRenderManager().renderEntity(entity == null ? new EntityMarisa(getWorld()) : entity, 30 | 0, 0, 0, 0, 0, false); 31 | GlStateManager.popMatrix(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/client/render/tesr/model/ShojiModel.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.client.render.tesr.model; 2 | 3 | import net.minecraft.client.model.ModelBase; 4 | import net.minecraft.client.model.ModelRenderer; 5 | 6 | public class ShojiModel extends ModelBase { 7 | private ModelRenderer main; 8 | 9 | public ShojiModel() { 10 | textureWidth = 64; 11 | textureHeight = 64; 12 | 13 | main = new ModelRenderer(this, 0, 0); 14 | main.addBox(-8F, -8F, -1F, 16, 32, 2); 15 | main.setRotationPoint(0F, 0F, 0F); 16 | main.setTextureSize(64, 64); 17 | main.mirror = true; 18 | setRotation(main, 0F, 0F, 0F); 19 | } 20 | 21 | public void render(float scale) { 22 | main.rotateAngleY = (float) Math.PI / 2; 23 | main.offsetY = -24f; 24 | main.render(scale); 25 | } 26 | 27 | private void setRotation(ModelRenderer model, float x, float y, float z) { 28 | model.rotateAngleX = x; 29 | model.rotateAngleY = y; 30 | model.rotateAngleZ = z; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/block/BlockSakuraCarpet.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.block; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.common.item.ItemObjectHolder; 5 | import net.minecraft.block.BlockCarpet; 6 | import net.minecraft.block.SoundType; 7 | import net.minecraft.creativetab.CreativeTabs; 8 | import net.minecraft.item.EnumDyeColor; 9 | import net.minecraft.item.ItemStack; 10 | import net.minecraft.util.BlockRenderLayer; 11 | import net.minecraft.util.NonNullList; 12 | 13 | public class BlockSakuraCarpet extends BlockCarpet { 14 | public BlockSakuraCarpet() { 15 | super(); 16 | this.setRegistryName("sakura_carpet"); 17 | setUnlocalizedName(BakaInTouhou.MOD_ID + ".sakura_carpet"); 18 | this.setDefaultState(this.blockState.getBaseState().withProperty(COLOR, EnumDyeColor.PINK)); 19 | this.setCreativeTab(ItemObjectHolder.bakaInTouhouTabs); 20 | this.setSoundType(SoundType.PLANT); 21 | } 22 | 23 | @Override 24 | public void getSubBlocks(CreativeTabs itemIn, NonNullList items) { 25 | items.add(new ItemStack(this, 1, EnumDyeColor.PINK.getMetadata())); 26 | items.add(new ItemStack(this, 1, EnumDyeColor.RED.getMetadata())); 27 | items.add(new ItemStack(this, 1, EnumDyeColor.YELLOW.getMetadata())); 28 | } 29 | 30 | @Override 31 | public BlockRenderLayer getBlockLayer() { 32 | return BlockRenderLayer.TRANSLUCENT; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/block/BlockSakuraPane.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.block; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.common.item.ItemObjectHolder; 5 | import net.minecraft.block.BlockPane; 6 | import net.minecraft.block.SoundType; 7 | import net.minecraft.block.material.Material; 8 | 9 | public class BlockSakuraPane extends BlockPane { 10 | public BlockSakuraPane(String color) { 11 | super(Material.LEAVES, true); 12 | this.setRegistryName("sakura_pane_" + color); 13 | this.setUnlocalizedName(BakaInTouhou.MOD_ID + "." + "sakura_pane_" + color); 14 | this.setHardness(0.2F); 15 | this.setCreativeTab(ItemObjectHolder.bakaInTouhouTabs); 16 | this.setSoundType(SoundType.PLANT); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/block/BlockTatamiStairs.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.block; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.common.item.ItemObjectHolder; 5 | import net.minecraft.block.BlockStairs; 6 | 7 | public class BlockTatamiStairs extends BlockStairs { 8 | public BlockTatamiStairs() { 9 | super(new BlockTatami().getDefaultState()); 10 | setUnlocalizedName(BakaInTouhou.MOD_ID + "." + "tatami_stairs"); 11 | setRegistryName("tatami_stairs"); 12 | setCreativeTab(ItemObjectHolder.bakaInTouhouTabs); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/IPower.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | public interface IPower { 4 | void min(float points); 5 | 6 | void add(float points); 7 | 8 | void set(float points); 9 | 10 | float get(); 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/IScore.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | public interface IScore { 4 | void min(float points); 5 | 6 | void add(float points); 7 | 8 | void set(float points); 9 | 10 | float get(); 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/Power.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | public class Power implements IPower { 6 | public static Factory FACTORY = new Factory(); 7 | private float power = 0.0f; 8 | 9 | @Override 10 | public void add(float points) { 11 | if (points + this.power <= 5.0f) { 12 | this.power += points; 13 | } else { 14 | this.power = 5.0f; 15 | } 16 | } 17 | 18 | @Override 19 | public void min(float points) { 20 | if (points <= this.power) { 21 | this.power -= points; 22 | } else { 23 | this.power = 0.0f; 24 | } 25 | } 26 | 27 | @Override 28 | public void set(float points) { 29 | this.power = (points > 5.0f) ? 5.0f : points; 30 | } 31 | 32 | @Override 33 | public float get() { 34 | return this.power; 35 | } 36 | 37 | private static class Factory implements Callable { 38 | @Override 39 | public IPower call() { 40 | return new Power(); 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/PowerProvider.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | import net.minecraft.nbt.NBTBase; 4 | import net.minecraft.util.EnumFacing; 5 | import net.minecraftforge.common.capabilities.Capability; 6 | import net.minecraftforge.common.capabilities.CapabilityInject; 7 | import net.minecraftforge.common.capabilities.ICapabilitySerializable; 8 | 9 | import javax.annotation.Nonnull; 10 | import javax.annotation.Nullable; 11 | 12 | public class PowerProvider implements ICapabilitySerializable { 13 | @CapabilityInject(IPower.class) 14 | public static final Capability POWER_CAP = null; 15 | private IPower instance = POWER_CAP.getDefaultInstance(); 16 | 17 | @Override 18 | public boolean hasCapability(@Nonnull Capability capability, @Nullable EnumFacing facing) { 19 | return capability == POWER_CAP; 20 | } 21 | 22 | @Nullable 23 | @Override 24 | public T getCapability(@Nonnull Capability capability, @Nullable EnumFacing facing) { 25 | return capability == POWER_CAP ? POWER_CAP.cast(this.instance) : null; 26 | } 27 | 28 | @Override 29 | public void deserializeNBT(NBTBase nbt) { 30 | POWER_CAP.getStorage().readNBT(POWER_CAP, this.instance, null, nbt); 31 | } 32 | 33 | @Override 34 | public NBTBase serializeNBT() { 35 | return POWER_CAP.getStorage().writeNBT(POWER_CAP, this.instance, null); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/PowerStroage.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | import net.minecraft.nbt.NBTBase; 4 | import net.minecraft.nbt.NBTPrimitive; 5 | import net.minecraft.nbt.NBTTagFloat; 6 | import net.minecraft.util.EnumFacing; 7 | import net.minecraftforge.common.capabilities.Capability; 8 | 9 | import javax.annotation.Nullable; 10 | 11 | public class PowerStroage implements Capability.IStorage { 12 | @Override 13 | public void readNBT(Capability capability, IPower instance, EnumFacing side, NBTBase nbt) { 14 | instance.set(((NBTPrimitive) nbt).getFloat()); 15 | } 16 | 17 | @Nullable 18 | @Override 19 | public NBTBase writeNBT(Capability capability, IPower instance, EnumFacing side) { 20 | return new NBTTagFloat(instance.get()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/Score.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | public class Score implements IScore { 6 | public static Factory FACTORY = new Factory(); 7 | private float score = 0.0f; 8 | 9 | @Override 10 | public void add(float points) { 11 | this.score += points; 12 | } 13 | 14 | @Override 15 | public void min(float points) { 16 | if (points <= this.score) { 17 | this.score -= points; 18 | } else { 19 | this.score = 0.0f; 20 | } 21 | } 22 | 23 | @Override 24 | public void set(float points) { 25 | this.score = points; 26 | } 27 | 28 | @Override 29 | public float get() { 30 | return this.score; 31 | } 32 | 33 | private static class Factory implements Callable { 34 | @Override 35 | public IScore call() { 36 | return new Score(); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/ScoreProvider.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | import net.minecraft.nbt.NBTBase; 4 | import net.minecraft.util.EnumFacing; 5 | import net.minecraftforge.common.capabilities.Capability; 6 | import net.minecraftforge.common.capabilities.CapabilityInject; 7 | import net.minecraftforge.common.capabilities.ICapabilitySerializable; 8 | 9 | import javax.annotation.Nonnull; 10 | import javax.annotation.Nullable; 11 | 12 | public class ScoreProvider implements ICapabilitySerializable { 13 | @CapabilityInject(IScore.class) 14 | public static final Capability SCORE_CAP = null; 15 | private IScore instance = SCORE_CAP.getDefaultInstance(); 16 | 17 | @Override 18 | public boolean hasCapability(@Nonnull Capability capability, @Nullable EnumFacing facing) { 19 | return capability == SCORE_CAP; 20 | } 21 | 22 | @Nullable 23 | @Override 24 | public T getCapability(@Nonnull Capability capability, @Nullable EnumFacing facing) { 25 | return capability == SCORE_CAP ? SCORE_CAP.cast(this.instance) : null; 26 | } 27 | 28 | @Override 29 | public void deserializeNBT(NBTBase nbt) { 30 | SCORE_CAP.getStorage().readNBT(SCORE_CAP, this.instance, null, nbt); 31 | } 32 | 33 | @Override 34 | public NBTBase serializeNBT() { 35 | return SCORE_CAP.getStorage().writeNBT(SCORE_CAP, this.instance, null); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/capability/ScoreStroage.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.capability; 2 | 3 | import net.minecraft.nbt.NBTBase; 4 | import net.minecraft.nbt.NBTPrimitive; 5 | import net.minecraft.nbt.NBTTagFloat; 6 | import net.minecraft.util.EnumFacing; 7 | import net.minecraftforge.common.capabilities.Capability; 8 | 9 | import javax.annotation.Nullable; 10 | 11 | public class ScoreStroage implements Capability.IStorage { 12 | @Override 13 | public void readNBT(Capability capability, IScore instance, EnumFacing side, NBTBase nbt) { 14 | instance.set(((NBTPrimitive) nbt).getFloat()); 15 | } 16 | 17 | @Nullable 18 | @Override 19 | public NBTBase writeNBT(Capability capability, IScore instance, EnumFacing side) { 20 | return new NBTTagFloat(instance.get()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/config/MainConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.config; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import net.minecraftforge.common.config.Config; 5 | 6 | @Config(modid = BakaInTouhou.MOD_ID, name = "BakaInTouhou") 7 | public class MainConfig { 8 | @Config.Name("ChangeID") 9 | @Config.LangKey("config.bakaintouhou.change_id.name") 10 | @Config.RequiresMcRestart 11 | public static ChangeId changeId = new ChangeId(); 12 | 13 | public static class ChangeId { 14 | @Config.Name("DimensionID") 15 | @Config.LangKey("config.bakaintouhou.dimension_id.name") 16 | @Config.RequiresMcRestart 17 | public int dimensionId = 9; 18 | 19 | @Config.Name("SakuraParticleID") 20 | @Config.LangKey("config.bakaintouhou.sakura_particle_id.name") 21 | @Config.RequiresMcRestart 22 | public int sakuraParticleId = 99; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/ai/EntityAIFlyingAndShoot.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.ai; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.entity.character.EntityTouhouCharacter; 4 | import net.minecraft.entity.ai.EntityAIBase; 5 | import net.minecraft.entity.player.EntityPlayer; 6 | 7 | public class EntityAIFlyingAndShoot extends EntityAIBase { 8 | private EntityTouhouCharacter entityIn; 9 | private int flyDistance; 10 | private double flyHight; 11 | 12 | public EntityAIFlyingAndShoot(EntityTouhouCharacter entityIn, int flyDistance, double flyHight) { 13 | this.entityIn = entityIn; 14 | this.flyDistance = flyDistance; 15 | this.flyHight = flyHight; 16 | } 17 | 18 | @Override 19 | public boolean shouldExecute() { 20 | return entityIn.getAttackTarget() instanceof EntityPlayer; 21 | } 22 | 23 | @Override 24 | public void updateTask() { 25 | EntityPlayer entityTarget = (EntityPlayer) entityIn.getAttackTarget(); 26 | 27 | if (entityTarget == null) { 28 | return; 29 | } 30 | 31 | if (entityTarget.posY > entityIn.posY - flyHight) { 32 | entityIn.motionY = 0.1; 33 | } else { 34 | entityIn.motionY = 0; 35 | entityIn.getLookHelper().setLookPositionWithEntity(entityTarget, 5f, 5f); 36 | entityIn.attackEntityWithRangedAttack(entityIn.getAttackTarget(), flyDistance); 37 | } 38 | 39 | if (entityIn.getDistance(entityTarget) > flyDistance) { 40 | entityIn.motionY = -0.1; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityAlice.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityAlice extends EntityTouhouCharacter { 6 | public EntityAlice(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityChen.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityChen extends EntityTouhouCharacter { 6 | public EntityChen(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityCirno.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityCirno extends EntityTouhouCharacter { 6 | public EntityCirno(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityDaiyousei.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityDaiyousei extends EntityTouhouCharacter { 6 | public EntityDaiyousei(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityFairyBlue.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityFairyBlue extends EntityTouhouCharacter { 6 | public EntityFairyBlue(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityFairyGreen.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityFairyGreen extends EntityTouhouCharacter { 6 | public EntityFairyGreen(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityFairyRed.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityFairyRed extends EntityTouhouCharacter { 6 | public EntityFairyRed(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityFairyYellow.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityFairyYellow extends EntityTouhouCharacter { 6 | public EntityFairyYellow(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityFlyingYinyangs.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.entity.danmaku.EntityLaserDanmaku; 4 | import com.github.tartaricacid.bakaintouhou.common.util.DanmakuShoot; 5 | import net.minecraft.entity.EntityLivingBase; 6 | import net.minecraft.world.World; 7 | 8 | public class EntityFlyingYinyangs extends EntityTouhouCharacter { 9 | public EntityFlyingYinyangs(World worldIn) { 10 | super(worldIn); 11 | setSize(0.6f, 1.2f); 12 | } 13 | 14 | @Override 15 | public void attackEntityWithRangedAttack(EntityLivingBase target, float distanceFactor) { 16 | EntityLaserDanmaku danmaku = new EntityLaserDanmaku(world, this, 2, 0, 0xffffff, 3); 17 | DanmakuShoot.aimedShot(danmaku, world, this, this.getAttackTarget(), 0.5f, 5f, 0.05f); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityFrandle.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityFrandle extends EntityTouhouCharacter { 6 | public EntityFrandle(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityKisume.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityKisume extends EntityTouhouCharacter { 6 | public EntityKisume(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.7f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityKoakuma.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityKoakuma extends EntityTouhouCharacter { 6 | public EntityKoakuma(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityLetty.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityLetty extends EntityTouhouCharacter { 6 | public EntityLetty(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityLily.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityLily extends EntityTouhouCharacter { 6 | public EntityLily(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityLunar.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityLunar extends EntityTouhouCharacter { 6 | public EntityLunar(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityLunasa.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityLunasa extends EntityTouhouCharacter { 6 | public EntityLunasa(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityLyrica.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityLyrica extends EntityTouhouCharacter { 6 | public EntityLyrica(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityMagicBook.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityMagicBook extends EntityTouhouCharacter { 6 | public EntityMagicBook(World worldIn) { 7 | super(worldIn); 8 | setSize(0.8f, 0.6f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityMarisa.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityMarisa extends EntityTouhouCharacter { 6 | public EntityMarisa(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityMeiling.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityMeiling extends EntityTouhouCharacter { 6 | public EntityMeiling(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityMerlin.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityMerlin extends EntityTouhouCharacter { 6 | public EntityMerlin(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityMomizi.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityMomizi extends EntityTouhouCharacter { 6 | public EntityMomizi(World worldIn) { 7 | super(worldIn); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityPatchouli.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityPatchouli extends EntityTouhouCharacter { 6 | public EntityPatchouli(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityRan.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityRan extends EntityTouhouCharacter { 6 | public EntityRan(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityReimu.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.entity.danmaku.EntityButterflyDanmaku; 4 | import com.github.tartaricacid.bakaintouhou.common.util.DanmakuShoot; 5 | import net.minecraft.entity.EntityLivingBase; 6 | import net.minecraft.init.SoundEvents; 7 | import net.minecraft.world.World; 8 | 9 | public class EntityReimu extends EntityTouhouCharacter { 10 | public EntityReimu(World worldIn) { 11 | super(worldIn); 12 | setSize(0.6f, 1.5f); 13 | } 14 | 15 | @Override 16 | public void attackEntityWithRangedAttack(EntityLivingBase target, float distanceFactor) { 17 | EntityButterflyDanmaku danmaku = new EntityButterflyDanmaku(world, this, 0, 0, 0xff_00_00); 18 | DanmakuShoot.fanShapedShot(danmaku, this.world, this, target, 0.3f, 0f, 19 | 0.05f, Math.PI, 8); 20 | world.playSound(null, this.posX, this.posY, this.posZ, SoundEvents.ENTITY_SNOWBALL_THROW, this.getSoundCategory(), 21 | 1.0f, 0.8f); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityRemilia.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityRemilia extends EntityTouhouCharacter { 6 | public EntityRemilia(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityRumia.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityRumia extends EntityTouhouCharacter { 6 | public EntityRumia(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntitySakuya.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntitySakuya extends EntityTouhouCharacter { 6 | public EntitySakuya(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityStar.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityStar extends EntityTouhouCharacter { 6 | public EntityStar(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntitySuika.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntitySuika extends EntityTouhouCharacter { 6 | public EntitySuika(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntitySunflowerFairy.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntitySunflowerFairy extends EntityTouhouCharacter { 6 | public EntitySunflowerFairy(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntitySunny.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntitySunny extends EntityTouhouCharacter { 6 | public EntitySunny(World worldIn) { 7 | super(worldIn); 8 | setSize(0.5f, 1.2f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityWakasagihime.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityWakasagihime extends EntityTouhouCharacter { 6 | public EntityWakasagihime(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.7f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityYoumu.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityYoumu extends EntityTouhouCharacter { 6 | public EntityYoumu(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityYukari.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityYukari extends EntityTouhouCharacter { 6 | public EntityYukari(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/character/EntityYuyuko.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.character; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntityYuyuko extends EntityTouhouCharacter { 6 | public EntityYuyuko(World worldIn) { 7 | super(worldIn); 8 | setSize(0.6f, 1.5f); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/entity/item/EntityMiniHakkero.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.entity.item; 2 | 3 | import net.minecraft.entity.EntityLivingBase; 4 | import net.minecraft.entity.projectile.EntityThrowable; 5 | import net.minecraft.util.math.RayTraceResult; 6 | import net.minecraft.world.World; 7 | 8 | public class EntityMiniHakkero extends EntityThrowable { 9 | public EntityMiniHakkero(World world) { 10 | super(world); 11 | } 12 | 13 | public EntityMiniHakkero(World world, EntityLivingBase throwerIn) { 14 | super(world, throwerIn); 15 | } 16 | 17 | @Override 18 | protected void onImpact(RayTraceResult result) { 19 | } 20 | 21 | @Override 22 | public void onUpdate() { 23 | if (this.ticksExisted > 60) { 24 | this.setDead(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/item/ItemLantern.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.item; 2 | 3 | import net.minecraft.block.Block; 4 | import net.minecraft.item.ItemBlock; 5 | 6 | public class ItemLantern extends ItemBlock { 7 | public ItemLantern(Block block) { 8 | super(block); 9 | setHasSubtypes(true); 10 | } 11 | 12 | @Override 13 | public int getMetadata(int damage) { 14 | return damage; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/item/ItemMarisaBroom.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.item; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.common.entity.item.EntityMarisaBroom; 5 | import net.minecraft.entity.player.EntityPlayer; 6 | import net.minecraft.item.Item; 7 | import net.minecraft.util.EnumActionResult; 8 | import net.minecraft.util.EnumFacing; 9 | import net.minecraft.util.EnumHand; 10 | import net.minecraft.util.math.BlockPos; 11 | import net.minecraft.world.World; 12 | 13 | public class ItemMarisaBroom extends Item { 14 | public ItemMarisaBroom() { 15 | setUnlocalizedName(BakaInTouhou.MOD_ID + ".marisa_broom"); 16 | setRegistryName("marisa_broom"); 17 | setCreativeTab(ItemObjectHolder.bakaInTouhouTabs); 18 | setMaxStackSize(1); 19 | } 20 | 21 | @Override 22 | public EnumActionResult onItemUse(EntityPlayer player, World worldIn, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { 23 | if (!worldIn.isRemote && player.isSneaking() && facing == EnumFacing.UP) { 24 | EntityMarisaBroom broom = new EntityMarisaBroom(worldIn); 25 | broom.setPosition(pos.getX() + 0.5, pos.up().getY(), pos.getZ() + 0.5); 26 | player.getHeldItem(hand).shrink(1); 27 | worldIn.spawnEntity(broom); 28 | return EnumActionResult.SUCCESS; 29 | } 30 | return EnumActionResult.PASS; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/item/ItemObjectHolder.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.item; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import com.github.tartaricacid.bakaintouhou.common.item.danmaku.ItemDanmaku; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | import net.minecraft.init.Items; 7 | import net.minecraft.item.ItemStack; 8 | import net.minecraftforge.fml.common.registry.GameRegistry; 9 | 10 | public class ItemObjectHolder { 11 | public static final CreativeTabs bakaInTouhouTabs = new CreativeTabs("bakaintouhou.items") { 12 | @Override 13 | public ItemStack getTabIconItem() { 14 | return Items.APPLE.getDefaultInstance(); 15 | } 16 | 17 | @Override 18 | public CreativeTabs setBackgroundImageName(String texture) { 19 | return super.setBackgroundImageName(texture); 20 | } 21 | }; 22 | 23 | @GameRegistry.ObjectHolder(BakaInTouhou.MOD_ID + ":" + "danmaku") 24 | public static ItemDanmaku itemDanmaku; 25 | @GameRegistry.ObjectHolder(BakaInTouhou.MOD_ID + ":" + "hakurei_gohei") 26 | public static ItemHakureiGohei itemHakureiGohei; 27 | @GameRegistry.ObjectHolder(BakaInTouhou.MOD_ID + ":" + "touhou_icons") 28 | public static ItemTouhouIcons itemTouhouIcons; 29 | @GameRegistry.ObjectHolder(BakaInTouhou.MOD_ID + ":" + "reimu_headdress") 30 | public static ItemReimuHeaddress itemReimuHeaddress; 31 | @GameRegistry.ObjectHolder(BakaInTouhou.MOD_ID + ":" + "marisa_broom") 32 | public static ItemMarisaBroom itemMarisaBroom; 33 | @GameRegistry.ObjectHolder(BakaInTouhou.MOD_ID + ":" + "mini_hakkero") 34 | public static ItemMiniHakkero itemMiniHakkero; 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/item/ItemSakuraCarpet.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.item; 2 | 3 | import net.minecraft.block.Block; 4 | import net.minecraft.item.ItemBlock; 5 | 6 | public class ItemSakuraCarpet extends ItemBlock { 7 | public ItemSakuraCarpet(Block block) { 8 | super(block); 9 | setHasSubtypes(true); 10 | } 11 | 12 | @Override 13 | public int getMetadata(int damage) { 14 | return damage; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/network/handler/GoheiChangeMessageHandler.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.network.handler; 2 | 3 | import com.github.tartaricacid.bakaintouhou.client.network.message.GoheiChangeMessage; 4 | import com.github.tartaricacid.bakaintouhou.common.item.ItemHakureiGohei; 5 | import com.github.tartaricacid.bakaintouhou.common.item.ItemObjectHolder; 6 | import com.github.tartaricacid.bakaintouhou.common.util.DanmakuInit; 7 | import net.minecraft.entity.player.EntityPlayerMP; 8 | import net.minecraft.item.ItemStack; 9 | import net.minecraftforge.fml.common.FMLCommonHandler; 10 | import net.minecraftforge.fml.common.network.simpleimpl.IMessage; 11 | import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; 12 | import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; 13 | import net.minecraftforge.fml.relauncher.Side; 14 | 15 | public class GoheiChangeMessageHandler implements IMessageHandler { 16 | @Override 17 | public IMessage onMessage(GoheiChangeMessage message, MessageContext ctx) { 18 | if (ctx.side == Side.SERVER) { 19 | FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> { 20 | EntityPlayerMP player = ctx.getServerHandler().player; 21 | ItemStack stack = player.getHeldItemMainhand(); 22 | ItemHakureiGohei item = ItemObjectHolder.itemHakureiGohei; 23 | if (stack.getItem() == item) { 24 | item.setGoheiMode(stack, (item.getGoheiMode(stack) + 1 > DanmakuInit.danmakuTypeMax) ? 0 : item.getGoheiMode(stack) + 1); 25 | } 26 | }); 27 | } 28 | return null; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/network/message/PointMessage.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.network.message; 2 | 3 | import io.netty.buffer.ByteBuf; 4 | import net.minecraftforge.fml.common.network.simpleimpl.IMessage; 5 | 6 | public class PointMessage implements IMessage { 7 | private float score; 8 | private float power; 9 | 10 | public PointMessage() { 11 | } 12 | 13 | public PointMessage(float score, float power) { 14 | this.score = score; 15 | this.power = power; 16 | } 17 | 18 | @Override 19 | public void fromBytes(ByteBuf buf) { 20 | this.score = buf.readFloat(); 21 | this.power = buf.readFloat(); 22 | } 23 | 24 | @Override 25 | public void toBytes(ByteBuf buf) { 26 | buf.writeFloat(score); 27 | buf.writeFloat(power); 28 | } 29 | 30 | public float getPower() { 31 | return power; 32 | } 33 | 34 | public float getScore() { 35 | return score; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/sound/SoundObjectHolder.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.sound; 2 | 3 | public class SoundObjectHolder { 4 | } 5 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/util/DanmakuInit.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.util; 2 | 3 | public final class DanmakuInit { 4 | // 弹幕类型最大为 8(从 0 开始) 5 | public static int danmakuTypeMax = 8; 6 | // 弹幕颜色最大为 6(从 0 开始) 7 | public static int danmakuColorMax = 6; 8 | // 依据类型,硬编码弹幕大小,数组长度需要和类型相匹配 9 | public static double[] danmakuSize = { 10 | 0.8, // 点弹 0 11 | 0.8, // 小玉 1 12 | 0.8, // 中玉 2 13 | 1.2, // 大玉 3 14 | 0.4, // 椭弹 4 15 | 0.4, // 心弹 5 16 | 0.3, // 星弹 6 17 | 0.3, // 札弹 7 18 | 0.3 // 环玉 8 19 | }; 20 | // 弹幕材质宽度 21 | public static int danmakuTextureWidth = 224; 22 | // 弹幕材质长度 23 | public static int danmakuTextureLength = 320; 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/world/TouhouBiomeProvider.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.world; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.world.biome.BiomeObjectHolder; 4 | import net.minecraft.world.biome.BiomeProviderSingle; 5 | 6 | public class TouhouBiomeProvider extends BiomeProviderSingle { 7 | public TouhouBiomeProvider() { 8 | super(BiomeObjectHolder.bambooBiome); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/world/TouhouChunkGenerator.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.world; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraft.world.gen.ChunkGeneratorOverworld; 5 | 6 | public class TouhouChunkGenerator extends ChunkGeneratorOverworld { 7 | public TouhouChunkGenerator(World worldIn, long seed, boolean mapFeaturesEnabledIn, String generatorOptions) { 8 | super(worldIn, seed, mapFeaturesEnabledIn, generatorOptions); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/world/TouhouTeleporter.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.world; 2 | 3 | import net.minecraft.entity.Entity; 4 | import net.minecraft.world.Teleporter; 5 | import net.minecraft.world.WorldServer; 6 | 7 | public class TouhouTeleporter extends Teleporter { 8 | private double x; 9 | private double y; 10 | private double z; 11 | 12 | public TouhouTeleporter(WorldServer worldIn, double x, double y, double z) { 13 | super(worldIn); 14 | this.x = x; 15 | this.y = y; 16 | this.z = z; 17 | } 18 | 19 | @Override 20 | public void placeInPortal(Entity entity, float rotationYaw) { 21 | entity.setPosition(this.x, this.y, this.z); 22 | entity.motionX = 0.0f; 23 | entity.motionY = 0.0f; 24 | entity.motionZ = 0.0f; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/world/TouhouWorldProvider.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.world; 2 | 3 | import com.github.tartaricacid.bakaintouhou.common.CommonProxy; 4 | import net.minecraft.world.DimensionType; 5 | import net.minecraft.world.WorldProvider; 6 | import net.minecraft.world.biome.BiomeProvider; 7 | import net.minecraft.world.gen.IChunkGenerator; 8 | 9 | import javax.annotation.Nullable; 10 | 11 | public class TouhouWorldProvider extends WorldProvider { 12 | @Override 13 | public DimensionType getDimensionType() { 14 | return CommonProxy.touhou; 15 | } 16 | 17 | @Nullable 18 | @Override 19 | public String getSaveFolder() { 20 | return super.getSaveFolder(); 21 | } 22 | 23 | @Override 24 | public IChunkGenerator createChunkGenerator() { 25 | return new TouhouChunkGenerator(world, super.getSeed(), false, ""); 26 | } 27 | 28 | @Override 29 | public BiomeProvider getBiomeProvider() { 30 | return new TouhouBiomeProvider(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/world/biome/BiomeObjectHolder.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.world.biome; 2 | 3 | import com.github.tartaricacid.bakaintouhou.BakaInTouhou; 4 | import net.minecraftforge.common.BiomeDictionary; 5 | import net.minecraftforge.common.BiomeManager; 6 | import net.minecraftforge.fml.common.registry.GameRegistry; 7 | 8 | public class BiomeObjectHolder { 9 | @GameRegistry.ObjectHolder(BakaInTouhou.MOD_ID + ":" + "bamboo_biome") 10 | public static BambooBiome bambooBiome; 11 | 12 | public static void initBiomeManagerAndDictionary() { 13 | BiomeManager.addBiome(BiomeManager.BiomeType.WARM, new BiomeManager.BiomeEntry(bambooBiome, 10)); 14 | BiomeManager.addSpawnBiome(bambooBiome); 15 | BiomeDictionary.addTypes(bambooBiome, 16 | BiomeDictionary.Type.FOREST, 17 | BiomeDictionary.Type.WET, 18 | BiomeDictionary.Type.MAGICAL); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/github/tartaricacid/bakaintouhou/common/world/gen/WorldGenBamboo.java: -------------------------------------------------------------------------------- 1 | package com.github.tartaricacid.bakaintouhou.common.world.gen; 2 | 3 | import net.minecraft.block.state.IBlockState; 4 | import net.minecraft.init.Blocks; 5 | import net.minecraft.util.math.BlockPos; 6 | import net.minecraft.world.World; 7 | import net.minecraft.world.gen.feature.WorldGenAbstractTree; 8 | 9 | import java.util.Random; 10 | 11 | public class WorldGenBamboo extends WorldGenAbstractTree { 12 | private final IBlockState wood; 13 | private final int height; 14 | 15 | public WorldGenBamboo(boolean notify, IBlockState wood, int height) { 16 | super(notify); 17 | this.wood = wood; 18 | this.height = height; 19 | } 20 | 21 | @Override 22 | public boolean generate(World worldIn, Random rand, BlockPos position) { 23 | if (worldIn.getBlockState(position.down()).getBlock() != Blocks.GRASS 24 | && worldIn.getBlockState(position.down()).getBlock() != Blocks.DIRT) { 25 | return false; 26 | } 27 | 28 | if (position.getY() >= 1 && position.getY() + height + 1 <= worldIn.getHeight()) { 29 | for (int i = position.getY(); i <= position.getY() + height + 1; ++i) { 30 | BlockPos pos = new BlockPos(position.getX(), i, position.getZ()); 31 | if (worldIn.getBlockState(pos).getBlock().isAir(worldIn.getBlockState(pos), worldIn, pos)) { 32 | this.setBlockAndNotifyAdequately(worldIn, pos, wood); 33 | } else { 34 | break; 35 | } 36 | } 37 | return true; 38 | } 39 | return false; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/player_ship/marisa.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.player_ship.marisa.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.player_ship.marisa.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:3}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.marisa": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.marisa" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:player_ship/reimu" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/player_ship/reimu.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.player_ship.reimu.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.player_ship.reimu.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:3}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.reimu": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.reimu" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:root" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/root.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.root.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.root.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:0}" 12 | }, 13 | "background": "bakaintouhou:textures/gui/advancements/back_ground.png" 14 | }, 15 | "criteria": { 16 | "rumia": { 17 | "trigger": "minecraft:player_hurt_entity", 18 | "conditions": { 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/cirno.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.cirno.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.cirno.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.cirno": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.cirno" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th06/daiyousei" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/daiyousei.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.daiyousei.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.daiyousei.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.daiyousei": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.daiyousei" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th06/rumia" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/frandle.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.frandle.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.frandle.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | }, 13 | "frame": "goal" 14 | }, 15 | "criteria": { 16 | "bakaintouhou.hurt.frandle": { 17 | "trigger": "minecraft:player_hurt_entity", 18 | "conditions": { 19 | "entity": { 20 | "type": "bakaintouhou:entity.character.frandle" 21 | } 22 | } 23 | } 24 | }, 25 | "rewards": { 26 | "experience": 9 27 | }, 28 | "parent": "bakaintouhou:th06/remilia" 29 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/koakuma.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.koakuma.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.koakuma.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.koakuma": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.koakuma" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th06/meiling" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/meiling.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.meiling.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.meiling.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.meiling": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.meiling" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th06/cirno" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/patchouli.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.patchouli.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.patchouli.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.patchouli": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.patchouli" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th06/koakuma" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/remilia.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.remilia.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.remilia.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.remilia": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.remilia" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th06/sakuya" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/rumia.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.rumia.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.rumia.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.rumia": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.rumia" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:root" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th06/sakuya.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.sakuya.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.sakuya.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:1}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.sakuya": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.sakuya" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th06/patchouli" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th07/chen.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.chen.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.chen.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:2}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.chen": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.chen" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:th07/letty" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/advancements/th07/letty.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "description": { 4 | "translate": "bakaintouhou.advancement.th06.letty.desc" 5 | }, 6 | "title": { 7 | "translate": "bakaintouhou.advancement.th06.letty.title" 8 | }, 9 | "icon": { 10 | "item": "bakaintouhou:touhou_icons", 11 | "nbt": "{icons_type:2}" 12 | } 13 | }, 14 | "criteria": { 15 | "bakaintouhou.hurt.letty": { 16 | "trigger": "minecraft:player_hurt_entity", 17 | "conditions": { 18 | "entity": { 19 | "type": "bakaintouhou:entity.character.letty" 20 | } 21 | } 22 | } 23 | }, 24 | "rewards": { 25 | "experience": 9 26 | }, 27 | "parent": "bakaintouhou:root" 28 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/bamboo.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:bamboo" 5 | }, 6 | "variants": { 7 | "normal": [{}], 8 | "inventory": [{}] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/bamboo_shoot.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:bamboo_shoot", 5 | "uvlock": true 6 | }, 7 | "variants": { 8 | "normal": [{}], 9 | "inventory": [{}], 10 | "stage=0": [{}], 11 | "stage=1": [{}] 12 | } 13 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/garage_kit.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:garage_kit" 5 | }, 6 | "variants": { 7 | "normal": [ 8 | {} 9 | ], 10 | "inventory": [ 11 | {} 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/lantern.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:lantern_a" 5 | }, 6 | "variants": { 7 | "normal": [{}], 8 | "inventory": [{}], 9 | "type": { 10 | "a": { 11 | "model": "bakaintouhou:lantern_a" 12 | }, 13 | "b": { 14 | "model": "bakaintouhou:lantern_b" 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/mini_hakkero.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "custom": { 5 | "flip-v": true 6 | }, 7 | "model": "bakaintouhou:mini_hakkero.obj" 8 | }, 9 | "variants": { 10 | "inventory": [{}] 11 | } 12 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/saisen_bako.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:saisen_bako" 5 | }, 6 | "variants": { 7 | "normal": [{}], 8 | "inventory": [{}], 9 | "facing": { 10 | "north": { 11 | "y": 90 12 | }, 13 | "south": { 14 | "y": 270 15 | }, 16 | "west": {}, 17 | "east": { 18 | "y": 180 19 | }, 20 | "up": {}, 21 | "down": {} 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_carpet.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:sakura_carpet_pink" 5 | }, 6 | "variants": { 7 | "normal": [{}], 8 | "inventory": [{}], 9 | "color": { 10 | "red": { 11 | "model": "bakaintouhou:sakura_carpet_red" 12 | }, 13 | "pink": { 14 | "model": "bakaintouhou:sakura_carpet_pink" 15 | }, 16 | "yellow": { 17 | "model": "bakaintouhou:sakura_carpet_yellow" 18 | }, 19 | "light_blue": {}, 20 | "blue": {}, 21 | "silver": {}, 22 | "orange": {}, 23 | "gray": {}, 24 | "black": {}, 25 | "lime": {}, 26 | "cyan": {}, 27 | "magenta": {}, 28 | "white": {}, 29 | "purple": {}, 30 | "green": {}, 31 | "brown": {} 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_leaf_pink.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": { 5 | "particle": "bakaintouhou:blocks/sakura_leaf_pink" 6 | }, 7 | "model": "bakaintouhou:sakura_leaf_pink", 8 | "uvlock": true 9 | }, 10 | "variants": { 11 | "normal": [{}], 12 | "inventory": [{}], 13 | "check_decay=true,decayable=true": [{}], 14 | "check_decay=true,decayable=false": [{}], 15 | "check_decay=false,decayable=true": [{}], 16 | "check_decay=false,decayable=false": [{}] 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_leaf_red.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": { 5 | "particle": "bakaintouhou:blocks/sakura_leaf_red" 6 | }, 7 | "model": "bakaintouhou:sakura_leaf_red", 8 | "uvlock": true 9 | }, 10 | "variants": { 11 | "normal": [{}], 12 | "inventory": [{}], 13 | "check_decay=true,decayable=true": [{}], 14 | "check_decay=true,decayable=false": [{}], 15 | "check_decay=false,decayable=true": [{}], 16 | "check_decay=false,decayable=false": [{}] 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_leaf_yellow.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": { 5 | "particle": "bakaintouhou:blocks/sakura_leaf_yellow" 6 | }, 7 | "model": "bakaintouhou:sakura_leaf_yellow", 8 | "uvlock": true 9 | }, 10 | "variants": { 11 | "normal": [{}], 12 | "inventory": [{}], 13 | "check_decay=true,decayable=true": [{}], 14 | "check_decay=true,decayable=false": [{}], 15 | "check_decay=false,decayable=true": [{}], 16 | "check_decay=false,decayable=false": [{}] 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_log.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "axis=y": { 4 | "model": "bakaintouhou:sakura_log" 5 | }, 6 | "axis=z": { 7 | "model": "bakaintouhou:sakura_log", 8 | "x": 90 9 | }, 10 | "axis=x": { 11 | "model": "bakaintouhou:sakura_log", 12 | "x": 90, 13 | "y": 90 14 | }, 15 | "axis=none": { 16 | "model": "bakaintouhou:sakura_log" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_pane_pink.json: -------------------------------------------------------------------------------- 1 | { 2 | "multipart": [ 3 | { 4 | "apply": { 5 | "model": "bakaintouhou:sakura_pink_pane_post" 6 | } 7 | }, 8 | { 9 | "when": { 10 | "north": true 11 | }, 12 | "apply": { 13 | "model": "bakaintouhou:sakura_pink_pane_side" 14 | } 15 | }, 16 | { 17 | "when": { 18 | "east": true 19 | }, 20 | "apply": { 21 | "model": "bakaintouhou:sakura_pink_pane_side", 22 | "y": 90 23 | } 24 | }, 25 | { 26 | "when": { 27 | "south": true 28 | }, 29 | "apply": { 30 | "model": "bakaintouhou:sakura_pink_pane_side_alt" 31 | } 32 | }, 33 | { 34 | "when": { 35 | "west": true 36 | }, 37 | "apply": { 38 | "model": "bakaintouhou:sakura_pink_pane_side_alt", 39 | "y": 90 40 | } 41 | }, 42 | { 43 | "when": { 44 | "north": false 45 | }, 46 | "apply": { 47 | "model": "bakaintouhou:sakura_pink_pane_noside" 48 | } 49 | }, 50 | { 51 | "when": { 52 | "east": false 53 | }, 54 | "apply": { 55 | "model": "bakaintouhou:sakura_pink_pane_noside_alt" 56 | } 57 | }, 58 | { 59 | "when": { 60 | "south": false 61 | }, 62 | "apply": { 63 | "model": "bakaintouhou:sakura_pink_pane_noside_alt", 64 | "y": 90 65 | } 66 | }, 67 | { 68 | "when": { 69 | "west": false 70 | }, 71 | "apply": { 72 | "model": "bakaintouhou:sakura_pink_pane_noside", 73 | "y": 270 74 | } 75 | } 76 | ] 77 | } 78 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_pane_red.json: -------------------------------------------------------------------------------- 1 | { 2 | "multipart": [ 3 | { 4 | "apply": { 5 | "model": "bakaintouhou:sakura_red_pane_post" 6 | } 7 | }, 8 | { 9 | "when": { 10 | "north": true 11 | }, 12 | "apply": { 13 | "model": "bakaintouhou:sakura_red_pane_side" 14 | } 15 | }, 16 | { 17 | "when": { 18 | "east": true 19 | }, 20 | "apply": { 21 | "model": "bakaintouhou:sakura_red_pane_side", 22 | "y": 90 23 | } 24 | }, 25 | { 26 | "when": { 27 | "south": true 28 | }, 29 | "apply": { 30 | "model": "bakaintouhou:sakura_red_pane_side_alt" 31 | } 32 | }, 33 | { 34 | "when": { 35 | "west": true 36 | }, 37 | "apply": { 38 | "model": "bakaintouhou:sakura_red_pane_side_alt", 39 | "y": 90 40 | } 41 | }, 42 | { 43 | "when": { 44 | "north": false 45 | }, 46 | "apply": { 47 | "model": "bakaintouhou:sakura_red_pane_noside" 48 | } 49 | }, 50 | { 51 | "when": { 52 | "east": false 53 | }, 54 | "apply": { 55 | "model": "bakaintouhou:sakura_red_pane_noside_alt" 56 | } 57 | }, 58 | { 59 | "when": { 60 | "south": false 61 | }, 62 | "apply": { 63 | "model": "bakaintouhou:sakura_red_pane_noside_alt", 64 | "y": 90 65 | } 66 | }, 67 | { 68 | "when": { 69 | "west": false 70 | }, 71 | "apply": { 72 | "model": "bakaintouhou:sakura_red_pane_noside", 73 | "y": 270 74 | } 75 | } 76 | ] 77 | } 78 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_pane_yellow.json: -------------------------------------------------------------------------------- 1 | { 2 | "multipart": [ 3 | { 4 | "apply": { 5 | "model": "bakaintouhou:sakura_yellow_pane_post" 6 | } 7 | }, 8 | { 9 | "when": { 10 | "north": true 11 | }, 12 | "apply": { 13 | "model": "bakaintouhou:sakura_yellow_pane_side" 14 | } 15 | }, 16 | { 17 | "when": { 18 | "east": true 19 | }, 20 | "apply": { 21 | "model": "bakaintouhou:sakura_yellow_pane_side", 22 | "y": 90 23 | } 24 | }, 25 | { 26 | "when": { 27 | "south": true 28 | }, 29 | "apply": { 30 | "model": "bakaintouhou:sakura_yellow_pane_side_alt" 31 | } 32 | }, 33 | { 34 | "when": { 35 | "west": true 36 | }, 37 | "apply": { 38 | "model": "bakaintouhou:sakura_yellow_pane_side_alt", 39 | "y": 90 40 | } 41 | }, 42 | { 43 | "when": { 44 | "north": false 45 | }, 46 | "apply": { 47 | "model": "bakaintouhou:sakura_yellow_pane_noside" 48 | } 49 | }, 50 | { 51 | "when": { 52 | "east": false 53 | }, 54 | "apply": { 55 | "model": "bakaintouhou:sakura_yellow_pane_noside_alt" 56 | } 57 | }, 58 | { 59 | "when": { 60 | "south": false 61 | }, 62 | "apply": { 63 | "model": "bakaintouhou:sakura_yellow_pane_noside_alt", 64 | "y": 90 65 | } 66 | }, 67 | { 68 | "when": { 69 | "west": false 70 | }, 71 | "apply": { 72 | "model": "bakaintouhou:sakura_yellow_pane_noside", 73 | "y": 270 74 | } 75 | } 76 | ] 77 | } 78 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_sapling_pink.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:sakura_sapling_pink", 5 | "uvlock": true 6 | }, 7 | "variants": { 8 | "normal": [{}], 9 | "inventory": [{}], 10 | "stage=0": [{}], 11 | "stage=1": [{}] 12 | } 13 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_sapling_red.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:sakura_sapling_red", 5 | "uvlock": true 6 | }, 7 | "variants": { 8 | "normal": [{}], 9 | "inventory": [{}], 10 | "stage=0": [{}], 11 | "stage=1": [{}] 12 | } 13 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/sakura_sapling_yellow.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:sakura_sapling_yellow", 5 | "uvlock": true 6 | }, 7 | "variants": { 8 | "normal": [{}], 9 | "inventory": [{}], 10 | "stage=0": [{}], 11 | "stage=1": [{}] 12 | } 13 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/shoji.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:shoji" 5 | }, 6 | "variants": { 7 | "normal": [{}], 8 | "inventory": [ 9 | { 10 | "model": "bakaintouhou:item/shoji" 11 | } 12 | ], 13 | "facing": { 14 | "north": {}, 15 | "south": {}, 16 | "west": {}, 17 | "east": {}, 18 | "up": {}, 19 | "down": {} 20 | }, 21 | "open": { 22 | "true": {}, 23 | "false": {} 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/spawn_crystal.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "custom": { 5 | "flip-v": true 6 | }, 7 | "model": "bakaintouhou:spawn_crystal.obj" 8 | }, 9 | "variants": { 10 | "normal": [{}], 11 | "inventory": [ 12 | { 13 | "model": "bakaintouhou:item/spawn_crystal" 14 | } 15 | ] 16 | } 17 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/tatami.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "model": "bakaintouhou:tatami" 5 | }, 6 | "variants": { 7 | "normal": [{}], 8 | "inventory": [{}], 9 | "facing": { 10 | "north": {}, 11 | "south": {}, 12 | "west": { 13 | "y": 90 14 | }, 15 | "east": { 16 | "y": 90 17 | }, 18 | "up": { 19 | "y": 90 20 | }, 21 | "down": { 22 | "y": 90 23 | } 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/tatami_slab_double.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "facing=north,variant=default": { 4 | "model": "bakaintouhou:tatami_slab_double" 5 | }, 6 | "facing=south,variant=default": { 7 | "model": "bakaintouhou:tatami_slab_double" 8 | }, 9 | "facing=west,variant=default": { 10 | "model": "bakaintouhou:tatami_slab_double", 11 | "y": 90 12 | }, 13 | "facing=east,variant=default": { 14 | "model": "bakaintouhou:tatami_slab_double", 15 | "y": 90 16 | }, 17 | "facing=up,variant=default": { 18 | "model": "bakaintouhou:tatami_slab_double", 19 | "y": 90 20 | }, 21 | "facing=down,variant=default": { 22 | "model": "bakaintouhou:tatami_slab_double", 23 | "y": 90 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/blockstates/tatami_slab_half.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "facing=north,half=bottom,variant=default": { 4 | "model": "bakaintouhou:tatami_slab_bottom" 5 | }, 6 | "facing=north,half=top,variant=default": { 7 | "model": "bakaintouhou:tatami_slab_top" 8 | }, 9 | "facing=south,half=bottom,variant=default": { 10 | "model": "bakaintouhou:tatami_slab_bottom" 11 | }, 12 | "facing=south,half=top,variant=default": { 13 | "model": "bakaintouhou:tatami_slab_top" 14 | }, 15 | "facing=west,half=bottom,variant=default": { 16 | "model": "bakaintouhou:tatami_slab_bottom", 17 | "y": 90 18 | }, 19 | "facing=west,half=top,variant=default": { 20 | "model": "bakaintouhou:tatami_slab_top", 21 | "y": 90 22 | }, 23 | "facing=east,half=bottom,variant=default": { 24 | "model": "bakaintouhou:tatami_slab_bottom", 25 | "y": 90 26 | }, 27 | "facing=east,half=top,variant=default": { 28 | "model": "bakaintouhou:tatami_slab_top", 29 | "y": 90 30 | }, 31 | "facing=up,half=bottom,variant=default": { 32 | "model": "bakaintouhou:tatami_slab_bottom", 33 | "y": 90 34 | }, 35 | "facing=up,half=top,variant=default": { 36 | "model": "bakaintouhou:tatami_slab_top", 37 | "y": 90 38 | }, 39 | "facing=down,half=bottom,variant=default": { 40 | "model": "bakaintouhou:tatami_slab_bottom", 41 | "y": 90 42 | }, 43 | "facing=down,half=top,variant=default": { 44 | "model": "bakaintouhou:tatami_slab_top", 45 | "y": 90 46 | } 47 | } 48 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/logo.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/bamboo_shoot.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/cross", 3 | "textures": { 4 | "cross": "bakaintouhou:blocks/bamboo_shoot", 5 | "particle": "bakaintouhou:blocks/bamboo_shoot" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/garage_kit.json: -------------------------------------------------------------------------------- 1 | { 2 | "credit": "Made with Blockbench", 3 | "textures": { 4 | "0": "blocks/hardened_clay_stained_gray", 5 | "particle": "blocks/hardened_clay_stained_gray" 6 | }, 7 | "elements": [ 8 | { 9 | "from": [4, 0, 4], 10 | "to": [12, 1, 12], 11 | "faces": { 12 | "north": { 13 | "uv": [0, 0, 8, 1], 14 | "texture": "#0" 15 | }, 16 | "east": { 17 | "uv": [0, 0, 8, 1], 18 | "texture": "#0" 19 | }, 20 | "south": { 21 | "uv": [0, 0, 8, 1], 22 | "texture": "#0" 23 | }, 24 | "west": { 25 | "uv": [0, 0, 8, 1], 26 | "texture": "#0" 27 | }, 28 | "up": { 29 | "uv": [0, 0, 8, 8], 30 | "texture": "#0" 31 | }, 32 | "down": { 33 | "uv": [0, 0, 8, 8], 34 | "texture": "#0" 35 | } 36 | } 37 | } 38 | ], 39 | "display": { 40 | "thirdperson_righthand": { 41 | "translation": [0, 5.75, -1.5] 42 | }, 43 | "thirdperson_lefthand": { 44 | "translation": [0, 5.75, -1.5] 45 | }, 46 | "firstperson_righthand": { 47 | "translation": [0, 7.75, 0] 48 | }, 49 | "firstperson_lefthand": { 50 | "translation": [0, 7.75, 0] 51 | }, 52 | "ground": { 53 | "translation": [0, 5.75, 0] 54 | }, 55 | "gui": { 56 | "rotation": [91, 0, 0], 57 | "translation": [0, 0.25, 0] 58 | }, 59 | "head": { 60 | "translation": [0, 14.5, 0] 61 | }, 62 | "fixed": { 63 | "translation": [0, 3.25, 0] 64 | } 65 | } 66 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_carpet_pink.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/carpet", 3 | "textures": { 4 | "particle": "bakaintouhou:blocks/sakura_leaf_pink", 5 | "wool": "bakaintouhou:blocks/sakura_leaf_pink" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_carpet_red.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/carpet", 3 | "textures": { 4 | "particle": "bakaintouhou:blocks/sakura_leaf_red", 5 | "wool": "bakaintouhou:blocks/sakura_leaf_red" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_carpet_yellow.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/carpet", 3 | "textures": { 4 | "particle": "bakaintouhou:blocks/sakura_leaf_yellow", 5 | "wool": "bakaintouhou:blocks/sakura_leaf_yellow" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_leaf_pink.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/leaves", 3 | "textures": { 4 | "all": "bakaintouhou:blocks/sakura_leaf_pink" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_leaf_red.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/leaves", 3 | "textures": { 4 | "all": "bakaintouhou:blocks/sakura_leaf_red" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_leaf_yellow.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/leaves", 3 | "textures": { 4 | "all": "bakaintouhou:blocks/sakura_leaf_yellow" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_log.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/cube_column", 3 | "textures": { 4 | "end": "bakaintouhou:blocks/sakura_log_top", 5 | "side": "bakaintouhou:blocks/sakura_log" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_pink_pane_noside.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_noside", 3 | "textures": { 4 | "pane": "bakaintouhou:blocks/sakura_leaf_pink" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_pink_pane_noside_alt.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_noside_alt", 3 | "textures": { 4 | "pane": "bakaintouhou:blocks/sakura_leaf_pink" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_pink_pane_post.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_post", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_pink", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_pink" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_pink_pane_side.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_side", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_pink", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_pink" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_pink_pane_side_alt.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_side_alt", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_pink", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_pink" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_red_pane_noside.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_noside", 3 | "textures": { 4 | "pane": "bakaintouhou:blocks/sakura_leaf_red" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_red_pane_noside_alt.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_noside_alt", 3 | "textures": { 4 | "pane": "bakaintouhou:blocks/sakura_leaf_red" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_red_pane_post.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_post", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_red", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_red" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_red_pane_side.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_side", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_red", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_red" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_red_pane_side_alt.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_side_alt", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_red", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_red" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_sapling_pink.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/cross", 3 | "textures": { 4 | "cross": "bakaintouhou:blocks/sakura_sapling_pink" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_sapling_red.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/cross", 3 | "textures": { 4 | "cross": "bakaintouhou:blocks/sakura_sapling_red" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_sapling_yellow.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/cross", 3 | "textures": { 4 | "cross": "bakaintouhou:blocks/sakura_sapling_yellow" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_yellow_pane_noside.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_noside", 3 | "textures": { 4 | "pane": "bakaintouhou:blocks/sakura_leaf_yellow" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_yellow_pane_noside_alt.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_noside_alt", 3 | "textures": { 4 | "pane": "bakaintouhou:blocks/sakura_leaf_yellow" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_yellow_pane_post.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_post", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_yellow", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_yellow" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_yellow_pane_side.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_side", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_yellow", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_yellow" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/sakura_yellow_pane_side_alt.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/pane_side_alt", 3 | "textures": { 4 | "edge": "bakaintouhou:blocks/sakura_leaf_yellow", 5 | "pane": "bakaintouhou:blocks/sakura_leaf_yellow" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/shoji.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "builtin/entity", 3 | "textures": { 4 | "particle": "bakaintouhou:items/shoji" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/spawn_crystal.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl None 5 | Ka 0.000000 0.000000 0.000000 6 | Kd 0.8 0.8 0.8 7 | d 1 8 | map_Kd minecraft:blocks/ice 9 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/spawn_crystal.obj: -------------------------------------------------------------------------------- 1 | mtllib spawn_crystal.mtl 2 | o spawn_crystal 3 | v 0.127885 1.482571 0.855132 4 | v 0.498513 1.987008 0.484505 5 | v 0.127885 1.482571 0.113877 6 | v 0.869140 1.482571 0.113877 7 | v 0.869140 1.482571 0.855132 8 | v 0.498513 0.017859 0.484504 9 | v 0.869140 0.522295 0.855131 10 | v 0.127885 0.522295 0.855131 11 | v 0.869140 0.522295 0.113877 12 | v 0.127885 0.522295 0.113877 13 | vn -0.8059 0.5921 0.0000 14 | vn 0.0000 0.5921 -0.8059 15 | vn 0.8059 0.5921 0.0000 16 | vn 0.0000 0.5921 0.8059 17 | vn 0.0000 -0.5921 0.8059 18 | vn 0.0000 -0.0000 1.0000 19 | vn 0.8059 -0.5921 -0.0000 20 | vn 1.0000 -0.0000 0.0000 21 | vn 0.0000 -0.5921 -0.8059 22 | vn 0.0000 0.0000 -1.0000 23 | vn -0.8059 -0.5921 -0.0000 24 | vn -1.0000 0.0000 0.0000 25 | usemtl None 26 | f 1//1 2//1 3//1 27 | f 3//2 2//2 4//2 28 | f 4//3 2//3 5//3 29 | f 5//4 2//4 1//4 30 | f 6//5 7//5 8//5 31 | f 7//6 5//6 1//6 8//6 32 | f 6//7 9//7 7//7 33 | f 9//8 4//8 5//8 7//8 34 | f 6//9 10//9 9//9 35 | f 10//10 3//10 4//10 9//10 36 | f 6//11 8//11 10//11 37 | f 8//12 1//12 3//12 10//12 -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/tatami.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/cube_all", 3 | "textures": { 4 | "all": "bakaintouhou:blocks/tatami" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/tatami_inner_stairs.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/inner_stairs", 3 | "textures": { 4 | "bottom": "bakaintouhou:blocks/tatami", 5 | "top": "bakaintouhou:blocks/tatami", 6 | "side": "bakaintouhou:blocks/tatami" 7 | } 8 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/tatami_outer_stairs.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/outer_stairs", 3 | "textures": { 4 | "bottom": "bakaintouhou:blocks/tatami", 5 | "top": "bakaintouhou:blocks/tatami", 6 | "side": "bakaintouhou:blocks/tatami" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/tatami_slab_bottom.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/half_slab", 3 | "textures": { 4 | "bottom": "bakaintouhou:blocks/tatami", 5 | "top": "bakaintouhou:blocks/tatami", 6 | "side": "bakaintouhou:blocks/tatami" 7 | } 8 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/tatami_slab_double.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/cube_all", 3 | "textures": { 4 | "all": "bakaintouhou:blocks/tatami" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/tatami_slab_top.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/upper_slab", 3 | "textures": { 4 | "bottom": "bakaintouhou:blocks/tatami", 5 | "top": "bakaintouhou:blocks/tatami", 6 | "side": "bakaintouhou:blocks/tatami" 7 | } 8 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/block/tatami_stairs.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/stairs", 3 | "textures": { 4 | "bottom": "bakaintouhou:blocks/tatami", 5 | "top": "bakaintouhou:blocks/tatami", 6 | "side": "bakaintouhou:blocks/tatami" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/entity/laser_danmaku.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl None 5 | Ka 0.000000 0.000000 0.000000 6 | Kd 0.8 0.8 0.8 7 | d 1 8 | map_Kd bakaintouhou:entity/danmaku/laser_danmaku 9 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/danmaku.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/danmaku" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/marisa_broom.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/marisa_broom" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/mini_hakkero.mtl: -------------------------------------------------------------------------------- 1 | newmtl None 2 | Ka 0.000000 0.000000 0.000000 3 | Kd 0.8 0.8 0.8 4 | d 1 5 | map_Kd bakaintouhou:items/mini_hakkero 6 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/reimu_headdress.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/reimu_headdress" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/sakura_log.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "bakaintouhou:block/sakura_log" 3 | } 4 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/sakura_pane_pink.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:blocks/sakura_leaf_pink" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/sakura_pane_red.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:blocks/sakura_leaf_red" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/sakura_pane_yellow.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:blocks/sakura_leaf_yellow" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/shoji.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/shoji" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/spawn_crystal.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/spawn_crystal" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/tatami_slab_half.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "bakaintouhou:block/tatami_slab_bottom" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/tatami_stairs.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "bakaintouhou:block/tatami_stairs" 3 | } 4 | -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/touhou_icons_0.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/touhou_icons_0" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/touhou_icons_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/touhou_icons_1" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/touhou_icons_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/touhou_icons_2" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/models/item/touhou_icons_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "bakaintouhou:items/touhou_icons_3" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/patchouli_books/memorizable_gensokyo/book.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bakaintouhou.patchouli.memorizable_gensokyo.name", 3 | "landing_text": "bakaintouhou.patchouli.memorizable_gensokyo.landing_text", 4 | "creative_tab": "bakaintouhou.items", 5 | "model": "patchouli:book_red", 6 | "advancement_namespaces": [ 7 | "bakaintouhou" 8 | ], 9 | "version": 1 10 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/patchouli_books/memorizable_gensokyo/en_us/categories/main_characters.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Main Characters", 3 | "description": "This is a test category for testing!", 4 | "icon": "bakaintouhou:touhou_icons{icons_type:3}" 5 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/patchouli_books/memorizable_gensokyo/en_us/categories/th06.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Embodiment of Scarlet Devil", 3 | "description": "Touhou Koumakyou ~ the Embodiment of Scarlet Devil is a vertical-scrolling danmaku shoot 'em up, and is the sixth official game in the Touhou Project by Team Shanghai Alice's sole member ZUN.", 4 | "icon": "bakaintouhou:touhou_icons{icons_type:1}" 5 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/patchouli_books/memorizable_gensokyo/en_us/entries/main_characters/marisa.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Marisa Kirisame", 3 | "icon": "bakaintouhou:touhou_icons{icons_type:3}", 4 | "category": "main_characters", 5 | "advancement": "bakaintouhou:player_ship/marisa", 6 | "pages": [ 7 | { 8 | "type": "link", 9 | "url": "https://en.touhouwiki.net/wiki/Marisa_Kirisame", 10 | "link_text": "Touhou Wiki", 11 | "text": "Marisa Kirisame is an ordinary human magician who specializes in light and heat magic and currently resides in the Forest of Magic. She's considered to be the deuteragonist of the Touhou Project series along with the main protagonist, Reimu Hakurei." 12 | }, 13 | { 14 | "type": "entity", 15 | "entity": "bakaintouhou:entity.character.marisa", 16 | "offset": 0.3, 17 | "scale": 0.8 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/patchouli_books/memorizable_gensokyo/en_us/entries/main_characters/reimu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Reimu Hakurei", 3 | "icon": "bakaintouhou:touhou_icons{icons_type:3}", 4 | "category": "main_characters", 5 | "advancement": "bakaintouhou:player_ship/reimu", 6 | "pages": [ 7 | { 8 | "type": "link", 9 | "url": "https://en.touhouwiki.net/wiki/Reimu_Hakurei", 10 | "link_text": "Touhou Wiki", 11 | "text": "Reimu Hakurei is the main protagonist of the Touhou Project series along with the deuteragonist, Marisa Kirisame. As the shrine maiden of the Hakurei Shrine, she manages the Hakurei Border of Gensokyo and exterminates troublesome youkai." 12 | }, 13 | { 14 | "type": "entity", 15 | "entity": "bakaintouhou:entity.character.reimu", 16 | "offset": 0.1, 17 | "scale": 0.9 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/patchouli_books/memorizable_gensokyo/en_us/entries/th06/daiyousei.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Daiyousei", 3 | "icon": "bakaintouhou:touhou_icons{icons_type:1}", 4 | "category": "th06", 5 | "advancement": "bakaintouhou:th06/daiyousei", 6 | "pages": [ 7 | { 8 | "type": "link", 9 | "url": "https://en.touhouwiki.net/wiki/Daiyousei", 10 | "link_text": "Touhou Wiki", 11 | "text": "Daiyousei is a greater fairy who lives around the Misty Lake near the Scarlet Devil Mansion. Like other fairies, she's cheerful and mischievous, simple and emotional. Little is known about her." 12 | }, 13 | { 14 | "type": "entity", 15 | "entity": "bakaintouhou:entity.character.daiyousei", 16 | "offset": 0.1, 17 | "scale": 0.9 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/patchouli_books/memorizable_gensokyo/en_us/entries/th06/rumia.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Rumia", 3 | "icon": "bakaintouhou:touhou_icons{icons_type:1}", 4 | "category": "th06", 5 | "advancement": "bakaintouhou:th06/rumia", 6 | "pages": [ 7 | { 8 | "type": "link", 9 | "url": "https://en.touhouwiki.net/wiki/Rumia", 10 | "link_text": "Touhou Wiki", 11 | "text": "Rumia is a youkai with the ability of manipulating the darkness. She is one of the few youkai that doesn't seem to belong to any particular species." 12 | }, 13 | { 14 | "type": "entity", 15 | "entity": "bakaintouhou:entity.character.rumia", 16 | "offset": 0.1, 17 | "scale": 0.9 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/structures/shrine.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/structures/shrine.nbt -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/bamboo_shoot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/bamboo_shoot.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/bamboo_side.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/bamboo_side.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/bamboo_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/bamboo_top.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/lantern_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/lantern_a.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/lantern_b_side.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/lantern_b_side.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/lantern_b_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/lantern_b_top.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/saisen_bako_front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/saisen_bako_front.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/saisen_bako_side.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/saisen_bako_side.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/saisen_bako_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/saisen_bako_top.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_leaf_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_leaf_pink.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_leaf_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_leaf_red.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_leaf_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_leaf_yellow.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_log.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_log_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_log_top.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_sapling_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_sapling_pink.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_sapling_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_sapling_red.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/sakura_sapling_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/sakura_sapling_yellow.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/blocks/tatami.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/blocks/tatami.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_0.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_1.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_2.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_3.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/block/shoji_type_4.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/alice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/alice.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/chen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/chen.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/cirno.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/cirno.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/daiyousei.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/daiyousei.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_b.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_g.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_r.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_y.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/fairy_y.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/flying_yinyangs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/flying_yinyangs.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/frandle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/frandle.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/kisume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/kisume.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/koakuma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/koakuma.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/letty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/letty.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/lily.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/lily.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/lunar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/lunar.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/lunasa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/lunasa.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/lyrica.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/lyrica.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/magic_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/magic_book.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/magic_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/magic_circle.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/marisa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/marisa.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/meiling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/meiling.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/merlin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/merlin.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/momizi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/momizi.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/patchouli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/patchouli.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/ran.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/ran.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/reimu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/reimu.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/remilia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/remilia.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/rumia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/rumia.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/sakuya.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/sakuya.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/star.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/suika.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/suika.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/sunflower_fairy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/sunflower_fairy.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/sunny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/sunny.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/wakasagihime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/wakasagihime.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/youmu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/youmu.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/yukari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/yukari.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/character/yuyuko.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/character/yuyuko.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/butterfly_danmaku.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/butterfly_danmaku.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/hakure_danmaku.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/hakure_danmaku.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_0.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_1.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_2.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_3.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/knife_danmaku_4.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/laser_danmaku.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/laser_danmaku.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/normal_danmaku.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/normal_danmaku.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/danmaku/train_danmaku.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/danmaku/train_danmaku.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/entity/item/marisa_broom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/entity/item/marisa_broom.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/gui/advancements/back_ground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/gui/advancements/back_ground.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/danmaku.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/danmaku.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/gohei.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/gohei.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/marisa_broom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/marisa_broom.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/mini_hakkero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/mini_hakkero.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/reimu_headdress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/reimu_headdress.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/shoji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/shoji.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/spawn_crystal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/spawn_crystal.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_0.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_1.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_2.png -------------------------------------------------------------------------------- /src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartaricAcid/BakaInTouhou/dc968e538ddc393fc2a8d78b37cddc06c037ec29/src/main/resources/assets/bakaintouhou/textures/items/touhou_icons_3.png -------------------------------------------------------------------------------- /src/main/resources/mcmod.info: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "modid": "bakaintouhou", 4 | "name": "BakaInTouhou", 5 | "description": "There are ⑨ baka in touhou", 6 | "version": "${version}", 7 | "mcversion": "${mcversion}", 8 | "url": "https://github.com/TartaricAcid/BakaInTouhou", 9 | "updateUrl": "", 10 | "authorList": [ 11 | "TartaricAcid <- This is a baka" 12 | ], 13 | "credits": "ZUN, Notch", 14 | "logoFile": "/assets/bakaintouhou/logo.png" 15 | } 16 | ] 17 | -------------------------------------------------------------------------------- /src/main/resources/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "baka in touhou mod assets", 4 | "pack_format": 3 5 | } 6 | } 7 | --------------------------------------------------------------------------------