Skip to content

Creeper and CreeperRenderer implementation#158

Merged
BrentDaMage merged 10 commits intonbcraft-org:masterfrom
break-core:kaboom
Jun 15, 2025
Merged

Creeper and CreeperRenderer implementation#158
BrentDaMage merged 10 commits intonbcraft-org:masterfrom
break-core:kaboom

Conversation

@break-core
Copy link
Copy Markdown
Contributor

so yeah, I implemented creeper fully. this is based on b1.2_02 and works pretty much identically. for anyone who wants to play around a bit, there's a MAX_SWELL define in Creeper.hpp which lets you control how much a creeper can swell up.

@BrentDaMage
Copy link
Copy Markdown
Member

@break-core we need to make it so Monsters do not pathtrace to the player when they're in creative mode

@uniformization
Copy link
Copy Markdown
Contributor

uniformization commented Jun 9, 2025

image
image
image
image
image

@BrentDaMage
Copy link
Copy Markdown
Member

@uniformization if a creative player was around a group of survival mode players, would this not cause the mob to become blind to the survival players?

@TheBrokenRail
Copy link
Copy Markdown
Contributor

Does ReMCPE even support having players with different game modes in the same world?

@uniformization
Copy link
Copy Markdown
Contributor

uniformization commented Jun 9, 2025

@uniformization if a creative player was around a group of survival mode players, would this not cause the mob to become blind to the survival players?

the mob wont be blind to survival players, rather get distracted on creative players because of an issue where findAttackTarget can return a creative player, let me fix it
edit: fixed

@BrentDaMage
Copy link
Copy Markdown
Member

@uniformization could you not just add a bool parameter to Level::getNearestPlayer() to exclude players where Player::isCreative() is true? This way we're doing the exclusion in the search, rather than after.

 - Fixed floating Creeper
 - Cleaned up model code for other mobs
@BrentDaMage BrentDaMage merged commit 670f4c7 into nbcraft-org:master Jun 15, 2025
7 checks passed
@break-core break-core deleted the kaboom branch June 15, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants